R/runExample.R

Defines functions runExample

Documented in runExample

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

Try the shinyscreenshot package in your browser

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

shinyscreenshot documentation built on Aug. 21, 2023, 9:09 a.m.