R/runShiny.R

Defines functions runIntLIMApp

Documented in runIntLIMApp

#' run shiny app
#' @export
#' @param port set port
runIntLIMApp <- function(port="127.0.0.1") {
    appDir <- system.file("shinyApp", package = "IntLIM")
    if (appDir == "") {
        stop(" The ShinyApp directory was not found.
             Try re-installing `IntLIM`.",
             call. = FALSE)
    }

    shiny::runApp(appDir, display.mode = "normal", host = getOption("shiny.host", port))
}
Mathelab/IntLIM documentation built on July 9, 2022, 5:10 p.m.