Re: [R-pkg-devel] Checking package dependencies before loading namespace

2021-08-31 Thread Uwe Ligges
Two more comments. 1. Note that your code only works in interactice mode, not when checking your package as it waits infinitely for the user's choice. 2. I do not see an advantage of installing BiocManager if EBImage is needed, the essential part is simply to select BioC as a repository to i

Re: [R-pkg-devel] Checking package dependencies before loading namespace

2021-08-31 Thread Duncan Murdoch
People shouldn't be able to install your package unless the "hard" dependencies are available. If EBImage isn't essential to your package, you should make it a "soft" dependency by listing it in Suggests and checking for it every time you use it. Duncan Murdoch On 31/08/2021 3:20 p.m., Tiag

[R-pkg-devel] Checking package dependencies before loading namespace

2021-08-31 Thread Tiago Olivoto
Dear all, I have a package called pliman which depends on the Bioconductor package EBImage. When running install.packages("pliman") I get the following warning Warning in install.packages : dependency ‘EBImage’ is not available and thus when loading t