View source: R/launch_shinymgr.R
| launch_shinymgr | R Documentation | 
Launches the master app for shinymgr
launch_shinymgr(shinyMgrPath, ...)
shinyMgrPath | 
 Filepath to the main shinymgr folder.  | 
... | 
 Additional arguments to be passed to the app.  | 
No return value, function launches shiny app
The launch_shinymgr() function is described in the "shinymgr" tutorial.
The shinymgr learnr tutorials include, in order:
learnr::run_tutorial(name = "intro", package = "shinymgr")
learnr::run_tutorial(name = "shiny", package = "shinymgr")
learnr::run_tutorial(name = "modules", package = "shinymgr")
learnr::run_tutorial(name = "app_modules", package = "shinymgr")
learnr::run_tutorial(name = "tests", package = "shinymgr")
learnr::run_tutorial(name = "shinymgr", package = "shinymgr")
learnr::run_tutorial(name = "database", package = "shinymgr")
learnr::run_tutorial(name = "shinymgr_modules", package = "shinymgr")
learnr::run_tutorial(name = "apps", package = "shinymgr")
learnr::run_tutorial(name = "analyses", package = "shinymgr")
learnr::run_tutorial(name = "reports", package = "shinymgr")
learnr::run_tutorial(name = "deployment", package = "shinymgr")
https://code.usgs.gov/vtcfwru/shinymgr
## Only run this example in interactive R sessions
if (interactive()) {
  
  # set the directory path that will house the shinymgr project
  parentPath <- tempdir()
  shinyMgrPath <- paste0(parentPath, '/shinymgr')
  # set up raw directories and fresh database
  shinymgr_setup(parentPath, demo = TRUE)
  
  # The shiny app
  launch_shinymgr(shinyMgrPath)
  # Accepts args to shiny::runApp
  launch_shinymgr(shinyMgrPath, quiet = TRUE)
  
  # remove demo
  unlink(shinyMgrPath, recursive = TRUE)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.