R/launch-app.R

Defines functions shiny_edina

Documented in shiny_edina

#' Launch ECDM Shiny Modeling Application
#'
#' Open up an interactive shiny modeling application
#' @export
shiny_edina = function() {

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

  shiny::runApp(appDir, display.mode = "normal")
}
tmsalab/shinyecdm documentation built on July 3, 2021, 6:16 p.m.