* installing *source* package 'SpatMCA' ...
** package 'SpatMCA' successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: 'g++.exe (GCC) 13.2.0'
make[1]: Entering directory '/d/temp/RtmpKWGfH9/R.INSTALL2b34c5d1952d7/SpatMCA/src'
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.0/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppParallel/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"  -fopenmp -DRCPP_PARALLEL_USE_TBB=1   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c RcppExports.cpp -o RcppExports.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.0/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppParallel/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"  -fopenmp -DRCPP_PARALLEL_USE_TBB=1   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c RcppSpatMCA.cpp -o RcppSpatMCA.o
RcppSpatMCA.cpp: In function 'arma::mat cubicmatrix(arma::vec)':
RcppSpatMCA.cpp:27:26: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
   27 |   for (unsigned j = 0; j < p - 2; ++j)
      |                        ~~^~~~~~~
RcppSpatMCA.cpp:34:26: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
   34 |   for (unsigned j = 0; j < p - 3; ++j)
      |                        ~~^~~~~~~
RcppSpatMCA.cpp: In member function 'virtual void tpm::operator()(std::size_t, std::size_t)':
RcppSpatMCA.cpp:51:30: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
   51 |       for (unsigned j = 0; j < p; j++)
      |                            ~~^~~
RcppSpatMCA.cpp:76:30: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
   76 |       for (unsigned k = 0; k < d; ++k)
      |                            ~~^~~
RcppSpatMCA.cpp: In function 'arma::mat tpm2(arma::mat, arma::mat, arma::mat)':
RcppSpatMCA.cpp:126:32: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
  126 |   for (unsigned newi = 0; newi < pnew; newi++)
      |                           ~~~~~^~~~~~
RcppSpatMCA.cpp:128:28: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
  128 |     for (unsigned i = 0; i < K; i++)
      |                          ~~^~~
RcppSpatMCA.cpp:131:30: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
  131 |       for (unsigned j = 0; j < p; j++)
      |                            ~~^~~
RcppSpatMCA.cpp: In function 'void spatmca_tau1(arma::mat&, arma::mat&, arma::mat&, arma::mat, int, int, double, int, double)':
RcppSpatMCA.cpp:172:32: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'const int' [-Wsign-compare]
  172 |   for (unsigned iter = 0; iter < maxit; iter++)
      |                           ~~~~~^~~~~~~
RcppSpatMCA.cpp: In function 'void spatmca_tau2(arma::mat&, arma::mat&, arma::mat&, arma::mat&, arma::mat&, arma::mat, double, double, int, int, double, int, double)':
RcppSpatMCA.cpp:207:32: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'const int' [-Wsign-compare]
  207 |   for (unsigned iter = 0; iter < maxit; iter++)
      |                           ~~~~~^~~~~~~
RcppSpatMCA.cpp: In function 'Rcpp::List spatmcacv_rcpp(Rcpp::NumericMatrix, Rcpp::NumericMatrix, Rcpp::NumericMatrix, Rcpp::NumericMatrix, int, int, Rcpp::NumericVector, Rcpp::NumericVector, Rcpp::NumericVector, Rcpp::NumericVector, Rcpp::NumericVector, int, double, Rcpp::NumericVector, Rcpp::NumericVector)':
RcppSpatMCA.cpp:639:25: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  639 |     for (uword m = 0; m < M; m++)
      |                       ~~^~~
RcppSpatMCA.cpp:700:25: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  700 |     for (uword m = 0; m < M; m++)
      |                       ~~^~~
RcppSpatMCA.cpp: In function 'Rcpp::List spatmcacvall_rcpp(Rcpp::NumericMatrix, Rcpp::NumericMatrix, Rcpp::NumericMatrix, Rcpp::NumericMatrix, int, int, Rcpp::NumericVector, Rcpp::NumericVector, Rcpp::NumericVector, Rcpp::NumericVector, Rcpp::NumericVector, int, double, Rcpp::NumericVector, Rcpp::NumericVector)':
RcppSpatMCA.cpp:928:23: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  928 |   for (uword m = 0; m < M; m++)
      |                     ~~^~~
In file included from D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include/armadillo:661,
                 from D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57,
                 from D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include/RcppArmadillo.h:29,
                 from RcppSpatMCA.cpp:5:
In member function 'arma::Mat<eT>& arma::Mat<eT>::operator=(eT) [with eT = double]',
    inlined from 'Rcpp::List spatmcacv_rcpp(Rcpp::NumericMatrix, Rcpp::NumericMatrix, Rcpp::NumericMatrix, Rcpp::NumericMatrix, int, int, Rcpp::NumericVector, Rcpp::NumericVector, Rcpp::NumericVector, Rcpp::NumericVector, Rcpp::NumericVector, int, double, Rcpp::NumericVector, Rcpp::NumericVector)' at RcppSpatMCA.cpp:690:12:
D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include/armadillo_bits/Mat_meat.hpp:812:22: warning: 'tempout' may be used uninitialized [-Wmaybe-uninitialized]
  812 |   access::rw(mem[0]) = val;
      |   ~~~~~~~~~~~~~~~~~~~^~~~~
RcppSpatMCA.cpp: In function 'Rcpp::List spatmcacv_rcpp(Rcpp::NumericMatrix, Rcpp::NumericMatrix, Rcpp::NumericMatrix, Rcpp::NumericMatrix, int, int, Rcpp::NumericVector, Rcpp::NumericVector, Rcpp::NumericVector, Rcpp::NumericVector, Rcpp::NumericVector, int, double, Rcpp::NumericVector, Rcpp::NumericVector)':
RcppSpatMCA.cpp:583:46: note: 'tempout' was declared here
  583 |   double cvtau1u, cvtau1v, cvtau2u, cvtau2v, tempout;
      |                                              ^~~~~~~
g++ -std=gnu++17 -shared -s -static-libgcc -o SpatMCA.dll tmp.def RcppExports.o RcppSpatMCA.o -fopenmp -LD:/RCompile/recent/R-4.4.0/bin/x64 -lRlapack -LD:/RCompile/recent/R-4.4.0/bin/x64 -lRblas -lgfortran -lm -lquadmath -LD:/RCompile/CRANpkg/lib/4.4/RcppParallel/lib/x64 -ltbb -ltbbmalloc -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.0/bin/x64 -lR
make[1]: Leaving directory '/d/temp/RtmpKWGfH9/R.INSTALL2b34c5d1952d7/SpatMCA/src'
make[1]: Entering directory '/d/temp/RtmpKWGfH9/R.INSTALL2b34c5d1952d7/SpatMCA/src'
make[1]: Leaving directory '/d/temp/RtmpKWGfH9/R.INSTALL2b34c5d1952d7/SpatMCA/src'
installing to d:/Rcompile/CRANpkg/lib/4.4/00LOCK-SpatMCA/00new/SpatMCA/libs/x64
** R
** 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
** 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 'SpatMCA' as SpatMCA_1.0.4.zip
* DONE (SpatMCA)