R/launch_app.R

Defines functions launch_app

Documented in launch_app

#' Launch shiny app
#'
#' @return
#' @export
#'
#' @examples
#'
#'
launch_app <- function() {
    app_dir <- system.file("shinyApp", package = "ewavesPDFshiny")
    if(app_dir == "") {
        stop("Could not find shinyApp directory. Try reinstalling `ewavesPDFshiny`.",
             call. = FALSE)
    }
    shiny::runApp(app_dir, display.mode = "normal")
}
dloewenstein/ewavesPDFshiny documentation built on May 23, 2019, 3:04 a.m.