* installing *source* package 'fastPLS' ...
** package 'fastPLS' successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: 'gcc.exe (GCC) 13.3.0'
using C++ compiler: 'g++.exe (GCC) 13.3.0'
make[1]: Entering directory '/d/temp/2024_12_21_01_50_00_6285/Rtmp8YEajO/R.INSTALLb260759947ca/fastPLS/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:/RCompile/CRANpkg/lib/4.4/Matrix/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"  -I../inst/include/ -IANN -O3 -DWIN32 -DDLL_EXPORTS -DANN_NO_RANDOM -DRANN -DARMA_64BIT_WORD=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.2/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/Matrix/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"  -I../inst/include/ -IANN -O3 -DWIN32 -DDLL_EXPORTS -DANN_NO_RANDOM -DRANN -DARMA_64BIT_WORD=1   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c export-inline-header.cpp -o export-inline-header.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:/RCompile/CRANpkg/lib/4.4/Matrix/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"  -I../inst/include/ -IANN -O3 -DWIN32 -DDLL_EXPORTS -DANN_NO_RANDOM -DRANN -DARMA_64BIT_WORD=1   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c fastPLS.cpp -o fastPLS.o
fastPLS.cpp: In function 'Rcpp::List optim_pls_cv(arma::mat, arma::mat, arma::ivec, arma::ivec, int, int, int, int)':
fastPLS.cpp:414:21: warning: comparison of integer expressions of different signedness: 'int' and 'arma::uword' {aka 'long long unsigned int'} [-Wsign-compare]
  414 |   for (int j = 0; j < indices.size(); j++) {
      |                   ~~^~~~~~~~~~~~~~~~
fastPLS.cpp: In function 'Rcpp::List double_pls_cv(arma::mat, arma::mat, arma::ivec, arma::ivec, int, int, int, int, int)':
fastPLS.cpp:500:21: warning: comparison of integer expressions of different signedness: 'int' and 'arma::uword' {aka 'long long unsigned int'} [-Wsign-compare]
  500 |   for (int j = 0; j < indices.size(); j++) {
      |                   ~~^~~~~~~~~~~~~~~~
fastPLS.cpp: In function 'Rcpp::List pls_model1(arma::mat, arma::mat, arma::ivec, int, bool, int)':
fastPLS.cpp:647:18: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const long long unsigned int'} and 'int' [-Wsign-compare]
  647 |   if(svd_v.n_cols>max_ncomp){
      |      ~~~~~~~~~~~~^~~~~~~~~~
fastPLS.cpp:666:20: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const long long unsigned int'} and 'int' [-Wsign-compare]
  666 |     if(svd_v.n_cols>max_ncomp){
      |        ~~~~~~~~~~~~^~~~~~~~~~
gcc  -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:/RCompile/CRANpkg/lib/4.4/Matrix/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c irlba.c -o irlba.o
irlba.c: In function 'irlb':
irlba.c:441:21: warning: 'converged' may be used uninitialized [-Wmaybe-uninitialized]
  441 |   return (converged == 1 ? 0 : -2);
      |           ~~~~~~~~~~^~~~
irlba.c:169:7: note: 'converged' declared here
  169 |   int converged;
      |       ^~~~~~~~~
g++ -std=gnu++17 -shared -s -static-libgcc -o fastPLS.dll tmp.def RcppExports.o export-inline-header.o fastPLS.o irlba.o -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/Rtmp8YEajO/R.INSTALLb260759947ca/fastPLS/src'
make[1]: Entering directory '/d/temp/2024_12_21_01_50_00_6285/Rtmp8YEajO/R.INSTALLb260759947ca/fastPLS/src'
make[1]: Leaving directory '/d/temp/2024_12_21_01_50_00_6285/Rtmp8YEajO/R.INSTALLb260759947ca/fastPLS/src'
installing to d:/Rcompile/CRANpkg/lib/4.4/00LOCK-fastPLS/00new/fastPLS/libs/x64
** 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
** 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 'fastPLS' as fastPLS_0.2.zip
* DONE (fastPLS)