assess_downloads_1yr {riskmetric}R Documentation

Assess a package for the number of downloads in the past year

Description

Assess a package for the number of downloads in the past year

Usage

assess_downloads_1yr(x, ...)

Arguments

x

a pkg_ref package reference object

...

additional arguments passed on to S3 methods, rarely used

Details

The more times a package has been downloaded the more extensive the user testing and the greater chance there is of someone finding a bug and logging it.

Value

a pkg_metric containing a numeric value between [0,1] indicating the volume of downloads

See Also

metric_score.pkg_metric_downloads_1yr

Examples

## Not run: 
assess_downloads_1yr(pkg_ref("riskmetric"))

## End(Not run)

[Package riskmetric version 0.2.4 Index]