Re: [R-pkg-devel] Getting two independent packages with identical S3 generics to dispatch each other's methods

2020-07-11 Thread Duncan Murdoch
On 11/07/2020 7:52 a.m., Pavel N. Krivitsky wrote: Dear Duncan et al., Firstly, my apologies for the duplicated query. It seems that I had searched everywhere but the mailing list where I asked the question. Secondly, I was wondering if I could get some indication whether CRAN would accept a pa

Re: [R-pkg-devel] Getting two independent packages with identical S3 generics to dispatch each other's methods

2020-07-11 Thread Pavel N. Krivitsky
Dear Duncan et al., Firstly, my apologies for the duplicated query. It seems that I had searched everywhere but the mailing list where I asked the question. Secondly, I was wondering if I could get some indication whether CRAN would accept a package with the following code and documentation (and

Re: [R-pkg-devel] Getting two independent packages with identical S3 generics to dispatch each other's methods

2020-07-11 Thread Duncan Murdoch
If the semantics of the two generics must remain identical in the future, then there is an implicit dependency between the code in the packages. You should formalize this by using one of the dependency mechanisms that the language provides, i.e. the clean solution. Duncan Murdoch On 10/07/20