* installing to library ‘/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages’
* installing *source* package ‘masc’ ...
** this is package ‘masc’ version ‘0.1.0’
** package ‘masc’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++-16 (Debian 16.1.0-1) 16.1.0’
make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmp710CaF/R.INSTALL31491d6e3aa70a/masc/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 -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 -fpic -g -O2 -Wall -pedantic -mtune=native -c generate_attributes.cpp -o generate_attributes.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 -fpic -g -O2 -Wall -pedantic -mtune=native -c sampling.cpp -o sampling.o
sampling.cpp: In function ‘Rcpp::List rMASC_sampling_cpp(const arma::mat&, const arma::vec&, const arma::vec&, double, double, double, double, int, int, int, Rcpp::Nullable<Rcpp::Matrix<14> >)’:
sampling.cpp:43:22: warning: comparison of integer expressions of different signedness: ‘const arma::uword’ {aka ‘const unsigned int’} and ‘int’ [-Wsign-compare]
43 | if (trial_x.n_rows != n_options || trial_x.n_cols != n_attributes) {
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~
sampling.cpp:43:53: warning: comparison of integer expressions of different signedness: ‘const arma::uword’ {aka ‘const unsigned int’} and ‘int’ [-Wsign-compare]
43 | if (trial_x.n_rows != n_options || trial_x.n_cols != n_attributes) {
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
sampling.cpp:47:16: warning: comparison of integer expressions of different signedness: ‘const arma::uword’ {aka ‘const unsigned int’} and ‘int’ [-Wsign-compare]
47 | if (w.n_elem != n_attributes) {
| ~~~~~~~~~^~~~~~~~~~~~~~~
sampling.cpp:51:20: warning: comparison of integer expressions of different signedness: ‘const arma::uword’ {aka ‘const unsigned int’} and ‘int’ [-Wsign-compare]
51 | if (sigma.n_elem != n_attributes) {
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~
sampling.cpp:237:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
237 | for(int i = 0; i < trans_vec.n_elem; i++) {
| ~~^~~~~~~~~~~~~~~~~~
sampling.cpp:58:13: warning: unused variable ‘n_pairs’ [-Wunused-variable]
58 | const int n_pairs = n_options * n_attributes;
| ^~~~~~~
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 -fpic -g -O2 -Wall -pedantic -mtune=native -c search_rule.cpp -o search_rule.o
g++-16 -std=gnu++20 -shared -L/home/hornik/tmp/R.check/r-release-gcc/Work/build/lib -Wl,-O1 -o masc.so RcppExports.o generate_attributes.o sampling.o search_rule.o -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/Rtmp710CaF/R.INSTALL31491d6e3aa70a/masc/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmp710CaF/R.INSTALL31491d6e3aa70a/masc/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/Rtmp710CaF/R.INSTALL31491d6e3aa70a/masc/src'
installing to /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/00LOCK-masc/00new/masc/libs
** R
** data
*** moving datasets to lazyload DB
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** 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 (masc)