shiny.webawesome currently uses one documented package option for runtime
warnings and diagnostics:
shiny.webawesome.warningsThis option should be a named list. It allows you to suppress selected warnings or enable additional command-layer debug output when developing or debugging an application.
Each known key is a boolean toggle and should be set to TRUE or FALSE.
The package does not currently expose a broad option surface beyond this warning registry.
old <- getOption("shiny.webawesome.warnings") on.exit(options(shiny.webawesome.warnings = old), add = TRUE) options( shiny.webawesome.warnings = list( command_layer_debug = TRUE ) ) getOption("shiny.webawesome.warnings")
The shiny.webawesome.warnings option is merged with the package's defaults at
runtime.
Known keys currently include:
missing_tree_item_idcommand_layercommand_layer_debugmissing_tree_item_idControls the warning path used by wa_tree() when selected descendant
wa-tree-item elements do not have stable DOM id attributes.
The default is TRUE.
This is useful because the tree binding publishes selected item ids back to Shiny. Selected items without ids cannot participate in that Shiny value.
command_layerControls warnings emitted by the runtime command bridge used by
wa_set_property() and wa_call_method().
The default is TRUE.
These warnings help surface problems such as:
command_layer_debugControls additional debug logging for the runtime command bridge.
The default is FALSE.
When enabled, the browser console receives debug messages for successful command-layer operations.
The most common pattern is to set specific keys in a named list.
For example, to enable command-layer debug logging:
options( shiny.webawesome.warnings = list( command_layer_debug = TRUE ) )
To suppress the tree-item id warning:
options( shiny.webawesome.warnings = list( missing_tree_item_id = FALSE ) )
To suppress command-layer warnings:
options( shiny.webawesome.warnings = list( command_layer = FALSE ) )
You can also set more than one key at a time:
options( shiny.webawesome.warnings = list( command_layer = TRUE, command_layer_debug = TRUE ) )
These options are mostly relevant for:
wa_tree() selection idsOrdinary package usage should not require setting options in most cases.
If you are relying heavily on command_layer or command_layer_debug, the
Command API guide is the most relevant companion document.
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.