powered by
get_all_pkgs provides all packages (belonging to a given list of packages) exported by a given function.
get_all_pkgs
get_all_pkgs(fun, packages = NULL)
function or character. The function of interest.
The packages to look into. If NULL, the list of currently attached packages is explored.
NULL
A character vector, the packages.
# NOT RUN { get_all_pkgs("as.fun") get_all_pkgs(as.fun) get_all_pkgs("stats::median") # } # NOT RUN { # }
Run the code above in your browser using DataLab