powered by
Coerce a logical vector of discovered up-to-date NEWS to a metric score
# S3 method for pkg_metric_news_current metric_score(x, ...)
1 if any NEWS files are up-to-date, otherwise 0
1
0
a pkg_metric_news_current packge metric object
pkg_metric_news_current
additional arguments unused
if (FALSE) metric_score(assess_news_current(pkg_ref("riskmetric")))
Run the code above in your browser using DataLab