lgatto / MSnbase

Base Classes and Functions for Mass Spectrometry and Proteomics
http://lgatto.github.io/MSnbase/
123 stars 50 forks source link

MSnbase Installation problems (R R 3.6.3) #563

Closed dplazas closed 2 years ago

dplazas commented 2 years ago

Hi, I have tried to install MSnbase in my macbook (10.6.11, R 3.6.3) with no success. I installed Bioconductor version 3.10 (BiocManager 1.30.16) but the suggested steps (BiocManager::install("MSnbase")) and (BiocManager::install("lgatto/MSnbase")) don't work.

first one gave:

Error: package or namespace load failed for ‘MSnbase’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]): there is no package called ‘MALDIquant’

second one: ERROR: dependency ‘MALDIquant’ is not available for package ‘MSnbase’

What can I do?

Thank you in advance!

R 3.6.3

lgatto commented 2 years ago

You are missing some packages, that's all. But your R version, and thus the Bioconductor and MSnbase versions that you try to install, are way too old for this issues to be worth resolving, I'm sorry. Please update your R and post again if you still run into an issue.

dplazas commented 2 years ago

Hi, thanks for such a quick reply ! sadly, I can't go higher with my current Mac (Capitan), R 4.1.2 can't be installed :(

lgatto commented 2 years ago

All I can help you with is that you need to install MALDIquant with

install.packages("MALDIquant")

But I see that you are trying to install the latest version of MSnbase from github - this isn't going to work because it itself relies on new versions of several dependencies. If you run into too many issues, you should install the old version of MSnbase (that fits your version of R) with

BiocManager::install("MSnbase")