I am attempting to update Bioconductor within my RStudio environment. When I do so, it gives the following warning message at the end:
- In install.packages(update[instlib == l, "Package"], l, repos = repos, :
- installation of package ‘coin’ had non-zero exit status
I am running coin v 1.1-3.
I downloaded the new version of coin from RForge, attempted to install it from source and get the following:
- * installing *source* package ‘coin’ ...
- ** package ‘coin’ successfully unpacked and MD5 sums checked
- ** libs
- clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/local/include -fPIC -Wall -g -O2 -c Classes.c -o Classes.o
- clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/local/include -fPIC -Wall -g -O2 -c Helpers.c -o Helpers.o
- clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/local/include -fPIC -Wall -g -O2 -c LinearStatistic.c -o LinearStatistic.o
- clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/local/include -fPIC -Wall -g -O2 -c StreitbergRoehmel.c -o StreitbergRoehmel.o
- clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/local/include -fPIC -Wall -g -O2 -c coin-init.c -o coin-init.o
- clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/local/include -fPIC -Wall -g -O2 -c vandeWiel.c -o vandeWiel.o
- clang -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/Library/Frameworks/R.framework/Resources/lib -L/usr/local/lib -o coin.so Classes.o Helpers.o LinearStatistic.o StreitbergRoehmel.o coin-init.o vandeWiel.o -L/Library/Frameworks/R.framework/Resources/lib -lRblas -L/usr/local/gfortran/lib/gcc/x86_64-apple-darwin15/6.1.0 -L/usr/local/gfortran/lib -lgfortran -lquadmath -lm -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
- ld: warning: directory not found for option '-L/usr/local/gfortran/lib/gcc/x86_64-apple-darwin15/6.1.0'
- ld: warning: directory not found for option '-L/usr/local/gfortran/lib'
- ld: library not found for -lgfortran
- clang: error: linker command failed with exit code 1 (use -v to see invocation)
- make: *** [coin.so] Error 1
- ERROR: compilation failed for package ‘coin’
- * removing ‘/Library/Frameworks/R.framework/Versions/3.4/Resources/library/coin’
- * restoring previous ‘/Library/Frameworks/R.framework/Versions/3.4/Resources/library/coin’
- Warning in install.packages :
- installation of package ‘/Users/vicki/Downloads/coin’ had non-zero exit status
Here is the sessionInfo:
- sessionInfo()
- R version 3.4.0 (2017-04-21)
- Platform: x86_64-apple-darwin15.6.0 (64-bit)
- Running under: macOS Sierra 10.12.5
- Matrix products: default
- BLAS: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
- LAPACK: /Library/Frameworks/R.framework/Versions/3.4/Resources/lib/libRlapack.dylib
- locale:
- [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
- attached base packages:
- [1] stats graphics grDevices utils datasets methods base
- other attached packages:
- [1] BiocInstaller_1.26.0
- loaded via a namespace (and not attached):
- [1] compiler_3.4.0 tools_3.4.0
What am I doing wrong? Please let me know if there is other information you need.
It might also be worth while to investigate why the source package is being installed; if it were binary (the default, I think) then there would be no need to compile it.
One common scenario is that the package is not available as a binary because it fails to pass R CMD build and check on mac. This seems to be the case for coin as evidenced by it's check report. The end result is that by installing from source, the user goes to great lengths to install a broken package.
But actually in this case the CRAN check report looks unusual -- I don't know how to contact the CRAN people about these issues.