View source: R/shiny-checkpoint.R
checkpoint | R Documentation |
Wrapper around shiny::req()
and shiny::showNotification()
.
Prevents application from crashing and displays guiding message about what the user
is supposed to do in order to continue without this message to appear.
checkpoint(
evaluate = TRUE,
case_false = NULL,
error_notifications = feedback_list,
warning_notifications = list(),
duration = 4,
stop_process = TRUE,
stop_app = FALSE
)
evaluate |
A vector of logical tests to be evaluated. |
case_false |
A character string indicating the message to be displayed if one element of
|
error_notifications |
A named list of character strings. |
warning_notifications |
A named list of character strings. |
duration |
The duration the message is displayed. |
stop_process , stop_app |
Logical. What is supposed to happen if one element of |
A shiny notification.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.