Skip to content

Commit 04437b6

Browse files
committed
test 2291.1: misleading TRUELENGTH now impossible
Now that data.table objects have the GROWABLE_BIT set, R will reset TRUELENGTH when duplicating them, causing our code to take a different branch.
1 parent c3e8f0c commit 04437b6

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

inst/tests/tests.Rraw

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19453,7 +19453,6 @@ test(2290.4, DT[, `:=`(a = 2, c := 3)], error="It looks like you re-used `:=` in
1945319453
df = data.frame(a=1:3)
1945419454
setDT(df)
1945519455
attr(df, "att") = 1
19456-
##test(2291.1, set(df, NULL, "new", "new"), error="attributes .* have been reassigned")
1945719456
test(2291.1, set(df, NULL, "new", "new"), error="either been loaded from disk.*or constructed manually.*Please run setDT.*setalloccol.*on it first")
1945819457

1945919458
# ns-qualified bysub error, #6493

0 commit comments

Comments
 (0)