Skip to content

Commit 436e410

Browse files
new test belying the "simplification" in prev. commit
1 parent 4f2b5bb commit 436e410

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

inst/tests/tests.Rraw

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21381,3 +21381,7 @@ if (!inherits(tryCatch(sqrt_elt_sym(1), error=identity), "error")) {
2138121381
test(2329.7, DT[, lapply(.SD, sqrt_elt_sym)], data.table(a=1.0))
2138221382
test(2329.8, DT[, lapply(.SD, function(...) sqrt(...elt(1L)))], data.table(a=1.0))
2138321383
}
21384+
# edge case of weird, though technically valid, names
21385+
`.123` = 'a'
21386+
DT = data.table(a = 4L)
21387+
test(2329.9, DT[, ...123], DT) # _not_ '..N' style and distinct from '...'

0 commit comments

Comments
 (0)