* installing *source* package ‘ldt’ ... ** package ‘ldt’ successfully unpacked and MD5 sums checked ** using staged installation ** libs using C compiler: ‘clang version 19.1.5’ using C++ compiler: ‘clang version 19.1.5’ using C++17 make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/ldt/src' /usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -DR_NO_REMAP -c RcppExports.cpp -o RcppExports.o /usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -DR_NO_REMAP -c array.cpp -o array.o /usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -DR_NO_REMAP -c auc.cpp -o auc.o /usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -DR_NO_REMAP -c correlation.cpp -o correlation.o /usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -DR_NO_REMAP -c data_split.cpp -o data_split.o /usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -DR_NO_REMAP -c dataset.cpp -o dataset.o /usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -DR_NO_REMAP -c decompositions.cpp -o decompositions.o /usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -DR_NO_REMAP -c derivative.cpp -o derivative.o /usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -DR_NO_REMAP -c descriptive.cpp -o descriptive.o /usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -DR_NO_REMAP -c discrete_choice.cpp -o discrete_choice.o /usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -DR_NO_REMAP -c discrete_choice_extended.cpp -o discrete_choice_extended.o descriptive.cpp:104:10: warning: variable 'sum' set but not used [-Wunused-but-set-variable] 104 | double sum = 0.0; | ^ 1 warning generated. /usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -DR_NO_REMAP -c discrete_choice_modelset.cpp -o discrete_choice_modelset.o /usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -DR_NO_REMAP -c discrete_choice_sim.cpp -o discrete_choice_sim.o /usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -DR_NO_REMAP -c distance.cpp -o distance.o /usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -DR_NO_REMAP -c distribution_gld.cpp -o distribution_gld.o /usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -DR_NO_REMAP -c distributions_uni.cpp -o distributions_uni.o In file included from distance.cpp:7: In file included from ./clustering.h:3: In file included from ./correlation.h:3: In file included from ./ldt_base.h:17: In file included from /usr/local/clang19/bin/../include/c++/v1/complex:270: In file included from /usr/local/clang19/bin/../include/c++/v1/sstream:317: In file included from /usr/local/clang19/bin/../include/c++/v1/__ostream/basic_ostream.h:14: In file included from /usr/local/clang19/bin/../include/c++/v1/__memory/shared_ptr.h:32: /usr/local/clang19/bin/../include/c++/v1/__memory/unique_ptr.h:80:5: warning: delete called on non-final 'ldt::Distance<true, DistanceMethod::kEuclidean, CorrelationMethod::kPearson>' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 80 | delete __ptr; | ^ /usr/local/clang19/bin/../include/c++/v1/__memory/unique_ptr.h:292:7: note: in instantiation of member function 'std::default_delete<ldt::Distance<true, DistanceMethod::kEuclidean, CorrelationMethod::kPearson>>::operator()' requested here 292 | __ptr_.second()(__tmp); | ^ /usr/local/clang19/bin/../include/c++/v1/__memory/unique_ptr.h:261:71: note: in instantiation of member function 'std::unique_ptr<ldt::Distance<true, DistanceMethod::kEuclidean, CorrelationMethod::kPearson>>::reset' requested here 261 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ distance.cpp:19:14: note: in instantiation of member function 'std::unique_ptr<ldt::Distance<true, DistanceMethod::kEuclidean, CorrelationMethod::kPearson>>::~unique_ptr' requested here 19 | return std::make_unique<Distance<true, DistanceMethod::kEuclidean, | ^ In file included from distance.cpp:7: In file included from ./clustering.h:3: In file included from ./correlation.h:3: In file included from ./ldt_base.h:17: In file included from /usr/local/clang19/bin/../include/c++/v1/complex:270: In file included from /usr/local/clang19/bin/../include/c++/v1/sstream:317: In file included from /usr/local/clang19/bin/../include/c++/v1/__ostream/basic_ostream.h:14: In file included from /usr/local/clang19/bin/../include/c++/v1/__memory/shared_ptr.h:32: /usr/local/clang19/bin/../include/c++/v1/__memory/unique_ptr.h:80:5: warning: delete called on non-final 'ldt::Distance<true, DistanceMethod::kManhattan, CorrelationMethod::kPearson>' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 80 | delete __ptr; | ^ /usr/local/clang19/bin/../include/c++/v1/__memory/unique_ptr.h:292:7: note: in instantiation of member function 'std::default_delete<ldt::Distance<true, DistanceMethod::kManhattan, CorrelationMethod::kPearson>>::operator()' requested here 292 | __ptr_.second()(__tmp); | ^ /usr/local/clang19/bin/../include/c++/v1/__memory/unique_ptr.h:261:71: note: in instantiation of member function 'std::unique_ptr<ldt::Distance<true, DistanceMethod::kManhattan, CorrelationMethod::kPearson>>::reset' requested here 261 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ distance.cpp:24:14: note: in instantiation of member function 'std::unique_ptr<ldt::Distance<true, DistanceMethod::kManhattan, CorrelationMethod::kPearson>>::~unique_ptr' requested here 24 | return std::make_unique<Distance<true, DistanceMethod::kManhattan, | ^ In file included from distance.cpp:7: In file included from ./clustering.h:3: In file included from ./correlation.h:3: In file included from ./ldt_base.h:17: In file included from /usr/local/clang19/bin/../include/c++/v1/complex:270: In file included from /usr/local/clang19/bin/../include/c++/v1/sstream:317: In file included from /usr/local/clang19/bin/../include/c++/v1/__ostream/basic_ostream.h:14: In file included from /usr/local/clang19/bin/../include/c++/v1/__memory/shared_ptr.h:32: /usr/local/clang19/bin/../include/c++/v1/__memory/unique_ptr.h:80:5: warning: delete called on non-final 'ldt::Distance<true, DistanceMethod::kMaximum, CorrelationMethod::kPearson>' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 80 | delete __ptr; | ^ /usr/local/clang19/bin/../include/c++/v1/__memory/unique_ptr.h:292:7: note: in instantiation of member function 'std::default_delete<ldt::Distance<true, DistanceMethod::kMaximum, CorrelationMethod::kPearson>>::operator()' requested here 292 | __ptr_.second()(__tmp); | ^ /usr/local/clang19/bin/../include/c++/v1/__memory/unique_ptr.h:261:71: note: in instantiation of member function 'std::unique_ptr<ldt::Distance<true, DistanceMethod::kMaximum, CorrelationMethod::kPearson>>::reset' requested here 261 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ distance.cpp:29:14: note: in instantiation of member function 'std::unique_ptr<ldt::Distance<true, DistanceMethod::kMaximum, CorrelationMethod::kPearson>>::~unique_ptr' requested here 29 | return std::make_unique<Distance<true, DistanceMethod::kMaximum, | ^ In file included from distance.cpp:7: In file included from ./clustering.h:3: In file included from ./correlation.h:3: In file included from ./ldt_base.h:17: In file included from /usr/local/clang19/bin/../include/c++/v1/complex:270: In file included from /usr/local/clang19/bin/../include/c++/v1/sstream:317: In file included from /usr/local/clang19/bin/../include/c++/v1/__ostream/basic_ostream.h:14: In file included from /usr/local/clang19/bin/../include/c++/v1/__memory/shared_ptr.h:32: /usr/local/clang19/bin/../include/c++/v1/__memory/unique_ptr.h:80:5: warning: delete called on non-final 'ldt::Distance<true, DistanceMethod::kCorrelation, CorrelationMethod::kPearson>' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 80 | delete __ptr; | ^ /usr/local/clang19/bin/../include/c++/v1/__memory/unique_ptr.h:292:7: note: in instantiation of member function 'std::default_delete<ldt::Distance<true, DistanceMethod::kCorrelation, CorrelationMethod::kPearson>>::operator()' requested here 292 | __ptr_.second()(__tmp); | ^ /usr/local/clang19/bin/../include/c++/v1/__memory/unique_ptr.h:261:71: note: in instantiation of member function 'std::unique_ptr<ldt::Distance<true, DistanceMethod::kCorrelation, CorrelationMethod::kPearson>>::reset' requested here 261 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ distance.cpp:36:16: note: in instantiation of member function 'std::unique_ptr<ldt::Distance<true, DistanceMethod::kCorrelation, CorrelationMethod::kPearson>>::~unique_ptr' requested here 36 | return std::make_unique<Distance<true, DistanceMethod::kCorrelation, | ^ In file included from distance.cpp:7: In file included from ./clustering.h:3: In file included from ./correlation.h:3: In file included from ./ldt_base.h:17: In file included from /usr/local/clang19/bin/../include/c++/v1/complex:270: In file included from /usr/local/clang19/bin/../include/c++/v1/sstream:317: In file included from /usr/local/clang19/bin/../include/c++/v1/__ostream/basic_ostream.h:14: In file included from /usr/local/clang19/bin/../include/c++/v1/__memory/shared_ptr.h:32: /usr/local/clang19/bin/../include/c++/v1/__memory/unique_ptr.h:80:5: warning: delete called on non-final 'ldt::Distance<true, DistanceMethod::kCorrelation, CorrelationMethod::kSpearman>' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 80 | delete __ptr; | ^ /usr/local/clang19/bin/../include/c++/v1/__memory/unique_ptr.h:292:7: note: in instantiation of member function 'std::default_delete<ldt::Distance<true, DistanceMethod::kCorrelation, CorrelationMethod::kSpearman>>::operator()' requested here 292 | __ptr_.second()(__tmp); | ^ /usr/local/clang19/bin/../include/c++/v1/__memory/unique_ptr.h:261:71: note: in instantiation of member function 'std::unique_ptr<ldt::Distance<true, DistanceMethod::kCorrelation, CorrelationMethod::kSpearman>>::reset' requested here 261 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ distance.cpp:41:16: note: in instantiation of member function 'std::unique_ptr<ldt::Distance<true, DistanceMethod::kCorrelation, CorrelationMethod::kSpearman>>::~unique_ptr' requested here 41 | return std::make_unique<Distance<true, DistanceMethod::kCorrelation, | ^ In file included from distance.cpp:7: In file included from ./clustering.h:3: In file included from ./correlation.h:3: In file included from ./ldt_base.h:17: In file included from /usr/local/clang19/bin/../include/c++/v1/complex:270: In file included from /usr/local/clang19/bin/../include/c++/v1/sstream:317: In file included from /usr/local/clang19/bin/../include/c++/v1/__ostream/basic_ostream.h:14: In file included from /usr/local/clang19/bin/../include/c++/v1/__memory/shared_ptr.h:32: /usr/local/clang19/bin/../include/c++/v1/__memory/unique_ptr.h:80:5: warning: delete called on non-final 'ldt::Distance<true, DistanceMethod::kAbsCorrelation, CorrelationMethod::kPearson>' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 80 | delete __ptr; | ^ /usr/local/clang19/bin/../include/c++/v1/__memory/unique_ptr.h:292:7: note: in instantiation of member function 'std::default_delete<ldt::Distance<true, DistanceMethod::kAbsCorrelation, CorrelationMethod::kPearson>>::operator()' requested here 292 | __ptr_.second()(__tmp); | ^ /usr/local/clang19/bin/../include/c++/v1/__memory/unique_ptr.h:261:71: note: in instantiation of member function 'std::unique_ptr<ldt::Distance<true, DistanceMethod::kAbsCorrelation, CorrelationMethod::kPearson>>::reset' requested here 261 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ distance.cpp:53:16: note: in instantiation of member function 'std::unique_ptr<ldt::Distance<true, DistanceMethod::kAbsCorrelation, CorrelationMethod::kPearson>>::~unique_ptr' requested here 53 | return std::make_unique<Distance<true, DistanceMethod::kAbsCorrelation, | ^ In file included from distance.cpp:7: In file included from ./clustering.h:3: In file included from ./correlation.h:3: In file included from ./ldt_base.h:17: In file included from /usr/local/clang19/bin/../include/c++/v1/complex:270: In file included from /usr/local/clang19/bin/../include/c++/v1/sstream:317: In file included from /usr/local/clang19/bin/../include/c++/v1/__ostream/basic_ostream.h:14: In file included from /usr/local/clang19/bin/../include/c++/v1/__memory/shared_ptr.h:32: /usr/local/clang19/bin/../include/c++/v1/__memory/unique_ptr.h:80:5: warning: delete called on non-final 'ldt::Distance<true, DistanceMethod::kAbsCorrelation, CorrelationMethod::kSpearman>' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 80 | delete __ptr; | ^ /usr/local/clang19/bin/../include/c++/v1/__memory/unique_ptr.h:292:7: note: in instantiation of member function 'std::default_delete<ldt::Distance<true, DistanceMethod::kAbsCorrelation, CorrelationMethod::kSpearman>>::operator()' requested here 292 | __ptr_.second()(__tmp); | ^ /usr/local/clang19/bin/../include/c++/v1/__memory/unique_ptr.h:261:71: note: in instantiation of member function 'std::unique_ptr<ldt::Distance<true, DistanceMethod::kAbsCorrelation, CorrelationMethod::kSpearman>>::reset' requested here 261 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ distance.cpp:58:16: note: in instantiation of member function 'std::unique_ptr<ldt::Distance<true, DistanceMethod::kAbsCorrelation, CorrelationMethod::kSpearman>>::~unique_ptr' requested here 58 | return std::make_unique<Distance<true, DistanceMethod::kAbsCorrelation, | ^ In file included from distance.cpp:7: In file included from ./clustering.h:3: In file included from ./correlation.h:3: In file included from ./ldt_base.h:17: In file included from /usr/local/clang19/bin/../include/c++/v1/complex:270: In file included from /usr/local/clang19/bin/../include/c++/v1/sstream:317: In file included from /usr/local/clang19/bin/../include/c++/v1/__ostream/basic_ostream.h:14: In file included from /usr/local/clang19/bin/../include/c++/v1/__memory/shared_ptr.h:32: /usr/local/clang19/bin/../include/c++/v1/__memory/unique_ptr.h:80:5: warning: delete called on non-final 'ldt::Distance<false, DistanceMethod::kEuclidean, CorrelationMethod::kPearson>' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 80 | delete __ptr; | ^ /usr/local/clang19/bin/../include/c++/v1/__memory/unique_ptr.h:292:7: note: in instantiation of member function 'std::default_delete<ldt::Distance<false, DistanceMethod::kEuclidean, CorrelationMethod::kPearson>>::operator()' requested here 292 | __ptr_.second()(__tmp); | ^ /usr/local/clang19/bin/../include/c++/v1/__memory/unique_ptr.h:261:71: note: in instantiation of member function 'std::unique_ptr<ldt::Distance<false, DistanceMethod::kEuclidean, CorrelationMethod::kPearson>>::reset' requested here 261 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ distance.cpp:74:14: note: in instantiation of member function 'std::unique_ptr<ldt::Distance<false, DistanceMethod::kEuclidean, CorrelationMethod::kPearson>>::~unique_ptr' requested here 74 | return std::make_unique<Distance<false, DistanceMethod::kEuclidean, | ^ In file included from distance.cpp:7: In file included from ./clustering.h:3: In file included from ./correlation.h:3: In file included from ./ldt_base.h:17: In file included from /usr/local/clang19/bin/../include/c++/v1/complex:270: In file included from /usr/local/clang19/bin/../include/c++/v1/sstream:317: In file included from /usr/local/clang19/bin/../include/c++/v1/__ostream/basic_ostream.h:14: In file included from /usr/local/clang19/bin/../include/c++/v1/__memory/shared_ptr.h:32: /usr/local/clang19/bin/../include/c++/v1/__memory/unique_ptr.h:80:5: warning: delete called on non-final 'ldt::Distance<false, DistanceMethod::kManhattan, CorrelationMethod::kPearson>' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 80 | delete __ptr; | ^ /usr/local/clang19/bin/../include/c++/v1/__memory/unique_ptr.h:292:7: note: in instantiation of member function 'std::default_delete<ldt::Distance<false, DistanceMethod::kManhattan, CorrelationMethod::kPearson>>::operator()' requested here 292 | __ptr_.second()(__tmp); | ^ /usr/local/clang19/bin/../include/c++/v1/__memory/unique_ptr.h:261:71: note: in instantiation of member function 'std::unique_ptr<ldt::Distance<false, DistanceMethod::kManhattan, CorrelationMethod::kPearson>>::reset' requested here 261 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ distance.cpp:79:14: note: in instantiation of member function 'std::unique_ptr<ldt::Distance<false, DistanceMethod::kManhattan, CorrelationMethod::kPearson>>::~unique_ptr' requested here 79 | return std::make_unique<Distance<false, DistanceMethod::kManhattan, | ^ In file included from distance.cpp:7: In file included from ./clustering.h:3: In file included from ./correlation.h:3: In file included from ./ldt_base.h:17: In file included from /usr/local/clang19/bin/../include/c++/v1/complex:270: In file included from /usr/local/clang19/bin/../include/c++/v1/sstream:317: In file included from /usr/local/clang19/bin/../include/c++/v1/__ostream/basic_ostream.h:14: In file included from /usr/local/clang19/bin/../include/c++/v1/__memory/shared_ptr.h:32: /usr/local/clang19/bin/../include/c++/v1/__memory/unique_ptr.h:80:5: warning: delete called on non-final 'ldt::Distance<false, DistanceMethod::kMaximum, CorrelationMethod::kPearson>' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 80 | delete __ptr; | ^ /usr/local/clang19/bin/../include/c++/v1/__memory/unique_ptr.h:292:7: note: in instantiation of member function 'std::default_delete<ldt::Distance<false, DistanceMethod::kMaximum, CorrelationMethod::kPearson>>::operator()' requested here 292 | __ptr_.second()(__tmp); | ^ /usr/local/clang19/bin/../include/c++/v1/__memory/unique_ptr.h:261:71: note: in instantiation of member function 'std::unique_ptr<ldt::Distance<false, DistanceMethod::kMaximum, CorrelationMethod::kPearson>>::reset' requested here 261 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ distance.cpp:84:14: note: in instantiation of member function 'std::unique_ptr<ldt::Distance<false, DistanceMethod::kMaximum, CorrelationMethod::kPearson>>::~unique_ptr' requested here 84 | return std::make_unique<Distance<false, DistanceMethod::kMaximum, | ^ In file included from distance.cpp:7: In file included from ./clustering.h:3: In file included from ./correlation.h:3: In file included from ./ldt_base.h:17: In file included from /usr/local/clang19/bin/../include/c++/v1/complex:270: In file included from /usr/local/clang19/bin/../include/c++/v1/sstream:317: In file included from /usr/local/clang19/bin/../include/c++/v1/__ostream/basic_ostream.h:14: In file included from /usr/local/clang19/bin/../include/c++/v1/__memory/shared_ptr.h:32: /usr/local/clang19/bin/../include/c++/v1/__memory/unique_ptr.h:80:5: warning: delete called on non-final 'ldt::Distance<false, DistanceMethod::kCorrelation, CorrelationMethod::kPearson>' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 80 | delete __ptr; | ^ /usr/local/clang19/bin/../include/c++/v1/__memory/unique_ptr.h:292:7: note: in instantiation of member function 'std::default_delete<ldt::Distance<false, DistanceMethod::kCorrelation, CorrelationMethod::kPearson>>::operator()' requested here 292 | __ptr_.second()(__tmp); | ^ /usr/local/clang19/bin/../include/c++/v1/__memory/unique_ptr.h:261:71: note: in instantiation of member function 'std::unique_ptr<ldt::Distance<false, DistanceMethod::kCorrelation, CorrelationMethod::kPearson>>::reset' requested here 261 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ distance.cpp:91:16: note: in instantiation of member function 'std::unique_ptr<ldt::Distance<false, DistanceMethod::kCorrelation, CorrelationMethod::kPearson>>::~unique_ptr' requested here 91 | return std::make_unique<Distance<false, DistanceMethod::kCorrelation, | ^ In file included from distance.cpp:7: In file included from ./clustering.h:3: In file included from ./correlation.h:3: In file included from ./ldt_base.h:17: In file included from /usr/local/clang19/bin/../include/c++/v1/complex:270: In file included from /usr/local/clang19/bin/../include/c++/v1/sstream:317: In file included from /usr/local/clang19/bin/../include/c++/v1/__ostream/basic_ostream.h:14: In file included from /usr/local/clang19/bin/../include/c++/v1/__memory/shared_ptr.h:32: /usr/local/clang19/bin/../include/c++/v1/__memory/unique_ptr.h:80:5: warning: delete called on non-final 'ldt::Distance<false, DistanceMethod::kCorrelation, CorrelationMethod::kSpearman>' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 80 | delete __ptr; | ^ /usr/local/clang19/bin/../include/c++/v1/__memory/unique_ptr.h:292:7: note: in instantiation of member function 'std::default_delete<ldt::Distance<false, DistanceMethod::kCorrelation, CorrelationMethod::kSpearman>>::operator()' requested here 292 | __ptr_.second()(__tmp); | ^ /usr/local/clang19/bin/../include/c++/v1/__memory/unique_ptr.h:261:71: note: in instantiation of member function 'std::unique_ptr<ldt::Distance<false, DistanceMethod::kCorrelation, CorrelationMethod::kSpearman>>::reset' requested here 261 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ distance.cpp:96:16: note: in instantiation of member function 'std::unique_ptr<ldt::Distance<false, DistanceMethod::kCorrelation, CorrelationMethod::kSpearman>>::~unique_ptr' requested here 96 | return std::make_unique<Distance<false, DistanceMethod::kCorrelation, | ^ In file included from distance.cpp:7: In file included from ./clustering.h:3: In file included from ./correlation.h:3: In file included from ./ldt_base.h:17: In file included from /usr/local/clang19/bin/../include/c++/v1/complex:270: In file included from /usr/local/clang19/bin/../include/c++/v1/sstream:317: In file included from /usr/local/clang19/bin/../include/c++/v1/__ostream/basic_ostream.h:14: In file included from /usr/local/clang19/bin/../include/c++/v1/__memory/shared_ptr.h:32: /usr/local/clang19/bin/../include/c++/v1/__memory/unique_ptr.h:80:5: warning: delete called on non-final 'ldt::Distance<false, DistanceMethod::kAbsCorrelation, CorrelationMethod::kPearson>' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 80 | delete __ptr; | ^ /usr/local/clang19/bin/../include/c++/v1/__memory/unique_ptr.h:292:7: note: in instantiation of member function 'std::default_delete<ldt::Distance<false, DistanceMethod::kAbsCorrelation, CorrelationMethod::kPearson>>::operator()' requested here 292 | __ptr_.second()(__tmp); | ^ /usr/local/clang19/bin/../include/c++/v1/__memory/unique_ptr.h:261:71: note: in instantiation of member function 'std::unique_ptr<ldt::Distance<false, DistanceMethod::kAbsCorrelation, CorrelationMethod::kPearson>>::reset' requested here 261 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ distance.cpp:108:16: note: in instantiation of member function 'std::unique_ptr<ldt::Distance<false, DistanceMethod::kAbsCorrelation, CorrelationMethod::kPearson>>::~unique_ptr' requested here 108 | return std::make_unique<Distance<false, DistanceMethod::kAbsCorrelation, | ^ In file included from distance.cpp:7: In file included from ./clustering.h:3: In file included from ./correlation.h:3: In file included from ./ldt_base.h:17: In file included from /usr/local/clang19/bin/../include/c++/v1/complex:270: In file included from /usr/local/clang19/bin/../include/c++/v1/sstream:317: In file included from /usr/local/clang19/bin/../include/c++/v1/__ostream/basic_ostream.h:14: In file included from /usr/local/clang19/bin/../include/c++/v1/__memory/shared_ptr.h:32: /usr/local/clang19/bin/../include/c++/v1/__memory/unique_ptr.h:80:5: warning: delete called on non-final 'ldt::Distance<false, DistanceMethod::kAbsCorrelation, CorrelationMethod::kSpearman>' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 80 | delete __ptr; | ^ /usr/local/clang19/bin/../include/c++/v1/__memory/unique_ptr.h:292:7: note: in instantiation of member function 'std::default_delete<ldt::Distance<false, DistanceMethod::kAbsCorrelation, CorrelationMethod::kSpearman>>::operator()' requested here 292 | __ptr_.second()(__tmp); | ^ /usr/local/clang19/bin/../include/c++/v1/__memory/unique_ptr.h:261:71: note: in instantiation of member function 'std::unique_ptr<ldt::Distance<false, DistanceMethod::kAbsCorrelation, CorrelationMethod::kSpearman>>::reset' requested here 261 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ distance.cpp:113:16: note: in instantiation of member function 'std::unique_ptr<ldt::Distance<false, DistanceMethod::kAbsCorrelation, CorrelationMethod::kSpearman>>::~unique_ptr' requested here 113 | return std::make_unique<Distance<false, DistanceMethod::kAbsCorrelation, | ^ /usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -DR_NO_REMAP -c frequency_cost.cpp -o frequency_cost.o 14 warnings generated. /usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -DR_NO_REMAP -c group_data.cpp -o group_data.o In file included from distributions_uni.cpp:7: In file included from ./distributions.h:5: In file included from ./helpers.h:8: In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/math/special_functions/beta.hpp:1721: /data/gannet/ripley/R/test-clang/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:29:15: warning: unused variable 'x_extrema' [-Wunused-variable] 29 | const T x_extrema = 1 / (1 + a); | ^~~~~~~~~ /data/gannet/ripley/R/test-clang/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:304:7: note: in instantiation of member function 'boost::math::detail::temme_root_finder<long double>::temme_root_finder' requested here 304 | temme_root_finder<T>(-lu, alpha), x, lower, upper, policies::digits<T, Policy>() / 2); | ^ /data/gannet/ripley/R/test-clang/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:615:20: note: in instantiation of function template specialization 'boost::math::detail::temme_method_2_ibeta_inverse<long double, boost::math::policies::policy<detail::forwarding_arg1, detail::forwarding_arg2, default_policy, default_policy, default_policy, default_policy, default_policy, default_policy, default_policy, default_policy, default_policy>>' requested here 615 | x = temme_method_2_ibeta_inverse(a, b, p, r, theta, pol); | ^ /data/gannet/ripley/R/test-clang/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:992:17: note: in instantiation of function template specialization 'boost::math::detail::ibeta_inv_imp<long double, boost::math::policies::policy<detail::forwarding_arg1, detail::forwarding_arg2, default_policy, default_policy, default_policy, default_policy, default_policy, default_policy, default_policy, default_policy, default_policy>>' requested here 992 | rx = detail::ibeta_inv_imp( | ^ /data/gannet/ripley/R/test-clang/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:1015:11: note: in instantiation of function template specialization 'boost::math::ibeta_inv<double, double, double, double, boost::math::policies::policy<default_policy, default_policy, default_policy, default_policy, default_policy, default_policy, default_policy, default_policy, default_policy, default_policy, default_policy>>' requested here 1015 | return ibeta_inv(a, b, p, static_cast<result_type*>(nullptr), policies::policy<>()); | ^ ./helpers.h:98:23: note: in instantiation of function template specialization 'boost::math::ibeta_inv<double, double, double>' requested here 98 | return boost::math::ibeta_inv(x, y, z); | ^ distributions_uni.cpp:1135:12: note: in instantiation of function template specialization 'Math_iBetaInv<double>' requested here 1135 | return Math_iBetaInv(mParam1, mParam2, p); | ^ In file included from group_data.cpp:7: In file included from ./clustering.h:3: In file included from ./correlation.h:3: In file included from ./ldt_base.h:17: In file included from /usr/local/clang19/bin/../include/c++/v1/complex:270: In file included from /usr/local/clang19/bin/../include/c++/v1/sstream:317: In file included from /usr/local/clang19/bin/../include/c++/v1/__ostream/basic_ostream.h:14: In file included from /usr/local/clang19/bin/../include/c++/v1/__memory/shared_ptr.h:32: /usr/local/clang19/bin/../include/c++/v1/__memory/unique_ptr.h:80:5: warning: delete called on 'ldt::GroupDataBase' that is abstract but has non-virtual destructor [-Wdelete-abstract-non-virtual-dtor] 80 | delete __ptr; | ^ /usr/local/clang19/bin/../include/c++/v1/__memory/unique_ptr.h:292:7: note: in instantiation of member function 'std::default_delete<ldt::GroupDataBase>::operator()' requested here 292 | __ptr_.second()(__tmp); | ^ /usr/local/clang19/bin/../include/c++/v1/__memory/unique_ptr.h:261:71: note: in instantiation of member function 'std::unique_ptr<ldt::GroupDataBase>::reset' requested here 261 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ group_data.cpp:91:14: note: in instantiation of member function 'std::unique_ptr<ldt::GroupDataBase>::~unique_ptr' requested here 91 | return std::unique_ptr<GroupDataBase>( | ^ /usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -DR_NO_REMAP -c hcluster.cpp -o hcluster.o 1 warning generated. 1 warning generated. /usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -DR_NO_REMAP -c helpers.cpp -o helpers.o /usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3 -c lbfgsb.c -o lbfgsb.o /usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3 -c linesearch.c -o linesearch.o /usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3 -c linpack.c -o linpack.o /usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -DR_NO_REMAP -c lmbfgsb.cpp -o lmbfgsb.o /usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -DR_NO_REMAP -c matrix.cpp -o matrix.o /usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -DR_NO_REMAP -c matrix_la.cpp -o matrix_la.o /usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -DR_NO_REMAP -c matrix_sym.cpp -o matrix_sym.o /usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3 -c miniCBLAS.c -o miniCBLAS.o /usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -DR_NO_REMAP -c mixture.cpp -o mixture.o /usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -DR_NO_REMAP -c modelset.cpp -o modelset.o /usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -DR_NO_REMAP -c mpolynomial.cpp -o mpolynomial.o /usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -DR_NO_REMAP -c nelder_mead.cpp -o nelder_mead.o /usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -DR_NO_REMAP -c newton.cpp -o newton.o /usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -DR_NO_REMAP -c pca.cpp -o pca.o /usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -DR_NO_REMAP -c polynomial.cpp -o polynomial.o /usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3 -c print.c -o print.o /usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -DR_NO_REMAP -c r_clustering.cpp -o r_clustering.o /usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -DR_NO_REMAP -c r_dc.cpp -o r_dc.o /usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -DR_NO_REMAP -c r_func.cpp -o r_func.o /usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -DR_NO_REMAP -c r_ldt.cpp -o r_ldt.o /usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -DR_NO_REMAP -c r_statistics.cpp -o r_statistics.o In file included from r_clustering.cpp:2: In file included from ./clustering.h:3: In file included from ./correlation.h:3: In file included from ./ldt_base.h:17: In file included from /usr/local/clang19/bin/../include/c++/v1/complex:270: In file included from /usr/local/clang19/bin/../include/c++/v1/sstream:317: In file included from /usr/local/clang19/bin/../include/c++/v1/__ostream/basic_ostream.h:14: In file included from /usr/local/clang19/bin/../include/c++/v1/__memory/shared_ptr.h:32: /usr/local/clang19/bin/../include/c++/v1/__memory/unique_ptr.h:80:5: warning: delete called on 'ldt::DistanceBase' that is abstract but has non-virtual destructor [-Wdelete-abstract-non-virtual-dtor] 80 | delete __ptr; | ^ /usr/local/clang19/bin/../include/c++/v1/__memory/unique_ptr.h:292:7: note: in instantiation of member function 'std::default_delete<ldt::DistanceBase>::operator()' requested here 292 | __ptr_.second()(__tmp); | ^ /usr/local/clang19/bin/../include/c++/v1/__memory/unique_ptr.h:261:71: note: in instantiation of member function 'std::unique_ptr<ldt::DistanceBase>::reset' requested here 261 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ r_clustering.cpp:24:16: note: in instantiation of member function 'std::unique_ptr<ldt::DistanceBase>::~unique_ptr' requested here 24 | auto dista = DistanceBase::GetFromType(checkNan, distance0, correlation0, | ^ In file included from r_clustering.cpp:2: In file included from ./clustering.h:3: In file included from ./correlation.h:3: In file included from ./ldt_base.h:17: In file included from /usr/local/clang19/bin/../include/c++/v1/complex:270: In file included from /usr/local/clang19/bin/../include/c++/v1/sstream:317: In file included from /usr/local/clang19/bin/../include/c++/v1/__ostream/basic_ostream.h:14: In file included from /usr/local/clang19/bin/../include/c++/v1/__memory/shared_ptr.h:32: /usr/local/clang19/bin/../include/c++/v1/__memory/unique_ptr.h:80:5: warning: delete called on 'ldt::GroupDataBase' that is abstract but has non-virtual destructor [-Wdelete-abstract-non-virtual-dtor] 80 | delete __ptr; | ^ /usr/local/clang19/bin/../include/c++/v1/__memory/unique_ptr.h:292:7: note: in instantiation of member function 'std::default_delete<ldt::GroupDataBase>::operator()' requested here 292 | __ptr_.second()(__tmp); | ^ /usr/local/clang19/bin/../include/c++/v1/__memory/unique_ptr.h:261:71: note: in instantiation of member function 'std::unique_ptr<ldt::GroupDataBase>::reset' requested here 261 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } | ^ r_clustering.cpp:89:16: note: in instantiation of member function 'std::unique_ptr<ldt::GroupDataBase>::~unique_ptr' requested here 89 | auto group = GroupDataBase::GetFromType(linkage0, distance0, correlation0, | ^ /usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -DR_NO_REMAP -c r_sur.cpp -o r_sur.o r_func.cpp:141:16: warning: variable 'co' set but not used [-Wunused-but-set-variable] 141 | unsigned int co = 0; | ^ 2 warnings generated. /usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -DR_NO_REMAP -c r_varma.cpp -o r_varma.o /usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -DR_NO_REMAP -c roc.cpp -o roc.o /usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -DR_NO_REMAP -c scoring.cpp -o scoring.o 1 warning generated. /usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -DR_NO_REMAP -c searcher.cpp -o searcher.o r_sur.cpp:208:9: warning: variable 'fcount' set but not used [-Wunused-but-set-variable] 208 | int fcount = 0; | ^ /usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -DR_NO_REMAP -c searcher_reg.cpp -o searcher_reg.o r_varma.cpp:270:9: warning: variable 'fcount' set but not used [-Wunused-but-set-variable] 270 | int fcount = 0; | ^ /usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -DR_NO_REMAP -c statistics.cpp -o statistics.o /usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3 -c subalgorithms.c -o subalgorithms.o subalgorithms.c:15:11: warning: variable 'nbdd' set but not used [-Wunused-but-set-variable] 15 | Ti i__, nbdd; | ^ /usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -DR_NO_REMAP -c summary.cpp -o summary.o 1 warning generated. 1 warning generated. /usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -DR_NO_REMAP -c sur.cpp -o sur.o 1 warning generated. /usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -DR_NO_REMAP -c sur_extended.cpp -o sur_extended.o /usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -DR_NO_REMAP -c sur_modelset.cpp -o sur_modelset.o /usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -DR_NO_REMAP -c sur_projection.cpp -o sur_projection.o /usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -DR_NO_REMAP -c sur_simulation.cpp -o sur_simulation.o /usr/local/clang19/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3 -c timer.c -o timer.o /usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -DR_NO_REMAP -c varma.cpp -o varma.o /usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -DR_NO_REMAP -c varma_arma.cpp -o varma_arma.o /usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -DR_NO_REMAP -c varma_extended.cpp -o varma_extended.o varma_arma.cpp:116:12: warning: expression result unused [-Wunused-value] 116 | for (i; i <= mMaInfCount; i++) | ^ 1 warning generated. /usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -DR_NO_REMAP -c varma_forecast.cpp -o varma_forecast.o /usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -DR_NO_REMAP -c varma_modelset.cpp -o varma_modelset.o /usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -DR_NO_REMAP -c varma_restriction.cpp -o varma_restriction.o varma_modelset.cpp:185:16: warning: variable 'j' set but not used [-Wunused-but-set-variable] 185 | Ti j = -1; | ^ /usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -DR_NO_REMAP -c varma_simulation.cpp -o varma_simulation.o 1 warning generated. /usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -DR_NO_REMAP -c varma_sizes.cpp -o varma_sizes.o /usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -DR_NO_REMAP -c vmatrix.cpp -o vmatrix.o /usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -shared -L/usr/local/clang/lib64 -L/usr/local/clang19/lib -L/usr/local/clang19/lib/x86_64-unknown-linux-gnu -L/usr/local/gcc14/lib64 -L/usr/local/lib64 -o ldt.so RcppExports.o array.o auc.o correlation.o data_split.o dataset.o decompositions.o derivative.o descriptive.o discrete_choice.o discrete_choice_extended.o discrete_choice_modelset.o discrete_choice_sim.o distance.o distribution_gld.o distributions_uni.o frequency_cost.o group_data.o hcluster.o helpers.o lbfgsb.o linesearch.o linpack.o lmbfgsb.o matrix.o matrix_la.o matrix_sym.o miniCBLAS.o mixture.o modelset.o mpolynomial.o nelder_mead.o newton.o pca.o polynomial.o print.o r_clustering.o r_dc.o r_func.o r_ldt.o r_statistics.o r_sur.o r_varma.o roc.o scoring.o searcher.o searcher_reg.o statistics.o subalgorithms.o summary.o sur.o sur_extended.o sur_modelset.o sur_projection.o sur_simulation.o timer.o varma.o varma_arma.o varma_extended.o varma_forecast.o varma_modelset.o varma_restriction.o varma_simulation.o varma_sizes.o vmatrix.o -fopenmp -L/data/gannet/ripley/R/R-clang/lib -lRlapack -L/data/gannet/ripley/R/R-clang/lib -lRblas -lFortranRuntime -lFortranDecimal -lm make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/ldt/src' make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/ldt/src' make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/ldt/src' installing to /data/gannet/ripley/R/packages/tests-clang/ldt.Rcheck/00LOCK-ldt/00new/ldt/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 (ldt)