redundant_packages | R Documentation |
Find redundant packages
redundant_packages(packages)
packages |
list of package names. |
Certain packages have a direct dependency on other packages. In that case it is unnecessary to attach the latter packages. This function finds those packages and returns them in a named list. For each named item, the name is imported by the value in the list.
A named list of packages names, where each value is a vector of packages already loading the corresponding package.
## Not run:
#grid does not have be loaded since gridGraphics already does so.
redundant_packages(c("gridGraphics","grid"))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.