A chk function template.
chk_function_template(x, x_name = NULL)
x | The object to check. |
---|---|
x_name | A string of the name of object x or NULL. |
NULL
, invisibly. Called for the side effect of throwing an error
if the condition is not met.
Checks if character using [vld_function_template](x)
.
#> Error : `1` must be a character.