You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for bringing this up, it's a good find. I wasn't aware of changes to as.data.frame()'s default behavior, but it looks like as.data.table() has a stringsAsFactors argument that defaults to FALSE, and the data.table package is backwards compatible with R 3.1.0+, so I think it will suffice to update the minimum R version of sl3 to match with that used by data.table (although in practice other dependencies will determine the limit) and to switch out that particular use of as.data.frame() with as.data.table(). I'll do that in a PR shortly.
The stated R dependency is quite old:
sl3/DESCRIPTION
Line 32 in 2bc71d8
But this code relies on the default behavior of
as.data.frame()
'sstringsAsFactors = FALSE
in R 4.0 and later:sl3/R/sl3_Task.R
Line 177 in 2bc71d8
The text was updated successfully, but these errors were encountered: