Description Usage Arguments Details Warning Examples
View source: R/start_tutorial.R
Run a specified tutorial in the cpnr package. A web browser will be started automatically to view the document.
1 | start_tutorial(tutorial, package = "cpnr", shiny_args = NULL)
|
tutorial |
Name of tutorial |
package |
Name of package, currently only cpnr |
shiny_args |
Additional arguments to forward to shiny::runApp |
Note that, when finished, the running tutorial needs to be stopped by clicking on the stop symbol in the R console.
Before running start_tutorial
, make sure to have all package
dependencies installed. You can see all dependencies using
show_dependencies
1 2 3 4 5 6 | ## Not run:
show_dependencies(tutorial = "divdyn")
start_tutorial(tutorial = "divdyn")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.