Skip to contents

Scores packages based on its codebase size, as determined by number of lines of code.

Usage

# S3 method for pkg_metric_size_codebase
metric_score(x, ...)

Arguments

x

a pkg_metric_size_codebase packge metric object

...

additional arguments unused

Value

numeric value between 0 (low) and 1 (large number of lines of code) converting the number of downloads.

Examples

if (FALSE) metric_score(assess_size_codebase(pkg_ref("riskmetric")))