Create a learnr tutorialSource:
Creates a new tutorial below
inst/tutorials/. Tutorials are interactive R
Markdown documents built with the
Adds learnr to Suggests in
inst/tutorials/*.htmlso you don't accidentally track rendered tutorials.
Creates a new
.Rmdtutorial from a template and, optionally, opens it for editing.
use_tutorial(name, title, open = rlang::is_interactive())
Base for file name to use for new
.Rmdtutorial. Should consist only of numbers, letters,
-. We recommend using lower case.
The human-facing title of the tutorial.
Open the newly created file for editing? Happens in RStudio, if applicable, or via