Displaying 1 result from an estimated 1 matches for "pkgmethodlabel".
2012 Jun 21
1
package slot of generic "[" and missing env@target?
...p, and will never have such).
This is happening with "library(mypackage2)" :
Error: package slot missing from signature for generic ?[?
and classes myclass, ANY, ANY, ANY
cannot use with duplicate class names (the package may need to be re-installed)
I have done "debug(methods:::.pkgMethodLabel)" and found that curiously, it is invoked for the two copies of the "[" generic with signature "classes myclass, ANY, ANY, ANY", ones with
packageSlot(method at target) sets to c("mypackage2", "methods", "methods", "methods"), the ot...