############################################################################## ############################################################################## ### ### Running command: ### ### /Library/Frameworks/R.framework/Resources/bin/R CMD build --keep-empty-dirs --no-resave-data slalom ### ############################################################################## ############################################################################## * checking for file ‘slalom/DESCRIPTION’ ... OK * preparing ‘slalom’: * checking DESCRIPTION meta-information ... OK * cleaning src * installing the package to build vignettes ----------------------------------- * installing *source* package ‘slalom’ ... ** using staged installation ** libs using C++ compiler: ‘Apple clang version 15.0.0 (clang-1500.1.0.2.5)’ 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.4-arm64/Resources/library/Rcpp/include' -I'/Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/library/RcppArmadillo/include' -I'/Library/Frameworks/R.framework/Versions/4.4-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.4-arm64/Resources/library/Rcpp/include' -I'/Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/library/RcppArmadillo/include' -I'/Library/Frameworks/R.framework/Versions/4.4-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 ‘/private/var/folders/r0/l4fjk6cj5xj0j3brt4bplpl40000gt/T/Rtmp73Vv3z/Rinstfc463c03eb50/slalom’ ----------------------------------- ERROR: package installation failed