R/gui.R

Defines functions gui

Documented in gui

#' Global User Interface
#'
#' @return An html user interface.
#' 
#' @export
#'
#' @examples
#' \dontrun{
#'  gui()
#' }
#' 
gui <- function() {
  appDir <- system.file("gui", package = "ecoevosimulator")
  if (appDir == "") {
    stop("Could not find gui Try re-installing `ecoevosimulator`.", call. = FALSE)
  }
  shiny::runApp(appDir, display.mode = "normal")
}
sylvainschmitt/ecoevosimulator documentation built on Nov. 19, 2020, 8:04 a.m.