R/run_app.R

Defines functions run_app

run_app <- function() {
  appDir <- system.file("shiny", "matchathon", package = "matchathon")
  if (appDir == "") {
    stop("Could not find directory. Try re-installing `matchathon`.", call. = FALSE)
  }

  shiny::runApp(appDir, display.mode = "normal")
}
zenalapp/matchathon documentation built on Oct. 28, 2020, 5:55 a.m.