R/runExample.R

#' Run the Shiny app.
#' 
#' @export
runExample <- function() {
  appDir <- system.file("shiny", package = "shinyPathway")
  if (appDir == "") {
    stop("Could not find example directory. Try re-installing `shinyPathway`.", call. = FALSE)
  }
  
  shiny::runApp(appDir, display.mode = "normal")
}
kdaily/shinyPathway documentation built on May 20, 2019, 8:28 a.m.