* installing to library ‘/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages’
* installing *source* package ‘BayesMallowsSMC2’ ...
** this is package ‘BayesMallowsSMC2’ version ‘0.2.0’
** package ‘BayesMallowsSMC2’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
specified C++17
using C++ compiler: ‘g++-15 (Debian 15.2.0-12) 15.2.0’
using C++17
make[1]: Entering directory '/tmp/RtmpU8Cxi9/R.INSTALL33be3e6e2f1304/BayesMallowsSMC2/src'
g++-15 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -DARMA_BOUNDS_CHECK -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-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++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -DARMA_BOUNDS_CHECK -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c all_topological_sorts.cpp -o all_topological_sorts.o
all_topological_sorts.cpp: In member function ‘void Graph::alltopologicalSortUtil(std::vector<int, std::allocator<int> >&, std::vector<bool>&, long long int&, std::vector<arma::Col<int> >&, double)’:
all_topological_sorts.cpp:40:22: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
40 | for (size_t i{}; i < n_items; i++) {
| ~~^~~~~~~~~
g++-15 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -DARMA_BOUNDS_CHECK -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c data.cpp -o data.o
data.cpp: In constructor ‘Rankings::Rankings(const Rcpp::List&, bool)’:
data.cpp:24:23: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘R_xlen_t’ {aka ‘long int’} [-Wsign-compare]
24 | for(size_t i{}; i < nm.size(); i++) {
| ~~^~~~~~~~~~~
data.cpp: In constructor ‘PairwisePreferences::PairwisePreferences(const Rcpp::List&, const Rcpp::List&, const Rcpp::List&)’:
data.cpp:60:23: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘R_xlen_t’ {aka ‘long int’} [-Wsign-compare]
60 | for(size_t i{}; i < nm.size(); i++) {
| ~~^~~~~~~~~~~
data.cpp:77:23: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘R_xlen_t’ {aka ‘long int’} [-Wsign-compare]
77 | for(size_t i{}; i < nm.size(); i++) {
| ~~^~~~~~~~~~~
data.cpp:88:23: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘R_xlen_t’ {aka ‘long int’} [-Wsign-compare]
88 | for(size_t i{}; i < nm.size(); i++) {
| ~~^~~~~~~~~~~
g++-15 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -DARMA_BOUNDS_CHECK -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c distances.cpp -o distances.o
g++-15 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -DARMA_BOUNDS_CHECK -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c misc.cpp -o misc.o
g++-15 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -DARMA_BOUNDS_CHECK -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c options.cpp -o options.o
g++-15 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -DARMA_BOUNDS_CHECK -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c parameter_tracer.cpp -o parameter_tracer.o
g++-15 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -DARMA_BOUNDS_CHECK -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c particle.cpp -o particle.o
particle.cpp: In member function ‘void Particle::run_particle_filter(unsigned int, const Prior&, const std::unique_ptr<Data>&, const std::unique_ptr<PartitionFunction>&, const std::unique_ptr<Distance>&, const std::unique_ptr<Resampler>&, std::string, bool)’:
particle.cpp:66:25: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘const int’ [-Wsign-compare]
66 | for(size_t c{}; c < prior.n_clusters; c++) {
| ~~^~~~~~~~~~~~~~~~~~
particle.cpp: In function ‘double compute_log_Z(const std::vector<ParticleFilter>&, int)’:
particle.cpp:161:21: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
161 | for(size_t s{}; s < max_time + 1; s++) {
| ~~^~~~~~~~~~~~~~
g++-15 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -DARMA_BOUNDS_CHECK -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c partition_functions.cpp -o partition_functions.o
partition_functions.cpp: In member function ‘virtual double Cayley::logz(double)’:
partition_functions.cpp:25:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const unsigned int’ [-Wsign-compare]
25 | for(int i{1}; i < n_items; ++i){
| ~~^~~~~~~~~
partition_functions.cpp: In member function ‘virtual double Hamming::logz(double)’:
partition_functions.cpp:35:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
35 | for(int i{}; i < (n_items + 1); ++i){
| ~~^~~~~~~~~~~~~~~
partition_functions.cpp: In member function ‘virtual double Kendall::logz(double)’:
partition_functions.cpp:46:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
46 | for(int i{1}; i < (n_items + 1); ++i){
| ~~^~~~~~~~~~~~~~~
g++-15 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -DARMA_BOUNDS_CHECK -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c prior.cpp -o prior.o
g++-15 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -DARMA_BOUNDS_CHECK -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c progress_reporter.cpp -o progress_reporter.o
g++-15 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -DARMA_BOUNDS_CHECK -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c rejuvenate.cpp -o rejuvenate.o
rejuvenate.cpp: In member function ‘bool Particle::rejuvenate(unsigned int, const Options&, const Prior&, const std::unique_ptr<Data>&, const std::unique_ptr<PartitionFunction>&, const std::unique_ptr<Distance>&, const std::unique_ptr<Resampler>&, const arma::vec&)’:
rejuvenate.cpp:66:33: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘const int’ [-Wsign-compare]
66 | for(size_t cluster{}; cluster < prior.n_clusters; cluster++) {
| ~~~~~~~~^~~~~~~~~~~~~~~~~~
rejuvenate.cpp:104:35: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘const int’ [-Wsign-compare]
104 | for(size_t cluster{}; cluster < prior.n_clusters; cluster++) {
| ~~~~~~~~^~~~~~~~~~~~~~~~~~
g++-15 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -DARMA_BOUNDS_CHECK -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c resampler.cpp -o resampler.o
resampler.cpp: In function ‘arma::ivec stratsys(int, arma::vec, bool)’:
resampler.cpp:31:21: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
31 | for(size_t i{}; i < n_samples; i++) u(i) = (i + rn(i)) / n_samples;
| ~~^~~~~~~~~~~
g++-15 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -DARMA_BOUNDS_CHECK -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c run_smc.cpp -o run_smc.o
run_smc.cpp: In function ‘Rcpp::List run_smc(Rcpp::List, Rcpp::List, Rcpp::List, Rcpp::List, Rcpp::List)’:
run_smc.cpp:44:21: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
44 | for(size_t t{}; t < T; t++) {
| ~~^~~
g++-15 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -DARMA_BOUNDS_CHECK -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c sample_latent_rankings.cpp -o sample_latent_rankings.o
g++-15 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib -Wl,-O1 -o BayesMallowsSMC2.so RcppExports.o all_topological_sorts.o data.o distances.o misc.o options.o parameter_tracer.o particle.o partition_functions.o prior.o progress_reporter.o rejuvenate.o resampler.o run_smc.o sample_latent_rankings.o -fopenmp -llapack -L/home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib -lRblas -lgfortran -lm -lquadmath -L/home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib -lR
make[1]: Leaving directory '/tmp/RtmpU8Cxi9/R.INSTALL33be3e6e2f1304/BayesMallowsSMC2/src'
make[1]: Entering directory '/tmp/RtmpU8Cxi9/R.INSTALL33be3e6e2f1304/BayesMallowsSMC2/src'
make[1]: Leaving directory '/tmp/RtmpU8Cxi9/R.INSTALL33be3e6e2f1304/BayesMallowsSMC2/src'
installing to /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/00LOCK-BayesMallowsSMC2/00new/BayesMallowsSMC2/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
** 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 (BayesMallowsSMC2)