* 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++ (GCC) 15.2.1 20260123 (Red Hat 15.2.1-7)’
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/choicer/src'
g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c RcppExports.cpp -o RcppExports.o
g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c mnlogit.cpp -o mnlogit.o
g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c mxlogit.cpp -o mxlogit.o
g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c nestlogit.cpp -o nestlogit.o
g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c utils.cpp -o utils.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) {
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
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) {
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
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++ -std=gnu++20 -shared -L/usr/local/lib64 -o choicer.so RcppExports.o mnlogit.o mxlogit.o nestlogit.o utils.o -fopenmp -llapack -L/data/gannet/ripley/R/R-devel/lib -lRblas -lgfortran -lm -lquadmath
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/choicer/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/choicer/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/choicer/src'
installing to /data/gannet/ripley/R/packages/tests-devel/choicer.Rcheck/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)