.getDepGain | R Documentation |
Calculate the difference between the total number of dependencies of a package and the number of dependencies that would remain if one or more of the direct dependencies were removed.
.getDepGain(g, pkg, depsToRemove)
g |
Package dependency graph |
pkg |
Character string representing the package of interest |
depsToRemove |
Character vector representing the dependencies to remove |
The 'dependency gain' that would be achieved by excluding the indicated direct dependencies
Charlotte Soneson
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.