Skip to contents

Downloads (if needed) and launches a Shiny application from the sap GitHub repository. How the app is launched depends on what the branch contains: if the directory is an R package, it's loaded with pkgload::load_all() and run with shiny::runApp(). Plain Shiny apps (those without a DESCRIPTION) are run directly with shiny::shinyAppDir().

Usage

launch(app)

Arguments

app

A character string giving the branch name of the application to launch (e.g., "02.3_proj-app" or "05_roxygen2").

Value

Called for its side effects (launches the Shiny app). Returns invisible(NULL).

Examples

# launch("02.1_movies-app")
# launch("05_roxygen2")