* installing to library ‘/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages’ * installing *source* package ‘emcAdr’ ... ** this is package ‘emcAdr’ version ‘1.2’ ** package ‘emcAdr’ successfully unpacked and MD5 sums checked ** using staged installation ** libs using C++ compiler: ‘g++-14 (Debian 14.2.0-16) 14.2.0’ make[1]: Entering directory '/tmp/RtmpwiUZqa/R.INSTALLd5344255363be/emcAdr/src' g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -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 DataManager.cpp -o DataManager.o DataManager.cpp: In function ‘std::vector<std::vector<int, std::allocator<int> > > ATCtoNumeric(const std::vector<std::__cxx11::basic_string<char> >&, const Rcpp::DataFrame&)’: DataManager.cpp:54:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 54 | while(posTree < cppTree.size() && token != cppTree[posTree]){ | ~~~~~~~~^~~~~~~~~~~~~~~~ DataManager.cpp:58:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 58 | if(posTree == cppTree.size()){ | ~~~~~~~~^~~~~~~~~~~~~~~~~ DataManager.cpp: In function ‘Rcpp::NumericVector histogramToDitribution(const std::vector<int, std::allocator<int> >&)’: DataManager.cpp:95:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int, std::allocator<int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for(int i = 0 ; i < vec.size(); ++i){ | ~~^~~~~~~~~~~~ DataManager.cpp: In function ‘std::vector<double> p_value_genetic_results(const std::vector<Rcpp::Vector<19> >&, const Rcpp::List&, bool)’: DataManager.cpp:420:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<int, std::allocator<int> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 420 | for(int i = 0 ; i < cocktails.size(); ++i){ | ~~^~~~~~~~~~~~~~~~~~ DataManager.cpp:421:30: warning: comparison of integer expressions of different signedness: ‘std::vector<int, std::allocator<int> >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 421 | if(cocktails[i].size() == k){ | ~~~~~~~~~~~~~~~~~~~~^~~~ DataManager.cpp: In function ‘std::vector<double> p_value_cocktails(const std::vector<Rcpp::Vector<19> >&, const std::vector<std::vector<int, std::allocator<int> > >&, const Rcpp::DataFrame&, const Rcpp::DataFrame&, int, bool)’: DataManager.cpp:486:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<int, std::allocator<int> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 486 | for(int i = 0 ; i < cocktails.size(); ++i){ | ~~^~~~~~~~~~~~~~~~~~ DataManager.cpp:487:29: warning: comparison of integer expressions of different signedness: ‘std::vector<int, std::allocator<int> >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 487 | if(cocktails[i].size() == k){ | ~~~~~~~~~~~~~~~~~~~~^~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -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 Individual.cpp -o Individual.o Individual.cpp: In member function ‘bool Individual::matches(const std::vector<int, std::allocator<int> >&, const std::vector<int, std::allocator<int> >&) const’: Individual.cpp:26:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int, std::allocator<int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 26 | while (idx < observation.size() && !inIt){ | ~~~~^~~~~~~~~~~~~~~~~~~~ Individual.cpp:36:12: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int, std::allocator<int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 36 | if(idx == observation.size()) | ~~~~^~~~~~~~~~~~~~~~~~~~~ Individual.cpp: In member function ‘std::pair<double, std::pair<int, int> > Individual::computeRR(const std::vector<std::vector<int, std::allocator<int> > >&, const Rcpp::LogicalVector&, const std::vector<int, std::allocator<int> >&, int, int) const’: Individual.cpp:57:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<int, std::allocator<int> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 57 | for(int i = 0; i < medications.size() ; ++i){ | ~~^~~~~~~~~~~~~~~~~~~~ Individual.cpp: In member function ‘std::pair<double, std::pair<int, int> > Individual::computePHypergeom(const std::vector<std::vector<int, std::allocator<int> > >&, const Rcpp::LogicalVector&, const std::vector<int, std::allocator<int> >&, int, int, int, int) const’: Individual.cpp:111:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<int, std::allocator<int> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 111 | for(int i = 0; i < medications.size() ; ++i){ | ~~^~~~~~~~~~~~~~~~~~~~ Individual.cpp: In member function ‘bool Individual::isTrueCocktail(const std::vector<int, std::allocator<int> >&) const’: Individual.cpp:186:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int, std::allocator<int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 186 | for(int i = 0; i < med.size() - 1 ; ++i){ | ~~^~~~~~~~~~~~~~~~ Individual.cpp: In member function ‘bool Individual::operator==(const Individual&) const’: Individual.cpp:203:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int, std::allocator<int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 203 | while(j < ind.medications_.size() && ind.medications_[j] != i){ | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ Individual.cpp:206:10: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int, std::allocator<int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 206 | if(j == ind.medications_.size()) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ Individual.cpp: In member function ‘std::vector<std::pair<int, int> > Individual::getVertexList(const Rcpp::DataFrame&) const’: Individual.cpp:153:36: warning: ‘nextDepth’ may be used uninitialized [-Wmaybe-uninitialized] 153 | if(depth[idx] == nextDepth && (std::find(medications_.begin(),medications_.end(),idx) == medications_.end())){ Individual.cpp:137:20: note: ‘nextDepth’ was declared here 137 | int idx,depthMed,nextDepth,upperBMed; | ^~~~~~~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -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 MCMC.cpp -o MCMC.o MCMC.cpp: In function ‘double addToBestCocktails(std::vector<std::pair<Individual, double> >&, const std::pair<Individual, double>&, int, double, const std::vector<int, std::allocator<int> >&)’: MCMC.cpp:42:27: warning: comparison of integer expressions of different signedness: ‘std::vector<std::pair<Individual, double> >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 42 | if(bestResults.size() < nbResults){ | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ MCMC.cpp: In function ‘Individual type1Mutation(const Individual&, int, double, bool)’: MCMC.cpp:270:33: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int, std::allocator<int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 270 | removeIndex = removeIndex == indiv.getMedications().size() ? removeIndex-1 : removeIndex; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MCMC.cpp: In function ‘Individual type2Mutation(const Individual&, int, const std::pair<int, int>&)’: MCMC.cpp:328:36: warning: comparison of integer expressions of different signedness: ‘std::vector<int, std::allocator<int> >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 328 | if(indiv.getMedications().size() == treeSize) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ MCMC.cpp: In function ‘std::pair<std::vector<int, std::allocator<int> >, std::vector<int, std::allocator<int> > > treeDepthFather(const std::vector<int, std::allocator<int> >&)’: MCMC.cpp:366:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int, std::allocator<int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 366 | for(int i = 0; i < ATC_length.size(); ++i){ | ~~^~~~~~~~~~~~~~~~~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -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 Population.cpp -o Population.o Population.cpp: In constructor ‘Population::Population(int, int, double, const std::vector<int, std::allocator<int> >&)’: Population.cpp:34:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Individual>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 34 | for(int i = 0 ; i < individuals.size(); ++i){ | ~~^~~~~~~~~~~~~~~~~~~~ Population.cpp: In member function ‘void Population::keepElite(int, Population&) const’: Population.cpp:64:21: warning: comparison of integer expressions of different signedness: ‘std::priority_queue<std::pair<double, Individual>, std::vector<std::pair<double, Individual> >, std::greater<std::pair<double, Individual> > >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 64 | if (pq.size() < nbElite) { | ~~~~~~~~~~^~~~~~~~~ Population.cpp: In member function ‘void Population::crossover(int, const std::vector<int, std::allocator<int> >&, const std::vector<int, std::allocator<int> >&, const Rcpp::DataFrame&, double)’: Population.cpp:113:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::pair<double, Individual> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 113 | for(int i = nbElite ; i < individuals_.size()-2; i+=2){ | ~~^~~~~~~~~~~~~~~~~~~~~~~ Population.cpp: In member function ‘void Population::mutate(int, double, const Rcpp::DataFrame&, const std::vector<int, std::allocator<int> >&, double)’: Population.cpp:171:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::pair<double, Individual> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 171 | for(int i = nbElite ; i < individuals_.size() ; ++i){ | ~~^~~~~~~~~~~~~~~~~~~~~ Population.cpp: In member function ‘std::pair<std::vector<std::vector<int, std::allocator<int> > >, std::vector<int, std::allocator<int> > > Population::pretraitement(const std::vector<int, std::allocator<int> >&, const std::vector<int, std::allocator<int> >&) const’: Population.cpp:215:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::pair<double, Individual> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 215 | for(int i = 0; i < individuals_.size(); ++i){ | ~~^~~~~~~~~~~~~~~~~~~~~ Population.cpp: In member function ‘double Population::dist_norm(int, int, const IntMatrix&, const std::vector<int, std::allocator<int> >&) const’: Population.cpp:249:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int, std::allocator<int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 249 | int max_idx_j = j == idx.size()-1 ? M.size() : idx[j+1]; | ~~^~~~~~~~~~~~~~~ Population.cpp: In member function ‘double Population::dist(int, int, const IntMatrix&, const std::vector<int, std::allocator<int> >&) const’: Population.cpp:304:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int, std::allocator<int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 304 | int max_idx_j = j == idx.size()-1 ? M.size() : idx[j+1]; | ~~^~~~~~~~~~~~~~~ Population.cpp: In member function ‘RealMatrix Population::similarity(const IntMatrix&, const std::vector<int, std::allocator<int> >&) const’: Population.cpp:360:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int, std::allocator<int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 360 | for(int i = 0 ; i < idx.size()-1; ++i){ | ~~^~~~~~~~~~~~~~ Population.cpp:362:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int, std::allocator<int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 362 | for(int j = i+1; j < idx.size(); ++j){ | ~~^~~~~~~~~~~~ Population.cpp: In member function ‘RealMatrix Population::dissimilarity(const IntMatrix&, const std::vector<int, std::allocator<int> >&, bool) const’: Population.cpp:383:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int, std::allocator<int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 383 | for(int i = 0; i < idx.size()-1; ++i){ | ~~^~~~~~~~~~~~~~ Population.cpp:385:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int, std::allocator<int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 385 | for(int j = i+1; j < idx.size(); ++j){ | ~~^~~~~~~~~~~~ Population.cpp: In member function ‘void Population::penalize(const std::vector<int, std::allocator<int> >&, const std::vector<int, std::allocator<int> >&)’: Population.cpp:411:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::pair<double, Individual> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 411 | for(int i = 0 ; i < individuals_.size(); ++i){ | ~~^~~~~~~~~~~~~~~~~~~~~ Population.cpp: In member function ‘int Population::bestIndividual() const’: Population.cpp:430:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::pair<double, Individual> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 430 | for(int i = 1; i < individuals_.size() ; ++i){ | ~~^~~~~~~~~~~~~~~~~~~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -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++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -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 main.cpp -o main.o main.cpp: In function ‘Rcpp::List DistributionApproximation(int, const Rcpp::DataFrame&, const Rcpp::DataFrame&, int, int, int, double, int, int, int, bool)’: main.cpp:212:43: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::pair<int, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 212 | chosenVertexidx = chosenVertexidx == vertexX.size() ? vertexX.size()-1 : chosenVertexidx; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ main.cpp: In function ‘std::vector<double> MetricCalc_2(const std::vector<int, std::allocator<int> >&, const std::vector<int, std::allocator<int> >&, const std::vector<int, std::allocator<int> >&, const std::vector<std::vector<int, std::allocator<int> > >&, const Rcpp::LogicalVector&, int, int)’: main.cpp:824:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<int, std::allocator<int> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 824 | for(int i = 0 ; i < observationsMedication.size(); ++i){ | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In function ‘void print_list_in_file(const Rcpp::List&, const std::string&)’: main.cpp:1064:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int, std::allocator<int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1064 | for(int j = 0 ; j < mean_score_per_epoch.size() ; ++j){ | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++-14 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib -Wl,-O1 -o emcAdr.so DataManager.o Individual.o MCMC.o Population.o RcppExports.o main.o -fopenmp -L/home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib -lR make[1]: Leaving directory '/tmp/RtmpwiUZqa/R.INSTALLd5344255363be/emcAdr/src' make[1]: Entering directory '/tmp/RtmpwiUZqa/R.INSTALLd5344255363be/emcAdr/src' make[1]: Leaving directory '/tmp/RtmpwiUZqa/R.INSTALLd5344255363be/emcAdr/src' installing to /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/00LOCK-emcAdr/00new/emcAdr/libs ** R ** data *** moving datasets to lazyload DB ** 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 ** 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 (emcAdr)