View source: R/utils-validation.R
| validate_length | R Documentation |
Validate Length Match
validate_length(x, expected_length, arg_name = "value", allow_single = TRUE)
x |
Vector to validate. |
expected_length |
Expected length. |
arg_name |
Argument name for error messages. |
allow_single |
Allow single value (will be recycled). |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.