R/shiny.R

# run_shiny <- function() {
#   appDir <- system.file("shiny", package = "uklr")
#   if(appDir == "") {
#     stop("Could not find the `shiny` directory. Try re-installing `uklr`.", call. = FALSE)
#   }
#   if(!requireNamespace("shiny")) {
#     stop("`shiny` package is not installed.", call. = FALSE)
#   }
#   shiny::runApp(appDir, display.mode = "normal")
# }

Try the uklr package in your browser

Any scripts or data that you put into this service are public.

uklr documentation built on May 25, 2021, 1:06 a.m.