R/argonDashGallery.R

Defines functions argonDashGallery

Documented in argonDashGallery

#' @title Launch the argonDash Gallery
#'
#' @description A gallery of all components available in argonDash.
#' @export
#'
#' @examples
#'
#' if (interactive()) {
#'
#'  argonDashGallery()
#'
#' }
argonDashGallery <- function() { # nocov start
  if (!requireNamespace(package = "magrittr"))
    message("Package 'magrittr' is required to run this function")
  
  shiny::shinyAppFile(
    system.file(
      paste0("examples/app.R"), 
      package = 'argonDash', 
      mustWork = TRUE
    )
  )
}

Try the argonDash package in your browser

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

argonDash documentation built on Dec. 1, 2019, 1:08 a.m.