R/WQReviewGUI.R

Defines functions WQReviewGUI

Documented in WQReviewGUI

#' Function to open the WQReview GUI
#' @examples
#' \dontrun{ 
#' WQReviewGUI()
#' }
#' @export
#' @import shiny
#' @import shinyBS
#' @import excel.link
#' @importFrom DT renderDataTable
#' @importFrom DT dataTableOutput
WQReviewGUI <- function() {
  appDir <- system.file("shiny", "WQReviewGUI",package = "WQReview")
  if (appDir == "") {
    stop("Could not find GUI directory. Try re-installing `WQReview`.", call. = FALSE)
  }
  
  shiny::runApp(appDir, display.mode = "normal",launch.browser=TRUE)
}
USGS-R/WQ-Review documentation built on Nov. 12, 2019, 9:51 a.m.