############################################################################## ############################################################################## ### ### 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 14.0.0 (clang-1400.0.29.202)’ using SDK: ‘MacOSX11.3.sdk’ clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Library/Frameworks/R.framework/Versions/4.5-x86_64/Resources/library/Rcpp/include' -I'/Library/Frameworks/R.framework/Versions/4.5-x86_64/Resources/library/RcppArmadillo/include' -I'/Library/Frameworks/R.framework/Versions/4.5-x86_64/Resources/library/BH/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -DR_NO_REMAP -c RcppExports.cpp -o RcppExports.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Library/Frameworks/R.framework/Versions/4.5-x86_64/Resources/library/Rcpp/include' -I'/Library/Frameworks/R.framework/Versions/4.5-x86_64/Resources/library/RcppArmadillo/include' -I'/Library/Frameworks/R.framework/Versions/4.5-x86_64/Resources/library/BH/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -DR_NO_REMAP -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/tmp/RtmpwHdROI/Rinst415618986935/slalom’ ----------------------------------- ERROR: package installation failed