Description Usage Arguments Examples
Stops the execution of a Shiny app, if at least cond contains one TRUE. The function uses validate and need from the library shiny.
1 |
cond |
condition, execution is stopped if any entry is |
fmt |
a character vector of format strings for |
... |
further values to be passed into |
1 2 3 4 5 6 | ## Not run:
# Produces an error
x <- -1
stopif(x<=0, "x is smaller than %i", 0)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.