Skip to content

Correctly subclass tibble#2

Open
DavisVaughan wants to merge 1 commit intocardiomoon:mainfrom
DavisVaughan:fix/tibble-class
Open

Correctly subclass tibble#2
DavisVaughan wants to merge 1 commit intocardiomoon:mainfrom
DavisVaughan:fix/tibble-class

Conversation

@DavisVaughan
Copy link

This PR makes your package compatible with the next version of dplyr:

When creating your gaze class, you were incorrectly placing the tibble class after data.frame. This is invalid, and some changes in dplyr revealed this bug. You should use class(df) <- c("myclass", class(df)) or tibble::new_tibble() for this. I prefer tibble::new_tibble() but it looks like you are already at 20 import dependencies and you get a CRAN note if you add another, so I used the first way to fix this.

We plan to submit dplyr 1.1.1 in 2-3 weeks.

This should be compatible with both dev and CRAN dplyr. It would help us out if you could go ahead and send a patch version of your package to CRAN ahead of time! Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant