############################################################################## ############################################################################## ### ### Running command: ### ### /Library/Frameworks/R.framework/Resources/bin/R CMD build --keep-empty-dirs --no-resave-data CoGAPS ### ############################################################################## ############################################################################## * checking for file ‘CoGAPS/DESCRIPTION’ ... OK * preparing ‘CoGAPS’: * checking DESCRIPTION meta-information ... OK * cleaning src * running ‘cleanup’ * installing the package to build vignettes ----------------------------------- * installing *source* package ‘CoGAPS’ ... ** using staged installation checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether clang++ -arch arm64 -std=gnu++14 accepts -g... yes checking how to run the C++ preprocessor... clang++ -arch arm64 -std=gnu++14 -E checking whether we are using the GNU C++ compiler... (cached) yes checking whether clang++ -arch arm64 -std=gnu++14 accepts -g... (cached) yes ./configure: line 2752: AX_COMPILER_VENDOR: command not found ./configure: line 2753: AX_COMPILER_VERSION: command not found ./configure: line 2764: AX_OPENMP: command not found building on compiler version Using AVX instructions if available configure: creating ./config.status config.status: creating src/Makevars ** libs clang++ -arch arm64 -std=gnu++14 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DBOOST_MATH_PROMOTE_DOUBLE_POLICY=0 -DGAPS_DISABLE_CHECKPOINTS -D__GAPS_R_BUILD__ -Iinclude -I'/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/Rcpp/include' -I'/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/BH/include' -I/opt/R/arm64/include -march=native -fPIC -falign-functions=64 -Wall -g -O2 -c Cogaps.cpp -o Cogaps.o clang: error: the clang compiler does not support '-march=native' make: *** [Cogaps.o] Error 1 ERROR: compilation failed for package ‘CoGAPS’ * removing ‘/private/tmp/RtmppdR1A8/Rinst16297233df05a/CoGAPS’ ----------------------------------- ERROR: package installation failed