############################################################################## ############################################################################## ### ### Running command: ### ### /Library/Frameworks/R.framework/Resources/bin/R CMD build --keep-empty-dirs --no-resave-data scider ### ############################################################################## ############################################################################## * checking for file ‘scider/DESCRIPTION’ ... OK * preparing ‘scider’: * checking DESCRIPTION meta-information ... OK * cleaning src * installing the package to build vignettes ----------------------------------- * installing *source* package ‘scider’ ... ** this is package ‘scider’ version ‘1.7.1’ ** using staged installation ** libs using C++ compiler: ‘Apple clang version 15.0.0 (clang-1500.1.0.2.5)’ using SDK: ‘MacOSX11.3.1.sdk’ clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c C_findSNN.cpp -o C_findSNN.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c C_globalMoran.cpp -o C_globalMoran.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c C_localMoran.cpp -o C_localMoran.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c utils.cpp -o utils.o utils.cpp:18:13: error: no member named 'sqrt' in namespace 'std' sd = std::sqrt(sd/(double)(n-1.0)); ~~~~~^ 1 error generated. make: *** [utils.o] Error 1 ERROR: compilation failed for package ‘scider’ * removing ‘/private/var/folders/r0/l4fjk6cj5xj0j3brt4bplpl40000gt/T/RtmpJ8gzD7/Rinst135b52e94fc1a/scider’ ----------------------------------- ERROR: package installation failed