package.dependencies {tools} | R Documentation |
Parses and checks the dependencies of a package against the currently installed version of R [and other packages].
package.dependencies(x, check = FALSE, depLevel = c("Depends", "Imports", "Suggests"))
x |
A matrix of package descriptions as returned by
available.packages . |
check |
If TRUE , return logical vector of check results.
If FALSE , return parsed list of dependencies. |
depLevel |
Whether to look for Depends or
Suggests level dependencies. |
Currently we only check if the package conforms with the currently running version of R. In the future we might add checks for inter-package dependencies.