* installing *source* package 'DPP' ...
** this is package 'DPP' version '0.1.2'
** package 'DPP' successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: 'gcc.exe (GCC) 14.3.0'
using C++ compiler: 'g++.exe (GCC) 14.3.0'
make[1]: Entering directory '/d/temp/2025_11_13_01_50_00_26121/RtmpmakMqG/R.INSTALL9e0453553396/DPP/src'
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c DPPmcmc.cpp -o DPPmcmc.o
DPPmcmc.cpp: In member function 'void DPPmcmc::allocationProposal(int)':
DPPmcmc.cpp:824:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
824 | for(int i=0;i<these_categories_are_empty.size();i++) {
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
DPPmcmc.cpp: In member function 'std::vector<int> DPPmcmc::evaluateVectorGreaterThanInt(std::vector<int>, int)':
DPPmcmc.cpp:973:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
973 | for(int i=0;i<vector1.size();i++){
| ~^~~~~~~~~~~~~~~
In file included from DPPmcmc.cpp:4:
helper.h: In instantiation of 'T sumVector(std::vector<T>) [with T = double]':
DPPmcmc.cpp:118:23: required from here
118 | likelihood=sumVector(likelihood_vector);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~
helper.h:68:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
68 | for(int i=0;i<vector1.size();i++)
| ~^~~~~~~~~~~~~~~
helper.h: In instantiation of 'std::vector<T> concatenateVectors(std::vector<T>, std::vector<T>) [with T = double]':
DPPmcmc.cpp:414:44: required from here
414 | likelihood_trace=concatenateVectors(likelihood_trace,emptyDoubleVector);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
helper.h:83:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
83 | for (int i=0;i<vector2.size();i++){
| ~^~~~~~~~~~~~~~~
helper.h: In instantiation of 'std::vector<T> concatenateVectors(std::vector<T>, std::vector<T>) [with T = int]':
DPPmcmc.cpp:415:42: required from here
415 | num_cats_trace=concatenateVectors(num_cats_trace,emptyIntegerVector);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
helper.h:83:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
83 | for (int i=0;i<vector2.size();i++){
| ~^~~~~~~~~~~~~~~
helper.h: In instantiation of 'std::vector<double> divideVectorByDouble(std::vector<T>, double) [with T = double]':
DPPmcmc.cpp:713:24: required from here
713 | divideVectorByDouble(rep(concentration_parameter,num_auxiliary_tables), (num_auxiliary_tables * (concentration_parameter + num_elements - 1)));
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
helper.h:21:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
21 | for(int i=0;i<vector1.size();i++){
| ~^~~~~~~~~~~~~~~
helper.h: In instantiation of 'std::vector<T> logVector(std::vector<T>) [with T = double]':
DPPmcmc.cpp:714:40: required from here
714 | std::vector<double> priors=logVector(concatenateVectors(existing_priors,augmented_priors));
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
helper.h:47:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
47 | for(int i=0;i<vector1.size();i++)
| ~^~~~~~~~~~~~~~~
helper.h: In instantiation of 'std::vector<T> expVector(std::vector<T>) [with T = double]':
DPPmcmc.cpp:717:47: required from here
717 | std::vector<double> category_probs=expVector(category_likelihoods+priors);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
helper.h:58:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
58 | for(int i=0;i<vector1.size();i++)
| ~^~~~~~~~~~~~~~~
helper.h: In instantiation of 'bool anyEqual(std::vector<T>, double) [with T = double]':
DPPmcmc.cpp:814:15: required from here
814 | if (anyEqual(makeIntegerVectorStandardDoubleVector(num_elements_in_each_category),0.0)){
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
helper.h:116:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
116 | for(int i=0;i<vector1.size();i++){
| ~^~~~~~~~~~~~~~~
helper.h: In instantiation of 'std::vector<T> whichAreEqual(std::vector<T>, T) [with T = double]':
DPPmcmc.cpp:820:66: required from here
820 | std::vector<double> these_categories_are_empty=whichAreEqual(makeIntegerVectorStandardDoubleVector(num_elements_in_each_category),0.0);
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
helper.h:35:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
35 | for(int i=0;i<vector1.size();i++){
| ~^~~~~~~~~~~~~~~
helper.h: In instantiation of 'std::vector<T> removeElementAtPosition(std::vector<T>, int) [with T = double]':
DPPmcmc.cpp:844:43: required from here
844 | old_params1=removeElementAtPosition(old_params1,c);
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
helper.h:128:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
128 | for(int i=0;i<vector1.size();i++){
| ~^~~~~~~~~~~~~~~
helper.h: In instantiation of 'std::vector<T> removeElementAtPosition(std::vector<T>, int) [with T = int]':
DPPmcmc.cpp:856:62: required from here
856 | num_elements_in_each_category=removeElementAtPosition(makeIntegerVectorStandardIntVector(num_elements_in_each_category),c);
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
helper.h:128:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
128 | for(int i=0;i<vector1.size();i++){
| ~^~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c Distribution.cpp -o Distribution.o
Distribution.cpp: In member function 'int Normal::sample_int_prob(std::vector<double>)':
Distribution.cpp:133:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
133 | for(int i=1;i<probs.size();i++){
| ~^~~~~~~~~~~~~
Distribution.cpp:141:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
141 | for(int i=0;i<limits.size();i++){
| ~^~~~~~~~~~~~~~
Distribution.cpp: In member function 'virtual double Degenerate::lnProb(std::vector<double>)':
Distribution.cpp:493:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
493 | for(int i = 0; i < val.size(); ++i) {
| ~~^~~~~~~~~~~~
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c RcppExports.cpp -o RcppExports.o
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c model.cpp -o model.o
gcc -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -std=gnu2x -mfpmath=sse -msse2 -mstackrealign -c registerDynamicSymbols.c -o registerDynamicSymbols.o
g++ -std=gnu++17 -shared -s -static-libgcc -o DPP.dll tmp.def DPPmcmc.o Distribution.o RcppExports.o model.o registerDynamicSymbols.o -Ld:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools45/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R/bin/x64 -lR
make[1]: Leaving directory '/d/temp/2025_11_13_01_50_00_26121/RtmpmakMqG/R.INSTALL9e0453553396/DPP/src'
make[1]: Entering directory '/d/temp/2025_11_13_01_50_00_26121/RtmpmakMqG/R.INSTALL9e0453553396/DPP/src'
make[1]: Leaving directory '/d/temp/2025_11_13_01_50_00_26121/RtmpmakMqG/R.INSTALL9e0453553396/DPP/src'
installing to d:/Rcompile/CRANpkg/lib/4.6/00LOCK-DPP/00new/DPP/libs/x64
** R
** 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
** 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 'DPP' as DPP_0.1.2.zip
* DONE (DPP)