* installing *source* package ‘VARSELECTEXPOSURE’ ...
** package ‘VARSELECTEXPOSURE’ 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/VARSELECTEXPOSURE/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  -fopenmp -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  -fopenmp -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 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++-14 -std=gnu++17 -shared -L/usr/local/gcc14/lib64 -L/usr/local/lib64 -o VARSELECTEXPOSURE.so RcppExports.o VARSELECTEXPOSURE.o -llapack -L/data/gannet/ripley/R/R-devel/lib -lRblas -lgfortran -lm -lquadmath -fopenmp
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/VARSELECTEXPOSURE/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/VARSELECTEXPOSURE/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/VARSELECTEXPOSURE/src'
installing to /data/gannet/ripley/R/packages/tests-devel/VARSELECTEXPOSURE.Rcheck/00LOCK-VARSELECTEXPOSURE/00new/VARSELECTEXPOSURE/libs
** 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
** 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)