Run a specified tutorial in the cpnr package. A web browser will be started automatically to view the document.

start_tutorial(tutorial, package = "cpnr", shiny_args = NULL)

Arguments

tutorial

Name of tutorial

package

Name of package, currently only cpnr

shiny_args

Additional arguments to forward to shiny::runApp

Details

Note that, when finished, the running tutorial needs to be stopped by clicking on the stop symbol in the R console.

Warning

Before running start_tutorial, make sure to have all package dependencies installed. You can see all dependencies using show_dependencies

Examples

if (FALSE) { show_dependencies(tutorial = "divdyn") start_tutorial(tutorial = "divdyn") }