* installing *source* package 'SMMA' ...
** package 'SMMA' successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: 'g++.exe (GCC) 13.3.0'
using C++11
make[1]: Entering directory '/d/temp/2024_12_08_01_50_01_8405/Rtmp6V5oxd/R.INSTALL251e037035258/SMMA/src'
g++  -std=gnu++11 -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"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c RcppExports.cpp -o RcppExports.o
g++  -std=gnu++11 -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"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c rcppfunc.cpp -o rcppfunc.o
In file included from rcppfunc.cpp:3:
auxfunc.h: In function 'arma::vec eev(arma::mat, arma::cube, int)':
auxfunc.h:60:18: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
   60 | for(int j = 0; j < Z.n_slices; j++) {eevar(j) = (2 * accu(XBeta  %  Z.slice(j))  - sumXBeta2) / ng;}
      |                ~~^~~~~~~~~~~~
auxfunc.h: In function 'arma::mat gradloss(const arma::cube&, const arma::mat&, const arma::vec&, int, double, int)':
auxfunc.h:89:19: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
   89 |  for(int j = 0; j < PhitZ.n_slices; j++){
      |                 ~~^~~~~~~~~~~~~~~~
auxfunc.h:96:18: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
   96 | for(int j = 0; j < PhitZ.n_slices; j++){gradout = exp(c * h(j)) * (XtXb - PhitZ.slice(j)) + gradout;}
      |                ~~^~~~~~~~~~~~~~~~
rcppfunc.cpp: In function 'Rcpp::List pga(arma::mat, arma::mat, arma::mat, Rcpp::NumericVector, std::string, double, double, arma::vec, int, int, double, arma::mat, double, int, int, int, int, double, double, int, int, double)':
rcppfunc.cpp:367:23: warning: 'lossProp' may be used uninitialized [-Wmaybe-uninitialized]
  367 |     obj(k) = lossBeta + l1penalty(wGamma, Beta);
      |              ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
rcppfunc.cpp:46:21: note: 'lossProp' was declared here
   46 |        L, lossBeta, lossProp, lossX,
      |                     ^~~~~~~~
rcppfunc.cpp:256:19: warning: 'penProp' may be used uninitialized [-Wmaybe-uninitialized]
  256 | obj(k) = lossBeta + penBeta;
      |          ~~~~~~~~~^~~~~~~~~
rcppfunc.cpp:47:17: note: 'penProp' was declared here
   47 |        penBeta, penProp,
      |                 ^~~~~~~
g++ -shared -s -static-libgcc -o SMMA.dll tmp.def RcppExports.o rcppfunc.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_08_01_50_01_8405/Rtmp6V5oxd/R.INSTALL251e037035258/SMMA/src'
make[1]: Entering directory '/d/temp/2024_12_08_01_50_01_8405/Rtmp6V5oxd/R.INSTALL251e037035258/SMMA/src'
make[1]: Leaving directory '/d/temp/2024_12_08_01_50_01_8405/Rtmp6V5oxd/R.INSTALL251e037035258/SMMA/src'
installing to d:/Rcompile/CRANpkg/lib/4.4/00LOCK-SMMA/00new/SMMA/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 'SMMA' as SMMA_1.0.3.zip
* DONE (SMMA)