metric_score.pkg_metric_has_maintainer: Score a package for inclusion of an associated maintainer

View source: R/assess_has_maintainer.R

metric_score.pkg_metric_has_maintainerR Documentation

Score a package for inclusion of an associated maintainer

Description

Coerce a list of maintainers into a numeric value indicating whether the number of listed maintainers is greater than 0.

Usage

## S3 method for class 'pkg_metric_has_maintainer'
metric_score(x, ...)

Arguments

x

a pkg_metric_has_maintainer packge metric object

...

additional arguments unused

Value

1 if any maintainer is provided, otherwise 0

Examples

## Not run: metric_score(assess_has_maintainer(pkg_ref("riskmetric")))


riskmetric documentation built on Sept. 1, 2023, 1:06 a.m.