Skip to content
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

Using 1-based indices in grouping metadata #3610

Merged
merged 7 commits into from
May 29, 2018

Conversation

romainfrancois
Copy link
Member

> tibble( x = 1:4, g = rep(1:2, each = 2)) %>% group_by(g) %>% group_rows()
[[1]]
[1] 1 2

[[2]]
[1] 3 4

@romainfrancois romainfrancois force-pushed the f-3605-1based-indices branch from 366b600 to a5929e4 Compare May 28, 2018 14:53
@hadley
Copy link
Member

hadley commented May 28, 2018

Is this going to break tidyr? If so, we need to think a bit about release planning.

@romainfrancois romainfrancois added the wip work in progress label May 28, 2018
@romainfrancois
Copy link
Member Author

I'll have a look at tidyr, how much does it use the internal structure of grouped data frames ?

@romainfrancois
Copy link
Member Author

This is a dangerous off by one kind of PR, and it was a bit too easy so I need to carefully check if there are no other off by one problems lurking around.

@romainfrancois
Copy link
Member Author

tidyr seems immune to these changes:

OK:       323
Failed:   0
Warnings: 0
Skipped:  0

Between #3489 and this, I guess we can do a rev dev check soon, there are probably 📦 that depend on the previous structure of attributes.

@romainfrancois romainfrancois merged commit c454a8f into master May 29, 2018
@krlmlr
Copy link
Member

krlmlr commented Aug 1, 2018

I could relate segfaults to this pull requests, specifically to c5fc0d2. Will try to come up with a reprex.

@krlmlr
Copy link
Member

krlmlr commented Aug 1, 2018

These segfaults are gone now with 9584596.

@romainfrancois romainfrancois deleted the f-3605-1based-indices branch August 6, 2018 14:24
@lock
Copy link

lock bot commented Feb 2, 2019

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/

@lock lock bot locked and limited conversation to collaborators Feb 2, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
wip work in progress
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants