R/run_app.R

Defines functions run_measureR

Documented in run_measureR

#' Launch the measureR Shiny Application
#'
#' This function starts the Shiny app included in the measureR package.
#'
#' @return Launches a Shiny application (no return value)
#' @examples
#' is.function(run_measureR)
#' @export
run_measureR <- function() {
  app_dir <- system.file("app", package = "measureR")
  if (app_dir == "") {
    stop("Could not find Shiny app. Try reinstalling the measureR package.", call. = FALSE)
  }
  shiny::runApp(app_dir, launch.browser = TRUE)
}

Try the measureR package in your browser

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

measureR documentation built on May 15, 2026, 9:06 a.m.