Skip to content

Commit 5f7f5ff

Browse files
committed
k
1 parent 1d29473 commit 5f7f5ff

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

R/data.table.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1413,7 +1413,7 @@ replace_dot_alias = function(e) {
14131413
stopf("RHS of `:=` is a length-1 list containing a function. `data.table` does not automatically recycle lists. To create a list-column, use `rep(list(myfun), .N)` to match the number of rows.")
14141414
}
14151415
}
1416-
# TODO?: use set() here now that it can add new columns. Then remove newnames and alloc logic above.
1416+
# TODO?: use set() here now that it can add new columns.Then remove newnames and alloc logic above.
14171417
.Call(Cassign,x,irows,cols,newnames,jval)
14181418
return(suppPrint(x))
14191419
}

inst/tests/tests.Rraw

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21161,4 +21161,4 @@ test(2317.9, DT1[DF2, on='a', .(e = x.a + i.e)]$e, 6)
2116121161
DT = data.table(x = 1:3)
2116221162

2116321163
test(2318.1, DT[, y := mean], error = "RHS of `:=` is a function")
21164-
test(2318.2, DT[, y := list(mean)], error = "RHS of `:=` is a length-1 list containing a function")
21164+
test(2318.2, DT[, y := list(mean)], error = "RHS of `:=` is a length-1 list containing a function")

0 commit comments

Comments
 (0)