R/demo.R

Defines functions shinyRPGDemo

Documented in shinyRPGDemo

#' @title Launch the shinyRPG Gallery
#'
#' @description A gallery of all components available in shinyRPG.
#'
#' @export
#'
#' @examples
#'
#' if (interactive()) {
#'
#'  shinyRPGDemo()
#'
#' }
shinyRPGDemo <- function() { # nocov start
  shiny::shinyAppDir(
    system.file(
      "examples/gallery",
      package = 'shinyRPG',
      mustWork = TRUE
    )
  )
}
RinteRface/shinyRPG documentation built on July 17, 2021, 10:37 p.m.