* installing to library ‘/home/hornik/tmp/R.check/r-release-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++-16 (Debian 16-20260425-1) 16.0.1 20260425 (prerelease) [gcc-16 r16-8812-gd9c07462a22]’
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpL3HjrW/R.INSTALL16c5bb359f1eab/choicer/src'
g++-16 -std=gnu++20 -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  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native   -c RcppExports.cpp -o RcppExports.o
g++-16 -std=gnu++20 -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  -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++-16 -std=gnu++20 -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  -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++-16 -std=gnu++20 -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  -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++-16 -std=gnu++20 -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  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native   -c utils.cpp -o utils.o
utils.cpp: In function ‘void get_num_threads()’:
utils.cpp:18:23: warning: ‘master’ construct deprecated since OpenMP 5.1, use ‘masked’ [-Wdeprecated-openmp]
   18 |     #pragma omp master
      |                       ^
g++-16 -std=gnu++20 -shared -L/home/hornik/tmp/R.check/r-release-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-release-gcc/Work/build/lib -lRblas -lgfortran -lm -latomic_asneeded -lquadmath -L/home/hornik/tmp/R.check/r-release-gcc/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpL3HjrW/R.INSTALL16c5bb359f1eab/choicer/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpL3HjrW/R.INSTALL16c5bb359f1eab/choicer/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpL3HjrW/R.INSTALL16c5bb359f1eab/choicer/src'
installing to /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/00LOCK-choicer/00new/choicer/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** 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)