Displaying 1 result from an estimated 1 matches for "unionclass".
Did you mean:
unioncast
2015 Nov 04
1
setOldClass("xts")
...39;quantmod'Found more than one class "xts" in cache; using
the first, from namespace 'quantmod'
Indeed in this case it seems we are creating 2 virtual class for xts, one
in package environement quantmod and one in package environment myPackage.
Each is extended by different unionClass.
1) is it a problem (appart from this annoying warning?)
2) Should I instead use
if (is.null(.Call(methods:::C_R_getClassFromCache, "xts",
methods:::.classTable))) setOldClass("xts")
So that I create the virtual class only of it has not been created by
someone else in another...