* installing *source* package 'SpatMCA' ...
** this is package 'SpatMCA' version '1.0.7'
** package 'SpatMCA' successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: 'g++.exe (GCC) 14.2.0'
using C++17
make[1]: Entering directory '/d/temp/2025_10_26_01_50_00_14777/RtmpAvdJ0A/R.INSTALL48245e951769/SpatMCA/src'
g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.5.1/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppParallel/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DRCPP_PARALLEL_USE_TBB=0 -DSTRICT_R_HEADERS -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c RcppExports.cpp -o RcppExports.o
In file included from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/current/armadillo:26,
from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57,
from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/RcppArmadillo.h:32,
from RcppExports.cpp:4:
D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported'
373 | #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported")
| ^
g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.5.1/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppParallel/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DRCPP_PARALLEL_USE_TBB=0 -DSTRICT_R_HEADERS -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c RcppSpatMCA.cpp -o RcppSpatMCA.o
In file included from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/current/armadillo:26,
from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57,
from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/RcppArmadillo.h:32,
from RcppSpatMCA.cpp:3:
D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported'
373 | #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported")
| ^
RcppSpatMCA.cpp: In function 'arma::mat cubicmatrix(arma::vec)':
RcppSpatMCA.cpp:25:26: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
25 | for (unsigned j = 0; j < p - 2; ++j)
| ~~^~~~~~~
RcppSpatMCA.cpp:32:26: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
32 | 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:49:30: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
49 | for (unsigned j = 0; j < p; j++)
| ~~^~~
RcppSpatMCA.cpp:74:30: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
74 | for (unsigned k = 0; k < d; ++k)
| ~~^~~
RcppSpatMCA.cpp: In function 'arma::mat tpm2(arma::mat, arma::mat, arma::mat)':
RcppSpatMCA.cpp:124:32: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
124 | for (unsigned newi = 0; newi < pnew; newi++)
| ~~~~~^~~~~~
RcppSpatMCA.cpp:126:28: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
126 | for (unsigned i = 0; i < K; i++)
| ~~^~~
RcppSpatMCA.cpp:129:30: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
129 | 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:170:32: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'const int' [-Wsign-compare]
170 | 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:205:32: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'const int' [-Wsign-compare]
205 | 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:637:25: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
637 | for (uword m = 0; m < M; m++)
| ~~^~~
RcppSpatMCA.cpp:701:25: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
701 | 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:931:23: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare]
931 | for (uword m = 0; m < M; m++)
| ~~^~~
In file included from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/current/armadillo:692:
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:691:12:
D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/current/armadillo_bits/Mat_meat.hpp:816:22: warning: 'tempout' may be used uninitialized [-Wmaybe-uninitialized]
816 | 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:581:46: note: 'tempout' was declared here
581 | double cvtau1u, cvtau1v, cvtau2u, cvtau2v, tempout;
| ^~~~~~~
g++ -shared -s -static-libgcc -o SpatMCA.dll tmp.def RcppExports.o RcppSpatMCA.o -fopenmp -LD:/RCompile/recent/R-4.5.1/bin/x64 -lRlapack -LD:/RCompile/recent/R-4.5.1/bin/x64 -lRblas -lgfortran -lquadmath -Ld:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools45/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R-4.5.1/bin/x64 -lR
make[1]: Leaving directory '/d/temp/2025_10_26_01_50_00_14777/RtmpAvdJ0A/R.INSTALL48245e951769/SpatMCA/src'
make[1]: Entering directory '/d/temp/2025_10_26_01_50_00_14777/RtmpAvdJ0A/R.INSTALL48245e951769/SpatMCA/src'
make[1]: Leaving directory '/d/temp/2025_10_26_01_50_00_14777/RtmpAvdJ0A/R.INSTALL48245e951769/SpatMCA/src'
installing to d:/Rcompile/CRANpkg/lib/4.5/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.7.zip
* DONE (SpatMCA)