packageDependencies | R Documentation |
Utility function to capture
packageDependencies(pkg, recursive = TRUE, local = TRUE, reduce = TRUE, lib.loc = NULL, which = c("Depends", "Imports", "Suggests")) getDependencyMatrix(pkg, instPkgs, local = TRUE, which) getRemoteDependencies(pkg, contriburl = getOption("repos"), which)
pkg |
character; a package name. |
recursive |
logical; include indirect dependencies? |
local |
logical; look locally to resolve dependencies, not online? |
reduce |
logical; collapse dependencies to a minimum
required version should different minimum versions of the
same packge be resolved as dependencies of |
lib.loc |
Which package libraries to use when
searching for installed packages. The default |
which |
character; the level of dependencies to return. Not sure where these levels are defined..? |
instPkgs |
A matrix specifying all packages
installed locally, as returned by
|
contriburl |
URLs for the |
TO DO
TODO
Gavin L. Simpson based almost completely on
tools::pkgDepends
, tools:::getDepMtrx
, and
tools:::getRemotePkgDepends
in R.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.