* installing *source* package 'vcpen' ...
** package 'vcpen' successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: 'g++.exe (GCC) 12.3.0'
make[1]: Entering directory '/d/temp/2024_11_18_01_50_01_1577/RtmpsNH5k6/R.INSTALL29a602e595d03/vcpen/src'
g++ -std=gnu++17  -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 -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c RcppExports.cpp -o RcppExports.o
g++ -std=gnu++17  -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 -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -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++ -std=gnu++17  -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 -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -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++){
      |                    ~~^~~~~~~~~~~~~~
In file included from d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\c++\cmath:45,
                 from D:/RCompile/CRANpkg/lib/4.3/Rcpp/include/Rcpp/platform/compiler.h:100,
                 from D:/RCompile/CRANpkg/lib/4.3/Rcpp/include/Rcpp/r/headers.h:66,
                 from D:/RCompile/CRANpkg/lib/4.3/Rcpp/include/RcppCommon.h:30,
                 from D:/RCompile/CRANpkg/lib/4.3/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25,
                 from D:/RCompile/CRANpkg/lib/4.3/RcppArmadillo/include/RcppArmadillo.h:29,
                 from vcpen.cpp:1:
In function 'double fabs(double)',
    inlined from 'double SolveP5_1(double, double, double, double, double)' at vcpen.cpp:851:14:
d:\rtools43\x86_64-w64-mingw32.static.posix\include\math.h:228:29: warning: 'dx' may be used uninitialized [-Wmaybe-uninitialized]
  228 |     return __builtin_fabs (x);
      |                             ^
vcpen.cpp: In function 'double SolveP5_1(double, double, double, double, double)':
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: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;
      |       ^~~~~~~~~~
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: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;
      |          ^~~~~~~~~~~~~~~
g++ -std=gnu++17 -shared -s -static-libgcc -o vcpen.dll tmp.def RcppExports.o minque_Rcpp.o vcpen.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_11_18_01_50_01_1577/RtmpsNH5k6/R.INSTALL29a602e595d03/vcpen/src'
make[1]: Entering directory '/d/temp/2024_11_18_01_50_01_1577/RtmpsNH5k6/R.INSTALL29a602e595d03/vcpen/src'
make[1]: Leaving directory '/d/temp/2024_11_18_01_50_01_1577/RtmpsNH5k6/R.INSTALL29a602e595d03/vcpen/src'
installing to d:/Rcompile/CRANpkg/lib/4.3/00LOCK-vcpen/00new/vcpen/libs/x64
** 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
** 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 'vcpen' as vcpen_1.9.zip
* DONE (vcpen)