-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Colwise update #1853
Colwise update #1853
Conversation
a1fa560
to
5af25f9
Compare
@@ -44,6 +44,9 @@ | |||
* Code related to starting and signalling clusters has been moved out to | |||
[multidplyr](http://github.com/hadley/multidplyr). | |||
|
|||
* `summarise_each()` and `mutate_each()` are deprecated in favour of a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we not deprecate for now? (And instead deprecate in the next version)
Can be a character vector or an actual function
- Don't assign bare functions in calling env! - Properly propagate env when coercing character vector - Make it explicit that BaseEnv is used by default
All done |
@@ -13,6 +13,7 @@ | |||
column names (#1513). | |||
|
|||
* `one_of()` tolerates unknown variables in `vars`, but warns (#1848, @jennybc). | |||
column names (#1513). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops
Current coverage is 20.01%@@ master #1853 diff @@
==========================================
Files 188 188
Lines 7345 7422 +77
Methods 0 0
Messages 0 0
Branches 0 0
==========================================
+ Hits 1409 1485 +76
- Misses 5936 5937 +1
Partials 0 0
|
Yes it would be a pleasure to test drive. I had already noticed the lack of American versions but thankfully @lionel- has fixed that :) |
These new functions will be very useful! Everything works well. I made a PR to @lionel- with some modest changes to the help. I put some other notes made while running things in a gist. This is definitely related to tidyverse/purrr#152 and presumably closes several of the |
tweak summarise_all() docs
A |
The fact that |
Because there's three things you might want to supply to |
Thanks! |
This old issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with reprex) and link to this issue. https://reprex.tidyverse.org/ |
Here you go @hadley
I'm not sure how to handle databases with the
_if()
variants. It seems only a very restricted set of predicates will be compatible and in any case they will generate a full table scan. This doesn't seem very useful, so these variants fail with an error message for now when applied to a lazy source.Also I think the easiest way to solve the purrr problem is to restore the DataframeSubsetVisitors class as header only, and keep the
dmap()
functions as is (with a deprecation message pointing to dplyr). The semantics are slightly different so there is no easy way to provide a 100% compatible translation to the new dplyr colwise functions.