run_check: Run a check

Description Usage Arguments Value Examples

View source: R/checks.R

Description

This is the primary way that checks are run programatically. This runs the check in the check_env environment, which allows it to access properties about the CanonicalForm such as canonical_col_names().

Usage

1

Arguments

check

a function to run

cf

a CanonicalForm object

...

additional arguments passed to the check function

Value

the return value of check

Examples

1
2
cf <- extract_canonical_form(cars)
run_check("check_class", cf, x = cars)

colin-fraser/CanonicalForms documentation built on Jan. 8, 2022, 8:42 a.m.