employmentProspects_rework/R/runEmploymentProspectsApp.R

#' Run the App
#'
#' Run the future employment prospects app
#'
#' @author Nathan Eastwood
#'
#' @export
runEmploymentProspectsApp <- function() {
  appDir <- system.file("app", package = "employmentProspects")
  if (appDir == "") {
    stop(
      paste0(
        "Could not find example directory. Try re-installing ",
        "`employmentProspects`."
      ),
      call. = FALSE)
  }

  shiny::runApp(appDir, display.mode = "normal")
}
datasciencecampus/employmentProspects documentation built on May 14, 2019, 7:46 p.m.