* installing *source* package ‘CaseBasedReasoning’ ...
** package ‘CaseBasedReasoning’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘clang version 19.1.5’
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/CaseBasedReasoning/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/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/RcppParallel/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -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/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/RcppParallel/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3  -DR_NO_REMAP -c distanceAPI.cpp -o distanceAPI.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/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/RcppParallel/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3  -DR_NO_REMAP -c distances.cpp -o distances.o
In file included from distanceAPI.cpp:1:
In file included from ./distanceAPI.h:7:
./distance/distance.h:60:17: warning: variable 'nTree' set but not used [-Wunused-but-set-variable]
   60 |     std::size_t nTree = 0;
      |                 ^
distanceAPI.cpp:46:7: warning: unused variable 'ncols' [-Wunused-variable]
   46 |   int ncols = y.n_rows;
      |       ^~~~~
In file included from distanceAPI.cpp:1:
In file included from ./distanceAPI.h:5:
In file included from /data/gannet/ripley/R/test-clang/RcppArmadillo/include/RcppArmadillo.h:29:
In file included from /data/gannet/ripley/R/test-clang/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:30:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/r/headers.h:66:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/platform/compiler.h:153:
In file included from /usr/local/clang19/bin/../include/c++/v1/unordered_map:597:
/usr/local/clang19/bin/../include/c++/v1/__memory/allocator.h:168:81: warning: destructor called on non-final 'rangerProximity' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
  168 |   _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); }
      |                                                                                 ^
/usr/local/clang19/bin/../include/c++/v1/__memory/allocator_traits.h:334:9: note: in instantiation of member function 'std::allocator<rangerProximity>::destroy' requested here
  334 |     __a.destroy(__p);
      |         ^
/usr/local/clang19/bin/../include/c++/v1/__memory/shared_ptr.h:283:33: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<rangerProximity>>::destroy<rangerProximity, 0>' requested here
  283 |     allocator_traits<_TpAlloc>::destroy(__tmp, __get_elem());
      |                                 ^
/usr/local/clang19/bin/../include/c++/v1/__memory/shared_ptr.h:286:78: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<rangerProximity, std::allocator<rangerProximity>>::__on_zero_shared_impl<std::allocator<rangerProximity>, 0>' requested here
  286 |   _LIBCPP_HIDE_FROM_ABI_VIRTUAL void __on_zero_shared() _NOEXCEPT override { __on_zero_shared_impl(); }
      |                                                                              ^
/usr/local/clang19/bin/../include/c++/v1/__memory/shared_ptr.h:261:34: note: in instantiation of member function 'std::__shared_ptr_emplace<rangerProximity, std::allocator<rangerProximity>>::__on_zero_shared' requested here
  261 |   _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __storage_(std::move(__a)) {
      |                                  ^
/usr/local/clang19/bin/../include/c++/v1/__memory/shared_ptr.h:843:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<rangerProximity, std::allocator<rangerProximity>>::__shared_ptr_emplace<rangerProximity &, std::allocator<rangerProximity>, 0>' requested here
  843 |   ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__a, std::forward<_Args>(__args)...);
      |                                                   ^
/usr/local/clang19/bin/../include/c++/v1/__memory/shared_ptr.h:851:15: note: in instantiation of function template specialization 'std::allocate_shared<rangerProximity, std::allocator<rangerProximity>, rangerProximity &, 0>' requested here
  851 |   return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...);
      |               ^
distanceAPI.cpp:73:16: note: in instantiation of function template specialization 'std::make_shared<rangerProximity, rangerProximity &, 0>' requested here
   73 |   dist_ = std::make_shared<rangerProximity>(dist);
      |                ^
/usr/local/clang19/bin/../include/c++/v1/__memory/allocator.h:168:87: note: qualify call to silence this warning
  168 |   _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI void destroy(pointer __p) { __p->~_Tp(); }
      |                                                                                       ^
In file included from distances.cpp:4:
In file included from ./distanceAPI.h:7:
./distance/distance.h:60:17: warning: variable 'nTree' set but not used [-Wunused-but-set-variable]
   60 |     std::size_t nTree = 0;
      |                 ^
3 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/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/RcppParallel/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3  -DR_NO_REMAP -c order.cpp -o order.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/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/RcppParallel/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3  -DR_NO_REMAP -c weightedKNN.cpp -o weightedKNN.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 CaseBasedReasoning.so RcppExports.o distanceAPI.o distances.o order.o weightedKNN.o
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/CaseBasedReasoning/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/CaseBasedReasoning/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/CaseBasedReasoning/src'
installing to /data/gannet/ripley/R/packages/tests-clang/CaseBasedReasoning.Rcheck/00LOCK-CaseBasedReasoning/00new/CaseBasedReasoning/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
** 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 (CaseBasedReasoning)