runTutorial | R Documentation |
Starts a Shiny app containing the openPrimeR tutorial, which was built using the learnr package. The application starts locally and should open a new tab in your default browser. If no browser is opened, please consider the console output to identify the local port on which the server is running.
runTutorial(dev = FALSE)
dev |
A logical indicating whether to start the development version of the tutorial (default: |
Opens the openPrimeR tutorial in a web browser.
The Shiny app can be started only if you fulfill all of the suggested package dependencies for the Shiny framework, so please ensure that you've installed openPrimeR including all suggested dependencies.
## Not run:
# Open the tutorial
if (interactive()) {
runTutorial()
}
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.