Package: learnr2 0.1.3.9006
learnr2: Interactive Tutorials with 'Quarto' and 'WebR'
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.
Authors:
learnr2_0.1.3.9006.tar.gz
learnr2_0.1.3.9006.zip(r-4.7-any)learnr2_0.1.3.9006.zip(r-4.6-any)learnr2_0.1.3.9006.zip(r-4.5-any)
learnr2_0.1.3.9006.tgz(r-4.6-any)learnr2_0.1.3.9006.tgz(r-4.5-any)
learnr2_0.1.3.9006.tar.gz(r-4.7-any)learnr2_0.1.3.9006.tar.gz(r-4.6-any)
learnr2_0.1.3.9006.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
learnr2/json (API)
| # Install 'learnr2' in R: |
| install.packages('learnr2', repos = c('https://ppbds.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/ppbds/learnr2/issues
Pkgdown/docs site:https://ppbds.github.io
Last updated from:ce2816910b. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | OK | 168 | ||
| source / vignettes | OK | 190 | ||
| linux-release | OK | 159 | ||
| macos-release | OK | 255 | ||
| macos-oldrel | OK | 277 | ||
| windows-devel | OK | 169 | ||
| windows-release | OK | 132 | ||
| windows-oldrel | OK | 197 | ||
| wasm-release | OK | 104 |
Exports:add_live_extensionansweravailable_tutorialscheck_tutorialcreate_tutorialdownload_answers_buttonlive_extension_dirprerender_tutorialsquestionquizrender_tutorialsrun_tutorialshow_filestudent_infosubmission_timetutorial_options
Dependencies:base64encbslibcachemclidigestevaluatefastmapfontawesomefshighrhtmltoolshttpuvjquerylibjsonliteknitrlaterlifecyclemagrittrmemoisemimeotelprocessxpromisespsquartoR6rappdirsRcpprlangrmarkdownrstudioapisasstinytexxfunyaml
Last update: 2026-10-17
Started: 2026-10-08
Last update: 2026-10-16
Started: 2026-10-07
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Add the 'quarto-live' extension to a project | add_live_extension |
| Define an answer choice for a quiz question | answer |
| List tutorials bundled with learnr2 (or any installed package) | available_tutorials |
| Check that a tutorial has the recommended components | check_tutorial |
| Create a new learnr2 tutorial | create_tutorial |
| Add a "download my answers" button | download_answers_button |
| Path to the bundled 'quarto-live' extension | live_extension_dir |
| Render every installed Quarto tutorial into the cache | prerender_tutorials |
| Create a quiz question | question |
| Group questions into a quiz | quiz |
| Render tutorials, as a test that they build | render_tutorials |
| Run a bundled tutorial | run_tutorial |
| Display all or part of a text file | show_file |
| Collect student identifying information | student_info |
| Recover a submission's download time | submission_time |
| Set tutorial-wide options | tutorial_options |
