R/plotDemo.R

#' @export

plotDemo <- function() {
  appDir <- system.file("igraphPlotDemo", package = "igraphinshiny")
  if (appDir == "") {
    stop("Could not find example directory. Try re-installing `igraphinshiny`.", call. = FALSE)
  }
  shiny::runApp(appDir, display.mode = "normal")
}
mingjerli/igraphinshiny documentation built on May 22, 2019, 11:54 p.m.