R/assess_has_vignettes.R
metric_score.pkg_metric_has_vignettes.Rd
Coerce the number of vignettes files to binary indication of valid Vignettes
# S3 method for class 'pkg_metric_has_vignettes'
metric_score(x, ...)
1
if any Vignettes files are found, otherwise 0
if (FALSE) metric_score(assess_has_vignettes(pkg_ref("riskmetric")))
# \dontrun{}