* installing to library ‘/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages’
* installing *source* package ‘vcpen’ ...
** package ‘vcpen’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++-14 (Debian 14.2.0-8) 14.2.0’
make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmp4umKpH/R.INSTALLd61a81ee28194/vcpen/src'
g++-14 -std=gnu++17 -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++17 -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 minque_Rcpp.cpp -o minque_Rcpp.o
minque_Rcpp.cpp: In function ‘Rcpp::List minque_Rcpp(arma::vec&, arma::mat&, const Rcpp::List&, arma::vec)’:
minque_Rcpp.cpp:12:7: warning: unused variable ‘n_beta’ [-Wunused-variable]
   12 |   int n_beta  = X.n_cols;
      |       ^~~~~~
g++-14 -std=gnu++17 -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 vcpen.cpp -o vcpen.o
vcpen.cpp: In function ‘Rcpp::List vcpen_Rcpp(arma::vec&, arma::mat&, const Rcpp::List&, arma::vec, arma::vec, double, arma::vec, int, bool)’:
vcpen.cpp:116:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘arma::uword’ {aka ‘unsigned int’} [-Wsign-compare]
  116 |   for(int i = 0; i < sigma2.size(); i ++){
      |                  ~~^~~~~~~~~~~~~~~
vcpen.cpp:178:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘arma::uword’ {aka ‘unsigned int’} [-Wsign-compare]
  178 |     for(int i = 0; i < sigma2.size(); i ++){
      |                    ~~^~~~~~~~~~~~~~~
vcpen.cpp:187:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘arma::uword’ {aka ‘unsigned int’} [-Wsign-compare]
  187 |       for(int i = 0; i < sigma2.size(); i++){
      |                      ~~^~~~~~~~~~~~~~~
vcpen.cpp:303:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘arma::uword’ {aka ‘unsigned int’} [-Wsign-compare]
  303 |         for(int i = 0; i < sigma2.size(); i++){
      |                        ~~^~~~~~~~~~~~~~~
vcpen.cpp:154:10: warning: unused variable ‘quad’ [-Wunused-variable]
  154 |   double quad = 0.0;
      |          ^~~~
vcpen.cpp: In function ‘arma::vec sqrt_vec(arma::vec)’:
vcpen.cpp:370:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘arma::uword’ {aka ‘unsigned int’} [-Wsign-compare]
  370 |   for(int i =0; i < x2.size(); i++){
      |                 ~~^~~~~~~~~~~
vcpen.cpp: In function ‘double min_root(double, double, double, int, const Rcpp::List&, arma::vec, arma::mat, double, double, arma::vec)’:
vcpen.cpp:412:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘arma::uword’ {aka ‘unsigned int’} [-Wsign-compare]
  412 |   for(int i = 0; i < roots.size();i++){
      |                  ~~^~~~~~~~~~~~~~
vcpen.cpp: In function ‘arma::vec real_polyroots2(arma::vec)’:
vcpen.cpp:481:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘arma::uword’ {aka ‘unsigned int’} [-Wsign-compare]
  481 |     for(int i = 0; i < roots.size(); i++){
      |                    ~~^~~~~~~~~~~~~~
vcpen.cpp: In function ‘double SolveP5_1(double, double, double, double, double)’:
vcpen.cpp:851:21: warning: ‘dx’ may be used uninitialized [-Wmaybe-uninitialized]
  851 |         } while(fabs(dx)> ceps);
      |                 ~~~~^~~~
vcpen.cpp:816:16: note: ‘dx’ was declared here
  816 |         double dx;
      |                ^~
vcpen.cpp: In function ‘Rcpp::List vcpen_Rcpp(arma::vec&, arma::mat&, const Rcpp::List&, arma::vec, arma::vec, double, arma::vec, int, bool)’:
vcpen.cpp:320:50: warning: ‘logllasso_final’ may be used uninitialized [-Wmaybe-uninitialized]
  320 |     logllasso_grid(index_grid) = logllasso_final * double(n_subj);
      |                                  ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
vcpen.cpp:104:10: note: ‘logllasso_final’ was declared here
  104 |   double logllasso_final;
      |          ^~~~~~~~~~~~~~~
vcpen.cpp:319:40: warning: ‘logl_final’ may be used uninitialized [-Wmaybe-uninitialized]
  319 |     logl_grid(index_grid) = logl_final * double(n_subj);
      |                             ~~~~~~~~~~~^~~~~~~~~~~~~~~~
vcpen.cpp:105:10: note: ‘logl_final’ was declared here
  105 |   double logl_final;
      |          ^~~~~~~~~~
vcpen.cpp:318:27: warning: ‘iter_final’ may be used uninitialized [-Wmaybe-uninitialized]
  318 |     iter_grid(index_grid) = iter_final;
      |     ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
vcpen.cpp:106:7: note: ‘iter_final’ was declared here
  106 |   int iter_final;
      |       ^~~~~~~~~~
g++-14 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -Wl,-O1 -o vcpen.so RcppExports.o minque_Rcpp.o vcpen.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/Rtmp4umKpH/R.INSTALLd61a81ee28194/vcpen/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmp4umKpH/R.INSTALLd61a81ee28194/vcpen/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/Rtmp4umKpH/R.INSTALLd61a81ee28194/vcpen/src'
installing to /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/00LOCK-vcpen/00new/vcpen/libs
** R
** data
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
  converting help for package ‘vcpen’
    finding HTML links ... done
    kernel_linear                           html  
    minque                                  html  
    vcexample                               html  
    vcpen                                   html  
** building package indices
** installing vignettes
** 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 (vcpen)