R/explore_data.R

Defines functions explore_data

Documented in explore_data

#' Run Shiny Applications
#'
#' @description Launch Shiny application
#' @importFrom shiny runApp
#' @export
explore_data <- function() {
  appDir <- system.file("Shiny-app", "Oddwater_app", package = "oddwater")
  if (appDir == "") {
    stop("Could not find example directory. Try re-installing `oddwater`.", call. = FALSE)
  }

  shiny::runApp(appDir, display.mode = "normal")
}
pridiltal/oddwater documentation built on Dec. 18, 2019, 8:18 p.m.