* installing *source* package 'elections.dtree' ...
** package 'elections.dtree' successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: 'g++.exe (GCC) 12.3.0'
using C++17
make[1]: Entering directory '/d/temp/2024_12_20_01_50_00_19051/RtmpGgIm1i/R.INSTALL1700c4f822019/elections.dtree/src'
g++  -std=gnu++17 -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.3/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.3/testthat/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c R_social_choice.cpp -o R_social_choice.o
In file included from D:/RCompile/recent/R-4.3.3/include/R.h:73,
                 from R_social_choice.h:13,
                 from R_social_choice.cpp:10:
D:/RCompile/CRANpkg/lib/4.3/Rcpp/include/Rcpp/exceptions/cpp11/exceptions.h: In function 'void Rcpp::Rf_warning(const char*, Args&& ...) [with Args = {const char*}]':
D:/RCompile/recent/R-4.3.3/include/R_ext/Error.h:65:17: warning: infinite recursion detected [-Winfinite-recursion]
   65 | #define warning Rf_warning
      |                 ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.3/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 D:/RCompile/CRANpkg/lib/4.3/Rcpp/include/Rcpp/exceptions.h:180,
                 from D:/RCompile/CRANpkg/lib/4.3/Rcpp/include/RcppCommon.h:130,
                 from D:/RCompile/CRANpkg/lib/4.3/Rcpp/include/Rcpp.h:27,
                 from R_social_choice.h:14:
D:/RCompile/CRANpkg/lib/4.3/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++  -std=gnu++17 -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.3/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.3/testthat/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c R_tree.cpp -o R_tree.o
g++  -std=gnu++17 -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.3/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.3/testthat/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c RcppExports.cpp -o RcppExports.o
g++  -std=gnu++17 -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.3/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.3/testthat/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c RcppModules.cpp -o RcppModules.o
g++  -std=gnu++17 -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.3/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.3/testthat/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c distributions.cpp -o distributions.o
g++  -std=gnu++17 -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.3/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.3/testthat/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c irv_ballot.cpp -o irv_ballot.o
g++  -std=gnu++17 -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.3/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.3/testthat/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -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++  -std=gnu++17 -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.3/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.3/testthat/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c test-distributions.cpp -o test-distributions.o
g++  -std=gnu++17 -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.3/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.3/testthat/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c test-rdirichlettree.cpp -o test-rdirichlettree.o
g++  -std=gnu++17 -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.3/RcppThread/include' -I'D:/RCompile/CRANpkg/lib/4.3/testthat/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c test-runner.cpp -o test-runner.o
g++ -shared -s -static-libgcc -o elections.dtree.dll tmp.def 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 -Ld:/rtools43/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools43/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R-4.3.3/bin/x64 -lR
make[1]: Leaving directory '/d/temp/2024_12_20_01_50_00_19051/RtmpGgIm1i/R.INSTALL1700c4f822019/elections.dtree/src'
make[1]: Entering directory '/d/temp/2024_12_20_01_50_00_19051/RtmpGgIm1i/R.INSTALL1700c4f822019/elections.dtree/src'
make[1]: Leaving directory '/d/temp/2024_12_20_01_50_00_19051/RtmpGgIm1i/R.INSTALL1700c4f822019/elections.dtree/src'
installing to d:/Rcompile/CRANpkg/lib/4.3/00LOCK-elections.dtree/00new/elections.dtree/libs/x64
** 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
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* MD5 sums
packaged installation of 'elections.dtree' as elections.dtree_2.0.0.zip
* DONE (elections.dtree)