Hi, thanks for the great package! It really helps a lot.
I’ve been using the all() and any() validation functions and encountered some unexpected behavior:
When one of the rules inside the confrontation object throws an error (e.g., due to missing column), the overall validation still passes. I would expect that in such cases, the validation should fail, since an error likely means something went wrong with the check.
val <- validator(a >0)
out <- confront(women, val)
all(out)
# TRUE
Would love to know if this is intentional — and if not, whether you'd consider changing the behavior so that errors within rules cause the overall validation to fail.
Thanks again!
Hi, thanks for the great package! It really helps a lot.
I’ve been using the all() and any() validation functions and encountered some unexpected behavior:
When one of the rules inside the confrontation object throws an error (e.g., due to missing column), the overall validation still passes. I would expect that in such cases, the validation should fail, since an error likely means something went wrong with the check.
Would love to know if this is intentional — and if not, whether you'd consider changing the behavior so that errors within rules cause the overall validation to fail.
Thanks again!