Re: [R-pkg-devel] [External] Re: Two packages with the same generic function

2020-06-23 Thread Bert Gunter
>UseMethod("foo") > > from pkgB. > > Best, > Wolfgang > > >-Original Message- > >From: R-package-devel [mailto:r-package-devel-boun...@r-project.org] On > >Behalf Of Duncan Murdoch > >Sent: Tuesday, 23 June, 2020 12:25 > >To: Guido Schw

Re: [R-pkg-devel] [External] Re: Two packages with the same generic function

2020-06-23 Thread Duncan Murdoch
h generics. Duncan Murdoch Best, Wolfgang -Original Message- From: R-package-devel [mailto:r-package-devel-boun...@r-project.org] On Behalf Of Duncan Murdoch Sent: Tuesday, 23 June, 2020 12:25 To: Guido Schwarzer; r-package-devel@r-project.org Subject: Re: [R-pkg-devel] [External] Re:

Re: [R-pkg-devel] [External] Re: Two packages with the same generic function

2020-06-23 Thread Viechtbauer, Wolfgang (SP)
;) from pkgB. Best, Wolfgang >-Original Message- >From: R-package-devel [mailto:r-package-devel-boun...@r-project.org] On >Behalf Of Duncan Murdoch >Sent: Tuesday, 23 June, 2020 12:25 >To: Guido Schwarzer; r-package-devel@r-project.org >Subject: Re: [R-pkg-devel] [External]

Re: [R-pkg-devel] [External] Re: Two packages with the same generic function

2020-06-23 Thread luke-tierney
It's described in ?library; tere is also a post on the R-blog at https://developer.r-project.org/Blog/public/2019/03/19/managing-search-path-conflicts/index.html Best, luke On Tue, 23 Jun 2020, Kevin R. Coombes wrote: Wait; I have options on how to configure conflict resolution? Can you tell

Re: [R-pkg-devel] [External] Re: Two packages with the same generic function

2020-06-23 Thread Kevin R. Coombes
Wait; I have options on how to configure conflict resolution? Can you tell me where to read more about this feature? Thanks,   Kevin On 6/22/2020 10:51 PM, luke-tier...@uiowa.edu wrote: On Tue, 23 Jun 2020, Bert Gunter wrote: "Users don't get warned about overriding names in packages they've

Re: [R-pkg-devel] [External] Re: Two packages with the same generic function

2020-06-23 Thread Duncan Murdoch
On 23/06/2020 4:22 a.m., Guido Schwarzer wrote: Am 23.06.20 um 10:00 schrieb Viechtbauer, Wolfgang (SP): [...] @Neal: A separate package with generic functions that pkgA and pkgB could import is an interesting suggestion, thanks! What makes this interesting is that there is no dependency on o

Re: [R-pkg-devel] [External] Re: Two packages with the same generic function

2020-06-23 Thread Guido Schwarzer
Am 23.06.20 um 10:00 schrieb Viechtbauer, Wolfgang (SP): [...] @Neal: A separate package with generic functions that pkgA and pkgB could import is an interesting suggestion, thanks! What makes this interesting is that there is no dependency on other packages in generics. Remains the questio

Re: [R-pkg-devel] [External] Re: Two packages with the same generic function

2020-06-23 Thread Viechtbauer, Wolfgang (SP)
Bert Gunter >Sent: Tuesday, 23 June, 2020 4:55 >To: luke-tier...@uiowa.edu >Cc: r-package-devel@r-project.org >Subject: Re: [R-pkg-devel] [External] Re: Two packages with the same generic >function > >OK. Thanks. > >Bert Gunter > >On Mon, Jun 22, 2020 at 7:51 PM wrote: >

Re: [R-pkg-devel] [External] Re: Two packages with the same generic function

2020-06-22 Thread Bert Gunter
OK. Thanks. Bert Gunter On Mon, Jun 22, 2020 at 7:51 PM wrote: > On Tue, 23 Jun 2020, Bert Gunter wrote: > > > "Users don't get warned about overriding names in packages they've > > loaded, because that would just be irritating." > > All Duncan is saying is that you don't get a notification

Re: [R-pkg-devel] [External] Re: Two packages with the same generic function

2020-06-22 Thread luke-tierney
On Tue, 23 Jun 2020, Bert Gunter wrote: "Users don't get warned about overriding names in packages they've loaded, because that would just be irritating." All Duncan is saying is that you don't get a notification if you do mean <- log in the interpreter. If you attach a package that does