New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move predicates into own package #124
Comments
Micropackage. :) Not yet. But happy to have one. :) We just want them to return TRUE/FALSE? I often find it useful if they can also return an error message. |
+1 |
I think true / false is best (more generally applicable). But perhaps as attribute. |
Btw. there are already a lot of assertions in the assertive.* packages, e.g. http://www.r-pkg.org/pkg/assertive.numbers |
@gaborcsardi: following that link made me realize that 14 of the 16 https://github.com/search?q=user%3Acran+assertive&type=Repositories |
Instead of a micro-package, do we need a "standard lib" package with underscored function names and sane behaviours? This would be a good home for |
Or if only for predicates, " |
With a cat hex logo |
@jennybc yeah, the GitHub mirroring is not working now, I'll fix it soon. |
I do like predrcats! |
Is there a reason why |
@imanuelcostigan |
@smbache ? |
Just found it amusing that you point out that |
ok LOLz |
@lionel- i have been also been thinking that something like that would be sweet. Been reading Swift's API design guidelines (ugh...camelCase) and reflecting on the lack of design principles in R's core packages (not just camelCase vs snake_case). That isn't surprising given its genesis. |
Starting |
Will be moving into rlang |
Since they're useful in many places
@gaborcsardi do you already have a mini package for predicates? In purrr, we have:
etc
The text was updated successfully, but these errors were encountered: