Skip to content

Commit d115767

Browse files
committed
..
1 parent c10f900 commit d115767

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

inst/tests/tests.Rraw

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21994,3 +21994,7 @@ test(2388.03, transpose(x, keep=c(1L,1L,3L)), transpose(x)[c(1,1,3)])
2199421994
test(2388.04, transpose(x, keep=NULL), transpose(x))
2199521995
test(2388.05, transpose(x, keep=1:2, fill=NA), transpose(x, fill=NA)[1:2])
2199621996
test(2388.06, transpose(x, keep=integer()), list())
21997+
test(2388.07, transpose(list(1:5), keep=10L), error="'keep' index 10 is out of bounds")
21998+
test(2388.08, transpose(list(1:5), keep=0L), error="'keep' index 0 is out of bounds")
21999+
test(2388.09, tstrsplit(c("1-a", "2-b"), "-", keep=1L, type.convert=TRUE), list(c(1L, 2L)))
22000+
test(2388.10, transpose(list(1:5), keep="a"), error="'keep' must be an integer vector")

0 commit comments

Comments
 (0)