-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
Hi @flying-sheep
I am currently attempting to install destiny
from Bioconductor in R 4.0.3 (Bioc 3.12). The destiny package is only available in source form (I see destiny is failing on the Bioconductor page). Attempts to install are met with the following compilation error:
> BiocManager::install("destiny")
Bioconductor version 3.12 (BiocManager 1.30.10), R 4.0.3 (2020-10-10)
Installing package(s) 'destiny'
Package which is only available in source form, and may need compilation of C/C++/Fortran: ‘destiny’
Do you want to attempt to install these from sources? (Yes/no/cancel) Yes
installing the source package ‘destiny’
trying URL 'https://bioconductor.org/packages/3.12/bioc/src/contrib/destiny_3.4.0.tar.gz'
Content type 'application/x-gzip' length 8955233 bytes (8.5 MB)
==================================================
downloaded 8.5 MB
* installing *source* package ‘destiny’ ...
** using staged installation
** libs
/usr/local/clang4/bin/clang++ -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Users/morgan02/Library/R/4.0/library/Rcpp/include' -I'/Users/morgan02/Library/R/4.0/library/RcppEigen/include' -I'/Library/Frameworks/R.framework/Versions/4.0/Resources/library/grDevices/include' -I/usr/local/include -ggdb -fPIC XXFLAGS -c RcppExports.cpp -o RcppExports.o
clang-4.0: error: no such file or directory: 'XXFLAGS'
make: *** [RcppExports.o] Error 1
ERROR: compilation failed for package ‘destiny’
* removing ‘/Users/morgan02/Library/R/4.0/library/destiny’
The downloaded source packages are in
‘/private/var/folders/lf/cjtf6ppx32b28hyzg6dgfnw1h6d7q3/T/RtmpqUYM7L/downloaded_packages’
Warning message:
In install.packages(...) :
installation of package ‘destiny’ had non-zero exit status
I have tried to set XXFLAGS in my R Makevars file, according to guidance for compiling R on Mac OSX Catalina:
# The following statements are required to use the clang4 binary
CC=/usr/local/clang4/bin/clang -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.16.sdk
CXX=/usr/local/clang4/bin/clang++
CXX1X=/usr/local/clang4/bin/clang++
CXX98=/usr/local/clang4/bin/clang++
CXX11=/usr/local/clang4/bin/clang++
CXX14=/usr/local/clang4/bin/clang++
CXX17=/usr/local/clang4/bin/clang++
LDFLAGS=-L/usr/local/clang4/lib -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.16.sdk
CFLAGS = -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion
CXXFLAGS = -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion
CXX11FLAGS = $CXXFLAGS
CXX14FLAGS = $CXXFLAGS
CXX17FLAGS = $CXXFLAGS
XXFLAGS = $CXXFLAGS
# End clang4 inclusion statements
My sessionInfo:
> sessionInfo()
R version 4.0.3 (2020-10-10)
Platform: x86_64-apple-darwin17.0 (64-bit)
Running under: macOS Catalina 10.15.7
Matrix products: default
BLAS: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/4.0/Resources/lib/libRlapack.dylib
locale:
[1] en_GB.UTF-8/en_GB.UTF-8/en_GB.UTF-8/C/en_GB.UTF-8/en_GB.UTF-8
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] BiocManager_1.30.10 compiler_4.0.3 tools_4.0.3
Do you know if there is an adjustment to Makevars that might fix this, or is destiny now fundamentally incompatible with Mac OSX??
Metadata
Metadata
Assignees
Labels
No labels