R/runshiny.R

Defines functions run_shiny

Documented in run_shiny

#' Run shiny app demonstrating fit strategies with simulated data
#'
#' @return  Not used, starts shiny app
#' @export
#'
run_shiny = function() {
  app_dir = system.file("shiny", package = "gastempt")
  if (app_dir == "") {
    stop("Could not Shiny app in gastempt", call. = FALSE)
  }
  shiny::runApp(app_dir, display.mode = "normal")
}

Try the gastempt package in your browser

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

gastempt documentation built on May 2, 2022, 9:09 a.m.