* installing *source* package ‘vcpen’ ...
** package ‘vcpen’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++-14 (GCC) 14.2.0’
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/vcpen/src'
g++-14 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -DC99_INLINE_SEMANTICS=0   -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection  -DR_NO_REMAP -c RcppExports.cpp -o RcppExports.o
g++-14 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -DC99_INLINE_SEMANTICS=0   -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection  -DR_NO_REMAP -c minque_Rcpp.cpp -o minque_Rcpp.o
g++-14 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -DC99_INLINE_SEMANTICS=0   -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection  -DR_NO_REMAP -c vcpen.cpp -o vcpen.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;
      |       ^~~~~~
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/usr/local/gcc14/lib64 -L/usr/local/lib64 -o vcpen.so RcppExports.o minque_Rcpp.o vcpen.o -llapack -L/data/gannet/ripley/R/R-devel/lib -lRblas -lgfortran -lm -lquadmath
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/vcpen/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/vcpen/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/vcpen/src'
installing to /data/gannet/ripley/R/packages/tests-devel/vcpen.Rcheck/00LOCK-vcpen/00new/vcpen/libs
** R
** data
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** 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)