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
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 set_names() (#119) etc. Could be called lowliner ;)
@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.
Activity
gaborcsardi commentedon Nov 9, 2015
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.
smbache commentedon Nov 9, 2015
+1
smbache commentedon Nov 9, 2015
I think true / false is best (more generally applicable). But perhaps as attribute.
gaborcsardi commentedon Nov 9, 2015
Btw. there are already a lot of assertions in the assertive.* packages, e.g. http://www.r-pkg.org/pkg/assertive.numbers
jennybc commentedon Nov 9, 2015
@gaborcsardi: following that link made me realize that 14 of the 16
assertive.*packages don't seem to be in the METACRAN mirror?https://github.com/search?q=user%3Acran+assertive&type=Repositories
lionel- commentedon Nov 9, 2015
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
set_names()(#119) etc. Could be calledlowliner;)smbache commentedon Nov 9, 2015
Or if only for predicates, "
predrcats" ;-)smbache commentedon Nov 9, 2015
With a cat hex logo
gaborcsardi commentedon Nov 9, 2015
@jennybc yeah, the GitHub mirroring is not working now, I'll fix it soon.
hadley commentedon Nov 9, 2015
I do like predrcats!
imanuelcostigan commentedon Jan 9, 2016
Is there a reason why
is_nais not available ? I am happy to help transport these predicates to a separate package if help is needed.smbache commentedon Jan 9, 2016
@imanuelcostigan
is_na %>% is_naimanuelcostigan commentedon Jan 9, 2016
@smbache ?
smbache commentedon Jan 9, 2016
Just found it amusing that you point out that
is_nais not available (i.e.is_na)... :-)imanuelcostigan commentedon Jan 9, 2016
ok LOLz
imanuelcostigan commentedon Mar 18, 2016
@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.
imanuelcostigan commentedon Apr 16, 2016
Starting
predrcatspackagehadley commentedon Mar 3, 2017
Will be moving into rlang
Re-export predicates from rlang