pac_deps_heavy | R Documentation |
A higher-level function, build from pacs::pacs_deps
and tools::package_dependencies
.
A tool to identify a main sources of dependencies, which direct dependencies are the heaviest one.
pac_deps_heavy(
pac,
fields = c("Depends", "Imports", "LinkingTo"),
lib.loc = .libPaths(),
base = FALSE,
local = FALSE,
repos = pacs::biocran_repos()
)
pac |
|
fields |
|
lib.loc |
|
base |
|
local |
|
repos |
|
data.frame
with three columns c("Package", "NrDeps", "NrUniqueDeps")
: package name, number of dependencies and number of unique dependencies (not shared by other direct dependencies).
Please take into account that the sum of the dependencies is not equal to the number of dependencies of the main package, because some dependencies are overlapping.
## Not run:
pacs::pac_deps_heavy("caret")
pacs::pac_deps_heavy("dplyr")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.