Skip to content

Commit a50dda9

Browse files
committed
add names test
1 parent ddc4ae9 commit a50dda9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

inst/tests/tests.Rraw

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21465,6 +21465,8 @@ test(2331.33, frev(as.IDate(1:10)), as.IDate(10:1))
2146521465
x = c(a=1L, b=2L, c=3L)
2146621466
test(2331.41, frev(x), rev(x))
2146721467
test(2331.42, setfrev(x), x)
21468+
x = c(a=1L, b=2L, c=3L)
21469+
test(2381.43, {frev(x); names(x)}, c("a","b","c"))
2146821470
# attributes
2146921471
x = structure(1:10, class = c("IDate", "Date"), att = 1L)
2147021472
test(2331.51, attr(frev(x), "att"), attr(rev(x), "att"))

0 commit comments

Comments
 (0)