egnha / valaddin

Functional input validation to make R functions more readable and robust
Other
33 stars 1 forks source link

Add local checkers for TRUE/FALSE #13

Closed egnha closed 7 years ago

egnha commented 7 years ago

Name these vld_true, vld_false. They are the most general local checkers possible.

Example: vld_true(~x) should generate the check formula list("Not TRUE: x" ~ x) ~ isTRUE.