* installing *source* package ‘rgeoda’ ...
** package ‘rgeoda’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘Apple clang version 14.0.0 (clang-1400.0.29.202)’
using C++17
using SDK: ‘MacOSX11.3.sdk’
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c libgeoda/libgeoda.cpp -o libgeoda/libgeoda.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;
        ^
3 warnings generated.
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c libgeoda/gda_sa.cpp -o libgeoda/gda_sa.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c libgeoda/gda_data.cpp -o libgeoda/gda_data.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c libgeoda/gda_weights.cpp -o libgeoda/gda_weights.o
libgeoda/gda_weights.cpp:502:9: warning: variable 'swmType' set but not used [-Wunused-but-set-variable]
    int swmType = 0; // old
        ^
1 warning generated.
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c libgeoda/gda_clustering.cpp -o libgeoda/gda_clustering.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c libgeoda/GenGeomAlgs.cpp -o libgeoda/GenGeomAlgs.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c libgeoda/GenUtils.cpp -o libgeoda/GenUtils.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;
                 ^
libgeoda/GenUtils.cpp:2047:9: warning: variable 'max_gvf_ind' set but not used [-Wunused-but-set-variable]
    int max_gvf_ind = 0;
        ^
3 warnings generated.
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c libgeoda/SpatialIndAlgs.cpp -o libgeoda/SpatialIndAlgs.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c libgeoda/pg/geoms.cpp -o libgeoda/pg/geoms.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c libgeoda/pg/utils.cpp -o libgeoda/pg/utils.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c libgeoda/shapelib/dbfopen.cpp -o libgeoda/shapelib/dbfopen.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c libgeoda/shapelib/safileio.cpp -o libgeoda/shapelib/safileio.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/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;
                    ^
1 warning generated.
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c libgeoda/weights/PointsToContigWeights.cpp -o libgeoda/weights/PointsToContigWeights.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c libgeoda/weights/PolysToContigWeights.cpp -o libgeoda/weights/PolysToContigWeights.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c libgeoda/weights/GalWeight.cpp -o libgeoda/weights/GalWeight.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c libgeoda/weights/GwtWeight.cpp -o libgeoda/weights/GwtWeight.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c libgeoda/weights/GeodaWeight.cpp -o libgeoda/weights/GeodaWeight.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c libgeoda/weights/VoronoiUtils.cpp -o libgeoda/weights/VoronoiUtils.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c libgeoda/sa/BatchLISA.cpp -o libgeoda/sa/BatchLISA.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c libgeoda/sa/BatchLocalMoran.cpp -o libgeoda/sa/BatchLocalMoran.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c libgeoda/sa/LISA.cpp -o libgeoda/sa/LISA.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c libgeoda/sa/MultiGeary.cpp -o libgeoda/sa/MultiGeary.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c libgeoda/sa/MultiJoinCount.cpp -o libgeoda/sa/MultiJoinCount.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c libgeoda/sa/UniG.cpp -o libgeoda/sa/UniG.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c libgeoda/sa/UniGeary.cpp -o libgeoda/sa/UniGeary.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c libgeoda/sa/UniGstar.cpp -o libgeoda/sa/UniGstar.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c libgeoda/sa/UniJoinCount.cpp -o libgeoda/sa/UniJoinCount.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c libgeoda/sa/UniLocalMoran.cpp -o libgeoda/sa/UniLocalMoran.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c libgeoda/sa/BiLocalMoran.cpp -o libgeoda/sa/BiLocalMoran.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c libgeoda/clustering/fastcluster.cpp -o libgeoda/clustering/fastcluster.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 arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c libgeoda/clustering/redcap.cpp -o libgeoda/clustering/redcap.o
libgeoda/clustering/redcap.cpp:723:12: warning: variable 'sum_length' set but not used [-Wunused-but-set-variable]
    double sum_length=0;
           ^
1 warning generated.
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c libgeoda/clustering/redcap_wrapper.cpp -o libgeoda/clustering/redcap_wrapper.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c libgeoda/clustering/azp.cpp -o libgeoda/clustering/azp.o
libgeoda/clustering/azp.cpp:1449:9: warning: variable 'acceptedMoves' set but not used [-Wunused-but-set-variable]
    int acceptedMoves = 0;
        ^
libgeoda/clustering/azp.cpp:1448:9: warning: variable 'totalMoves' set but not used [-Wunused-but-set-variable]
    int totalMoves = 0;
        ^
2 warnings generated.
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c libgeoda/clustering/maxp_wrapper.cpp -o libgeoda/clustering/maxp_wrapper.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c libgeoda/clustering/azp_wrapper.cpp -o libgeoda/clustering/azp_wrapper.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/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)) ;
                                  ^~~~~~~~
                                  !
1 warning generated.
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c libgeoda/clustering/cluster.cpp -o libgeoda/clustering/cluster.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c libgeoda/clustering/joincount_ratio.cpp -o libgeoda/clustering/joincount_ratio.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c libgeoda/clustering/make_spatial.cpp -o libgeoda/clustering/make_spatial.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c libgeoda/clustering/spatial_validation.cpp -o libgeoda/clustering/spatial_validation.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c libgeoda/knn/ANN.cpp -o libgeoda/knn/ANN.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c libgeoda/knn/perf.cpp -o libgeoda/knn/perf.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c libgeoda/knn/kd_util.cpp -o libgeoda/knn/kd_util.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c libgeoda/knn/kd_tree.cpp -o libgeoda/knn/kd_tree.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c libgeoda/knn/kd_split.cpp -o libgeoda/knn/kd_split.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c libgeoda/knn/kd_search.cpp -o libgeoda/knn/kd_search.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c libgeoda/knn/kd_pr_search.cpp -o libgeoda/knn/kd_pr_search.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/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 arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c libgeoda/knn/kd_dump.cpp -o libgeoda/knn/kd_dump.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c libgeoda/knn/brute.cpp -o libgeoda/knn/brute.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c libgeoda/knn/bd_tree.cpp -o libgeoda/knn/bd_tree.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c libgeoda/knn/bd_search.cpp -o libgeoda/knn/bd_search.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c libgeoda/knn/bd_pr_search.cpp -o libgeoda/knn/bd_pr_search.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/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 arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c rcpp_rgeoda.cpp -o rcpp_rgeoda.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c rcpp_weights.cpp -o rcpp_weights.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c rcpp_utils.cpp -o rcpp_utils.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c rcpp_lisa.cpp -o rcpp_lisa.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c rcpp_clustering.cpp -o rcpp_clustering.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libgeoda -D__USE_PTHREAD__ -D__RGEODA__ -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c RcppExports.cpp -o RcppExports.o
clang++ -arch arm64 -std=gnu++17 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/arm64/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-arm64/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)