R/launch_multi.R

Defines functions launch_multi

Documented in launch_multi

#' Function is to launch the GUI of the package, based on Shiny.
#'
#' `launch_multi()` If used on Rstudio the function will launch an interface to run
#' the analysis graphically.
#' @author Pierre-Gilles Lemasle <pg.lemasle@gmail.com>
#' @export
#' @export
launch_multi <- function() {
  appDir <- system.file("multi", package = "Multi")
  if (appDir == "") {
    stop("Could not find myapp. Try re-installing `mypackage`.", call. = FALSE)
  }

  shiny::runApp(appDir, display.mode = "normal")
}
Pintademijote/multipack documentation built on Sept. 24, 2019, 7:54 a.m.