Re: [R-pkg-devel] failing S3 dispatch

2021-10-21 Thread Duncan Murdoch
On 21/10/2021 1:23 p.m., Jens Oehlschlägel wrote: Thanks Duncan, I finally found the reason for the mysterious dispatch-failure: I had an unwanted and unexported replicated definition of the 'clone' generic in ff's namespace (a left-over). I still don't understand how this prevented the proper

Re: [R-pkg-devel] failing S3 dispatch

2021-10-21 Thread Jens Oehlschlägel
Thanks Duncan, I finally found the reason for the mysterious dispatch-failure: I had an unwanted and unexported replicated definition of the 'clone' generic in ff's namespace (a left-over). I still don't understand how this prevented the proper dispatch since the duplicate in ff's namespace

Re: [R-pkg-devel] failing S3 dispatch

2021-10-20 Thread Jens Oehlschlägel
Thank you Duncan, bit NAMESPACE has S3method(clone,default) export(clone) ff NAMESPACE has import(bit) # wish of CRAN maintainers: export another time here (now maintained and exported in bit) # without this R CMD CHECK complained, but with it R CMD CHECK complains also, how to export again

Re: [R-pkg-devel] failing S3 dispatch

2021-10-20 Thread Duncan Murdoch
On 19/10/2021 3:43 p.m., Jens Oehlschlägel wrote: I didn't find an answer elsewhere: My package 'bit' creates a S3 generic 'clone' and exports it. Furthermore it registers a S3 method 'clone.default' (not exported). My package 'ff' imports package 'bit' and exports and registers a new S3

[R-pkg-devel] failing S3 dispatch

2021-10-19 Thread Jens Oehlschlägel
I didn't find an answer elsewhere: My package 'bit' creates a S3 generic 'clone' and exports it. Furthermore it registers a S3 method 'clone.default' (not exported). My package 'ff' imports package 'bit' and exports and registers a new S3 method 'clone.ff'. However, calling 'clone(ffobj)'