R/launch.R

Defines functions launch_gghisse_app

Documented in launch_gghisse_app

#' Launch the gghisse Shiny web application
#' 
#' @export
launch_gghisse_app <- function() {
  app_dir <- system.file("gghisse-web", "gghisse", package = "gghisse")
  if (app_dir == "") {
    stop("Could not find example directory. Try re-installing `gghisse`.", call. = FALSE)
  }
  
  shiny::runApp(app_dir, display.mode = "normal")
}
teofiln/utilhisse documentation built on Sept. 3, 2020, 2:55 p.m.