assert_named_list | R Documentation |
Stops if:
x is not a list
x is a data.frame
x has no names
x has any NA names
x has any zero-length names
x has any whitespace-only names
assert_named_list(x)
x |
[list] List to check |
[none] stop if assertion fails
Other assertions:
assert_dir_exists()
,
assert_scalar()
,
assert_scalar_not_empty()
,
assert_type()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.