Launches a learnr interactive tutorial in the browser. Students can type and run code directly in the browser with hints and solutions. Requires the learnr package.
Arguments
- name
Tutorial name or number (1-9). Use
list_tutorialsto see available tutorials.
See also
open_tutorial for the plain Rmd version.
Examples
if (interactive()) {
run_tutorial(1)
}