* installing to library ‘/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages’
* installing *source* package ‘choicer’ ...
** this is package ‘choicer’ version ‘0.1.0’
** package ‘choicer’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++-15 (Debian 15.2.0-17) 15.2.0’
make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmpr7LyHm/R.INSTALL2ee2f234f70b4/choicer/src'
g++-15 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c RcppExports.cpp -o RcppExports.o
g++-15 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c mnlogit.cpp -o mnlogit.o
mnlogit.cpp: In function ‘arma::vec blp_contraction(const arma::vec&, const arma::vec&, const arma::mat&, const arma::vec&, const arma::uvec&, const Rcpp::IntegerVector&, const arma::vec&, bool, double, int)’:
mnlogit.cpp:517:28: warning: comparison of integer expressions of different signedness: ‘const arma::uword’ {aka ‘const unsigned int’} and ‘int’ [-Wsign-compare]
517 | if (target_shares.n_elem != num_alts) {
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
g++-15 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c mxlogit.cpp -o mxlogit.o
mxlogit.cpp: In function ‘Rcpp::List mxl_loglik_gradient_parallel(const arma::vec&, const arma::mat&, const arma::mat&, const arma::uvec&, const arma::uvec&, const Rcpp::IntegerVector&, const arma::vec&, const arma::cube&, const arma::uvec&, bool, bool, bool, bool)’:
mxlogit.cpp:120:22: warning: comparison of integer expressions of different signedness: ‘const arma::uword’ {aka ‘const unsigned int’} and ‘const int’ [-Wsign-compare]
120 | if (rc_dist.n_elem != K_w) {
| ~~~~~~~~~~~~~~~^~~~~~
mxlogit.cpp:123:26: warning: comparison of integer expressions of different signedness: ‘const arma::uword’ {aka ‘const unsigned int’} and ‘const int’ [-Wsign-compare]
123 | if (eta_draws.n_slices != N) {
| ~~~~~~~~~~~~~~~~~~~^~~~
mxlogit.cpp:127:24: warning: comparison of integer expressions of different signedness: ‘const arma::uword’ {aka ‘const unsigned int’} and ‘const int’ [-Wsign-compare]
127 | if (eta_draws.n_rows != K_w) {
| ~~~~~~~~~~~~~~~~~^~~~~~
mxlogit.cpp: In function ‘arma::mat mxl_hessian_parallel(const arma::vec&, const arma::mat&, const arma::mat&, const arma::uvec&, const arma::uvec&, const Rcpp::IntegerVector&, const arma::vec&, const arma::cube&, const arma::uvec&, bool, bool, bool, bool)’:
mxlogit.cpp:558:22: warning: comparison of integer expressions of different signedness: ‘const arma::uword’ {aka ‘const unsigned int’} and ‘const int’ [-Wsign-compare]
558 | if (rc_dist.n_elem != K_w) {
| ~~~~~~~~~~~~~~~^~~~~~
mxlogit.cpp: In function ‘arma::mat mxl_bhhh_parallel(const arma::vec&, const arma::mat&, const arma::mat&, const arma::uvec&, const arma::uvec&, const Rcpp::IntegerVector&, const arma::vec&, const arma::cube&, const arma::uvec&, bool, bool, bool, bool)’:
mxlogit.cpp:916:22: warning: comparison of integer expressions of different signedness: ‘const arma::uword’ {aka ‘const unsigned int’} and ‘const int’ [-Wsign-compare]
916 | if (rc_dist.n_elem != K_w) {
| ~~~~~~~~~~~~~~~^~~~~~
mxlogit.cpp:919:26: warning: comparison of integer expressions of different signedness: ‘const arma::uword’ {aka ‘const unsigned int’} and ‘const int’ [-Wsign-compare]
919 | if (eta_draws.n_slices != N) {
| ~~~~~~~~~~~~~~~~~~~^~~~
mxlogit.cpp:923:24: warning: comparison of integer expressions of different signedness: ‘const arma::uword’ {aka ‘const unsigned int’} and ‘const int’ [-Wsign-compare]
923 | if (eta_draws.n_rows != K_w) {
| ~~~~~~~~~~~~~~~~~^~~~~~
g++-15 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c nestlogit.cpp -o nestlogit.o
nestlogit.cpp: In function ‘Rcpp::List nl_loglik_gradient_parallel(const arma::vec&, const arma::mat&, const arma::uvec&, const arma::uvec&, const arma::uvec&, const Rcpp::IntegerVector&, const arma::vec&, bool, bool)’:
nestlogit.cpp:64:42: warning: comparison of integer expressions of different signedness: ‘const unsigned int’ and ‘const int’ [-Wsign-compare]
64 | if (nest_idx[j] > 0 && nest_idx[j] <= n_nests) {
nestlogit.cpp:85:22: warning: comparison of integer expressions of different signedness: ‘const arma::uword’ {aka ‘const unsigned int’} and ‘int’ [-Wsign-compare]
85 | if (theta.n_elem < K + n_non_singleton_nests) {
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
g++-15 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c utils.cpp -o utils.o
g++-15 -std=gnu++20 -shared -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -Wl,-O1 -o choicer.so RcppExports.o mnlogit.o mxlogit.o nestlogit.o utils.o -fopenmp -llapack -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -lRblas -lgfortran -lm -lquadmath -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/Rtmpr7LyHm/R.INSTALL2ee2f234f70b4/choicer/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmpr7LyHm/R.INSTALL2ee2f234f70b4/choicer/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/Rtmpr7LyHm/R.INSTALL2ee2f234f70b4/choicer/src'
installing to /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/00LOCK-choicer/00new/choicer/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
converting help for package ‘choicer’
finding HTML links ... done
blp html
blp.choicer_mnl html
blp.choicer_mxl html
blp_contraction html
build_var_mat html
choicer-package html
coef.choicer_fit html
diversion_ratios html
diversion_ratios.choicer_mnl html
diversion_ratios.choicer_mxl html
elasticities html
elasticities.choicer_mnl html
elasticities.choicer_mxl html
get_halton_normals html
jacobian_vech_Sigma html
logLik.choicer_fit html
mc_asymptotics html
mnl_diversion_ratios_parallel html
mnl_elasticities_parallel html
mnl_loglik_gradient_parallel html
mnl_loglik_hessian_parallel html
mnl_predict html
mnl_predict_shares html
monte_carlo html
mxl_bhhh_parallel html
mxl_blp_contraction html
mxl_diversion_ratios_parallel html
mxl_elasticities_parallel html
mxl_hessian_parallel html
mxl_loglik_gradient_parallel html
mxl_predict html
mxl_predict_shares html
new_choicer_sim html
nl_loglik_gradient_parallel html
nl_loglik_numeric_hessian html
nobs.choicer_fit html
predict.choicer_mnl html
predict.choicer_mxl html
prepare_mnl_data html
prepare_mxl_data html
prepare_nl_data html
print.choicer_fit html
print.summary.choicer_mnl html
print.summary.choicer_mxl html
print.summary.choicer_nl html
recovery_table html
run_mnlogit html
run_mxlogit html
run_nestlogit html
simulate_mnl_data html
simulate_mxl_data html
simulate_nl_data html
summary.choicer_mnl html
summary.choicer_mxl html
summary.choicer_nl html
vcov.choicer_fit html
** building package indices
** 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 (choicer)