R/runExample.R

Defines functions runExample

Documented in runExample

#' Shiny app
#'
#' Runs shiny app.
#'
#' @export
runExample <- function() {
  appDir <- system.file("shiny", package = "ProfRate")
  if (appDir == "") {
    stop("Could not find shiny directory. Try re-installing `ProfRate`.", call. = FALSE)
  }

  shiny::runApp(appDir, display.mode = "normal")
}
m-fili/ProfRate documentation built on May 22, 2022, 8:33 p.m.