scan_packages {grateful} | R Documentation |
Scan a project or folder for packages used
Description
Scan a project or folder for packages used
Usage
scan_packages(
pkgs = "All",
omit = c("grateful"),
cite.tidyverse = TRUE,
dependencies = FALSE,
...
)
Arguments
pkgs |
Character. Either "All" to include all packages used in scripts
within the project/folder (the default), or "Session" to include only packages
used in the current session.
Alternatively, |
omit |
Character vector of package names to be omitted from the citation
report. |
cite.tidyverse |
Logical. If |
dependencies |
Logical. Include the dependencies of your used packages?
If |
... |
Other parameters passed to |
Value
a data.frame with package names and versions
Examples
scan_packages()
scan_packages(pkgs = "Session")
scan_packages(pkgs = c("renv", "remotes", "knitr"))