learnr tutorials must be hosted elsewhere as they require an
R execution engine. Currently, pkgdown will not build or publish tutorials
for you, but makes it easy to embed (using <iframe>s) published tutorials.
Tutorials are automatically discovered from published tutorials in
inst/tutorials and vignettes/tutorials. Alternatively, you can
list in _pkgdown.yml as described below.
Usage
build_tutorials(pkg = ".", override = list(), preview = FALSE)YAML config
To override the default discovery process, you can provide a tutorials
section. This should be a list where each element specifies:
name: used for the generated file nametitle: used in page heading and in navbarurl: which will be embedded in an iframesource: optional, but if present will be linked to
See also
Other site components:
build_articles(),
build_home(),
build_llm_docs(),
build_news(),
build_reference()
