Skip to content

Commit f0dce34

Browse files
committed
fixed typo
1 parent da18bd8 commit f0dce34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inst/tests/tests.Rraw

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21068,7 +21068,7 @@ test(2305, { fread(testDir("issue_6729.txt.bz2")); TRUE })
2106821068
# j expressions that modify a data.table by reference, (#6768)
2106921069
inner=function(dt){dt[,b:=4:6]}
2107021070
outer=function(dt){inner(dt); return(7:9)}
21071-
foo=function(dt){dt[b:=4:6];return(7:9)}
21071+
foo=function(dt){dt[,b:=4:6];return(7:9)}
2107221072
DT = data.table(a=1:3)
2107321073
test(2306, DT[,c:=outer(DT)], data.table(a=1:3, b=4:6, c=7:9))
2107421074
test(2306.1, DT[,c:=foo(DT)], data.table(a=1:3, b=4:6, c=7:9))

0 commit comments

Comments
 (0)