R/run_App.R

Defines functions run_App

Documented in run_App

#' Run a basic User Interface to easily run simulation experiments and "download" the simulated data.
#' @export
#' @examples
#' \dontrun{run_App()}
run_App <- function() {
  appDir <- system.file("shiny-apps", "basic-ui", package = "SimAdmixtR")
  if (appDir == "") {
    stop("Could not find example directory. Try re-installing `SimAdmixtR`.", call. = FALSE)
  }

  shiny::runApp(appDir, display.mode = "normal")
}
danwkenn/SimAdmixtR documentation built on May 30, 2020, 7:25 a.m.