R/bs4DashGallery.R

Defines functions bs4DashGallery

Documented in bs4DashGallery

#' @title Launch the bs4Dash Gallery
#'
#' @description A gallery of all components available in bs4Dash.
#'
#' @export
#'
#' @examples
#'
#' if (interactive()) {
#'
#'  bs4DashGallery()
#'
#' }
bs4DashGallery <- function() {
  # nocov start
  rlang::check_installed(c("thematic", "waiter"), "to run `bs4DashGallery()`.")

  shiny::shinyAppDir(
    system.file(
      "examples/showcase",
      package = 'bs4Dash',
      mustWork = TRUE
    )
  )
  # nocov end
}

Try the bs4Dash package in your browser

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

bs4Dash documentation built on Aug. 25, 2025, 5:13 p.m.