-
Notifications
You must be signed in to change notification settings - Fork 25
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
group_by logs incorrect value #4
Comments
That's indeed odd. Just a hunch: Could you upgrade your |
Force-updated glue (though the system threw the expected "Skipping install of 'glue' from a github remote, the SHA1 (8188cea6) has not changed since last install." message. Same result:
|
Does it work with other data frames? Could you run this and post the output? summary <- mtcars %>%
select(mpg, cyl, hp) %>%
filter(mpg > 15) %>%
mutate(mpg_round = round(mpg)) %>%
group_by(cyl, mpg_round)
str(summary) |
select: dropped 8 variables (disp, drat, wt, qsec, vs, …)
|
closed it by accident; sorry!! also tried it with the diamonds data:
filter: removed 36438 rows (68%) |
Are you running a development version of dplyr?
|
dplyr version is 0.8.0, release candidate scheduled for Feb 1 [1] ggplot2_3.1.0.9000 reprex_0.2.1 tidylog_0.1.0 dplyr_0.8.0 If I rollback to dplyr 0.7.8 then group_by() works. So there is something in 0.8.0 that is causing the break |
08d11d2 should fix this. Can you reinstall tidylog and try it out? |
08d11d2 works like a charm. Thanks for the quick fix, and this immensely useful package that will benefit all tidyverse learners. Have a great weekend! |
thanks for the report! Now we already support dplyr 0.8 before the release :) |
Great idea! I was planning on using it to teach tidy verse next week and noticed group_by() throws an incorrect value. I am using your code example too, so not sure what is going on here. sessionInfo follows, in case that helps.
The text was updated successfully, but these errors were encountered: