Confirm that a tutorial has the recommended components
Source:R/check_tutorial_defaults.R
check_tutorial_defaults.Rd
There are three code components: the use of a copy-code button,
an information request, and a download page. It is tricky to know where to
store the "truth" of what these components should look like. For now, the
truth is defined as the skeleton.Rmd
which defines the template for
creating a new tutorial.
All tutorials should also have library(learnr)
and
library(tutorial.helpers)
, both of which exist in the skeleton
Examples
check_tutorial_defaults(tutorial_paths = return_tutorial_paths("tutorial.helpers"))
#> NULL