R/shiny.R

Defines functions shiny_rita

Documented in shiny_rita

#' Run Shiny UI
#' @details
#' Runs a Shiny application
#' @export
shiny_rita <- function() {
  app_dir <- system.file("shiny_ui", package = "recent")
  if (app_dir == "") {
    stop("Could not find example directory. Try re-installing `recent`.", call. = FALSE)
  }
  shiny::runApp(app_dir, display.mode = "normal")
}
fellstat/recent documentation built on April 12, 2022, 3:10 p.m.