I mean:
library(data.table)
DT1 = data.table(x = "yeehaw")
DT2 = DT1[c(1,1)]
fsetequal(DT1, DT2) # FALSE
setequal(DT1$x, DT2$x) # TRUE
(Testing on an old version of data.table, but figured I'd file since I didn't see any issues filed on it and still see the same code up, missing calls to unique/funique.) EDIT: Just upgraded and am seeing the same behavior.
I mean:
(Testing on an old version of data.table, but figured I'd file since I didn't see any issues filed on it and still see the same code up, missing calls to unique/funique.) EDIT: Just upgraded and am seeing the same behavior.