R/launchApp.R

Defines functions launchApp

#' Launch App function
#'
#' @return
#' @export
#'
#' @examples
launchApp <- function(){
  appDir <- system.file("app", package = "Dcellerate")
  if (appDir == "") {
    stop("Could not find app Try re-installing `Dcellerate`.", call. = FALSE)
  }
  shiny::runApp(appDir, display.mode = "normal", port = 4800, launch.browser = FALSE)
}
Klink5D/Dcellerate documentation built on March 28, 2020, 12:03 a.m.