* installing *source* package 'geocmeans' ...
** package 'geocmeans' successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: 'g++.exe (GCC) 13.3.0'
using C++17
make[1]: Entering directory '/d/temp/2024_12_21_01_50_00_6285/RtmpqqiP48/R.INSTALL105081a6f3e1f/geocmeans/src'
g++  -std=gnu++17 -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c FCM_functions.cpp -o FCM_functions.o
FCM_functions.cpp: In function 'Rcpp::NumericMatrix calcBelongMatrixNoisy(Rcpp::NumericMatrix, Rcpp::NumericMatrix, double, double, Rcpp::NumericVector)':
FCM_functions.cpp:211:9: warning: unused variable 'k' [-Wunused-variable]
  211 |   int i,k,j;
      |         ^
g++  -std=gnu++17 -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c GFCM_functions.cpp -o GFCM_functions.o
g++  -std=gnu++17 -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c RcppExports.cpp -o RcppExports.o
g++  -std=gnu++17 -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c focal_cpp.cpp -o focal_cpp.o
focal_cpp.cpp: In function 'Rcpp::NumericMatrix focal_euclidean_arr_window(arma::cube, arma::mat)':
focal_cpp.cpp:205:22: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
  205 |         for(i = 0; i < subcube.n_rows; i++){
      |                    ~~^~~~~~~~~~~~~~~~
focal_cpp.cpp:206:24: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
  206 |           for(j = 0; j < subcube.n_cols; j++){
      |                      ~~^~~~~~~~~~~~~~~~
focal_cpp.cpp: In function 'arma::cube focal_adj_mean_arr_window(arma::cube, arma::mat)':
focal_cpp.cpp:287:22: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
  287 |         for(i = 0; i < subcube.n_rows; i++){
      |                    ~~^~~~~~~~~~~~~~~~
focal_cpp.cpp:288:24: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
  288 |           for(j = 0; j < subcube.n_cols; j++){
      |                      ~~^~~~~~~~~~~~~~~~
focal_cpp.cpp:303:22: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
  303 |         for(i = 0; i < subcube.n_slices; i++){
      |                    ~~^~~~~~~~~~~~~~~~~~
focal_cpp.cpp:307:22: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
  307 |         for(i = 0; i < mat.n_slices; i++){
      |                    ~~^~~~~~~~~~~~~~
focal_cpp.cpp:244:10: warning: unused variable 'distsums' [-Wunused-variable]
  244 |   double distsums;
      |          ^~~~~~~~
g++  -std=gnu++17 -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c jaccard_idx.cpp -o jaccard_idx.o
g++  -std=gnu++17 -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c moran_for_rasters.cpp -o moran_for_rasters.o
moran_for_rasters.cpp: In function 'double moranI_matrix_window(Rcpp::NumericMatrix, Rcpp::NumericMatrix)':
moran_for_rasters.cpp:83:9: warning: unused variable 'weight' [-Wunused-variable]
   83 |   float weight = 1.0;
      |         ^~~~~~
moran_for_rasters.cpp: In function 'Rcpp::NumericVector local_moranI_matrix_window(Rcpp::NumericMatrix, Rcpp::NumericMatrix)':
moran_for_rasters.cpp:164:9: warning: unused variable 'weight' [-Wunused-variable]
  164 |   float weight = 1.0;
      |         ^~~~~~
moran_for_rasters.cpp: In function 'Rcpp::NumericVector Elsa_fuzzy_matrix_window(arma::fcube, arma::mat, Rcpp::NumericMatrix)':
moran_for_rasters.cpp:536:23: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
  536 |         for (i = 0; i < subcube.n_rows; i++){
      |                     ~~^~~~~~~~~~~~~~~~
moran_for_rasters.cpp:537:24: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
  537 |           for(j = 0; j < subcube.n_cols; j++){
      |                      ~~^~~~~~~~~~~~~~~~
moran_for_rasters.cpp:543:30: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
  543 |               for(ii = 0; ii < xj.n_elem ; ii++){
      |                           ~~~^~~~~~~~~~~
moran_for_rasters.cpp:544:32: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
  544 |                 for(jj = 0; jj < xj.n_elem ; jj++){
      |                             ~~~^~~~~~~~~~~
moran_for_rasters.cpp:480:7: warning: variable 'wr' set but not used [-Wunused-but-set-variable]
  480 |   int wr,wc;
      |       ^~
moran_for_rasters.cpp:480:10: warning: variable 'wc' set but not used [-Wunused-but-set-variable]
  480 |   int wr,wc;
      |          ^~
moran_for_rasters.cpp: In function 'double adj_spconsist_arr_window_globstd(arma::fcube, arma::fcube, arma::mat, double)':
moran_for_rasters.cpp:671:23: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
  671 |         for (i = 0; i < subcube_dat.n_rows; i++){
      |                     ~~^~~~~~~~~~~~~~~~~~~~
moran_for_rasters.cpp:672:24: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
  672 |           for(j = 0; j < subcube_dat.n_cols; j++){
      |                      ~~^~~~~~~~~~~~~~~~~~~~
moran_for_rasters.cpp:742:23: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
  742 |         for (i = 0; i < subcube_dat.n_rows; i++){
      |                     ~~^~~~~~~~~~~~~~~~~~~~
moran_for_rasters.cpp:743:24: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
  743 |           for(j = 0; j < subcube_dat.n_cols; j++){
      |                      ~~^~~~~~~~~~~~~~~~~~~~
moran_for_rasters.cpp:613:27: warning: unused variable 'nn' [-Wunused-variable]
  613 |   int r,c,lr,hr,lc,hc,i,j,nn,ii,jj;
      |                           ^~
moran_for_rasters.cpp:613:30: warning: unused variable 'ii' [-Wunused-variable]
  613 |   int r,c,lr,hr,lc,hc,i,j,nn,ii,jj;
      |                              ^~
moran_for_rasters.cpp:613:33: warning: unused variable 'jj' [-Wunused-variable]
  613 |   int r,c,lr,hr,lc,hc,i,j,nn,ii,jj;
      |                                 ^~
moran_for_rasters.cpp:614:7: warning: unused variable 'N' [-Wunused-variable]
  614 |   int N = 0;
      |       ^
moran_for_rasters.cpp:615:7: warning: variable 'wr' set but not used [-Wunused-but-set-variable]
  615 |   int wr,wc;
      |       ^~
moran_for_rasters.cpp:615:10: warning: variable 'wc' set but not used [-Wunused-but-set-variable]
  615 |   int wr,wc;
      |          ^~
moran_for_rasters.cpp:616:7: warning: unused variable 'counter' [-Wunused-variable]
  616 |   int counter = 0;
      |       ^~~~~~~
moran_for_rasters.cpp:625:10: warning: unused variable 'euc_dist' [-Wunused-variable]
  625 |   double euc_dist, dij;
      |          ^~~~~~~~
g++  -std=gnu++17 -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c shared_functions.cpp -o shared_functions.o
g++ -shared -s -static-libgcc -o geocmeans.dll tmp.def FCM_functions.o GFCM_functions.o RcppExports.o focal_cpp.o jaccard_idx.o moran_for_rasters.o shared_functions.o -fopenmp -LD:/RCompile/recent/R-4.4.2/bin/x64 -lRlapack -LD:/RCompile/recent/R-4.4.2/bin/x64 -lRblas -lgfortran -lm -lquadmath -Ld:/rtools44/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools44/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R-4.4.2/bin/x64 -lR
make[1]: Leaving directory '/d/temp/2024_12_21_01_50_00_6285/RtmpqqiP48/R.INSTALL105081a6f3e1f/geocmeans/src'
make[1]: Entering directory '/d/temp/2024_12_21_01_50_00_6285/RtmpqqiP48/R.INSTALL105081a6f3e1f/geocmeans/src'
make[1]: Leaving directory '/d/temp/2024_12_21_01_50_00_6285/RtmpqqiP48/R.INSTALL105081a6f3e1f/geocmeans/src'
installing to d:/Rcompile/CRANpkg/lib/4.4/00LOCK-geocmeans/00new/geocmeans/libs/x64
** R
** data
*** moving datasets to lazyload DB
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
*** copying figures
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* MD5 sums
packaged installation of 'geocmeans' as geocmeans_0.3.4.zip
* DONE (geocmeans)