0
3.1 years ago by
nick0
nick0 wrote:
When running R CMD INSTALL for the DirichletMultinomial package on my machine, I'm getting the following error:
Error: (converted from warning) replacing previous import ‘stats::mad’ by ‘BiocGenerics::mad’ when loading ‘IRanges’

After searching online, I see this has something to do with the NAMESPACE importing stats and BiocGenerics, both with the method mad.

Any ideas on how to fix this?

modified 3.1 years ago by Martin Morgan ♦♦ 24k • written 3.1 years ago by nick0

Probably need to update. IRanges has not imported mad() from stats since 7/30/2015.

0
3.1 years ago by
Martin Morgan ♦♦ 24k
United States
Martin Morgan ♦♦ 24k wrote:

Following Michael's suggestion, it seems likely that you have a mix of Bioconductor packages from different Bioconductor releases. Use BiocInstaller::biocVersion() to get the version of Bioconductor in use, and BiocInstaller::biocValid() to identify packages that are out-of-sync.