Description Usage Arguments Value Examples
Find Files Where Specific Packages Are Used
1 | find_used_packages(packages, path = NULL, pattern = NULL)
|
packages |
Vector of packages to look for |
path |
Directory which is scanned recursively. Default is the working directory. |
pattern |
Regex to identify R source files. Default is .*\.(R|r|Rnw|Rhtml|Rpres|Rmd)$ |
A data.frame with the files which are using the specified packages
1 2 3 4 | ## Not run:
find_used_packages('dplyr', path = '../')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.