View source: R/attribute-assertions.R
assert_has_names | R Documentation |
Raises an assertion error when !rlang::has_name(obj, names)
.
assert_has_names( obj, names, error_message = "{.arg obj} must have names {.arg names}", error_class = NULL )
obj |
< |
names |
< |
error_message |
< |
error_class |
< |
Other attribute-assertions:
assert_is_named()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.