R/runApp.R

#' Run app
#'
#' Runs the Shiny App
#' @return The Shiny App
#' @export
#'
#' @examples
#' \dontrun{
#' runApp()
#' }
runApp <- function() {
  appDir <- system.file("app", package = "cadasterwebui")
  if (appDir == "") {
    stop("Could not find directory. Try re-installing `cadasterwebui`.", call. = FALSE)
  }

  shiny::runApp(appDir, display.mode = "normal")
}
peloyeje/map536-cadasterwebui documentation built on May 14, 2019, 4:03 a.m.