Skip to content

Eagerly convert from and to data.table and patch v1.8.1#233

Merged
martinctc merged 7 commits into
microsoft:mainfrom
DavisVaughan:fix/tidyr-1-3-0
Jan 31, 2023
Merged

Eagerly convert from and to data.table and patch v1.8.1#233
martinctc merged 7 commits into
microsoft:mainfrom
DavisVaughan:fix/tidyr-1-3-0

Conversation

@DavisVaughan

Copy link
Copy Markdown
Contributor

Hi there,

We ran revdeps for the upcoming release of tidyr 1.3.0 and your package came up.

In dev tidyr we have reworked the way that data frame "restoration" is done in a number of the tidyr verbs to be simpler, more robust, and resolve a number of edge case issues. Unfortunately for wpa, this means that the data.table class is no longer preserved in a place where it was expected to be. I've fixed that with an explicit as.data.table() call.

We actually plan to release tidyr today. I'm not sure how wpa slipped through the cracks when we ran revdeps a few weeks ago. I'm sorry about that!

This patch is backwards compatible with CRAN tidyr.

Thanks!

@martinctc

Copy link
Copy Markdown
Member

Thanks @DavisVaughan ! Can I just check - would this block the release of tidyr? i.e. would we need to fix and release this to CRAN in order for tidyr to release?

@DavisVaughan

Copy link
Copy Markdown
Contributor Author

No, we have already sent tidyr in. Normally we try to give you 2 weeks to fix it before we send the package in. Unfortunately we couldn't do that for you this time. We probably just missed wpa somehow when looking at the list of broken revdeps.

@martinctc

Copy link
Copy Markdown
Member

Thank you! Managed to pass the checks - failed checks were due to the GitHub Action for R-CMD-Checks using an outdated branch name, now rectified. Will submit to CRAN and merge to main when done.

@martinctc martinctc changed the title Eagerly convert from and to data.table Eagerly convert from and to data.table and patch v1.8.1 Jan 31, 2023
@martinctc

Copy link
Copy Markdown
Member

Update released to CRAN. Thanks again @DavisVaughan!

@martinctc martinctc merged commit 476f013 into microsoft:main Jan 31, 2023
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.

2 participants