Closed bollard closed 2 years ago
You're using version 0.12.1 and this has been fixed in #38 which has been merged to master.
R$ idx <- Sys.Date() - 1:10
x1 <- xts(1:10, order.by = idx, dimnames = list(NULL, 'foo'))
x2 <- xts(2:11, order.by = idx, dimnames = list(NULL, 'foo'))
colnames(cbind(x1, x2, suffixes = c('x1', 'x2')))
[1] "foo.x1" "foo.x2"
R$ packageVersion("xts")
[1] '0.12.1.2'
Doh! Yes, my apologies. Sorry for the spam. Any idea when we can expect a new CRAN release? 0.12.1 was released in September 2020. Would be great if we could get out all the latest fixes. Thanks
Description
suffixes
are not applied when column names of the merging objects are already the sameExpected behavior
suffixes
would be applied as specifiedMinimal, reproducible example
In this example, I'd expect to see
c("foo.x1", "foo.x2")
Session Info