R/run_dashboard.R

Defines functions runRIGAPS

Documented in runRIGAPS

#' Run the RIGAPS dashboard
#' @examples
#' runRIGAPS
#' @export
runRIGAPS <- function() {
  appDir <- system.file("rigaps_dashboard", package = "rigaps")
  if (appDir == "") {
    stop("Could not find dashboard directory. Try re-installing `rigaps`.", call. = FALSE)
  }

  shiny::runApp(appDir, display.mode = "normal")
}
jomuller/rigaps documentation built on May 29, 2019, 12:39 p.m.