R/main.R

Defines functions Jarvis_run

#` @export
Jarvis_run <- function(){

  library("shiny")

  appDir <- system.file("shinyApp", "app", package = "Jarvis")
  if (appDir == "")
  {
    stop("Could not find app directory. Try re-installing `Jarvis`.", call. = FALSE)
  }

  shiny::runApp(appDir, display.mode = "normal", launch.browser = T)
}
Selkie-13/Jarvis documentation built on May 1, 2020, 4:12 a.m.