* installing to library ‘/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages’
* installing *source* package ‘SMMA’ ...
** package ‘SMMA’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++-14 (Debian 14.2.0-8) 14.2.0’
using C++11
make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmpu82jtL/R.INSTALL2c986b20d935bc/SMMA/src'
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c RcppExports.cpp -o RcppExports.o
g++-14 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -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++-14 -std=gnu++11 -shared -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -Wl,-O1 -o SMMA.so RcppExports.o rcppfunc.o -llapack -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -lRblas -lgfortran -lm -lquadmath -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/Rtmpu82jtL/R.INSTALL2c986b20d935bc/SMMA/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmpu82jtL/R.INSTALL2c986b20d935bc/SMMA/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/Rtmpu82jtL/R.INSTALL2c986b20d935bc/SMMA/src'
installing to /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/00LOCK-SMMA/00new/SMMA/libs
** R
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
  converting help for package ‘SMMA’
    finding HTML links ... done
    RH                                      html  
    SMMA                                    html  
    predict.SMMA                            html  
    print.SMMA                              html  
** building package indices
** testing if installed package can be loaded from temporary location
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (SMMA)