R/trends.R

Defines functions runApp

Documented in runApp

runApp <-
function() {
  appDir <- system.file("shiny", "trends", package = "trends")
  if (appDir == "") {
    stop("Could not find example directory. Try re-installing the `trends` package.",
         call. = FALSE)
  }

  shiny::runApp(appDir, display.mode = "normal")
}
brechtdv/trends documentation built on March 11, 2020, 11:16 a.m.