[Bioc-devel] Package checks with WARNING
Lapuente Santana, Oscar
o@|@puente@@@nt@n@ @end|ng |rom tue@n|
Wed Oct 12 22:42:29 CEST 2022
Thanks for your suggestion.
The package rstatix which I used and it's set as an import, calls the coin package but this one is defined as a suggests in the description file of rstatix package (https://github.com/kassambara/rstatix/blob/master/DESCRIPTION).
In particular, I am calling two two functions from this package: rstatix::wilcox_test and rstatix::wilcox_effsize. The later uses several functions from the coin package and one is called the same way which is coin::wilcox_test and then the warning arises.
Given this situation, I would feel more comfortable importing the full coin package. What are your thoughts?
On 12/10/2022, 20:07, "Hervé Pagès" <hpages.on.github using gmail.com> wrote:
On 12/10/2022 01:09, Lapuente Santana, Oscar via Bioc-devel wrote:
> Dear Bioconductor developers/maintainers,
> My package ‘easier’ checks with WARNING in both the current 3.15 release and the devel version.
> I am just checking in to see if that’s okay since this was also the case in the first submission (the warning stems from a dependency of a dependency)
Sure but you can get rid of it by importing only what you need from the
coin package. Right now you import the full coin namespace, by having
import(coin) in your NAMESPACE file, and that introduces a clash with
importFrom(rstatix,wilcox_test) that you also have in there.
I'm actually not sure what you need coin for (I was not able to find a
place in your code where you make any use of it). So maybe you could
just drop that dependency entirely?
> Thanks in advance,
> Cheers, Óscar
> [[alternative HTML version deleted]]
> Bioc-devel using r-project.org mailing list
Bioconductor Core Team
hpages.on.github using gmail.com
More information about the Bioc-devel