Hello.
I've tested data.table dev version 1.14.3 as it has so many features and bugfixes.
Unfortunately package bupaverse/processmapR) become broken due some changes in data.table internal logic.
I suppose current issue can be a clarification of https://github.com/Rdatatable/data.table/issues/5361 as it influence @ work of another packages, not my personal code.
Error can be reproduced enven in public bupaR sample:
library(bupaR)
patients %>%
process_map()
#> Error in rbindlist(l, use.names, fill, idcol) :
#> Class attribute on column 7 of item 2 does not match with column 7 of item 1.
Hello. I've tested
data.table
dev version 1.14.3 as it has so many features and bugfixes. Unfortunately packagebupaverse/processmapR
) become broken due some changes indata.table
internal logic. I suppose current issue can be a clarification of https://github.com/Rdatatable/data.table/issues/5361 as it influence @ work of another packages, not my personal code.Error can be reproduced enven in public
bupaR
sample:More precisely, I tried to debug and found that error raised at this line https://github.com/bupaverse/processmapR/blob/6dbf8d776204b6706432f2fdf81b22a1ab6dcaae/R/process_map.R#L198 during
data.table::merge
by ordered factor and character.When I rollback
data.table
to version 1.14.2 everything returns to working state.SessionInfo()