You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, while skimming through the errorlocate reference manual, I stumbled over is_conditional(). Therefore, I tried to use conditional validation rules in validate and it worked like a charm. Unfortunately, I could not find any hints on this in the validate documentation.
Thus, it would be great if there was a list with common examples of what's possible to put into a validation rule. This could be placed in another vignette.
I think I read somewhere that everything is allowed which evaluates to logical (could not find this right now), but being more explicit would foster the work with validate.
PS: Thanks for this great package. I just started to write a package for the exact same purpose at Deutsche Bundesbank when I found yours which perfectly fits my needs.
The text was updated successfully, but these errors were encountered:
You make a valid point. The background is rather practical: we have focused our writing efforts on the book we publised earlier this year.
validate has been quite thoroughly tested, and you can find example rules and implementations also in this github repo. It has a good README so should be pretty self-explanatory.
Regarding the validate DSL. We are writing a paper on that (and you find information in the book as well). A summary of the syntax can be found by loading validate and the typing ?syntax in the R command line.
Hi, while skimming through the
errorlocate
reference manual, I stumbled overis_conditional()
. Therefore, I tried to use conditional validation rules invalidate
and it worked like a charm. Unfortunately, I could not find any hints on this in thevalidate
documentation.Thus, it would be great if there was a list with common examples of what's possible to put into a validation rule. This could be placed in another vignette.
I think I read somewhere that everything is allowed which evaluates to
logical
(could not find this right now), but being more explicit would foster the work withvalidate
.PS: Thanks for this great package. I just started to write a package for the exact same purpose at Deutsche Bundesbank when I found yours which perfectly fits my needs.
The text was updated successfully, but these errors were encountered: