* installing *source* package 'VARSELECTEXPOSURE' ...
** package 'VARSELECTEXPOSURE' successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: 'g++.exe (GCC) 13.3.0'
make[1]: Entering directory '/d/temp/2024_12_18_01_50_01_11818/Rtmp0G1X2d/R.INSTALL24a001e5b563b/VARSELECTEXPOSURE/src'
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"   -fopenmp   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c RcppExports.cpp -o RcppExports.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"   -fopenmp   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c VARSELECTEXPOSURE.cpp -o VARSELECTEXPOSURE.o
VARSELECTEXPOSURE.cpp: In function 'int Sample2(arma::vec)':
VARSELECTEXPOSURE.cpp:61:12: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
   61 |   for(m=1;m<groupprob.n_rows;m++){
      |           ~^~~~~~~~~~~~~~~~~
VARSELECTEXPOSURE.cpp:74:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
   74 |     for(m=0;m<(groupprob.n_rows-2);m++){
      |             ~^~~~~~~~~~~~~~~~~~~~~
VARSELECTEXPOSURE.cpp: In function 'int Sample1(int)':
VARSELECTEXPOSURE.cpp:97:7: warning: unused variable 'm' [-Wunused-variable]
   97 |   int m=0;
      |       ^
VARSELECTEXPOSURE.cpp: In function 'double GET_EFFECT2(double, double, arma::vec, arma::mat)':
VARSELECTEXPOSURE.cpp:126:10: warning: unused variable 'i' [-Wunused-variable]
  126 |   double i = 0;
      |          ^
VARSELECTEXPOSURE.cpp: In function 'Rcpp::List MCMC_LOGIT_KEEP(arma::vec, arma::mat, double, double, double, double)':
VARSELECTEXPOSURE.cpp:258:26: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
  258 |         for(int j = 0; j < BETA.n_elem; j++){
      |                        ~~^~~~~~~~~~~~~
VARSELECTEXPOSURE.cpp:303:22: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
  303 |     for(int j = 0; j < BETA.n_elem; j++){
      |                    ~~^~~~~~~~~~~~~
VARSELECTEXPOSURE.cpp:339:26: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
  339 |         for(int t = 0; t < X.n_rows; t++){
      |                        ~~^~~~~~~~~~
VARSELECTEXPOSURE.cpp:210:10: warning: unused variable 'sig' [-Wunused-variable]
  210 |   double sig = 1;
      |          ^~~
VARSELECTEXPOSURE.cpp:239:7: warning: unused variable 'b' [-Wunused-variable]
  239 |   int b = 0;
      |       ^
VARSELECTEXPOSURE.cpp:240:7: warning: unused variable 'j' [-Wunused-variable]
  240 |   int j = 0;
      |       ^
VARSELECTEXPOSURE.cpp:241:7: warning: unused variable 't' [-Wunused-variable]
  241 |   int t = 0;
      |       ^
g++ -std=gnu++17 -shared -s -static-libgcc -o VARSELECTEXPOSURE.dll tmp.def RcppExports.o VARSELECTEXPOSURE.o -LD:/RCompile/recent/R/bin/x64 -lRlapack -LD:/RCompile/recent/R/bin/x64 -lRblas -lgfortran -lm -lquadmath -fopenmp -Ld:/rtools44/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools44/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R/bin/x64 -lR
make[1]: Leaving directory '/d/temp/2024_12_18_01_50_01_11818/Rtmp0G1X2d/R.INSTALL24a001e5b563b/VARSELECTEXPOSURE/src'
make[1]: Entering directory '/d/temp/2024_12_18_01_50_01_11818/Rtmp0G1X2d/R.INSTALL24a001e5b563b/VARSELECTEXPOSURE/src'
make[1]: Leaving directory '/d/temp/2024_12_18_01_50_01_11818/Rtmp0G1X2d/R.INSTALL24a001e5b563b/VARSELECTEXPOSURE/src'
installing to d:/Rcompile/CRANpkg/lib/4.5/00LOCK-VARSELECTEXPOSURE/00new/VARSELECTEXPOSURE/libs/x64
** 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
** 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 'VARSELECTEXPOSURE' as VARSELECTEXPOSURE_1.0.3.zip
* DONE (VARSELECTEXPOSURE)