learnr (version 0.9.2.1)

run_tutorial: Run a tutorial

Description

Run a tutorial which is contained within an R package.

Usage

run_tutorial(name, package, shiny_args = NULL)

Arguments

name

Tutorial name (subdirectory within tutorials/ directory of installed package).

package

Name of package

shiny_args

Additional arguments to forward to shiny::runApp.

Details

Note that when running a tutorial Rmd file with run_tutorial the tutorial Rmd should have already been rendered as part of the development of the package (i.e. the correponding tutorial .html file for the .Rmd file must exist).