-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
When I try to install the package from R, I get the following error:
devtools::install_github('tengfei-emory/scBatch')
Downloading GitHub repo tengfei-emory/scBatch@master
✓ checking for file ‘/private/var/folders/xy/0mtz2jx51cj6n6z7b0c01b01qr2lbw/T/Rtmpnvjh6U/remotes14cb01d143898/tengfei-emory-scBatch-97fca94/DESCRIPTION’ ...
─ preparing ‘scBatch’:
✓ checking DESCRIPTION meta-information ...
─ cleaning src
─ checking for LF line-endings in source and make files and shell scripts
─ checking for empty or unneeded directories
─ looking to see if a ‘data/datalist’ file should be added
─ building ‘scBatch_0.1.0.tar.gz’ (392ms)
Warning: invalid uid value replaced by that for user 'nobody'
Warning: invalid gid value replaced by that for user 'nobody'
* installing *source* package ‘scBatch’ ...
** using staged installation
** libs
clang++ -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I"/Library/Frameworks/R.framework/Versions/3.6/Resources/library/Rcpp/include" -I"/Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppArmadillo/include" -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/usr/local/include -fopenmp -fPIC -Wall -g -O2 -c RcppExports.cpp -o RcppExports.o
clang: error: unsupported option '-fopenmp'
make: *** [RcppExports.o] Error 1
ERROR: compilation failed for package ‘scBatch’
* removing ‘/Library/Frameworks/R.framework/Versions/3.6/Resources/library/scBatch’
Error: Failed to install 'scBatch' from GitHub:
(converted from warning) installation of package ‘/var/folders/xy/0mtz2jx51cj6n6z7b0c01b01qr2lbw/T//Rtmpnvjh6U/file14cb01a8f9212/scBatch_0.1.0.tar.gz’ had non-zero exit status
I installed llvm (which includes clang) on my local computer using bash as well as using conda but that doesn't seem to solve the problem.
Metadata
Metadata
Assignees
Labels
No labels