R/draw_app.R

#' open shiny app
#'
#' @export
draw_app <- function() {
  appDir <- system.file("app", package = "rusk")
  if (appDir == "") {
    stop("Could not find . Try re-installing `rusk`.", call. = FALSE)
  }
  shiny::runApp(appDir, display.mode = "normal")
}
ThinkR-open/rusk documentation built on May 29, 2019, 12:04 a.m.