R/runExample.R

Defines functions runContactviz

#' @export
runContactviz <- function() {
  appDir <- system.file("shiny-examples", "myapp", package = "Contactviz")
  if (appDir == "") {
    stop("Could not find example directory. Try re-installing `mypackage`.", call. = FALSE)
  }

  shiny::runApp(appDir, display.mode = "normal")
}
lsoetens/Contactviz documentation built on May 21, 2019, 8:40 a.m.