metric_score.pkg_metric_has_news {riskmetric} | R Documentation |
Score a package for the presence of a NEWS file
Description
Coerce the number of news files to binary indication of valid NEWS files
Usage
## S3 method for class 'pkg_metric_has_news'
metric_score(x, ...)
Arguments
x |
a |
... |
additional arguments unused |
Value
1
if any NEWS files are found, otherwise 0
Examples
## Not run: metric_score(assess_has_news(pkg_ref("riskmetric")))
[Package riskmetric version 0.2.4 Index]