R/runExample.R

Defines functions runExample

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

  shiny::runApp(appDir, display.mode = "normal")
}
ThreadNet/ThreadNet documentation built on July 26, 2019, 8:16 p.m.