View source: R/scan_packages.R
scan_packages | R Documentation |
Scan a project or folder for packages used
scan_packages(
pkgs = "All",
omit = c("grateful"),
cite.tidyverse = TRUE,
dependencies = FALSE,
...
)
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 |
a data.frame with package names and versions
scan_packages()
scan_packages(pkgs = "Session")
scan_packages(pkgs = c("renv", "remotes", "knitr"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.