R/runDemo.R

Defines functions runDemo

Documented in runDemo

#' Launch the Shiny demo app.
runDemo <- function() {
  appDir <- system.file("shiny", "demo", package = "scoringTools")
  if (appDir == "") {
    stop("Could not find demo directory. Try re-installing `scoringTools`.", call. = FALSE)
  }

  shiny::runApp(appDir, launch.browser = TRUE, display.mode = "normal")
}

Try the scoringTools package in your browser

Any scripts or data that you put into this service are public.

scoringTools documentation built on Jan. 13, 2021, 8:35 p.m.