Displaying 1 result from an estimated 1 matches for "matchsiglength".
2012 Aug 05
2
setMethod sometimes fails to set package slot when signature has trailing 'ANY'
...obalEnv"
This does not occur when the order of setMethod calls is reversed. The
reason is that the package information added when
methods/R/Methods.R:552 calls matchSignature are stripped (because
matchSignature returns a vector with trailing 'ANY' classes removed) by
the call to .matchSigLength at line 603.
The context for this is the thread starting at
https://stat.ethz.ch/pipermail/bioconductor/2012-August/047241.html
where a complicated package dependency and attempt to redefine an
existing method leads to
Error : package slot missing from signature for generic 'sampleNames<...