* installing *source* package 'glamlasso' ...
** package 'glamlasso' successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: 'gcc.exe (GCC) 12.3.0'
using C++ compiler: 'g++.exe (GCC) 12.3.0'
using C++11
make[1]: Entering directory '/d/temp/2024_12_20_01_50_00_19051/RtmpeuzbvW/R.INSTALL14bc87c212784/glamlasso/src'
g++  -std=gnu++11 -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.3/RcppArmadillo/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c RcppExports.cpp -o RcppExports.o
gcc  -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.3/RcppArmadillo/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"     -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c init.c -o init.o
g++  -std=gnu++11 -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.3/RcppArmadillo/include'   -I"d:/rtools43/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:27:
auxfunc.h: In function 'arma::mat c(const arma::mat&, std::string)':
auxfunc.h:518:19: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
  518 | for (int i = 0; i < out.n_rows; i++){
      |                 ~~^~~~~~~~~~~~
auxfunc.h:520:19: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
  520 | for (int j = 0; j < out.n_cols; j++){
      |                 ~~^~~~~~~~~~~~
auxfunc.h: In function 'double penfunc(const arma::mat&, const arma::mat&, std::string)':
auxfunc.h:136:8: warning: 'out' may be used uninitialized [-Wmaybe-uninitialized]
  136 | return out;
      |        ^~~
auxfunc.h:120:8: note: 'out' was declared here
  120 | double out;
      |        ^~~
rcppfunc.cpp: In function 'Rcpp::List gdpg(arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::vec, std::string, std::string, int, std::string, double, arma::vec, int, int, double, arma::mat, arma::mat, arma::mat, arma::mat, double, double, double, int, int, int, int, int, int, int, int, int, int, int, int, int)':
rcppfunc.cpp:2573:26: warning: 'wsqlossProp' may be used uninitialized [-Wmaybe-uninitialized]
 2573 | objprox(k) = wsqlossBeta + l1penalty(wGamma, Beta) + l1penalty(wGammaalpha, alpha);
      |              ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
rcppfunc.cpp:2072:15: note: 'wsqlossProp' was declared here
 2072 |  wsqlossBeta, wsqlossProp, wsqlossX;
      |               ^~~~~~~~~~~
rcppfunc.cpp:2387:30: warning: 'L' may be used uninitialized [-Wmaybe-uninitialized]
 2387 | if(nu > 0){delta = 1.9 / (nu * L);}else{delta = 1;}
      |                          ~~~~^~~~
rcppfunc.cpp:2067:2: note: 'L' was declared here
 2067 |  L, lmax, loglikeBeta, logliketmp,
      |  ^
In file included from D:/RCompile/CRANpkg/lib/4.3/RcppArmadillo/include/armadillo:642,
                 from D:/RCompile/CRANpkg/lib/4.3/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:58,
                 from D:/RCompile/CRANpkg/lib/4.3/RcppArmadillo/include/RcppArmadillo.h:29,
                 from rcppfunc.cpp:26:
In constructor 'arma::eOp<T1, eop_type>::eOp(const T1&, typename T1::elem_type) [with T1 = arma::Glue<arma::Glue<arma::Mat<double>, arma::Mat<double>, arma::glue_times>, arma::Mat<double>, arma::glue_times>; eop_type = arma::eop_scalar_times]',
    inlined from 'typename arma::enable_if2<arma::is_arma_type<T1>::value, const arma::eOp<T1, arma::eop_scalar_times> >::result arma::operator*(const T1&, typename T1::elem_type) [with T1 = Glue<Glue<Mat<double>, Mat<double>, glue_times>, Mat<double>, glue_times>]' at D:/RCompile/CRANpkg/lib/4.3/RcppArmadillo/include/armadillo_bits/operator_times.hpp:33:39,
    inlined from 'Rcpp::List gdpg(arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::vec, std::string, std::string, int, std::string, double, arma::vec, int, int, double, arma::mat, arma::mat, arma::mat, arma::mat, double, double, double, int, int, int, int, int, int, int, int, int, int, int, int, int)' at rcppfunc.cpp:1721:42:
D:/RCompile/CRANpkg/lib/4.3/RcppArmadillo/include/armadillo_bits/eOp_meat.hpp:38:5: warning: 'sumw3sq' may be used uninitialized [-Wmaybe-uninitialized]
   38 |   , aux(in_aux)
      |     ^~~~~~~~~~~
rcppfunc.cpp: In function 'Rcpp::List gdpg(arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::vec, std::string, std::string, int, std::string, double, arma::vec, int, int, double, arma::mat, arma::mat, arma::mat, arma::mat, double, double, double, int, int, int, int, int, int, int, int, int, int, int, int, int)':
rcppfunc.cpp:1204:49: note: 'sumw3sq' was declared here
 1204 |  sqlossBeta, sqlossProp, snewt = 0.5, sumw12sq, sumw3sq,
      |                                                 ^~~~~~~
In constructor 'arma::eOp<T1, eop_type>::eOp(const T1&, typename T1::elem_type) [with T1 = arma::Glue<arma::Mat<double>, arma::Mat<double>, arma::glue_times>; eop_type = arma::eop_scalar_times]',
    inlined from 'typename arma::enable_if2<arma::is_arma_type<T1>::value, const arma::eOp<T1, arma::eop_scalar_times> >::result arma::operator*(const T1&, typename T1::elem_type) [with T1 = Glue<Mat<double>, Mat<double>, glue_times>]' at D:/RCompile/CRANpkg/lib/4.3/RcppArmadillo/include/armadillo_bits/operator_times.hpp:33:39,
    inlined from 'Rcpp::List gdpg(arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::vec, std::string, std::string, int, std::string, double, arma::vec, int, int, double, arma::mat, arma::mat, arma::mat, arma::mat, double, double, double, int, int, int, int, int, int, int, int, int, int, int, int, int)' at rcppfunc.cpp:1723:47:
D:/RCompile/CRANpkg/lib/4.3/RcppArmadillo/include/armadillo_bits/eOp_meat.hpp:38:5: warning: 'sumw12sq' may be used uninitialized [-Wmaybe-uninitialized]
   38 |   , aux(in_aux)
      |     ^~~~~~~~~~~
rcppfunc.cpp: In function 'Rcpp::List gdpg(arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::vec, std::string, std::string, int, std::string, double, arma::vec, int, int, double, arma::mat, arma::mat, arma::mat, arma::mat, double, double, double, int, int, int, int, int, int, int, int, int, int, int, int, int)':
rcppfunc.cpp:1204:39: note: 'sumw12sq' was declared here
 1204 |  sqlossBeta, sqlossProp, snewt = 0.5, sumw12sq, sumw3sq,
      |                                       ^~~~~~~~
In constructor 'arma::eOp<T1, eop_type>::eOp(const T1&, typename T1::elem_type) [with T1 = arma::Mat<double>; eop_type = arma::eop_scalar_times]',
    inlined from 'typename arma::enable_if2<arma::is_arma_type<T1>::value, const arma::eOp<T1, arma::eop_scalar_times> >::result arma::operator*(typename T1::elem_type, const T1&) [with T1 = Mat<double>]' at D:/RCompile/CRANpkg/lib/4.3/RcppArmadillo/include/armadillo_bits/operator_times.hpp:47:39,
    inlined from 'Rcpp::List gdpg(arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::vec, std::string, std::string, int, std::string, double, arma::vec, int, int, double, arma::mat, arma::mat, arma::mat, arma::mat, double, double, double, int, int, int, int, int, int, int, int, int, int, int, int, int)' at rcppfunc.cpp:1727:26:
D:/RCompile/CRANpkg/lib/4.3/RcppArmadillo/include/armadillo_bits/eOp_meat.hpp:38:5: warning: 'delta' may be used uninitialized [-Wmaybe-uninitialized]
   38 |   , aux(in_aux)
      |     ^~~~~~~~~~~
rcppfunc.cpp: In function 'Rcpp::List gdpg(arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::vec, std::string, std::string, int, std::string, double, arma::vec, int, int, double, arma::mat, arma::mat, arma::mat, arma::mat, double, double, double, int, int, int, int, int, int, int, int, int, int, int, int, int)':
rcppfunc.cpp:1201:2: note: 'delta' was declared here
 1201 |  delta,
      |  ^~~~~
rcppfunc.cpp:1075:26: warning: 'wsqlossProp' may be used uninitialized [-Wmaybe-uninitialized]
 1075 | objprox(k) = wsqlossBeta + l1penalty(wGamma, Beta) + l1penalty(wGammaalpha, alpha);
      |              ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
rcppfunc.cpp:600:21: note: 'wsqlossProp' was declared here
  600 |        wsqlossBeta, wsqlossProp, wsqlossX;
      |                     ^~~~~~~~~~~
In constructor 'arma::eOp<T1, eop_type>::eOp(const T1&, typename T1::elem_type) [with T1 = arma::Glue<arma::Glue<arma::Mat<double>, arma::Mat<double>, arma::glue_times>, arma::Mat<double>, arma::glue_times>; eop_type = arma::eop_scalar_times]',
    inlined from 'typename arma::enable_if2<arma::is_arma_type<T1>::value, const arma::eOp<T1, arma::eop_scalar_times> >::result arma::operator*(const T1&, typename T1::elem_type) [with T1 = Glue<Glue<Mat<double>, Mat<double>, glue_times>, Mat<double>, glue_times>]' at D:/RCompile/CRANpkg/lib/4.3/RcppArmadillo/include/armadillo_bits/operator_times.hpp:33:39,
    inlined from 'Rcpp::List gdpg(arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::vec, std::string, std::string, int, std::string, double, arma::vec, int, int, double, arma::mat, arma::mat, arma::mat, arma::mat, double, double, double, int, int, int, int, int, int, int, int, int, int, int, int, int)' at rcppfunc.cpp:468:42:
D:/RCompile/CRANpkg/lib/4.3/RcppArmadillo/include/armadillo_bits/eOp_meat.hpp:38:5: warning: 'sumw3sq' may be used uninitialized [-Wmaybe-uninitialized]
   38 |   , aux(in_aux)
      |     ^~~~~~~~~~~
rcppfunc.cpp: In function 'Rcpp::List gdpg(arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::vec, std::string, std::string, int, std::string, double, arma::vec, int, int, double, arma::mat, arma::mat, arma::mat, arma::mat, double, double, double, int, int, int, int, int, int, int, int, int, int, int, int, int)':
rcppfunc.cpp:161:69: note: 'sumw3sq' was declared here
  161 |        sqlossBeta, sqlossBeta12, sqlossBeta3, sqlossProp, sumw12sq, sumw3sq;
      |                                                                     ^~~~~~~
In constructor 'arma::eOp<T1, eop_type>::eOp(const T1&, typename T1::elem_type) [with T1 = arma::Glue<arma::Mat<double>, arma::Mat<double>, arma::glue_times>; eop_type = arma::eop_scalar_times]',
    inlined from 'typename arma::enable_if2<arma::is_arma_type<T1>::value, const arma::eOp<T1, arma::eop_scalar_times> >::result arma::operator*(const T1&, typename T1::elem_type) [with T1 = Glue<Mat<double>, Mat<double>, glue_times>]' at D:/RCompile/CRANpkg/lib/4.3/RcppArmadillo/include/armadillo_bits/operator_times.hpp:33:39,
    inlined from 'Rcpp::List gdpg(arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::vec, std::string, std::string, int, std::string, double, arma::vec, int, int, double, arma::mat, arma::mat, arma::mat, arma::mat, double, double, double, int, int, int, int, int, int, int, int, int, int, int, int, int)' at rcppfunc.cpp:470:48:
D:/RCompile/CRANpkg/lib/4.3/RcppArmadillo/include/armadillo_bits/eOp_meat.hpp:38:5: warning: 'sumw12sq' may be used uninitialized [-Wmaybe-uninitialized]
   38 |   , aux(in_aux)
      |     ^~~~~~~~~~~
rcppfunc.cpp: In function 'Rcpp::List gdpg(arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::vec, std::string, std::string, int, std::string, double, arma::vec, int, int, double, arma::mat, arma::mat, arma::mat, arma::mat, double, double, double, int, int, int, int, int, int, int, int, int, int, int, int, int)':
rcppfunc.cpp:161:59: note: 'sumw12sq' was declared here
  161 |        sqlossBeta, sqlossBeta12, sqlossBeta3, sqlossProp, sumw12sq, sumw3sq;
      |                                                           ^~~~~~~~
rcppfunc.cpp:499:25: warning: 'sqlossBeta' may be used uninitialized [-Wmaybe-uninitialized]
  499 | obj(k + 1) = sqlossBeta + l1penalty(wGamma, Beta) + nonten * l1penalty(wGammaalpha, alpha);
      |              ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
rcppfunc.cpp:161:8: note: 'sqlossBeta' was declared here
  161 |        sqlossBeta, sqlossBeta12, sqlossBeta3, sqlossProp, sumw12sq, sumw3sq;
      |        ^~~~~~~~~~
g++ -shared -s -static-libgcc -o glamlasso.dll tmp.def RcppExports.o init.o rcppfunc.o -LD:/RCompile/recent/R-4.3.3/bin/x64 -lRlapack -LD:/RCompile/recent/R-4.3.3/bin/x64 -lRblas -lgfortran -lm -lquadmath -Ld:/rtools43/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools43/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R-4.3.3/bin/x64 -lR
make[1]: Leaving directory '/d/temp/2024_12_20_01_50_00_19051/RtmpeuzbvW/R.INSTALL14bc87c212784/glamlasso/src'
make[1]: Entering directory '/d/temp/2024_12_20_01_50_00_19051/RtmpeuzbvW/R.INSTALL14bc87c212784/glamlasso/src'
make[1]: Leaving directory '/d/temp/2024_12_20_01_50_00_19051/RtmpeuzbvW/R.INSTALL14bc87c212784/glamlasso/src'
installing to d:/Rcompile/CRANpkg/lib/4.3/00LOCK-glamlasso/00new/glamlasso/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 'glamlasso' as glamlasso_3.0.1.zip
* DONE (glamlasso)