metric_score.pkg_metric_has_vignettes {riskmetric} | R Documentation |
Score a package for the presence of a Vignettes file
Description
Coerce the number of vignettes files to binary indication of valid Vignettes
Usage
## S3 method for class 'pkg_metric_has_vignettes'
metric_score(x, ...)
Arguments
x |
a |
... |
additional arguments unused |
Value
1
if any Vignettes files are found, otherwise 0
Examples
## Not run: metric_score(assess_has_vignettes(pkg_ref("riskmetric")))
[Package riskmetric version 0.2.4 Index]