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