Andrzej Oleś
2017-Apr-20 15:30 UTC
[Rd] Problems with S4 methods dispatching on `...` (aka dotsMethods)
Hi all, I recently encountered some unexpected behavior with S4 generics dispatching on `...`, which I described in http://stackoverflow.com/questions/43499203/use-callnextmethod-with-dotsmethods TL;DR: `callNextMethod()` doesn't work in methods dispatching on `...`, and arguments of such methods are resolved differently than the arguments of methods dispatching on formal arguments. Could this indicate a potential problem with the implementation of the `...` dispatch? Cheers, Andrzej [[alternative HTML version deleted]]
Michael Lawrence
2017-Apr-20 20:28 UTC
[Rd] Problems with S4 methods dispatching on `...` (aka dotsMethods)
Thanks for pointing out these issues. I have a fix that I will commit soon. Btw, I would never have seen the post on Stack Overflow. It's best to report bugs on the bugzilla. Michael On Thu, Apr 20, 2017 at 8:30 AM, Andrzej Ole? <andrzej.oles at gmail.com> wrote:> Hi all, > > I recently encountered some unexpected behavior with S4 generics > dispatching on `...`, which I described in > http://stackoverflow.com/questions/43499203/use-callnextmethod-with-dotsmethods > > TL;DR: `callNextMethod()` doesn't work in methods dispatching on `...`, and > arguments of such methods are resolved differently than the arguments of > methods dispatching on formal arguments. > > Could this indicate a potential problem with the implementation of the > `...` dispatch? > > Cheers, > Andrzej > > [[alternative HTML version deleted]] > > ______________________________________________ > R-devel at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel
Andrzej Oleś
2017-Apr-21 09:40 UTC
[Rd] Problems with S4 methods dispatching on `...` (aka dotsMethods)
Great, thanks Michael for you quick response! I started off with a question on SO because I was not sure whether this was an actual bug or I was just missing something obvious. I'm looking forward to the patch. Cheers, Andrzej On Thu, Apr 20, 2017 at 10:28 PM, Michael Lawrence < lawrence.michael at gene.com> wrote:> Thanks for pointing out these issues. I have a fix that I will commit soon. > > Btw, I would never have seen the post on Stack Overflow. It's best to > report bugs on the bugzilla. > > Michael > > On Thu, Apr 20, 2017 at 8:30 AM, Andrzej Ole? <andrzej.oles at gmail.com> > wrote: > > Hi all, > > > > I recently encountered some unexpected behavior with S4 generics > > dispatching on `...`, which I described in > > http://stackoverflow.com/questions/43499203/use-callnextmethod-with- > dotsmethods > > > > TL;DR: `callNextMethod()` doesn't work in methods dispatching on `...`, > and > > arguments of such methods are resolved differently than the arguments of > > methods dispatching on formal arguments. > > > > Could this indicate a potential problem with the implementation of the > > `...` dispatch? > > > > Cheers, > > Andrzej > > > > [[alternative HTML version deleted]] > > > > ______________________________________________ > > R-devel at r-project.org mailing list > > https://stat.ethz.ch/mailman/listinfo/r-devel >[[alternative HTML version deleted]]
Maybe Matching Threads
- Problems with S4 methods dispatching on `...` (aka dotsMethods)
- Problems with S4 methods dispatching on `...` (aka dotsMethods)
- Problems with S4 methods dispatching on `...` (aka dotsMethods)
- Problems with S4 methods dispatching on `...` (aka dotsMethods)
- Problems with S4 methods dispatching on `...` (aka dotsMethods)