dot-getDepGain: Calculate the 'dependency gain' from excluding one or more...

Description Usage Arguments Value Author(s)

Description

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.

Usage

1
.getDepGain(g, pkg, depsToRemove)

Arguments

g

Package dependency graph

pkg

Character string representing the package of interest

depsToRemove

Character vector representing the dependencies to remove

Value

The 'dependency gain' that would be achieved by excluding the indicated direct dependencies

Author(s)

Charlotte Soneson


BiocPkgTools documentation built on April 15, 2021, 6:01 p.m.