WMBEdmands / compMS2Miner

metabolite identification R-package for metabolomic high-resolution LC-MS datasets.
14 stars 8 forks source link

Installation issues #2

Closed hsiaoyi0504 closed 7 years ago

hsiaoyi0504 commented 7 years ago

Hi, when I installed this package using devtools::install_github('WMBEdmands/compMS2Miner', dependencies=c("Depends", "Imports", "Suggests"), build_vignettes=TRUE). It can't install mzR. I think maybe it's because mzR is under Bioconductor. However, I am not familiar enough with R. I can't provide a PR for that.

WMBEdmands commented 7 years ago

Hi, what was the specific error message? I did a Google search and it appears others have had a similar issue installing mzR. Perhaps try installing mzR separately before installing compMS2Miner: biocLite('mzR') Let me know if this resolves the problem.

hsiaoyi0504 commented 7 years ago

The message showed is ERROR: dependency 'mzR' is not available for package 'compMS2Miner'

hsiaoyi0504 commented 7 years ago

I found that I also can't install mzR separately through biocLite('mzR'). It shows that ERROR: compilation failed for package 'mzR'. Maybe it's where the issue comes from.

hsiaoyi0504 commented 7 years ago

It is related to sneumann/mzR#85

hsiaoyi0504 commented 7 years ago

It finally resolved ! It's homebew's problem when installing netCDF

WMBEdmands commented 7 years ago

I wasn't sure what to suggest. I remember I also had trouble installing mzR on Linux-based servers before. I'm glad you fixed the problem.