Skip to content

Commit fce4f33

Browse files
need data.table() to restore alloccol message consistency
1 parent 9a0438d commit fce4f33

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

inst/tests/tests.Rraw

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15883,6 +15883,7 @@ l = list(foo=list(bar=data.frame(a=1:3, b=4:6)))
1588315883
test(2074.041, setDT(l[[c('foo', 'bar')]]), error='Invalid set* operation on a recursive index L[[i]]')
1588415884
setDT(l[['foo']][['bar']])
1588515885
test(2074.042, is.data.table(l[[c('foo', 'bar')]]))
15886+
l = list(foo=list(bar=data.table(a=1:3, b=4:6)))
1588615887
test(2074.043, l[[c('foo', 'bar')]][ , (letters) := 16:18], error='Invalid set* operation on a recursive index L[[i]]')
1588715888
options(opt)
1588815889
## alloc.col when using 0-truelength j assigning to a subset

0 commit comments

Comments
 (0)