egnha / valaddin

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

Enable localized checkers to use custom error messages #14

Closed egnha closed 7 years ago

egnha commented 7 years ago

For instance, vld_true(~x, "y is not positive" ~ y > 0) should generate the check formula list("Not TRUE: x" ~ x, "y is not positive" ~ y) ~ is_true.