* installing *source* package ‘diversityForest’ ... ** package ‘diversityForest’ successfully unpacked and MD5 sums checked ** using staged installation ** libs using C++ compiler: ‘g++-13 (GCC) 13.2.0’ using C++17 make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/diversityForest/src' g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -DR_BUILD -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppEigen/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c AAA_check_cpp11.cpp -o AAA_check_cpp11.o g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -DR_BUILD -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppEigen/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Data.cpp -o Data.o g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -DR_BUILD -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppEigen/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c DataChar.cpp -o DataChar.o g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -DR_BUILD -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppEigen/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c DataFloat.cpp -o DataFloat.o g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -DR_BUILD -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppEigen/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c DataSparse.cpp -o DataSparse.o In file included from DataSparse.cpp:29: DataSparse.h: In member function 'virtual double diversityForest::DataSparse::get(size_t, size_t) const': DataSparse.h:53:12: warning: unused variable 'col_permuted' [-Wunused-variable] 53 | size_t col_permuted = col; | ^~~~~~~~~~~~ g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -DR_BUILD -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppEigen/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Forest.cpp -o Forest.o g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -DR_BUILD -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppEigen/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c ForestClassification.cpp -o ForestClassification.o g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -DR_BUILD -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppEigen/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c ForestProbability.cpp -o ForestProbability.o g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -DR_BUILD -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppEigen/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c ForestRegression.cpp -o ForestRegression.o ForestRegression.cpp: In member function 'virtual void diversityForest::ForestRegression::computePredictionErrorInternal()': ForestRegression.cpp:143:35: warning: 'value' may be used uninitialized [-Wmaybe-uninitialized] 143 | predictions[0][0][sampleID] += value; ForestRegression.cpp:135:14: note: 'value' was declared here 135 | double value; | ^~~~~ g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -DR_BUILD -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppEigen/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c ForestSurvival.cpp -o ForestSurvival.o g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -DR_BUILD -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppEigen/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c RcppExports.cpp -o RcppExports.o g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -DR_BUILD -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppEigen/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Tree.cpp -o Tree.o In file included from Tree.cpp:18: utility.h: In instantiation of 'std::vector diversityForest::reorder(std::vector&, const std::vector&) [with T = std::vector]': Tree.cpp:1294:41: required from here utility.h:516:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 516 | for ( int s = 1, d; s < order.size(); ++ s ) { | ~~^~~~~~~~~~~~~~ utility.h: In instantiation of 'std::vector diversityForest::reorder(std::vector&, const std::vector&) [with T = long unsigned int]': Tree.cpp:1295:36: required from here utility.h:516:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] utility.h: In instantiation of 'std::vector diversityForest::reorder(std::vector&, const std::vector&) [with T = std::vector >]': Tree.cpp:1296:38: required from here utility.h:516:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] utility.h: In instantiation of 'std::vector diversityForest::reorder(std::vector&, const std::vector&) [with T = std::vector >]': Tree.cpp:1297:41: required from here utility.h:516:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] In file included from /usr/local/gcc13/include/c++/13.2.0/string:51, from /usr/local/gcc13/include/c++/13.2.0/bits/locale_classes.h:40, from /usr/local/gcc13/include/c++/13.2.0/bits/ios_base.h:41, from /usr/local/gcc13/include/c++/13.2.0/streambuf:43, from /usr/local/gcc13/include/c++/13.2.0/bits/streambuf_iterator.h:35, from /usr/local/gcc13/include/c++/13.2.0/iterator:66, from Tree.cpp:12: In function 'constexpr const _Tp& std::min(const _Tp&, const _Tp&) [with _Tp = long unsigned int]', inlined from 'void diversityForest::Tree::drawSplitsUnivariate(size_t, size_t, std::vector >&)' at Tree.cpp:832:29: /usr/local/gcc13/include/c++/13.2.0/bits/stl_algobase.h:238:7: warning: 'n_triedsplitscandidate' may be used uninitialized [-Wmaybe-uninitialized] 238 | if (__b < __a) | ^~ Tree.cpp: In member function 'void diversityForest::Tree::drawSplitsUnivariate(size_t, size_t, std::vector >&)': Tree.cpp:807:12: note: 'n_triedsplitscandidate' was declared here 807 | size_t n_triedsplitscandidate; | ^~~~~~~~~~~~~~~~~~~~~~ g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -DR_BUILD -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppEigen/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c TreeClassification.cpp -o TreeClassification.o g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -DR_BUILD -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppEigen/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c TreeProbability.cpp -o TreeProbability.o TreeClassification.cpp: In member function 'virtual double diversityForest::TreeClassification::computePredictionAccuracyInternal()': TreeClassification.cpp:234:5: warning: 'predicted_value' may be used uninitialized [-Wmaybe-uninitialized] 234 | if (predicted_value != real_value) { | ^~ TreeClassification.cpp:226:12: note: 'predicted_value' was declared here 226 | double predicted_value; | ^~~~~~~~~~~~~~~ g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -DR_BUILD -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppEigen/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c TreeRegression.cpp -o TreeRegression.o g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -DR_BUILD -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppEigen/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c TreeSurvival.cpp -o TreeSurvival.o TreeClassification.cpp: In member function 'bool diversityForest::TreeClassification::findBestSplitMultivariate(size_t, std::vector, std::vector >, std::vector > >, std::vector > >)': TreeClassification.cpp:475:23: warning: 'best_split_type' may be used uninitialized [-Wmaybe-uninitialized] 475 | split_types[nodeID] = best_split_type; TreeClassification.cpp:396:10: note: 'best_split_type' was declared here 396 | size_t best_split_type; | ^~~~~~~~~~~~~~~ g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -DR_BUILD -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppEigen/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c divforCpp.cpp -o divforCpp.o g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -DR_BUILD -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppEigen/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c utility.cpp -o utility.o g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -DR_BUILD -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppEigen/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c utilityRcpp.cpp -o utilityRcpp.o TreeProbability.cpp: In member function 'bool diversityForest::TreeProbability::findBestSplitMultivariate(size_t, std::vector, std::vector >, std::vector > >, std::vector > >)': TreeProbability.cpp:347:23: warning: 'best_split_type' may be used uninitialized [-Wmaybe-uninitialized] 347 | split_types[nodeID] = best_split_type; TreeProbability.cpp:266:10: note: 'best_split_type' was declared here 266 | size_t best_split_type; | ^~~~~~~~~~~~~~~ TreeRegression.cpp: In member function 'virtual double diversityForest::TreeRegression::computePredictionAccuracyInternal()': TreeRegression.cpp:219:5: warning: 'predicted_value' may be used uninitialized [-Wmaybe-uninitialized] 219 | if (predicted_value != real_value) { | ^~ TreeRegression.cpp:211:12: note: 'predicted_value' was declared here 211 | double predicted_value; | ^~~~~~~~~~~~~~~ TreeRegression.cpp: In member function 'bool diversityForest::TreeRegression::findBestSplitMultivariate(size_t, std::vector, std::vector >, std::vector > >, std::vector > >)': TreeRegression.cpp:451:23: warning: 'best_split_type' may be used uninitialized [-Wmaybe-uninitialized] 451 | split_types[nodeID] = best_split_type; TreeRegression.cpp:372:10: note: 'best_split_type' was declared here 372 | size_t best_split_type; | ^~~~~~~~~~~~~~~ TreeSurvival.cpp: In member function 'bool diversityForest::TreeSurvival::findBestSplitMultivariate(size_t, std::vector, std::vector >, std::vector > >, std::vector > >)': TreeSurvival.cpp:414:23: warning: 'best_split_type' may be used uninitialized [-Wmaybe-uninitialized] 414 | split_types[nodeID] = best_split_type; TreeSurvival.cpp:296:10: note: 'best_split_type' was declared here 296 | size_t best_split_type; | ^~~~~~~~~~~~~~~ In file included from divforCpp.cpp:44: DataSparse.h: In member function 'virtual double diversityForest::DataSparse::get(size_t, size_t) const': DataSparse.h:53:12: warning: unused variable 'col_permuted' [-Wunused-variable] 53 | size_t col_permuted = col; | ^~~~~~~~~~~~ g++-13 -std=gnu++17 -shared -L/usr/local/gcc13/lib64 -L/usr/local/lib64 -L/usr/local/clang18/lib/x86_64-unknown-linux-gnu -o diversityForest.so AAA_check_cpp11.o Data.o DataChar.o DataFloat.o DataSparse.o Forest.o ForestClassification.o ForestProbability.o ForestRegression.o ForestSurvival.o RcppExports.o Tree.o TreeClassification.o TreeProbability.o TreeRegression.o TreeSurvival.o divforCpp.o utility.o utilityRcpp.o make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/diversityForest/src' make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/diversityForest/src' make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/diversityForest/src' installing to /data/gannet/ripley/R/packages/tests-devel/diversityForest.Rcheck/00LOCK-diversityForest/00new/diversityForest/libs ** R ** data ** 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 ** 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 (diversityForest)