powered by
Coerce the number of news files to binary indication of valid NEWS files
# S3 method for pkg_metric_has_news metric_score(x, ...)
1 if any NEWS files are found, otherwise 0
1
0
a pkg_metric_has_news packge metric object
pkg_metric_has_news
additional arguments unused
if (FALSE) metric_score(assess_has_news(pkg_ref("riskmetric")))
Run the code above in your browser using DataLab