runExample: Run shinyNotes examples

View source: R/runExample.R

runExampleR Documentation

Run shinyNotes examples

Description

Launch a rpredictit example Shiny app that shows how to easily use shinyNotes in a Shiny app.

Run without any arguments to see a list of available example apps.

Usage

runExample(example)

Arguments

example

The app to launch

Value

None. Runs a demo Shiny application. This function normally does not return; interrupt R to stop the application.

Examples

## Only run this example in interactive R sessions
if (interactive()) {
  # List all available example apps
  runExample()

  runExample("demo")
}

shinyNotes documentation built on March 7, 2023, 7:29 p.m.