* installing *source* package ‘SpatialKWD’ ...
** package ‘SpatialKWD’ 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++11
using SDK: ‘MacOSX11.3.sdk’
clang++ -arch x86_64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I/opt/R/x86_64/include    -DMY_RCPP -fPIC  -falign-functions=64 -Wall -g -O2   -c RcppExports.cpp -o RcppExports.o
clang++ -arch x86_64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I/opt/R/x86_64/include    -DMY_RCPP -fPIC  -falign-functions=64 -Wall -g -O2   -c rcpp_module.cpp -o rcpp_module.o
In file included from rcpp_module.cpp:29:
./KWD_Histogram2D.h:998:9: warning: variable 'n_cuts' set but not used [-Wunused-but-set-variable]
    int n_cuts = 0;
        ^
./KWD_Histogram2D.h:1482:11: warning: variable 'n_cuts' set but not used [-Wunused-but-set-variable]
      int n_cuts = 0;
          ^
./KWD_Histogram2D.h:1894:11: warning: variable 'n_cuts' set but not used [-Wunused-but-set-variable]
      int n_cuts = 0;
          ^
./KWD_Histogram2D.h:2323:11: warning: variable 'n_cuts' set but not used [-Wunused-but-set-variable]
      int n_cuts = 0;
          ^
./KWD_Histogram2D.h:2764:13: warning: variable 'n_cuts' set but not used [-Wunused-but-set-variable]
        int n_cuts = 0;
            ^
./KWD_Histogram2D.h:3213:15: warning: variable 'n_cuts' set but not used [-Wunused-but-set-variable]
          int n_cuts = 0;
              ^
./KWD_Histogram2D.h:3385:12: warning: variable 'tot' set but not used [-Wunused-but-set-variable]
    double tot = 0;
           ^
7 warnings generated.
clang++ -arch x86_64 -std=gnu++11 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/x86_64/lib -o SpatialKWD.so RcppExports.o rcpp_module.o -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
installing to /Volumes/Builds/packages/big-sur-x86_64/results/4.4/SpatialKWD.Rcheck/00LOCK-SpatialKWD/00new/SpatialKWD/libs
** generating debug symbols (dSYM)
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
*** copying figures
** 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 (SpatialKWD)