R/deepdep_shiny.R

Defines functions deepdep_shiny

Documented in deepdep_shiny

#' @title Run Shiny app
#'
#' @description This function runs shiny app that helps to produce nice deepdep plot.
#'
#' @export
deepdep_shiny <- function() {
  appDir <- system.file("shiny_app", package = "deepdep")
  if (appDir == "") {
    stop("Could not find example directory. Try re-installing `deepdep`.", call. = FALSE)
  }
  shiny::runApp(appDir, display.mode = "normal", launch.browser = TRUE)
}

Try the deepdep package in your browser

Any scripts or data that you put into this service are public.

deepdep documentation built on March 7, 2023, 6:35 p.m.