function_called | R Documentation |
Checks if a function is called in code
function_called(code, fn, index = 1, has_args = NULL, arg_values = NULL)
code |
quosure list of input code |
fn |
name of function to search for |
index |
which instance of the call to the function should we look for the args |
has_args |
character vector of args to check that are called in the function call |
arg_values |
named list of character vectors of the exact arguments values some arguments should take |
logical, 'TRUE' if all conditions are met, 'FALSE' otherwise
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.