View source: R/collectFunctions.R
collectFunctions | R Documentation |
Collects functions which follow a given name pattern and compares their arguments against a list of allowed arguments
collectFunctions(
pattern = "^check",
globalenv = FALSE,
allowed_args = c("x", "cfg")
)
pattern |
Name pattern the function name should match. Default is to collect functions starting with "check" |
globalenv |
Boolean deciding whether functions in the global environment should be considered or not. |
allowed_args |
Vector of allowed arguments. If a function contains an argument not listed here it will be ignored and a warning will be returned |
a character vector of function calls fulfilling all requirements
Jan Philipp Dietrich
iamCheck
collectFunctions()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.