R/launch_app.R

Defines functions launchApp

Documented in launchApp

#' Launches the shiny app
#'
#' @return shiny application object
#'
#'
#' @export launchApp
launchApp <- function() {
  appDir <- system.file("shiny-app", package = "radsets")
  if (appDir == "") {
    stop("Could not find `shiny-app`. Try re-installing `radsets`.", call. = FALSE)
  }

  shiny::runApp(appDir, display.mode = "normal")
}
natbprice/radsets documentation built on Feb. 29, 2020, 5:21 p.m.