* installing to library ‘/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages’
* installing *source* package ‘elections.dtree’ ...
** package ‘elections.dtree’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++-14 (Debian 14.2.0-8) 14.2.0’
using C++17
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpmPV9d1/R.INSTALL3725c227c46096/elections.dtree/src'
g++-14 -std=gnu++17 -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/RcppThread/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/testthat/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c R_social_choice.cpp -o R_social_choice.o
In file included from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/include/R.h:73,
                 from R_social_choice.h:13,
                 from R_social_choice.cpp:10:
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include/Rcpp/exceptions/cpp11/exceptions.h: In function ‘void Rcpp::Rf_warning(const char*, Args&& ...) [with Args = {const char*}]’:
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include/R_ext/Error.h:69:17: warning: infinite recursion detected [-Winfinite-recursion]
   69 | #define warning Rf_warning
      |                 ^~~~~~~~~~
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include/Rcpp/exceptions/cpp11/exceptions.h:46:13: note: in expansion of macro ‘warning’
   46 | inline void warning(const char* fmt, Args&&... args ) {
      |             ^~~~~~~
In file included from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include/Rcpp/exceptions.h:180,
                 from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include/RcppCommon.h:130,
                 from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include/Rcpp.h:27,
                 from R_social_choice.h:14:
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include/Rcpp/exceptions/cpp11/exceptions.h:47:15: note: recursive call
   47 |     Rf_warning("%s", tfm::format(fmt, std::forward<Args>(args)... ).c_str());
      |     ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
g++-14 -std=gnu++17 -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/RcppThread/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/testthat/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c R_tree.cpp -o R_tree.o
g++-14 -std=gnu++17 -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/RcppThread/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/testthat/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c RcppExports.cpp -o RcppExports.o
g++-14 -std=gnu++17 -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/RcppThread/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/testthat/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c RcppModules.cpp -o RcppModules.o
g++-14 -std=gnu++17 -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/RcppThread/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/testthat/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c distributions.cpp -o distributions.o
g++-14 -std=gnu++17 -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/RcppThread/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/testthat/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c irv_ballot.cpp -o irv_ballot.o
g++-14 -std=gnu++17 -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/RcppThread/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/testthat/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c irv_node.cpp -o irv_node.o
irv_node.cpp: In member function ‘void IRVParameters::calculateDepthFactors()’:
irv_node.cpp:21:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
   21 |     if (depth >= minDepth) ++nChildren;
      |         ~~~~~~^~~~~~~~~~~
g++-14 -std=gnu++17 -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/RcppThread/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/testthat/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c test-distributions.cpp -o test-distributions.o
g++-14 -std=gnu++17 -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/RcppThread/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/testthat/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c test-rdirichlettree.cpp -o test-rdirichlettree.o
g++-14 -std=gnu++17 -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/RcppThread/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/testthat/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c test-runner.cpp -o test-runner.o
g++-14 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -Wl,-O1 -o elections.dtree.so R_social_choice.o R_tree.o RcppExports.o RcppModules.o distributions.o irv_ballot.o irv_node.o test-distributions.o test-rdirichlettree.o test-runner.o -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpmPV9d1/R.INSTALL3725c227c46096/elections.dtree/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpmPV9d1/R.INSTALL3725c227c46096/elections.dtree/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpmPV9d1/R.INSTALL3725c227c46096/elections.dtree/src'
installing to /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/00LOCK-elections.dtree/00new/elections.dtree/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
  converting help for package ‘elections.dtree’
    finding HTML links ... done
    dirichlet_tree                          html  
    finding level-2 HTML links ... done

    dirtree                                 html  
    ranked_ballots                          html  
    read_ballots                            html  
    reset                                   html  
    sample_posterior                        html  
    sample_predictive                       html  
    social_choice                           html  
    tick-sub-.ranked_ballots-tick           html  
    update                                  html  
    write_ballots                           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 (elections.dtree)