R/runExample.R

Defines functions runExample

Documented in runExample

#' Run shinyalert example
#'
#' Launch an example Shiny app that shows how easy it is to
#' create modals with \code{shinyalert}.\cr\cr
#' The demo app is also
#' \href{https://daattali.com/shiny/shinyalert-demo/}{available online}
#' to experiment with.
#' @export
runExample <- function() {
  appDir <- system.file("examples", "demo", package = "shinyalert")
  shiny::runApp(appDir, display.mode = "normal")
}

Try the shinyalert package in your browser

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

shinyalert documentation built on May 29, 2024, 12:30 p.m.