vetr
vetr copied to clipboard
Trust, but Verify
Currently signature is required to be a possible generic to a method. In the future we might relax that or at least provide a mode that allows a more relaxed...
Ideally would return full vetting expression, and the token that triggered the failure, potentially as an attribute for `vet`, and as part of the error message for `vetr`? For example,...
Maybe something like: ``` vet(a && ._(c && d), x) ``` Where `._` can be escaped with `.._`.
Should inherit from `simpleError`, and could be helpful in certain contexts.
Hi, Brodie Gaslam! I have just found your package. I am wondering if you could add my R package erify to your README file: https://github.com/flujoo/erify/ Thanks!
For functions that share some subset of a complex parameter list, it would be useful to be able to share validators similar to how roxygen2 can inherit parameters from other...
Could be confusing. Also maybe should check that numerics are in integer range and not just rounded. Docs for `?vet` and `?alike` should all be clearer about this, perhaps with...
``` vetr::vet(base::sum(), 1) ## Error in vetr::vet(base::sum(), 1) : ## Internal error: no integer codes produced by parsing process, which should not happen; contact maintainer. vetr::vet(sum(), 1) ## [1] TRUE...