Searches an .R file for function names and returns a list with the names of all functions found, grouped by package(s) that contain the functions. Only searches in the current namespace, so only attached packages will be searched for the function names.
funsInFile( filename, alphabetic = TRUE, exclude_pkgs = c("base", "stats", "utils", "methods", "graphics", "grDevices") )
filename | Path to the R script file (only the .R extension is supported) |
---|---|
alphabetic | Sort the result alphabetically or not. (Default: |
exclude_pkgs | A vector of packagenames that should be excluded from the result. Set to |
A list of function names found in filename
grouped by package