R/runEPTS.R

Defines functions runEPTS

Documented in runEPTS

#' Run the EPTS Shiny Application
#'
#' Launches a Shiny application that provides an interactive user interface 
#' to run the functions provided by the epts package.
#'
#' @examples
#' if (interactive()) {
#'   runEPTS()
#' }
#'
#' @export
runEPTS <- function() {
  appDir <- system.file("shiny-app", package = "epts")
  if (appDir == "") {
    stop("Could not find Shiny app directory. Try re-installing `epts`.", call. = FALSE)
  }
  shiny::runApp(appDir, display.mode = "normal")
}

Try the epts package in your browser

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

epts documentation built on June 8, 2025, 11:04 a.m.