* installing to library ‘/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages’
* installing *source* package ‘DPP’ ...
** package ‘DPP’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘gcc-14 (Debian 14.2.0-8) 14.2.0’
using C++ compiler: ‘g++-14 (Debian 14.2.0-8) 14.2.0’
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpXpUguZ/R.INSTALL1dacba5113926b/DPP/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/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -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 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 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 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 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 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 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 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 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 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 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 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 unsigned int’} [-Wsign-compare]
  128 |   for(int i=0;i<vector1.size();i++){
      |               ~^~~~~~~~~~~~~~~
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/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -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 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 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 unsigned int’} [-Wsign-compare]
  493 |   for(int i = 0; i < val.size(); ++i) {
      |                  ~~^~~~~~~~~~~~
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/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/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c model.cpp -o model.o
gcc-14 -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/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c registerDynamicSymbols.c -o registerDynamicSymbols.o
g++-14 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -Wl,-O1 -o DPP.so DPPmcmc.o Distribution.o RcppExports.o model.o registerDynamicSymbols.o -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpXpUguZ/R.INSTALL1dacba5113926b/DPP/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpXpUguZ/R.INSTALL1dacba5113926b/DPP/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpXpUguZ/R.INSTALL1dacba5113926b/DPP/src'
installing to /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/00LOCK-DPP/00new/DPP/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
  converting help for package ‘DPP’
    finding HTML links ... done
    DPP-package                             html  
    GammaModel-class                        html  
    NormalModel-class                       html  
    dppMCMC_C                               html  
    expectedNumberOfClusters                html  
    simulateChineseRestaurant               html  
** 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 (DPP)