R/runExample.R

Defines functions runExemple

Documented in runExemple

#' shinny
#' @export
runExemple <- function() {
  appDir <- system.file("shiny-examples","afc", package = "AnalyseDD")
  if (appDir == "") {
    stop("Could not find example directory. Try re-installing `AnalyseDD`.", call. = FALSE)
  }

  shiny::runApp(appDir, display.mode = "normal")
}
qianlin-qz/AnalyseDD documentation built on May 26, 2019, 11:35 a.m.