R/runRanacapaApp.R

#' Run the shiny app!
#' @export
runRanacapaApp <- function() {
  appDir <- system.file("explore-anacapa-output", package = "ranacapa")
  if (appDir == "") {
    stop("Could not find example directory. Try re-installing `ranacapa`.", call. = FALSE)
  }

  shiny::runApp(appDir, display.mode = "normal")
}
gauravsk/ranacapa documentation built on June 7, 2019, 4:03 a.m.