Re: [Rd] Problems with S4 methods dispatching on `...` (aka dotsMethods)

2017-08-09 Thread Andrzej Oleś
Awesome, thank you Michael! On Mon, Aug 7, 2017 at 7:27 PM, Michael Lawrence wrote: > I ported that over. > > On Tue, Aug 1, 2017 at 5:50 AM, Andrzej Oleś > wrote: > >> Thank you Michael for updating the 3.4 branch, the `callNextMethod()` now >> works for `...` m

Re: [Rd] Problems with S4 methods dispatching on `...` (aka dotsMethods)

2017-08-01 Thread Andrzej Oleś
M, Michael Lawrence wrote: > I pushed the patch to the 3.4 branch. Feel free to test. > > Michael > > On Wed, Jul 26, 2017 at 4:02 AM, Andrzej Oleś > wrote: > > Hi Michael, > > > > it seems that your patch to S4 generics dispatching on `...` is still > >

Re: [Rd] Problems with S4 methods dispatching on `...` (aka dotsMethods)

2017-07-26 Thread Andrzej Oleś
the broken `...` dispatch is fixed before R-3.5.0? Cheers, Andrzej On Tue, Apr 25, 2017 at 4:15 PM, Andrzej Oleś wrote: > You're right, I must have mixed up my R versions when running the example, > as the problem seems to be resolved in R-devel. > > Sorry for the noise and

Re: [Rd] Problems with S4 methods dispatching on `...` (aka dotsMethods)

2017-04-25 Thread Andrzej Oleś
seems to work for me. It's > also a (passing) regression test in R. Are you sure you're using a new > enough R-devel? > > > On Tue, Apr 25, 2017 at 2:34 AM, Andrzej Oleś > wrote: > > Hi Michael, > > > > thanks again for your patch! I've tested it

Re: [Rd] Problems with S4 methods dispatching on `...` (aka dotsMethods)

2017-04-25 Thread Andrzej Oleś
ure = "x") # works as the non-generic version f() ## [1] missing 'a' setGeneric("f", signature = "...") # unexpectedly fails to find 'b' f() ## Error in print(a) : object 'b' not found Any chances of fixing th

Re: [Rd] Problems with S4 methods dispatching on `...` (aka dotsMethods)

2017-04-21 Thread Andrzej Oleś
nce.mich...@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, Andr

[Rd] Problems with S4 methods dispatching on `...` (aka dotsMethods)

2017-04-20 Thread Andrzej Oleś
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