R/assess_has_news.R
metric_score.pkg_metric_has_news.Rd
Coerce the number of news files to binary indication of valid NEWS files
# S3 method for pkg_metric_has_news
metric_score(x, ...)
a pkg_metric_has_news
packge metric object
additional arguments unused
1
if any NEWS files are found, otherwise 0
if (FALSE) metric_score(assess_has_news(pkg_ref("riskmetric")))