Open joshuaulrich opened 5 years ago
I guess the following comment from the sources of the methods package also holds for "xts":
So maybe xts itself could setOldClass("xts")
?
Thanks for the suggestion @bastistician. That thought crossed my mind as well. Would you have time to try that and report back?
Has anyone fixed this yet? It is still bothering me.
@nguinasso I just tried to address it. It's going to take coordination with other package authors to get it released, so that may take several weeks.
The
setOldClass("xts")
andsetOldClass("zoo")
calls in quantmod cause issues if other packages need to define those classes as well. For example, see https://github.com/edzer/spacetime/issues/35, and a StackOverflow question I answered a couple years ago.I mentioned these to @jaryan and he would prefer to remove all the S4 classes from quantmod.