links_from: Get a count of packages that mention a specific package

Description Usage Arguments Details Value

Description

consumes packageX's metadata and returns a count of how many packages depend on it.

Usage

1
links_from(package_metadata)

Arguments

package_metadata

package metadata retrieved with get_package_metadata, or the name of a package (in which case get_package_metadata will be called internally).

Details

we don't (currently) have more than a count of how many reverse depends, imports, suggests etc a package has, otherwise we'd be mimicking the functionality of links_to.

Value

a one-element, numeric vector containing a count of how many packages depend on the package package_metadata covers.


Ironholds/practice documentation built on May 7, 2019, 6:41 a.m.