* installing *source* package 'meshed' ...
** package 'meshed' successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: 'g++.exe (GCC) 13.3.0'
using C++11
make[1]: Entering directory '/d/temp/2024_11_23_01_50_00_3284/RtmpKcAArv/R.INSTALL242a87f2221f2/meshed/src'
g++  -std=gnu++11 -I"D:/RCompile/recent/R/include" -DNDEBUG -DARMA_64BIT_WORD=1 -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    -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c RcppExports.cpp -o RcppExports.o
g++  -std=gnu++11 -I"D:/RCompile/recent/R/include" -DNDEBUG -DARMA_64BIT_WORD=1 -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    -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c covariance_lmc.cpp -o covariance_lmc.o
g++  -std=gnu++11 -I"D:/RCompile/recent/R/include" -DNDEBUG -DARMA_64BIT_WORD=1 -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    -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c matern.cpp -o matern.o
g++  -std=gnu++11 -I"D:/RCompile/recent/R/include" -DNDEBUG -DARMA_64BIT_WORD=1 -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    -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c mcmc_hmc_nodes.cpp -o mcmc_hmc_nodes.o
mcmc_hmc_nodes.cpp: In member function 'arma::vec NodeDataW::compute_dens_and_grad(double&, const arma::mat&)':
mcmc_hmc_nodes.cpp:230:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  230 |   for(int i=0; i<nr; i++){
      |                ~^~~
mcmc_hmc_nodes.cpp: In member function 'arma::mat NodeDataW::compute_dens_grad_neghess(double&, arma::vec&, const arma::mat&)':
mcmc_hmc_nodes.cpp:473:36: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
  473 |           for(unsigned int jx=0; jx<k; jx++){
      |                                  ~~^~
g++  -std=gnu++11 -I"D:/RCompile/recent/R/include" -DNDEBUG -DARMA_64BIT_WORD=1 -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    -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c mesh_dep.cpp -o mesh_dep.o
g++  -std=gnu++11 -I"D:/RCompile/recent/R/include" -DNDEBUG -DARMA_64BIT_WORD=1 -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    -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c meshed.cpp -o meshed.o
g++  -std=gnu++11 -I"D:/RCompile/recent/R/include" -DNDEBUG -DARMA_64BIT_WORD=1 -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    -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c meshed_beta_sampler.cpp -o meshed_beta_sampler.o
g++  -std=gnu++11 -I"D:/RCompile/recent/R/include" -DNDEBUG -DARMA_64BIT_WORD=1 -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    -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c meshed_betalambdatau_sampler.cpp -o meshed_betalambdatau_sampler.o
g++  -std=gnu++11 -I"D:/RCompile/recent/R/include" -DNDEBUG -DARMA_64BIT_WORD=1 -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    -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c meshed_casc.cpp -o meshed_casc.o
meshed_casc.cpp: In function 'Rcpp::List meshed_casc(const arma::mat&, const arma::uvec&, int, const arma::mat&, const arma::mat&, const arma::field<arma::Col<long long unsigned int> >&, const arma::field<arma::Col<long long unsigned int> >&, const arma::vec&, const arma::vec&, const arma::field<arma::Col<long long unsigned int> >&, const arma::field<arma::Col<long long unsigned int> >&, const arma::mat&, int, const arma::mat&, const arma::mat&, const arma::umat&, const arma::field<arma::Mat<double> >&, const arma::mat&, const arma::mat&, int, int, bool, bool, bool, bool, bool, int, bool, bool)':
meshed_casc.cpp:72:7: warning: unused variable 'd' [-Wunused-variable]
   72 |   int d = coords.n_cols;
      |       ^
meshed_casc.cpp:92:8: warning: variable 'acceptable' set but not used [-Wunused-but-set-variable]
   92 |   bool acceptable=true;
      |        ^~~~~~~~~~
g++  -std=gnu++11 -I"D:/RCompile/recent/R/include" -DNDEBUG -DARMA_64BIT_WORD=1 -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    -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c meshed_lambda_sampler.cpp -o meshed_lambda_sampler.o
g++  -std=gnu++11 -I"D:/RCompile/recent/R/include" -DNDEBUG -DARMA_64BIT_WORD=1 -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    -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c meshed_mcmc.cpp -o meshed_mcmc.o
meshed_mcmc.cpp: In function 'Rcpp::List meshed_mcmc(const arma::mat&, const arma::uvec&, const arma::mat&, const arma::mat&, int, const arma::field<arma::Col<long long unsigned int> >&, const arma::field<arma::Col<long long unsigned int> >&, const arma::vec&, const arma::vec&, const arma::field<arma::Col<long long unsigned int> >&, const arma::field<arma::Col<long long unsigned int> >&, const arma::mat&, const arma::mat&, const arma::vec&, const arma::vec&, int, const arma::mat&, const arma::mat&, const arma::umat&, const arma::mat&, const arma::mat&, const arma::vec&, const arma::mat&, int, int, int, int, int, int, bool, bool, bool, bool, bool, bool, int, bool, bool, bool, bool, bool, bool)':
meshed_mcmc.cpp:172:8: warning: variable 'acceptable' set but not used [-Wunused-but-set-variable]
  172 |   bool acceptable = false;
      |        ^~~~~~~~~~
g++  -std=gnu++11 -I"D:/RCompile/recent/R/include" -DNDEBUG -DARMA_64BIT_WORD=1 -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    -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c meshed_predict.cpp -o meshed_predict.o
g++  -std=gnu++11 -I"D:/RCompile/recent/R/include" -DNDEBUG -DARMA_64BIT_WORD=1 -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    -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c meshed_prior_sample.cpp -o meshed_prior_sample.o
g++  -std=gnu++11 -I"D:/RCompile/recent/R/include" -DNDEBUG -DARMA_64BIT_WORD=1 -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    -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c meshed_tausq_sampler.cpp -o meshed_tausq_sampler.o
meshed_tausq_sampler.cpp:69:77: warning: "/*" within comment [-Wcomment]
   69 |       arma::accu(alter_data.loglik_w_comps) + arma::accu(alter_data.ll_y); //***
      |                                                                              
meshed_tausq_sampler.cpp:71:77: warning: "/*" within comment [-Wcomment]
   71 |       arma::accu(param_data.loglik_w_comps) + arma::accu(param_data.ll_y); //***
      |                                                                              
g++  -std=gnu++11 -I"D:/RCompile/recent/R/include" -DNDEBUG -DARMA_64BIT_WORD=1 -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    -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c meshed_theta_sampler.cpp -o meshed_theta_sampler.o
meshed_theta_sampler.cpp: In member function 'void Meshed::metrop_theta()':
meshed_theta_sampler.cpp:56:21: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
   56 |       for(int i=0; i<param_data.theta.n_rows-2; i++){
      |                    ~^~~~~~~~~~~~~~~~~~~~~~~~~~
g++  -std=gnu++11 -I"D:/RCompile/recent/R/include" -DNDEBUG -DARMA_64BIT_WORD=1 -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    -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c meshed_w_prior_sampler.cpp -o meshed_w_prior_sampler.o
g++  -std=gnu++11 -I"D:/RCompile/recent/R/include" -DNDEBUG -DARMA_64BIT_WORD=1 -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    -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c meshed_w_sampler.cpp -o meshed_w_sampler.o
meshed_w_sampler.cpp: In member function 'void Meshed::nongaussian_w(MeshDataLMC&, bool)':
meshed_w_sampler.cpp:310:14: warning: unused variable 'do_gibbs' [-Wunused-variable]
  310 |         bool do_gibbs = arma::all(familyid == 0);
      |              ^~~~~~~~
g++  -std=gnu++11 -I"D:/RCompile/recent/R/include" -DNDEBUG -DARMA_64BIT_WORD=1 -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    -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c postprocess.cpp -o postprocess.o
g++  -std=gnu++11 -I"D:/RCompile/recent/R/include" -DNDEBUG -DARMA_64BIT_WORD=1 -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    -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c utils_caching.cpp -o utils_caching.o
g++  -std=gnu++11 -I"D:/RCompile/recent/R/include" -DNDEBUG -DARMA_64BIT_WORD=1 -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    -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c utils_check_groups.cpp -o utils_check_groups.o
g++  -std=gnu++11 -I"D:/RCompile/recent/R/include" -DNDEBUG -DARMA_64BIT_WORD=1 -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    -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c utils_find_nan.cpp -o utils_find_nan.o
g++  -std=gnu++11 -I"D:/RCompile/recent/R/include" -DNDEBUG -DARMA_64BIT_WORD=1 -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    -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c utils_irls.cpp -o utils_irls.o
g++ -shared -s -static-libgcc -o meshed.dll tmp.def RcppExports.o covariance_lmc.o matern.o mcmc_hmc_nodes.o mesh_dep.o meshed.o meshed_beta_sampler.o meshed_betalambdatau_sampler.o meshed_casc.o meshed_lambda_sampler.o meshed_mcmc.o meshed_predict.o meshed_prior_sample.o meshed_tausq_sampler.o meshed_theta_sampler.o meshed_w_prior_sampler.o meshed_w_sampler.o postprocess.o utils_caching.o utils_check_groups.o utils_find_nan.o utils_irls.o -fopenmp -LD:/RCompile/recent/R/bin/x64 -lRlapack -LD:/RCompile/recent/R/bin/x64 -lRblas -lgfortran -lm -lquadmath -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_11_23_01_50_00_3284/RtmpKcAArv/R.INSTALL242a87f2221f2/meshed/src'
make[1]: Entering directory '/d/temp/2024_11_23_01_50_00_3284/RtmpKcAArv/R.INSTALL242a87f2221f2/meshed/src'
make[1]: Leaving directory '/d/temp/2024_11_23_01_50_00_3284/RtmpKcAArv/R.INSTALL242a87f2221f2/meshed/src'
installing to d:/Rcompile/CRANpkg/lib/4.5/00LOCK-meshed/00new/meshed/libs/x64
** R
** 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 'meshed' as meshed_0.2.3.zip
* DONE (meshed)