is_non_empty_string_advanced | R Documentation |
This function is designed for use with assert_create
. It returns
TRUE for the assertion to pass or a string representing the error message if the
assertion should fail.
is_non_empty_string_advanced(x)
x |
A value to be checked |
Returns invisible(TRUE) if x is a character value with length 1 and at least 1 character in string. Returns a string with an error message if x is not a character value or has a length other than 1.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.