R/runJaccardApp.R

Defines functions runJaccardApp

Documented in runJaccardApp

#' Launch an interactive Shiny app on a local network 
#'
#' @importFrom shiny runApp
#' @export runJaccardApp
runJaccardApp <- function() {
  appDir <- system.file("shinyapps", "jaccard-shiny", package = "jaccard")
  if (appDir == "") {
    stop("Could not find example directory. Try re-installing `jaccard`.", call. = FALSE)
  }

  runApp(appDir, display.mode = "normal")
}
ncchung/jaccard documentation built on Dec. 31, 2019, 8:20 p.m.