* installing *source* package 'hmcdm' ...
** package 'hmcdm' 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_21_01_50_00_6285/Rtmpyi8WAP/R.INSTALL30d7841aa6f7d/hmcdm/src'
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.4/progress/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"  -fopenmp    -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c RcppExports.cpp -o RcppExports.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.4/progress/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"  -fopenmp    -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c basic_functions.cpp -o basic_functions.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.4/progress/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"  -fopenmp    -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c extract_functions.cpp -o extract_functions.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.4/progress/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"  -fopenmp    -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c mcmc_functions.cpp -o mcmc_functions.o
mcmc_functions.cpp: In function 'Rcpp::List parm_update_HO_RT_joint_g(const arma::cube&, arma::cube&, arma::vec&, arma::vec&, arma::vec&, arma::cube, arma::mat&, arma::vec&, arma::vec&, arma::mat&, arma::cube, arma::mat&, arma::mat, Rcpp::List, int, double, arma::mat, double, arma::vec, double, double)':
mcmc_functions.cpp:1178:36: warning: 't_star' may be used uninitialized [-Wmaybe-uninitialized]
 1178 |       Gs.row(i) = G2vec_efficient_g(ETA,J_incidence,alphas.subcube(i,0,0,i,(K-1),(T-1)),
      |                   ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1179 |              t_star,Q_matrix,Design_array,i).t();
      |              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mcmc_functions.cpp:1145:61: note: 't_star' was declared here
 1145 |   double a_alpha, scl_alpha, mu_gamma, sd_gamma, alpha_sqr, t_star;
      |                                                             ^~~~~~
mcmc_functions.cpp: In function 'Rcpp::List parm_update_HO_RT_sep_g(arma::cube, arma::cube&, arma::vec&, arma::vec&, arma::vec&, arma::cube, arma::mat&, arma::vec&, arma::vec&, arma::vec&, arma::cube, arma::mat&, arma::mat, Rcpp::List, int, double, double, double, arma::vec, double, double)':
mcmc_functions.cpp:637:36: warning: 't_star' may be used uninitialized [-Wmaybe-uninitialized]
  637 |       Gs.row(i) = G2vec_efficient_g(ETA,J_incidence,alphas.subcube(i,0,0,i,(K-1),(T-1)),
      |                   ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  638 |                t_star,Q_matrix,Design_array,i).t();
      |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mcmc_functions.cpp:606:61: note: 't_star' was declared here
  606 |   double a_alpha, scl_alpha, mu_gamma, sd_gamma, alpha_sqr, t_star;
      |                                                             ^~~~~~
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.4/progress/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"  -fopenmp    -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c resp_functions.cpp -o resp_functions.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.4/progress/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"  -fopenmp    -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c rt_functions.cpp -o rt_functions.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.4/progress/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"  -fopenmp    -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c trans_functions.cpp -o trans_functions.o
trans_functions.cpp: In function 'arma::cube sim_alphas(std::string, Rcpp::Nullable<arma::Col<double>&>, Rcpp::Nullable<arma::Col<double>&>, Rcpp::Nullable<arma::Mat<double>&>, Rcpp::Nullable<arma::Cube<double>&>, Rcpp::Nullable<arma::Col<double> >, Rcpp::Nullable<arma::Mat<double>&>, int, int, Rcpp::Nullable<arma::Mat<double>&>, Rcpp::Nullable<arma::Mat<double> >)':
trans_functions.cpp:532:28: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
  532 |     for(unsigned int i=0; i<N; i++){
      |                           ~^~
In file included from D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include/armadillo:669,
                 from D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:58,
                 from D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include/RcppArmadillo.h:29,
                 from trans_functions.cpp:1:
In constructor 'arma::Mat<eT>::Mat(arma::uword, arma::uword) [with eT = double]',
    inlined from 'arma::cube sim_alphas(std::string, Rcpp::Nullable<arma::Col<double>&>, Rcpp::Nullable<arma::Col<double>&>, Rcpp::Nullable<arma::Mat<double>&>, Rcpp::Nullable<arma::Cube<double>&>, Rcpp::Nullable<arma::Col<double> >, Rcpp::Nullable<arma::Mat<double>&>, int, int, Rcpp::Nullable<arma::Mat<double>&>, Rcpp::Nullable<arma::Mat<double> >)' at trans_functions.cpp:529:24:
D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include/armadillo_bits/Mat_meat.hpp:65:21: warning: 'K' may be used uninitialized [-Wmaybe-uninitialized]
   65 |   , n_elem(in_n_rows*in_n_cols)
      |            ~~~~~~~~~^~~~~~~~~~
trans_functions.cpp: In function 'arma::cube sim_alphas(std::string, Rcpp::Nullable<arma::Col<double>&>, Rcpp::Nullable<arma::Col<double>&>, Rcpp::Nullable<arma::Mat<double>&>, Rcpp::Nullable<arma::Cube<double>&>, Rcpp::Nullable<arma::Col<double> >, Rcpp::Nullable<arma::Mat<double>&>, int, int, Rcpp::Nullable<arma::Mat<double>&>, Rcpp::Nullable<arma::Mat<double> >)':
trans_functions.cpp:507:16: note: 'K' was declared here
  507 |   unsigned int K;
      |                ^
g++ -std=gnu++17 -shared -s -static-libgcc -o hmcdm.dll tmp.def RcppExports.o basic_functions.o extract_functions.o mcmc_functions.o resp_functions.o rt_functions.o trans_functions.o -fopenmp -LD:/RCompile/recent/R-4.4.2/bin/x64 -lRlapack -LD:/RCompile/recent/R-4.4.2/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-4.4.2/bin/x64 -lR
make[1]: Leaving directory '/d/temp/2024_12_21_01_50_00_6285/Rtmpyi8WAP/R.INSTALL30d7841aa6f7d/hmcdm/src'
make[1]: Entering directory '/d/temp/2024_12_21_01_50_00_6285/Rtmpyi8WAP/R.INSTALL30d7841aa6f7d/hmcdm/src'
make[1]: Leaving directory '/d/temp/2024_12_21_01_50_00_6285/Rtmpyi8WAP/R.INSTALL30d7841aa6f7d/hmcdm/src'
installing to d:/Rcompile/CRANpkg/lib/4.4/00LOCK-hmcdm/00new/hmcdm/libs/x64
** R
** data
*** moving datasets to lazyload DB
** 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 'hmcdm' as hmcdm_2.1.1.zip
* DONE (hmcdm)