Description Usage Arguments Value
Get first or all references of an R object
Assert that there are no references among the identified globals
1 2 3 | find_references(x, first_only = FALSE)
assert_no_references(x, action = c("error", "warning", "message", "string"))
|
x |
The R object to be checked. |
first_only |
If |
action |
Type of action to take if a reference is found. |
find_references()
returns a list of one or more references
identified.
If a reference is detected, an informative error, warning, message,
or a character string is produced, otherwise NULL
is returned
invisibly.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.