links_to: identify packages that a package mentions

Description Usage Arguments Value

Description

this identifies unique packages that are linked to by the package that is being evaluated, in the context of dependencies, suggests and LinkingTo fields.

Usage

1
links_to(package_metadata, with_versions = FALSE)

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).

with_versions

whether to return the version number (or lack thereof) as well as the mentioned package's name. Set to FALSE by default.

Value

a vector of package names, if with_versions is FALSE, or a data.frame of "package" and "version", if TRUE.


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