Skip to content

Commit b825415

Browse files
use as.data.table in tests
1 parent 6775ce1 commit b825415

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

inst/tests/tests.Rraw

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21369,6 +21369,6 @@ test(2328.2, droplevels(DT), data.table(f=factor(), i=integer(), f2=factor()))
2136921369
# Row name extraction from multiple vectors, #7136
2137021370
x <- c(1, 2, 3)
2137121371
y <- setNames(c(4, 5, 6), c("A", "B", "C"))
21372-
test(2329.1, as.data.table.list(list(x, y), keep.rownames=TRUE), data.table(rn=c("A", "B", "C"), V1=c(1, 2, 3), V2=c(4, 5, 6)))
21373-
test(2329.2, as.data.table.list(list(x, y), keep.rownames="custom"), data.table(custom=c("A", "B", "C"), V1=c(1, 2, 3), V2=c(4, 5, 6)))
21372+
test(2329.1, as.data.table(list(x, y), keep.rownames=TRUE), data.table(rn=c("A", "B", "C"), V1=c(1, 2, 3), V2=c(4, 5, 6)))
21373+
test(2329.2, as.data.table(list(x, y), keep.rownames="custom"), data.table(custom=c("A", "B", "C"), V1=c(1, 2, 3), V2=c(4, 5, 6)))
2137421374

0 commit comments

Comments
 (0)