Re: [R-pkg-devel] two functions with the same name when importing

2019-11-07 Thread Bernd . Gruber
:34 PM To: Duncan Murdoch ; Bernd.Gruber ; r-package-devel@r-project.org Subject: Re: [R-pkg-devel] two functions with the same name when importing RShowDoc("R-exts") setion 1.5.1 Specifying imports and exports indicates that imports() has an except= argument, so import(adegenet, excep

Re: [R-pkg-devel] two functions with the same name when importing

2019-11-07 Thread Martin Morgan
RShowDoc("R-exts") setion 1.5.1 Specifying imports and exports indicates that imports() has an except= argument, so import(adegenet, except = plot) might do the trick. Use it in your package as `adegenet::plot()`. Martin Morgan On 11/6/19, 8:31 PM, "R-package-devel on behalf of Duncan Murdoc

Re: [R-pkg-devel] two functions with the same name when importing

2019-11-06 Thread Duncan Murdoch
On 06/11/2019 6:50 p.m., Bernd.Gruber wrote: Hi, I have a problem regarding the name of two functions and I know the "correct" way is to use importFrom to make sure only specified functions are imported. But my problem is that my package really depends on another package adegenet as I basicall

[R-pkg-devel] two functions with the same name when importing

2019-11-06 Thread Bernd . Gruber
Hi, I have a problem regarding the name of two functions and I know the "correct" way is to use importFrom to make sure only specified functions are imported. But my problem is that my package really depends on another package adegenet as I basically use 90% of the say >100 functions. So when I