* installing to library ‘/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages’
* installing *source* package ‘glamlasso’ ...
** this is package ‘glamlasso’ version ‘3.0.1’
** package ‘glamlasso’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘gcc-15 (Debian 15.2.0-4) 15.2.0’
using C++ compiler: ‘g++-15 (Debian 15.2.0-4) 15.2.0’
using C++11
make[1]: Entering directory '/tmp/RtmpnqWWpL/R.INSTALL3780f97df97f2c/glamlasso/src'
g++-15 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-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
In file included from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:29,
from RcppExports.cpp:4:
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/version/arma.h:66:199: note: ‘#pragma message: Using fallback compilation with Armadillo 14.6.3. Please consider defining -DARMA_USE_CURRENT and also removing C++11 compilation directive. See GitHub issue #475 for more.’
66 | #pragma message("Using fallback compilation with Armadillo 14.6.3. Please consider defining -DARMA_USE_CURRENT and also removing C++11 compilation directive. See GitHub issue #475 for more.")
| ^
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c init.c -o init.o
g++-15 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-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 /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:29,
from rcppfunc.cpp:26:
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/version/arma.h:66:199: note: ‘#pragma message: Using fallback compilation with Armadillo 14.6.3. Please consider defining -DARMA_USE_CURRENT and also removing C++11 compilation directive. See GitHub issue #475 for more.’
66 | #pragma message("Using fallback compilation with Armadillo 14.6.3. Please consider defining -DARMA_USE_CURRENT and also removing C++11 compilation directive. See GitHub issue #475 for more.")
| ^
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: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 /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/legacy/armadillo:646,
from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:80,
from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:32:
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 /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/legacy/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:49:
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/legacy/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::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 /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/legacy/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:44:
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/legacy/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::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 /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/legacy/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:49:
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/legacy/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,
| ^~~~~
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 /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/legacy/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:50:
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/legacy/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;
| ^~~~~~~~
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 /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/legacy/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:44:
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/legacy/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;
| ^~~~~~~
g++-15 -std=gnu++11 -shared -L/home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib -Wl,-O1 -o glamlasso.so RcppExports.o init.o rcppfunc.o -llapack -L/home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib -lRblas -lgfortran -lm -lquadmath -L/home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib -lR
make[1]: Leaving directory '/tmp/RtmpnqWWpL/R.INSTALL3780f97df97f2c/glamlasso/src'
make[1]: Entering directory '/tmp/RtmpnqWWpL/R.INSTALL3780f97df97f2c/glamlasso/src'
make[1]: Leaving directory '/tmp/RtmpnqWWpL/R.INSTALL3780f97df97f2c/glamlasso/src'
installing to /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/00LOCK-glamlasso/00new/glamlasso/libs
** 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
** 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 (glamlasso)