run | R Documentation |
Start a learnr tutorial or a Shiny application from the BioDataScience2 package, possibly after updating it.
run(tutorial, ..., update = ask, ask = interactive())
run_app(app, ..., update = ask, ask = interactive(), in.job = TRUE)
update_pkg()
tutorial |
The name of the tutorial to use. If not provided, a list of available tutorials is displayed. |
... |
Further arguments passed to |
update |
Do we check for an updated version first, and if it is found, update the package automatically? |
ask |
In case |
app |
The name of the Shiny application to use. If not provided, a list of available applications is displayed. |
in.job |
Should the application be run in a Job in RStudio ( |
If tutorial
or app
is not provided, in interactive mode with
ask = TRUE
, you have to select one in a list, and in non interactive mode,
or ask = FALSE
, it returns the list of all available tutorials or Shiny
applications in the BioDataScience2 package.
## Not run:
# To start from a list of available tutorials:
run()
# Idem for Shiny applications:
run_app()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.