* installing *source* package 'regmed' ...
** package 'regmed' successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: 'g++.exe (GCC) 12.3.0'
using C++11
make[1]: Entering directory '/d/temp/RtmpakSmMS/R.INSTALL47dc31ac1b93/regmed/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"  -fopenmp    -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c RcppExports.cpp -o RcppExports.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"  -fopenmp    -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c mvregmed.cpp -o mvregmed.o
mvregmed.cpp: In function 'arma::mat col_outerprod_row(arma::mat&, arma::mat&, int, int)':
mvregmed.cpp:127:9: warning: unused variable 'ncolA' [-Wunused-variable]
  127 |     int ncolA = A.n_cols;
      |         ^~~~~
mvregmed.cpp:129:9: warning: unused variable 'nrowB' [-Wunused-variable]
  129 |     int nrowB = B.n_rows;
      |         ^~~~~
mvregmed.cpp: In function 'int count_df(arma::mat&)':
mvregmed.cpp:464:23: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
  464 |     for (int i = 0; i < A.n_rows; i++) {
      |                     ~~^~~~~~~~~~
mvregmed.cpp:465:27: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
  465 |         for (int j = 0; j < A.n_cols; j++) {
      |                         ~~^~~~~~~~~~
mvregmed.cpp: In function 'int count_df_Vary(arma::mat&)':
mvregmed.cpp:477:23: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
  477 |     for (int i = 0; i < V.n_rows; i++) {
      |                     ~~^~~~~~~~~~
mvregmed.cpp:478:27: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
  478 |         for (int j = i; j < V.n_cols; j++) {
      |                         ~~^~~~~~~~~~
mvregmed.cpp: In function 'void print_vec(arma::vec)':
mvregmed.cpp:617:20: warning: comparison of integer expressions of different signedness: 'int' and 'arma::uword' {aka 'unsigned int'} [-Wsign-compare]
  617 |   for(int i = 0; i < x.size(); i++){
      |                  ~~^~~~~~~~~~
mvregmed.cpp: In function 'Rcpp::List rcpp_mvregmed(arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, arma::mat, double, double, int, int, double, double, double, bool)':
mvregmed.cpp:773:35: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
  773 |     for (int i_alpha = 0; i_alpha < alpha.n_rows; i_alpha++) {
      |                           ~~~~~~~~^~~~~~~~~~~~~~
mvregmed.cpp:774:37: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
  774 |       for (int j_alpha = 0; j_alpha < alpha.n_cols; j_alpha++) {
      |                             ~~~~~~~~^~~~~~~~~~~~~~
mvregmed.cpp:880:33: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
  880 |     for (int i_beta = 0; i_beta < beta.n_rows; i_beta++) {
      |                          ~~~~~~~^~~~~~~~~~~~~
mvregmed.cpp:881:35: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
  881 |       for (int j_beta = 0; j_beta < beta.n_cols; j_beta++) {
      |                            ~~~~~~~^~~~~~~~~~~~~
mvregmed.cpp:981:35: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
  981 |     for (int i_delta = 0; i_delta < delta.n_rows; i_delta++) {
      |                           ~~~~~~~~^~~~~~~~~~~~~~
mvregmed.cpp:982:37: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
  982 |       for (int j_delta = 0; j_delta < delta.n_cols; j_delta++) {
      |                             ~~~~~~~~^~~~~~~~~~~~~~
mvregmed.cpp:1080:33: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
 1080 |     for (int i_vary = 0; i_vary < vary.n_rows; i_vary++) {
      |                          ~~~~~~~^~~~~~~~~~~~~
mvregmed.cpp:1081:40: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
 1081 |       for (int j_vary = i_vary; j_vary < vary.n_cols; j_vary++) {
      |                                 ~~~~~~~^~~~~~~~~~~~~
mvregmed.cpp:696:10: warning: unused variable 'pen_loss_end' [-Wunused-variable]
  696 |   double pen_loss_end = 0.0;
      |          ^~~~~~~~~~~~
mvregmed.cpp:723:7: warning: unused variable 'nt' [-Wunused-variable]
  723 |   int nt = vary.n_rows;
      |       ^~
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"  -fopenmp    -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c regmed.cpp -o regmed.o
regmed.cpp: In function 'arma::mat compute_B(arma::vec&, arma::vec&, double)':
regmed.cpp:234:20: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
  234 |   for(int i = 0; i < B.n_rows; i++){
      |                  ~~^~~~~~~~~~
regmed.cpp:244:20: warning: comparison of integer expressions of different signedness: 'int' and 'arma::uword' {aka 'unsigned int'} [-Wsign-compare]
  244 |   for(int i = 0; i < alpha.size(); i++){
      |                  ~~^~~~~~~~~~~~~~
regmed.cpp: In function 'arma::mat inverse_ImpCov(arma::vec&, arma::vec&, double, arma::mat&)':
regmed.cpp:269:20: warning: comparison of integer expressions of different signedness: 'int' and 'arma::uword' {aka 'unsigned int'} [-Wsign-compare]
  269 |   for(int i = 0; i < alpha.size(); i++){
      |                  ~~^~~~~~~~~~~~~~
regmed.cpp: In function 'arma::vec update_theta(arma::vec&, arma::vec&, double, double, double)':
regmed.cpp:325:20: warning: comparison of integer expressions of different signedness: 'int' and 'arma::uword' {aka 'unsigned int'} [-Wsign-compare]
  325 |   for(int i = 0; i < diff.size(); i++){
      |                  ~~^~~~~~~~~~~~~
regmed.cpp:334:22: warning: comparison of integer expressions of different signedness: 'int' and 'arma::uword' {aka 'unsigned int'} [-Wsign-compare]
  334 |     for(int i = 0; i <  diff.size(); i++){
      |                    ~~^~~~~~~~~~~~~~
regmed.cpp:338:22: warning: comparison of integer expressions of different signedness: 'int' and 'arma::uword' {aka 'unsigned int'} [-Wsign-compare]
  338 |     for(int i = 0; i <  diff.size(); i++){
      |                    ~~^~~~~~~~~~~~~~
regmed.cpp: In function 'double penalty(arma::vec&, arma::vec&, double, double, double, double)':
regmed.cpp:369:20: warning: comparison of integer expressions of different signedness: 'int' and 'arma::uword' {aka 'unsigned int'} [-Wsign-compare]
  369 |   for(int i = 0; i < alpha.size(); i++){
      |                  ~~^~~~~~~~~~~~~~
regmed.cpp: In function 'Rcpp::List rcpp_regmed(arma::vec, arma::vec, double, double, double, arma::mat, arma::mat, double, double, double, double, int, int, double, double, double, bool)':
regmed.cpp:759:20: warning: comparison of integer expressions of different signedness: 'int' and 'arma::uword' {aka 'unsigned int'} [-Wsign-compare]
  759 |   for(int i = 0; i < alpha.size(); i++){
      |                  ~~^~~~~~~~~~~~~~
regmed.cpp:501:10: warning: unused variable 'varx_old' [-Wunused-variable]
  501 |   double varx_old = 0.0;
      |          ^~~~~~~~
regmed.cpp:502:10: warning: unused variable 'varx_new' [-Wunused-variable]
  502 |   double varx_new = 0.0;
      |          ^~~~~~~~
regmed.cpp:503:10: warning: unused variable 'varx_diff' [-Wunused-variable]
  503 |   double varx_diff = 0.0;
      |          ^~~~~~~~~
regmed.cpp:507:10: warning: unused variable 'vary_diff' [-Wunused-variable]
  507 |   double vary_diff = 0.0;
      |          ^~~~~~~~~
regmed.cpp:514:10: warning: unused variable 'pen_loss_end' [-Wunused-variable]
  514 |   double pen_loss_end = 0.0;
      |          ^~~~~~~~~~~~
regmed.cpp:526:10: warning: unused variable 'grad_varx' [-Wunused-variable]
  526 |   double grad_varx = 0.0;
      |          ^~~~~~~~~
g++ -shared -s -static-libgcc -o regmed.dll tmp.def RcppExports.o mvregmed.o regmed.o -fopenmp -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/RtmpakSmMS/R.INSTALL47dc31ac1b93/regmed/src'
make[1]: Entering directory '/d/temp/RtmpakSmMS/R.INSTALL47dc31ac1b93/regmed/src'
make[1]: Leaving directory '/d/temp/RtmpakSmMS/R.INSTALL47dc31ac1b93/regmed/src'
installing to d:/Rcompile/CRANpkg/lib/4.3/00LOCK-regmed/00new/regmed/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 'regmed' as regmed_2.1.0.zip
* DONE (regmed)