powered by
Find all functions in that call supplied functions.
find_uses(envs, funs, match_any = TRUE)
Vector of environments to look in. Can be specified by name, position or as environment
Functions to look for
If TRUE return functions that use any of funs. If FALSE, return functions that use all of funs.
TRUE
funs
FALSE
names(find_uses("package:base", "sum")) envs <- c("package:base", "package:utils", "package:stats") funs <- c("match.call", "sys.call") find_uses(envs, funs)
Run the code above in your browser using DataLab