Run {howler} Example Applications

runHowlerExample(example = "basic", display.mode = "showcase", ...)

availableHowlerExamples()

Arguments

example

Name of the example to load. Current examples include:

basic

Basic example of howler in use

full

Basic example of using all buttons available in howler

module

Example of using the howlerModule

server

Example showing server-side functionality

display.mode

The mode in which to display the application. By default set to "showcase" to show code behind the example.

...

Optional arguments to send to shiny::runApp

Value

This function does not return a value; interrupt R to stop the application (usually by pressing Ctrl+C or Esc).

Examples

availableHowlerExamples()
#> 'base64', 'basic', 'full', 'module', 'server', 'two_players', 'upload'

if (interactive()) {
  library(shiny)
  library(howler)

  runHowlerExample("basic")
}