* installing *source* package ‘rgeoda’ ... ** package ‘rgeoda’ successfully unpacked and MD5 sums checked ** using staged installation ** libs using C++ compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’ using C++17 using SDK: ‘MacOSX11.3.sdk’ clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/BH/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c libgeoda/libgeoda.cpp -o libgeoda/libgeoda.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/BH/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c libgeoda/gda_sa.cpp -o libgeoda/gda_sa.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/BH/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c libgeoda/gda_data.cpp -o libgeoda/gda_data.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/BH/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c libgeoda/gda_weights.cpp -o libgeoda/gda_weights.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/BH/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c libgeoda/gda_clustering.cpp -o libgeoda/gda_clustering.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/BH/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c libgeoda/GenGeomAlgs.cpp -o libgeoda/GenGeomAlgs.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/BH/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c libgeoda/GenUtils.cpp -o libgeoda/GenUtils.o In file included from libgeoda/libgeoda.cpp:14: In file included from ./libgeoda/./shape/centroid.h:14: In file included from ./libgeoda/./shape/ttmath/ttmath.h:58: In file included from ./libgeoda/./shape/ttmath/ttmathbig.h:46: In file included from ./libgeoda/./shape/ttmath/ttmathint.h:48: ./libgeoda/./shape/ttmath/ttmathuint.h:1350:10: warning: variable 'c' set but not used [-Wunused-but-set-variable] uint i, c, xc, yc; ^ libgeoda/libgeoda.cpp:204:9: warning: variable 'shppointtotal' set but not used [-Wunused-but-set-variable] int shppointtotal = 0, shppoint = 0; ^ libgeoda/libgeoda.cpp:269:9: warning: variable 'shppointtotal' set but not used [-Wunused-but-set-variable] int shppointtotal = 0, shppoint = 0, shpringtotal = 0, shpring = 0; ^ libgeoda/libgeoda.cpp:269:42: warning: variable 'shpringtotal' set but not used [-Wunused-but-set-variable] int shppointtotal = 0, shppoint = 0, shpringtotal = 0, shpring = 0; ^ libgeoda/libgeoda.cpp:269:60: warning: variable 'shpring' set but not used [-Wunused-but-set-variable] int shppointtotal = 0, shppoint = 0, shpringtotal = 0, shpring = 0; ^ clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/BH/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c libgeoda/SpatialIndAlgs.cpp -o libgeoda/SpatialIndAlgs.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/BH/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c libgeoda/pg/geoms.cpp -o libgeoda/pg/geoms.o libgeoda/GenUtils.cpp:122:12: warning: variable 'SP' set but not used [-Wunused-but-set-variable] double SP=0, SE=0; ^ libgeoda/GenUtils.cpp:122:18: warning: variable 'SE' set but not used [-Wunused-but-set-variable] double SP=0, SE=0; ^ clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/BH/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c libgeoda/pg/utils.cpp -o libgeoda/pg/utils.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/BH/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c libgeoda/shapelib/dbfopen.cpp -o libgeoda/shapelib/dbfopen.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/BH/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c libgeoda/shapelib/safileio.cpp -o libgeoda/shapelib/safileio.o libgeoda/GenUtils.cpp:2047:9: warning: variable 'max_gvf_ind' set but not used [-Wunused-but-set-variable] int max_gvf_ind = 0; ^ clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/BH/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c libgeoda/shapelib/shpopen.cpp -o libgeoda/shapelib/shpopen.o libgeoda/shapelib/shpopen.cpp:988:21: warning: variable 'nCurrentRecordOffset' set but not used [-Wunused-but-set-variable] unsigned int nCurrentRecordOffset = 0; ^ 5 warnings generated. clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/BH/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c libgeoda/weights/PointsToContigWeights.cpp -o libgeoda/weights/PointsToContigWeights.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/BH/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c libgeoda/weights/PolysToContigWeights.cpp -o libgeoda/weights/PolysToContigWeights.o 1 warning generated. clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/BH/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c libgeoda/weights/GalWeight.cpp -o libgeoda/weights/GalWeight.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/BH/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c libgeoda/weights/GwtWeight.cpp -o libgeoda/weights/GwtWeight.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/BH/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c libgeoda/weights/GeodaWeight.cpp -o libgeoda/weights/GeodaWeight.o libgeoda/gda_weights.cpp:204:9: warning: variable 'line_cnt' set but not used [-Wunused-but-set-variable] int line_cnt = 0; ^ libgeoda/gda_weights.cpp:448:6: warning: variable 'line_num' set but not used [-Wunused-but-set-variable] int line_num = 1; ^ libgeoda/gda_weights.cpp:502:9: warning: variable 'swmType' set but not used [-Wunused-but-set-variable] int swmType = 0; // old ^ clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/BH/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c libgeoda/weights/VoronoiUtils.cpp -o libgeoda/weights/VoronoiUtils.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/BH/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c libgeoda/sa/BatchLISA.cpp -o libgeoda/sa/BatchLISA.o libgeoda/SpatialIndAlgs.cpp:120:7: warning: variable 'qcnt' set but not used [-Wunused-but-set-variable] int qcnt=0; ^ libgeoda/SpatialIndAlgs.cpp:104:6: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] int cnt=0; ^ libgeoda/SpatialIndAlgs.cpp:132:6: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] int cnt=0; ^ libgeoda/SpatialIndAlgs.cpp:340:9: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] int cnt=0; ^ libgeoda/SpatialIndAlgs.cpp:728:6: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] int cnt=0; ^ libgeoda/SpatialIndAlgs.cpp:833:6: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] int cnt=0; ^ clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/BH/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c libgeoda/sa/BatchLocalMoran.cpp -o libgeoda/sa/BatchLocalMoran.o libgeoda/SpatialIndAlgs.cpp:1001:6: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] int cnt=0; ^ 3 warnings generated. clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/BH/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c libgeoda/sa/LISA.cpp -o libgeoda/sa/LISA.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/BH/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c libgeoda/sa/MultiGeary.cpp -o libgeoda/sa/MultiGeary.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/BH/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c libgeoda/sa/MultiJoinCount.cpp -o libgeoda/sa/MultiJoinCount.o libgeoda/sa/MultiJoinCount.cpp:237:9: warning: variable 'validNeighbors' set but not used [-Wunused-but-set-variable] int validNeighbors = 0; ^ libgeoda/sa/MultiJoinCount.cpp:255:9: warning: variable 'validNeighbors' set but not used [-Wunused-but-set-variable] int validNeighbors = 0; ^ clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/BH/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c libgeoda/sa/UniG.cpp -o libgeoda/sa/UniG.o 2 warnings generated. clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/BH/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c libgeoda/sa/UniGeary.cpp -o libgeoda/sa/UniGeary.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/BH/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c libgeoda/sa/UniGstar.cpp -o libgeoda/sa/UniGstar.o 3 warnings generated. clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/BH/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c libgeoda/sa/UniJoinCount.cpp -o libgeoda/sa/UniJoinCount.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/BH/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c libgeoda/sa/UniLocalMoran.cpp -o libgeoda/sa/UniLocalMoran.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/BH/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c libgeoda/sa/BiLocalMoran.cpp -o libgeoda/sa/BiLocalMoran.o libgeoda/sa/UniJoinCount.cpp:237:9: warning: variable 'validNeighbors' set but not used [-Wunused-but-set-variable] int validNeighbors = 0; ^ clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/BH/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c libgeoda/clustering/fastcluster.cpp -o libgeoda/clustering/fastcluster.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/BH/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c libgeoda/clustering/redcap.cpp -o libgeoda/clustering/redcap.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/BH/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c libgeoda/clustering/redcap_wrapper.cpp -o libgeoda/clustering/redcap_wrapper.o 1 warning generated. clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/BH/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c libgeoda/clustering/azp.cpp -o libgeoda/clustering/azp.o In file included from libgeoda/clustering/fastcluster.cpp:8: libgeoda/clustering/fastcluster.h:912:35: warning: bitwise negation of a boolean expression; did you mean logical negation? [-Wbool-operation] NTF += (Xb(i,k) & ~Xb(j,k)) ; ^~~~~~~~ ! 1 warning generated. clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/BH/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c libgeoda/clustering/maxp_wrapper.cpp -o libgeoda/clustering/maxp_wrapper.o libgeoda/clustering/azp.cpp:1448:9: warning: variable 'totalMoves' set but not used [-Wunused-but-set-variable] int totalMoves = 0; ^ libgeoda/clustering/azp.cpp:1449:9: warning: variable 'acceptedMoves' set but not used [-Wunused-but-set-variable] int acceptedMoves = 0; ^ libgeoda/clustering/redcap.cpp:392:9: warning: variable 'evaluated' set but not used [-Wunused-but-set-variable] int evaluated = 0; ^ libgeoda/clustering/redcap.cpp:529:25: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] int cnt1=0, cnt2=0, cnt=0; ^ libgeoda/clustering/redcap.cpp:723:12: warning: variable 'sum_length' set but not used [-Wunused-but-set-variable] double sum_length=0; ^ libgeoda/clustering/redcap.cpp:990:9: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] int cnt = 0; ^ libgeoda/clustering/redcap.cpp:1272:9: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] int cnt = 0; ^ clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/BH/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c libgeoda/clustering/azp_wrapper.cpp -o libgeoda/clustering/azp_wrapper.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/BH/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c libgeoda/clustering/schc_wrapper.cpp -o libgeoda/clustering/schc_wrapper.o In file included from libgeoda/clustering/schc_wrapper.cpp:10: libgeoda/clustering/fastcluster.h:912:35: warning: bitwise negation of a boolean expression; did you mean logical negation? [-Wbool-operation] NTF += (Xb(i,k) & ~Xb(j,k)) ; ^~~~~~~~ ! clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/BH/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c libgeoda/clustering/cluster.cpp -o libgeoda/clustering/cluster.o 7 warnings generated. clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/BH/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c libgeoda/clustering/joincount_ratio.cpp -o libgeoda/clustering/joincount_ratio.o 1 warning generated. clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/BH/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c libgeoda/clustering/make_spatial.cpp -o libgeoda/clustering/make_spatial.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/BH/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c libgeoda/clustering/spatial_validation.cpp -o libgeoda/clustering/spatial_validation.o 5 warnings generated. clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/BH/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c libgeoda/knn/ANN.cpp -o libgeoda/knn/ANN.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/BH/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c libgeoda/knn/perf.cpp -o libgeoda/knn/perf.o 2 warnings generated. clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/BH/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c libgeoda/knn/kd_util.cpp -o libgeoda/knn/kd_util.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/BH/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c libgeoda/knn/kd_tree.cpp -o libgeoda/knn/kd_tree.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/BH/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c libgeoda/knn/kd_split.cpp -o libgeoda/knn/kd_split.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/BH/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c libgeoda/knn/kd_search.cpp -o libgeoda/knn/kd_search.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/BH/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c libgeoda/knn/kd_pr_search.cpp -o libgeoda/knn/kd_pr_search.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/BH/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c libgeoda/knn/kd_fix_rad_search.cpp -o libgeoda/knn/kd_fix_rad_search.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/BH/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c libgeoda/knn/kd_dump.cpp -o libgeoda/knn/kd_dump.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/BH/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c libgeoda/knn/brute.cpp -o libgeoda/knn/brute.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/BH/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c libgeoda/knn/bd_tree.cpp -o libgeoda/knn/bd_tree.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/BH/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c libgeoda/knn/bd_search.cpp -o libgeoda/knn/bd_search.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/BH/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c libgeoda/knn/bd_pr_search.cpp -o libgeoda/knn/bd_pr_search.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/BH/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c libgeoda/knn/bd_fix_rad_search.cpp -o libgeoda/knn/bd_fix_rad_search.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/BH/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c rcpp_rgeoda.cpp -o rcpp_rgeoda.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/BH/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c rcpp_weights.cpp -o rcpp_weights.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/BH/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c rcpp_utils.cpp -o rcpp_utils.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/BH/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c rcpp_lisa.cpp -o rcpp_lisa.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/BH/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c rcpp_clustering.cpp -o rcpp_clustering.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/BH/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c RcppExports.cpp -o RcppExports.o clang++ -arch x86_64 -std=gnu++17 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/x86_64/lib -o rgeoda.so ./libgeoda/libgeoda.o ./libgeoda/gda_sa.o ./libgeoda/gda_data.o ./libgeoda/gda_weights.o ./libgeoda/gda_clustering.o ./libgeoda/GenGeomAlgs.o ./libgeoda/GenUtils.o ./libgeoda/SpatialIndAlgs.o ./libgeoda/pg/geoms.o ./libgeoda/pg/utils.o ./libgeoda/shapelib/dbfopen.o ./libgeoda/shapelib/safileio.o ./libgeoda/shapelib/shpopen.o ./libgeoda/weights/PointsToContigWeights.o ./libgeoda/weights/PolysToContigWeights.o ./libgeoda/weights/GalWeight.o ./libgeoda/weights/GwtWeight.o ./libgeoda/weights/GeodaWeight.o ./libgeoda/weights/VoronoiUtils.o ./libgeoda/sa/BatchLISA.o ./libgeoda/sa/BatchLocalMoran.o ./libgeoda/sa/LISA.o ./libgeoda/sa/MultiGeary.o ./libgeoda/sa/MultiJoinCount.o ./libgeoda/sa/UniG.o ./libgeoda/sa/UniGeary.o ./libgeoda/sa/UniGstar.o ./libgeoda/sa/UniJoinCount.o ./libgeoda/sa/UniLocalMoran.o ./libgeoda/sa/BiLocalMoran.o ./libgeoda/clustering/fastcluster.o ./libgeoda/clustering/redcap.o ./libgeoda/clustering/redcap_wrapper.o ./libgeoda/clustering/azp.o ./libgeoda/clustering/maxp_wrapper.o ./libgeoda/clustering/azp_wrapper.o ./libgeoda/clustering/schc_wrapper.o ./libgeoda/clustering/cluster.o ./libgeoda/clustering/joincount_ratio.o ./libgeoda/clustering/make_spatial.o ./libgeoda/clustering/spatial_validation.o ./libgeoda/knn/ANN.o ./libgeoda/knn/perf.o ./libgeoda/knn/kd_util.o ./libgeoda/knn/kd_tree.o ./libgeoda/knn/kd_split.o ./libgeoda/knn/kd_search.o ./libgeoda/knn/kd_pr_search.o ./libgeoda/knn/kd_fix_rad_search.o ./libgeoda/knn/kd_dump.o ./libgeoda/knn/brute.o ./libgeoda/knn/bd_tree.o ./libgeoda/knn/bd_search.o ./libgeoda/knn/bd_pr_search.o ./libgeoda/knn/bd_fix_rad_search.o rcpp_rgeoda.o rcpp_weights.o rcpp_utils.o rcpp_lisa.o rcpp_clustering.o RcppExports.o -pthread -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation installing to /Volumes/Builds/packages/big-sur-x86_64/results/4.4/rgeoda.Rcheck/00LOCK-rgeoda/00new/rgeoda/libs ** generating debug symbols (dSYM) ** R ** inst ** byte-compile and prepare package for lazy loading ** help *** installing help indices ** building package indices ** testing if installed package can be loaded from temporary location ** checking absolute paths in shared objects and dynamic libraries ** testing if installed package can be loaded from final location ** testing if installed package keeps a record of temporary installation path * DONE (rgeoda)