############################################################################## ############################################################################## ### ### Running command: ### ### /Library/Frameworks/R.framework/Resources/bin/R CMD INSTALL slalom ### ############################################################################## ############################################################################## * installing to library ‘/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library’ * installing *source* package ‘slalom’ ... ** using staged installation ** libs using C++ compiler: ‘Apple clang version 14.0.0 (clang-1400.0.29.202)’ using SDK: ‘MacOSX11.3.sdk’ clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/Rcpp/include' -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/RcppArmadillo/include' -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/BH/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c RcppExports.cpp -o RcppExports.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/Rcpp/include' -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/RcppArmadillo/include' -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/BH/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c slalom-classes.cpp -o slalom-classes.o slalom-classes.cpp:223:20: warning: unused variable 'meanerr' [-Wunused-variable] double meanerr = arma::mean(error); ^ slalom-classes.cpp:202:12: warning: unused variable 'meanerr' [-Wunused-variable] double meanerr = arma::mean(error); ^ slalom-classes.cpp:262:14: error: no member named 'random_shuffle' in namespace 'std' std::random_shuffle(kunfix.begin(), kunfix.end(), randWrapper); ~~~~~^ 2 warnings and 1 error generated. make: *** [slalom-classes.o] Error 1 ERROR: compilation failed for package ‘slalom’ * removing ‘/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/slalom’