Skip to contents

Assess a package for the presence of example or usage fields in function documentation

Usage

assess_has_examples(x, ...)

Arguments

x

a pkg_ref package reference object

...

additional arguments passed on to S3 methods, rarely used

Value

a pkg_metric containing an integer value indicating the proportion of discovered files with examples

Examples

if (FALSE) { # \dontrun{
assess_has_examples(pkg_ref("riskmetric"))
} # }