R/runExample.R

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

  shiny::runApp(appDir, display.mode = "normal")
}
tdanker/REvola documentation built on May 13, 2019, 5:35 p.m.