| check_scalar_character | R Documentation |
Check Scalar Character
check_scalar_character(x, arg_name = deparse(substitute(x)))
x |
Character: Value to check. |
arg_name |
Character: Argument name to use in error messages. |
Called for side effects.
EDG
check_scalar_character("hello", "my_arg")
# Throw error:
try(check_scalar_character(c("hello", "world"), "my_arg"))
try(check_scalar_character(123, "my_arg"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.