Package: learnr2 0.1.3.9006

David Kane

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:David Kane [aut, cre, cph], Minh Vu [aut]

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

On CRAN:

Conda:

quarto

6.03 score 1 stars 76 scripts 16 exports 35 dependencies

Last updated from:ce2816910b. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK168
source / vignettesOK190
linux-releaseOK159
macos-releaseOK255
macos-oldrelOK277
windows-develOK169
windows-releaseOK132
windows-oldrelOK197
wasm-releaseOK104

Exports:add_live_extensionansweravailable_tutorialscheck_tutorialcreate_tutorialdownload_answers_buttonlive_extension_dirprerender_tutorialsquestionquizrender_tutorialsrun_tutorialshow_filestudent_infosubmission_timetutorial_options

Dependencies:base64encbslibcachemclidigestevaluatefastmapfontawesomefshighrhtmltoolshttpuvjquerylibjsonliteknitrlaterlifecyclemagrittrmemoisemimeotelprocessxpromisespsquartoR6rappdirsRcpprlangrmarkdownrstudioapisasstinytexxfunyaml

Translating learnr Tutorials
Where things go | Quick reference | The YAML header | Setup chunks and boilerplate | Chunk labels | Hide the source of widget chunks | Exercise cells | Exercise setup | Hints and solutions | Grading | Questions | Screenshot questions | Images | Sections and the Continue button | Packages, and code that runs at render time | The page needs nothing installed | Don't mention the old packages | Showing syntax without running it | Code, commands and output | Check it by rendering it | One learnr2 tutorial in a classic learnr package

Last update: 2026-10-17
Started: 2026-10-08

Tutorials in the Age of AI
Introduction | Philosophy | Overview | Topics | Questions | Submit once, then it's locked | The flow of an exercise | Code cells | Knowledge drops | Advice for knowledge drops | Inputs | Data | Images | Complex text | Tutorial Introduction | Tutorial Topics | Plotting Questions | Tutorial Summary | Tutorials for a book | Appendix: Checking a tutorial | If devtools::check() fails | Difficult bugs

Last update: 2026-10-16
Started: 2026-10-07