I am trying to install the DEP package. I tried multiple machines without success. Using
if (!requireNamespace("BiocManager", quietly = TRUE)) install.packages("BiocManager") BiocManager::install("DEP")
Everything seems to download/install just fine, no error or warnings, but when I call the library I get the following:
> library(DEP) Error: package or namespace load failed for ‘DEP’ in dyn.load(file, DLLpath = DLLpath, ...): unable to load shared object '/Library/Frameworks/R.framework/Versions/4.0/Resources/library/gmm/libs/gmm.so': dlopen(/Library/Frameworks/R.framework/Versions/4.0/Resources/library/gmm/libs/gmm.so, 6): Library not loaded: /usr/local/gfortran/lib/libgomp.1.dylib Referenced from: /Library/Frameworks/R.framework/Versions/4.0/Resources/library/gmm/libs/gmm.so Reason: image not found In addition: Warning message: In fun(libname, pkgname) : mzR has been built against a different Rcpp version (22.214.171.124) than is installed on your system (1.0.5). This might lead to errors when loading mzR. If you encounter such issues, please send a report, including the output of sessionInfo() to the Bioc support forum at https://support.bioconductor.org/. For details see also https://github.com/sneumann/mzR/wiki/mzR-Rcpp-compiler-linker-issue.
Here is the system I am on:
> sessionInfo() R version 4.0.2 (2020-06-22) Platform: x86_64-apple-darwin17.0 (64-bit) Running under: macOS Catalina 10.15.5 Matrix products: default BLAS: /Library/Frameworks/R.framework/Versions/4.0/Resources/lib/libRblas.dylib LAPACK: /Library/Frameworks/R.framework/Versions/4.0/Resources/lib/libRlapack.dylib locale:  en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8 attached base packages:  stats graphics grDevices utils datasets methods base loaded via a namespace (and not attached):  Rcpp_1.0.5 mvtnorm_1.1-1  lattice_0.20-41 circlize_0.4.10  zoo_1.8-8 png_0.1-7  assertthat_0.2.1 digest_0.6.25  foreach_1.5.0 R6_2.4.1  GenomeInfoDb_1.24.2 plyr_1.8.6  mzID_1.26.0 stats4_4.0.2  ggplot2_3.3.2 pillar_1.4.6  GlobalOptions_0.1.2 zlibbioc_1.34.0  rlang_0.4.7 S4Vectors_0.26.1  GetoptLong_1.0.2 Matrix_1.2-18  preprocessCore_1.50.0 mzR_2.22.0  BiocParallel_1.22.0 ProtGenerics_1.20.0  RCurl_1.98-1.2 munsell_0.5.0  DelayedArray_0.14.1 compiler_4.0.2  pkgconfig_2.0.3 BiocGenerics_0.34.0  shape_1.4.4 pcaMethods_1.80.0  tidyselect_1.1.0 SummarizedExperiment_1.18.2  tibble_3.0.3 GenomeInfoDbData_1.2.3  matrixStats_0.56.0 IRanges_2.22.2  codetools_0.2-16 XML_3.99-0.4  crayon_1.3.4 dplyr_1.0.0  MASS_7.3-51.6 bitops_1.0-6  grid_4.0.2 gtable_0.3.0  lifecycle_0.2.0 affy_1.66.0  magrittr_1.5 scales_1.1.1  ncdf4_1.17 impute_1.62.0  XVector_0.28.0 affyio_1.58.0  doParallel_1.0.15 limma_3.44.3  ellipsis_0.3.1 generics_0.0.2  vctrs_0.3.2 sandwich_2.5-1  rjson_0.2.20 RColorBrewer_1.1-2  iterators_1.0.12 tools_4.0.2  Biobase_2.48.0 MSnbase_2.14.2  glue_1.4.1 purrr_0.3.4  parallel_4.0.2 clue_0.3-57  colorspace_1.4-1 cluster_2.1.0  BiocManager_1.30.10 vsn_3.56.0  GenomicRanges_1.40.0 MALDIquant_1.19.3  ComplexHeatmap_2.4.2
Any advice or suggestions would be appreciated. Thanks