* installing to library ‘/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages’
* installing *source* package ‘hdpGLM’ ...
** this is package ‘hdpGLM’ version ‘1.0.4’
** package ‘hdpGLM’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++-14 (Debian 14.3.0-8) 14.3.0’
make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmp43fgOf/R.INSTALL343ffe3efc46c3/hdpGLM/src'
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-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++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-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++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-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++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-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
src_hdpGLM.cpp: In function ‘arma::mat hdpGLM_get_theta_active(arma::mat, arma::colvec, arma::colvec)’:
src_hdpGLM.cpp:102:49: warning: ‘static out_eT arma::conv_to<out_eT>::from(const arma::Base<eT2, expr>&, const typename arma::arma_not_cx<in_eT>::result*) [with in_eT = unsigned int; T1 = arma::mtOp<unsigned int, arma::mtGlue<unsigned int, arma::mtOp<unsigned int, arma::subview_col<double>, arma::op_rel_eq>, arma::mtOp<unsigned int, arma::subview_col<double>, arma::op_rel_eq>, arma::glue_rel_and>, arma::op_find_simple>; out_eT = int; typename arma::arma_not_cx<in_eT>::result = unsigned int]’ is deprecated: replace conv_to<...>::from(X) with as_scalar(X) [-Wdeprecated-declarations]
  102 |       int idx_k_active_in_j = conv_to<int>::from( find(theta.col(0) == Zjstar(i) && theta.col(1) == j) );
      |                               ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo:496,
                 from /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57,
                 from /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:32,
                 from src_hdpGLM.cpp:2:
/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_conv_to.hpp:72:1: note: declared here
   72 | conv_to<out_eT>::from(const Base<in_eT, T1>& in, const typename arma_not_cx<in_eT>::result* junk)
      | ^~~~~~~~~~~~~~~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-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++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-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++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-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++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-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::colvec dpGLM_update_Z(arma::colvec, arma::mat, arma::colvec, int, arma::mat, Rcpp::String)’:
src_pi_z_update.cpp:53:44: warning: ‘static out_eT arma::conv_to<out_eT>::from(const arma::Base<eT2, expr>&, const typename arma::arma_not_cx<in_eT>::result*) [with in_eT = unsigned int; T1 = arma::mtOp<unsigned int, arma::mtOp<unsigned int, arma::subview_col<double>, arma::op_rel_eq>, arma::op_find_simple>; out_eT = int; typename arma::arma_not_cx<in_eT>::result = unsigned int]’ is deprecated: replace conv_to<...>::from(X) with as_scalar(X) [-Wdeprecated-declarations]
   53 |     int          idx_k = conv_to<int>::from( find(theta.col(0)==k+1) );
      |                          ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo:496,
                 from /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57,
                 from /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:32,
                 from src_pi_z_update.cpp:2:
/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_conv_to.hpp:72:1: note: declared here
   72 | conv_to<out_eT>::from(const Base<in_eT, T1>& in, const typename arma_not_cx<in_eT>::result* junk)
      | ^~~~~~~~~~~~~~~
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:141:41: warning: ‘static out_eT arma::conv_to<out_eT>::from(const arma::Base<eT2, expr>&, const typename arma::arma_not_cx<in_eT>::result*) [with in_eT = unsigned int; T1 = arma::mtOp<unsigned int, arma::mtGlue<unsigned int, arma::mtOp<unsigned int, arma::subview_col<double>, arma::op_rel_eq>, arma::mtOp<unsigned int, arma::subview_col<double>, arma::op_rel_eq>, arma::glue_rel_and>, arma::op_find_simple>; out_eT = int; typename arma::arma_not_cx<in_eT>::result = unsigned int]’ is deprecated: replace conv_to<...>::from(X) with as_scalar(X) [-Wdeprecated-declarations]
  141 |       int    idx_jk = conv_to<int>::from( find(theta.col(0)==k && theta.col(1)==j) );
      |                       ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_conv_to.hpp:72:1: note: declared here
   72 | conv_to<out_eT>::from(const Base<in_eT, T1>& in, const typename arma_not_cx<in_eT>::result* junk)
      | ^~~~~~~~~~~~~~~
src_pi_z_update.cpp:155:40: warning: ‘static out_eT arma::conv_to<out_eT>::from(const arma::Base<eT2, expr>&, const typename arma::arma_not_cx<in_eT>::result*) [with in_eT = double; T1 = arma::eOp<arma::Col<double>, arma::eop_scalar_times>; out_eT = double; typename arma::arma_not_cx<in_eT>::result = double]’ is deprecated: replace conv_to<...>::from(X) with as_scalar(X) [-Wdeprecated-declarations]
  155 |       phii(k-1) = conv_to<double>::from(pi(k-1, j-1) * pyi);
      |                   ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_conv_to.hpp:72:1: note: declared here
   72 | conv_to<out_eT>::from(const Base<in_eT, T1>& in, const typename arma_not_cx<in_eT>::result* junk)
      | ^~~~~~~~~~~~~~~
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++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-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++-14 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-release-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-release-gcc/Work/build/lib -lRblas -lgfortran -lm -lquadmath -L/home/hornik/tmp/R.check/r-release-gcc/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/Rtmp43fgOf/R.INSTALL343ffe3efc46c3/hdpGLM/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmp43fgOf/R.INSTALL343ffe3efc46c3/hdpGLM/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/Rtmp43fgOf/R.INSTALL343ffe3efc46c3/hdpGLM/src'
installing to /home/hornik/tmp/R.check/r-release-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)