R/runShiny.R

Defines functions runShiny

Documented in runShiny

#' @export
runShiny <- function() {
  appDir <- system.file("shiny-examples", "myapp", package = "ANOVAreplication")
  if (appDir == "") {
    stop("Could not find example directory. Try re-installing `ANOVAreplication`.", call. = FALSE)
  }

  shiny::runApp(appDir, display.mode = "normal")
}

Try the ANOVAreplication package in your browser

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

ANOVAreplication documentation built on Sept. 27, 2021, 9:06 a.m.