Skip to content

Commit 2f6088e

Browse files
committed
Fix failing test on R-devel.
Fixes #255
1 parent d4ae8e8 commit 2f6088e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/testthat/test-rbind.r

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,8 @@ test_that("multidim arrays ok", {
135135
})
136136

137137
test_that("Array column names preserved", {
138-
x <- data.frame(hair.color=dimnames(HairEyeColor)[[1]])
139-
x$obs <- HairEyeColor[,,1]
138+
x <- data.frame(hair.color = dimnames(HairEyeColor)[[1]])
139+
x$obs <- unclass(HairEyeColor[,,1])
140140

141141
xx1 <- rbind(x, x)
142142
xx2 <- rbind.fill(x, x)

0 commit comments

Comments
 (0)