R/f7Gallery.R

Defines functions f7Gallery

Documented in f7Gallery

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

Try the shinyMobile package in your browser

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

shinyMobile documentation built on Nov. 25, 2022, 5:05 p.m.