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

.getDepGainR Documentation

Calculate the 'dependency gain' from excluding one or more direct dependencies

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

.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


seandavi/BiocPkgTools documentation built on May 23, 2024, 1:53 p.m.