* installing *source* package 'VARSELECTEXPOSURE' ...
** this is package 'VARSELECTEXPOSURE' version '1.0.3'
** package 'VARSELECTEXPOSURE' successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: 'g++.exe (GCC) 14.2.0'
make[1]: Entering directory '/d/temp/2025_10_26_01_50_00_14777/Rtmp86G45X/R.INSTALL87b8787e598/VARSELECTEXPOSURE/src'
g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.5.1/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c RcppExports.cpp -o RcppExports.o
In file included from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/current/armadillo:26,
from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57,
from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/RcppArmadillo.h:32,
from RcppExports.cpp:4:
D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported'
373 | #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported")
| ^
g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.5.1/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c VARSELECTEXPOSURE.cpp -o VARSELECTEXPOSURE.o
In file included from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/current/armadillo:26,
from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57,
from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/RcppArmadillo.h:32,
from VARSELECTEXPOSURE.cpp:1:
D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72: note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported'
373 | #pragma message ("NOTE: option ARMA_CRIPPLED_LAPACK is not supported")
| ^
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-4.5.1/bin/x64 -lRlapack -LD:/RCompile/recent/R-4.5.1/bin/x64 -lRblas -lgfortran -lquadmath -fopenmp -Ld:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools45/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R-4.5.1/bin/x64 -lR
make[1]: Leaving directory '/d/temp/2025_10_26_01_50_00_14777/Rtmp86G45X/R.INSTALL87b8787e598/VARSELECTEXPOSURE/src'
make[1]: Entering directory '/d/temp/2025_10_26_01_50_00_14777/Rtmp86G45X/R.INSTALL87b8787e598/VARSELECTEXPOSURE/src'
make[1]: Leaving directory '/d/temp/2025_10_26_01_50_00_14777/Rtmp86G45X/R.INSTALL87b8787e598/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)