R/launch_dt.R

Defines functions launch_dt

Documented in launch_dt

#' run datatable of the shiny app
#' @export
launch_dt <- function() {
  appDir <- system.file("dtcountry", package = "cwdcovid19")
  if (appDir == "") {
    stop("Could not find example directory. Try re-installing `cwdcovid19`.", call. = FALSE)
  }

  shiny::runApp(appDir, display.mode = "normal")
}
etc5523-2020/r-package-assessment-1029YanMa documentation built on Jan. 1, 2021, 1:09 a.m.