sneumann / xcms

This is the git repository matching the Bioconductor package xcms: LC/MS and GC/MS Data Analysis
Other
177 stars 81 forks source link

Handling multtest dependency (BioC build error) #671

Closed sneumann closed 5 months ago

sneumann commented 1 year ago

Hi, I think we have leftover historic misuse in our dependency handling.

In the old days, we avoided bloating dependencies, because some default behaviour was to recursively install all Suggested packages, and e.g. multtest pulled in a lot of that. So, we have

https://github.com/sneumann/xcms/blob/fcab3c6b00de176fd7613f6c290f0b2469756af7/R/methods-xcmsSet.R#L1565

Which in turn triggers a build error on BioC builds with new R-devel (r83996) Error report on https://master.bioconductor.org/checkResults/3.17/bioc-LATEST/CAMERA/nebbiolo1-checksrc.html

  Test files with failing tests:
     test_annotateDiffreport.R 
       test.annotateDiffreport.calcCaS 
       test.annotateDiffreport.calcCiS 
       test.annotateDiffreport.calcIso 
       test.annotateDiffreport.graphMethod 
       test.annotateDiffreport.intval 
       test.annotateDiffreport.pval 
...  
Error in .local(object, ...) : 
  The use of 'diffreport' requires package 'multtest'. Please install with 'Biobase::install("multtest")'
jorainer commented 1 year ago

two solutions:

I would prefer solution 1 as I don't see why we should need/use the multtest package at all?

jorainer commented 1 year ago

So, multtest is already in Suggests - so it should work. Note that I've seen recently also dependency problems for other packages on that particular build system. Maybe it might also be related to something not working properly on that build server?

jorainer commented 5 months ago

Seems to have resolved itself.