Signals an error that Shiny treats specially if an output is currently being
evaluated. Execution will stop, but rather than clearing the output (as
req
does) or showing an error message (as stop
does), the output simply remains unchanged.
1 |
If cancelOutput
is called in any non-output context (like in an
observe
or observeEvent
), the effect is the same
as req(FALSE)
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.