package_metrics: Calculate all or the specified metrics for a package

Description Usage Arguments Value See Also

Description

Calculate all or the specified metrics for a package

Usage

1
2

Arguments

package

Package name, character scalar.

version

Version number, character scalar. If NULL, then the latest version is used.

metrics

The ids of the metrics to calculate. The default is to calculate all implemented metrics.

source

Where to get the package sources. CRAN and BioC packages are found automatically, others need to be specified.

Value

A named character vector. The names are the three letter metrics ids.

See Also

package_metrics_csv to calculate the metrics and write the output to a CSV file.


MangoTheCat/packageMetrics2 documentation built on May 21, 2019, 1:41 a.m.