You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
xts 0.13.0 unable to read certain xts multi column objects it produces. I upgraded from xts 0.12.1 to 0.13.0 and the code base i have starts crashing. Upon inspection, i notice certain large xts multi column structures lacking named columns created by the code produce errors when accessed in any way. When saving these 0.13.0 structures and loading them up in 0.12.1, they work as expected. Giving all the columns names also "repairs" these structures under 0.13.0.
Expected behavior
Typical xts behavior, for instance print(xts) should print the xts. xts <- xts*xts; should square the values.
However, any sort of operation on this xts leads to the error
print(test)
Error in dimnames(x) <- dn :
length of 'dimnames' [2] not equal to array extent
Minimal, reproducible example
based on the attached and zipped xts object inside an RDS
broken_xts.zip
Description
xts 0.13.0 unable to read certain xts multi column objects it produces. I upgraded from xts 0.12.1 to 0.13.0 and the code base i have starts crashing. Upon inspection, i notice certain large xts multi column structures lacking named columns created by the code produce errors when accessed in any way. When saving these 0.13.0 structures and loading them up in 0.12.1, they work as expected. Giving all the columns names also "repairs" these structures under 0.13.0.
Expected behavior
Typical xts behavior, for instance print(xts) should print the xts. xts <- xts*xts; should square the values.
However, any sort of operation on this xts leads to the error
Minimal, reproducible example
based on the attached and zipped xts object inside an RDS
Session Info
The text was updated successfully, but these errors were encountered: