View source: R/validate_error_type.R
| validate_error_type | R Documentation |
This function displays an error, warning, or message based on the specified type.
validate_error_type(
input,
message,
type = c("error", "warning", "message"),
calls = NULL
)
input |
The data to be validated. |
message |
The message to be displayed. |
type |
A character string specifying the type of message to be displayed if the input is not numeric or if the values are out of range. Must be one of "error", "warning", or "message". |
calls |
Optional. The number of callers to go back in the call stack for error messaging. If NULL, will default to 2. |
NULL. The function is used for its side effects.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.