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
quantmod::as.zoo.data.frame() overwrites zoo's S3 registry entry when quantmod is loaded. The quantmod method was added in 2007, and the zoo method was not added until 2010. The package that owns the class should define the conversion method, so the as.zoo.*() methods should be in zoo.
Removing quantmod::as.zoo.data.frame() may break user code, because it converts rownames to Date before using them as the index for the zoo object, and the zoo method only uses an integer index by default.
The migration was started in 9343d9a by by printing a message the first time the quantmod method is called. Throw a warning so the method can be remnoved in the next major release.
quantmod::as.zoo.data.frame()
overwrites zoo's S3 registry entry when quantmod is loaded. The quantmod method was added in 2007, and the zoo method was not added until 2010. The package that owns the class should define the conversion method, so theas.zoo.*()
methods should be in zoo.Removing
quantmod::as.zoo.data.frame()
may break user code, because it converts rownames to Date before using them as the index for the zoo object, and the zoo method only uses an integer index by default.The migration was started in 9343d9a by by printing a message the first time the quantmod method is called. Throw a warning so the method can be remnoved in the next major release.
Related to #315.
The text was updated successfully, but these errors were encountered: