metric_score.pkg_metric_has_vignettes: Score a package for the presence of a Vignettes file

Description Usage Arguments Value Examples

View source: R/assess_has_vignettes.R

Description

Coerce the number of vignettes files to binary indication of valid Vignettes

Usage

1
2
## S3 method for class 'pkg_metric_has_vignettes'
metric_score(x, ...)

Arguments

x

a pkg_metric_has_vignettes packge metric object

...

additional arguments unused

Value

1 if any Vignettes files are found, otherwise 0

Examples

1

riskmetric documentation built on July 30, 2021, 1:06 a.m.