R/run_powdR.R

Defines functions run_powdR

Documented in run_powdR

#' Run the powdR shiny app
#'
#' A wrapper for \code{shiny::runApp} to start the Shiny app for \code{powdR}.
#'
#' @param ... further arguments to pass to \code{shiny::runApp}
#'
#' @examples
#'
#' \dontrun{
#'
#' run_powdR()
#'
#' }
#'
#' @md
#' @export
run_powdR <- function(...) {

  app_dir <- system.file(paste0("shiny/quant/"), package = "powdR")
  app <- shiny::runApp(app_dir, launch.browser = TRUE,  ...)

}

Try the powdR package in your browser

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

powdR documentation built on Aug. 13, 2021, 5:08 p.m.