############################################################################## ############################################################################## ### ### Running command: ### ### /Library/Frameworks/R.framework/Resources/bin/R CMD INSTALL GLAD ### ############################################################################## ############################################################################## * installing to library ‘/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library’ * installing *source* package ‘GLAD’ ... ** using staged installation checking for pkg-config... /opt/R/arm64/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for GSL... yes GSL has been found on the operating system operating system: Darwin configure: creating ./config.status config.status: creating src/Makevars src/Makevars file PKG_LIBS = -L/opt/R/arm64/lib -lgsl -lgslcblas -lm PKG_CPPFLAGS = -DIS_MAC_OS ** libs using C compiler: ‘Apple clang version 15.0.0 (clang-1500.1.0.2.5)’ 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 -DIS_MAC_OS -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -DR_NO_REMAP -c BkpInfo.cpp -o BkpInfo.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DIS_MAC_OS -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -DR_NO_REMAP -c HaarSeg.cpp -o HaarSeg.o HaarSeg.cpp:50:12: warning: variable 'lowSquareSum' set but not used [-Wunused-but-set-variable] double lowSquareSum = 0; ^ 1 warning generated. clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DIS_MAC_OS -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -DR_NO_REMAP -c MoveBkp.cpp -o MoveBkp.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DIS_MAC_OS -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -DR_NO_REMAP -c OutliersGNL.cpp -o OutliersGNL.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DIS_MAC_OS -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -DR_NO_REMAP -c chrBreakpoints.cpp -o chrBreakpoints.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DIS_MAC_OS -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -DR_NO_REMAP -c cutree.cpp -o cutree.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DIS_MAC_OS -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -DR_NO_REMAP -c daglad.cpp -o daglad.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DIS_MAC_OS -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -DR_NO_REMAP -c distance.cpp -o distance.o distance.cpp:238:7: error: use of undeclared identifier 'error' error("distance(): invalid distance"); ^ 1 error generated. make: *** [distance.o] Error 1 ERROR: compilation failed for package ‘GLAD’ * removing ‘/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/GLAD’