* installing to library ‘/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages’
* installing *source* package ‘VARSELECTEXPOSURE’ ...
** package ‘VARSELECTEXPOSURE’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++-13 (Debian 13.2.0-13) 13.2.0’
make[1]: Entering directory '/tmp/Rtmpp7TdAC/R.INSTALL2b96a2642c355a/VARSELECTEXPOSURE/src'
g++-13 -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  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native   -c RcppExports.cpp -o RcppExports.o
g++-13 -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  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native   -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++-13 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -Wl,-O1 -o VARSELECTEXPOSURE.so RcppExports.o VARSELECTEXPOSURE.o -llapack -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -lRblas -lgfortran -lm -lquadmath -fopenmp -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -lR
make[1]: Leaving directory '/tmp/Rtmpp7TdAC/R.INSTALL2b96a2642c355a/VARSELECTEXPOSURE/src'
make[1]: Entering directory '/tmp/Rtmpp7TdAC/R.INSTALL2b96a2642c355a/VARSELECTEXPOSURE/src'
make[1]: Leaving directory '/tmp/Rtmpp7TdAC/R.INSTALL2b96a2642c355a/VARSELECTEXPOSURE/src'
installing to /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/00LOCK-VARSELECTEXPOSURE/00new/VARSELECTEXPOSURE/libs
** R
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
  converting help for package ‘VARSELECTEXPOSURE’
    finding HTML links ... done
    BACKWARD_EXPOSURE                       html  
    FORWARD_EXPOSURE                        html  
    LIKE                                    html  
    MCMC_LOGIT_KEEP                         html  
    STEPWISE_EXPOSURE                       html  
** building package indices
** 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 (VARSELECTEXPOSURE)