is this a bug in package testthat
?
I would expect x
to be always identical to x
... Instead I get an error.
x = structure(logical(0), index = structure(numeric(0), tzone = "", tclass = c("POSIXct", "POSIXt")),
.indexCLASS = c("POSIXct", "POSIXt"), tclass = c("POSIXct", "POSIXt"), .indexTZ = "", tzone = "",
class = c("xts", "zoo"), .Dim = c(0L, 4L), .Dimnames = list(NULL, c("F", "G", "H", "J")))
testthat::expect_equivalent(x,x)
> Error in NextMethod(.Generic) : binary operation on non-conformable arrays
Note that I have testthat
version 1.0.2