############################################################################## ############################################################################## ### ### Running command: ### ### /Library/Frameworks/R.framework/Resources/bin/R CMD build --keep-empty-dirs --no-resave-data GLAD ### ############################################################################## ############################################################################## * checking for file ‘GLAD/DESCRIPTION’ ... OK * preparing ‘GLAD’: * checking DESCRIPTION meta-information ... OK * cleaning src * running ‘cleanup’ * installing the package to build vignettes ----------------------------------- * 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 ‘/private/var/folders/r0/l4fjk6cj5xj0j3brt4bplpl40000gt/T/RtmpFn3L3H/Rinstc1d437880bcc/GLAD’ ----------------------------------- ERROR: package installation failed