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
Kurt Hornik noticed, and Achim Zeileis reported that zoo's method for as.zoo.xts is overwritten by xts. So zoo's S3 registry entries are overwritten when xts is loaded.
It looks like the xts method only exists because it didn't exist in zoo at the time. I think the package that owns the class should define the conversion
method, so the as.zoo* methods should be in zoo.
Achim noted the difference in as.zoo.xts() between zoo and xts is small (with xts being better). He thinks we should just move xts' version into zoo, and I agree.
The text was updated successfully, but these errors were encountered:
So it seems like we would need a zoo release prior to removing it from xts and updating the zoo dependency version. Or maybe there's a way to only register it in xts if zoo is less than a specific version.
Achim suggested try using an .onLoad() hook similar to that in zoo/R/zzz.R which conditionally registers ggplot2 methods.
Kurt Hornik noticed, and Achim Zeileis reported that zoo's method for
as.zoo.xts
is overwritten by xts. So zoo's S3 registry entries are overwritten when xts is loaded.It looks like the xts method only exists because it didn't exist in zoo at the time. I think the package that owns the class should define the conversion
method, so the
as.zoo*
methods should be in zoo.Achim noted the difference in
as.zoo.xts()
between zoo and xts is small (with xts being better). He thinks we should just move xts' version into zoo, and I agree.The text was updated successfully, but these errors were encountered: