R/assess_has_source_control.R
metric_score.pkg_metric_has_source_control.Rd
Coerce a list of source control urls into a numeric value indicating whether the number of listed urls is greater than 0.
# S3 method for class 'pkg_metric_has_source_control'
metric_score(x, ...)
1
if any source control url is provided, otherwise 0
if (FALSE) metric_score(assess_has_source_control(pkg_ref("riskmetric")))
# \dontrun{}