Interactive Tutorials with 'Quarto' and 'WebR'
Overview
Create interactive R tutorials that run entirely in the browser using 'Quarto' https://quarto.org and 'WebR' https://docs.r-wasm.org/webr/latest/ via the 'quarto-live' extension. Provides 'learnr'-style authoring conveniences -- scaffolding, exercises, hints, solutions, and quizzes -- without 'Shiny', 'R Markdown', or a server.
student_info()and"reflection_editable"questions now have a clear Edit/Submit cycle. Submit locks the fields behind an "Edit" button; Edit reopens them, with the button back to "Submit" and a note that changes aren't saved until then. Previously the fields stayed open after Submit and "Edit" silently resaved, so readers couldn't tell whether a change had gone in. The download now reports only submitted answers, and is blocked until everystudent_info()form is submitted. **Behaviour change:** a reader who filled in student info without pressing Submit must now press it before downloading.- A Continue button no longer appears directly under a section heading. A subsection that starts right after its parent's heading, as every tutorial.helpers topic does with
## Titlethen###, is now revealed with the heading.
Show all changes in 0.1.3Hide the rest of the changes in 0.1.3
- Links that leave a tutorial page now open in a new tab, so following one never makes the tutorial disappear.
From NEWS.md in the release
Install
Health
- OK10 OKNow
- OK8 OK2026-10-21
Documentation
- Help pages
- 17 (1 internal)includes a package overview page
- Examples that run
- 100%16 run in a plain check (1 of them under a condition)
- Exported functions with examples
- 100%
- Documented parameters
- 95%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
Repository github.com/ppbds/learnr2 is linked, but repository-practices checks have not run for it yet.
Dependencies
Code & Tests
People & History
- 0.1.3Latest2026-10-20 · current release ·
12 days in CRAN's queue
Listed in CRAN's incoming queue from 2026-10-08 20:25 to 2026-10-20 17:40 UTC, in 63 readings. - RR 4.6.0 released · 2026-04-24
Package metadata
- First published
- 2026-10-20
- Total releases
- 1 / 1 yrs
- License
- MIT + file LICENSE OSI
- Copyright
- See file inst/COPYRIGHTS for the bundled third-party components.
- Minimum R
- ≥ 4.0.0
- Download size
- 445 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("learnr2")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-22, which the citation names so these numbers can be found later. More on citing and the projects behind them.