R/run_app.R

Defines functions runApp

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

  shiny::runApp(appDir, display.mode = "normal")
}
wesslen/topicApp documentation built on May 4, 2019, 5:21 a.m.