* installing to library ‘/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages’
* installing *source* package ‘hdpGLM’ ...
** package ‘hdpGLM’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++-13 (Debian 13.2.0-23) 13.2.0’
make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmp5sh012/R.INSTALL2849ff1c3d0259/hdpGLM/src'
g++-13 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -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-devel-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c src_dpGLM.cpp -o src_dpGLM.o
src_dpGLM.cpp: In function ‘arma::mat dpGLM_update_countZik(arma::mat, arma::mat)’:
src_dpGLM.cpp:60:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
   60 |   for(int i = 0; i < Z.n_rows; i++){
      |                  ~~^~~~~~~~~~
src_dpGLM.cpp: In function ‘arma::mat dpGLM_get_pik(arma::mat)’:
src_dpGLM.cpp:68:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
   68 |   for(int i = 0; i < countZik.n_rows; i++){
      |                  ~~^~~~~~~~~~~~~~~~~
src_dpGLM.cpp: In function ‘arma::mat dpGLM_get_theta_active(arma::mat, arma::colvec)’:
src_dpGLM.cpp:77:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
   77 |   for(int i = 0; i < Zstar.n_rows; i++){
      |                  ~~^~~~~~~~~~~~~~
src_dpGLM.cpp: In function ‘arma::mat dpGLM_get_inits(int, int, Rcpp::String, Rcpp::List)’:
src_dpGLM.cpp:101:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
  101 |   for(int d = 0; d < beta.n_cols; d++){
      |                  ~~^~~~~~~~~~~~~
src_dpGLM.cpp: In function ‘Rcpp::List dpGLM_mcmc(arma::colvec, arma::mat, arma::colvec, int, Rcpp::List, Rcpp::String, Rcpp::List, double, int, int, int)’:
src_dpGLM.cpp:196:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
  196 |       for(int i = 0; i < theta_new.n_rows; i++){
      |                      ~~^~~~~~~~~~~~~~~~~~
g++-13 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c src_gibbs_gaussian.cpp -o src_gibbs_gaussian.o
src_gibbs_gaussian.cpp: In function ‘arma::mat dpGLM_update_theta_gaussian(arma::colvec, arma::mat, arma::colvec, int, arma::mat, Rcpp::List)’:
src_gibbs_gaussian.cpp:28:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘arma::uword’ {aka ‘unsigned int’} [-Wsign-compare]
   28 |   for(int i = 0; i < Zstar.size(); i++){
      |                  ~~^~~~~~~~~~~~~~
src_gibbs_gaussian.cpp:65:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘arma::uword’ {aka ‘unsigned int’} [-Wsign-compare]
   65 |   for(int i = 0; i < Zstar_complementar.size(); i++){
      |                  ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
src_gibbs_gaussian.cpp: In function ‘arma::mat hdpGLM_update_theta_gaussian(arma::colvec, arma::mat, arma::mat, arma::colvec, arma::colvec, int, arma::mat, arma::mat, Rcpp::List)’:
src_gibbs_gaussian.cpp:113:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘arma::uword’ {aka ‘unsigned int’} [-Wsign-compare]
  113 |     for(int i = 0; i < Zjstar.size(); i++){
      |                    ~~^~~~~~~~~~~~~~~
src_gibbs_gaussian.cpp:158:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘arma::uword’ {aka ‘unsigned int’} [-Wsign-compare]
  158 |     for(int i = 0; i < Zjstar_complementar.size(); i++){
      |                    ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
src_gibbs_gaussian.cpp:93:7: warning: unused variable ‘Dw’ [-Wunused-variable]
   93 |   int Dw = W.n_cols - 1;
      |       ^~
g++-13 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c src_hdpGLM.cpp -o src_hdpGLM.o
g++-13 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c src_hmc.cpp -o src_hmc.o
g++-13 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c src_hmc_binomial.cpp -o src_hmc_binomial.o
src_hmc_binomial.cpp: In function ‘arma::colvec grad_U_bin(arma::colvec, Rcpp::List)’:
src_hmc_binomial.cpp:40:7: warning: unused variable ‘n’ [-Wunused-variable]
   40 |   int n                 = Xk.n_rows;
      |       ^
src_hmc_binomial.cpp: In function ‘arma::colvec q_bin(arma::colvec, Rcpp::List)’:
src_hmc_binomial.cpp:64:7: warning: unused variable ‘ncols’ [-Wunused-variable]
   64 |   int ncols = Sigma_beta.n_cols;
      |       ^~~~~
src_hmc_binomial.cpp: In function ‘arma::mat dpGLM_update_theta_binomial(arma::colvec, arma::mat, arma::colvec, int, arma::mat, Rcpp::List, double, int, int, Rcpp::String)’:
src_hmc_binomial.cpp:87:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘arma::uword’ {aka ‘unsigned int’} [-Wsign-compare]
   87 |   for(int i = 0; i < Zstar.size(); i++){
      |                  ~~^~~~~~~~~~~~~~
src_hmc_binomial.cpp:114:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘arma::uword’ {aka ‘unsigned int’} [-Wsign-compare]
  114 |   for(int i = 0; i < Zstar_complementar.size(); i++){
      |                  ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
g++-13 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c src_hmc_multinomial.cpp -o src_hmc_multinomial.o
g++-13 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c src_pi_z_update.cpp -o src_pi_z_update.o
src_pi_z_update.cpp: In function ‘arma::vec dpGLM_update_pi(arma::mat, int, Rcpp::List)’:
src_pi_z_update.cpp:22:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
   22 |     for(int i = 0; i < Z.n_rows; i++) {
      |                    ~~^~~~~~~~~~
src_pi_z_update.cpp: In function ‘arma::mat hdpGLM_update_pi(arma::colvec, arma::colvec, int, Rcpp::List)’:
src_pi_z_update.cpp:103:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
  103 |       for(int i = 0; i < Z.n_rows; i++) {
      |                      ~~^~~~~~~~~~
src_pi_z_update.cpp: In function ‘arma::colvec hdpGLM_update_Z(arma::colvec, arma::mat, arma::mat, arma::colvec, arma::mat, int, arma::mat, Rcpp::String)’:
src_pi_z_update.cpp:130:22: warning: unused variable ‘J’ [-Wunused-variable]
  130 |   int                J = conv_to<colvec>::from( unique(theta.col(1)) ).n_rows;
      |                      ^
g++-13 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c src_utils.cpp -o src_utils.o
g++-13 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib -Wl,-O1 -o hdpGLM.so RcppExports.o src_dpGLM.o src_gibbs_gaussian.o src_hdpGLM.o src_hmc.o src_hmc_binomial.o src_hmc_multinomial.o src_pi_z_update.o src_utils.o -llapack -L/home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib -lRblas -lgfortran -lm -lquadmath -L/home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/Rtmp5sh012/R.INSTALL2849ff1c3d0259/hdpGLM/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmp5sh012/R.INSTALL2849ff1c3d0259/hdpGLM/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/Rtmp5sh012/R.INSTALL2849ff1c3d0259/hdpGLM/src'
installing to /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/00LOCK-hdpGLM/00new/hdpGLM/libs
** R
** data
*** moving datasets to lazyload DB
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
*** copying figures
** building package indices
** installing vignettes
** 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 (hdpGLM)