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

Backward incompatibility due to #5112 breaking reverse dependencies #5208

Closed
hsbadr opened this issue Oct 11, 2021 · 6 comments
Closed

Backward incompatibility due to #5112 breaking reverse dependencies #5208

hsbadr opened this issue Oct 11, 2021 · 6 comments
Assignees
Milestone

Comments

@hsbadr
Copy link

hsbadr commented Oct 11, 2021

bugfix for melt when measure.vars is a named list of length=1 #5112 made a backwards-incompatible change that takes value column names from measure.vars list names, instead of value.name argument, in order to make the behavior of melt() consistent with the documentation (specifically, for measure.vars).

value.name = meas.nm

The above line is now applied if length(measure.vars) == 1L too where value.name can be overridden, which breaks some reverse dependencies as they don't find the expected column name (if relying on using value.name) in the output of melt().

So, it's required to contact the maintainers of the reverse dependencies and ask them to change their code (either unlist measure.vars or set the names of the list correctly) and run R checks with the development version of data.table.

@tdhock
Copy link
Member

tdhock commented Oct 11, 2021

Matt's revdep check #5201 (comment) indicates that the following packages may be affected:

ERROR   :   20 : aRbs CornerstoneR doremi dvmisc ecochange EIX getDTeval iemisc iml LMMstar maditr mlr3proba mlr3viz NADIA rasterDT rio riskRegression SpaDES.core txshift VIM 
WARNING :    4 : BTSPAS LexisNexisTools sitree twang 

@tdhock
Copy link
Member

tdhock commented Oct 11, 2021

iml package has already been fixed, #5201 (comment)

@tdhock tdhock self-assigned this Oct 11, 2021
@mattdowle
Copy link
Member

mattdowle commented Oct 11, 2021

@tdhock Those 20 error + 4 warning are the upper bound, yes. Take that output together with the output of cran() in that comment to see which packages are in error and warning status already on CRAN (so not due to data.table-dev).
4 unrelated to melt fixed by #5210.
I'm going through it and will post here which are actually impacted ...

@mattdowle mattdowle added this to the 1.14.3 milestone Oct 11, 2021
@mattdowle
Copy link
Member

mattdowle commented Oct 11, 2021

aRbs: same error on CRAN too, not due to data.table-dev
CornerstoneR: known #5126, not melt related
getDTeval: known #5127, not melt related
iml: known melt related
LMMstar: same error on CRAN too, not due to data.table-dev
maditr: known #5128, not melt related
mlr3proba: same error on CRAN too, not due to data.table-dev
mlr3viz: same error on CRAN too, not due to data.table-dev
NADIA: nomatch= must be either NA or NULL, data.table-dev related but not melt, I'll look. Error on CRAN is a different one.
rio: similar multiple error on CRAN too, not due to data.table-dev
SpaDES.core: error in evaluating the argument 'simGraph' in selecting a method for function '.depsLoadOrder': error in evaluating the argument 'simEdgeList' in selecting a method for function '.depsPruneEdges': INTEGER() can only be applied to a 'integer', not a 'character' looks data.table-dev related but not sure whether melt related or not.
txshift: same error on CRAN too, not due to data.table-dev
VIM: Another nomatch= must be either NA or NULL. data.table-dev but not melt.
LexisNexisTools: Same warning on CRAN too, not due to data.table-dev
sitree: Same warning on CRAN too, not due to data.table-dev
twang: Same warning on CRAN too, not due to data.table-dev

So it is only iml. Happy days! I'll look at the 3 datatable-dev ones (NADIA, SpaDES.core and VIM) and once confirmed not melt related, will close this one.

@tdhock
Copy link
Member

tdhock commented Oct 11, 2021

great thanks Matt.

@mattdowle
Copy link
Member

#5214 and #5216 resolve NADIA, SpaDES.core and VIM, unrelated to melt.

@jangorecki jangorecki modified the milestones: 1.14.9, 1.15.0 Oct 29, 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

No branches or pull requests

4 participants