R/confirm_period.R

Defines functions launch_confirm_period

Documented in launch_confirm_period

#' run the confirmd cases plot of the shiny app
#' @export
launch_confirm_period <- function() {
  appDir <- system.file("confirm_period", 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.