Skip to content

Commit 4f7bcc3

Browse files
committed
regression test
1 parent f6bbd5b commit 4f7bcc3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

inst/tests/tests.Rraw

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21896,3 +21896,8 @@ DT = data.table(x = strings)
2189621896
setorder(DT, x)
2189721897
test(2350, DT[["x"]], sort.int(strings, method='radix'))
2189821898
rm(DT, strings)
21899+
21900+
# do remove columns in freshly unserialized data.tables, #7488
21901+
DT = unserialize(serialize(as.data.table(mtcars), NULL))
21902+
test(2351, DT[,carb:=NULL], as.data.table(mtcars)[,carb:=NULL])
21903+
rm(DT)

0 commit comments

Comments
 (0)