* installing *source* package ‘knn.covertree’ ...
** this is package ‘knn.covertree’ version ‘1.1’
** package ‘knn.covertree’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘clang version 21.1.7’
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/knn.covertree/src'
/usr/local/clang21/bin/clang++ -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/RcppEigen/include' -isystem /usr/local/clang21/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw   -c RcppExports.cpp -o RcppExports.o
In file included from RcppExports.cpp:4:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:29:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:26:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseCore:61:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable]
  273 |       Index count = 0;
      |             ^
In file included from RcppExports.cpp:4:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:29:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:29:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseLU:35:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable]
   78 |   Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree 
      |         ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable]
   79 |   Index nsuper_et = 0; // Number of relaxed snodes in the original etree 
      |         ^
In file included from RcppExports.cpp:4:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:31:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/IterativeSolvers:46:
/data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/IDRS.h:72:10: warning: variable 'replacements' set but not used [-Wunused-but-set-variable]
   72 |                         Index replacements = 0;
      |                               ^
In file included from RcppExports.cpp:4:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:37:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/SparseExtra:45:
/data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:246:7: warning: variable 'count' set but not used [-Wunused-but-set-variable]
  246 |   int count = 0;
      |       ^
5 warnings generated.
/usr/local/clang21/bin/clang++ -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/RcppEigen/include' -isystem /usr/local/clang21/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw   -c knn.cpp -o knn.o
In file included from knn.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:29:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:26:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseCore:61:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable]
  273 |       Index count = 0;
      |             ^
In file included from knn.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:29:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:29:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseLU:35:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable]
   78 |   Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree 
      |         ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable]
   79 |   Index nsuper_et = 0; // Number of relaxed snodes in the original etree 
      |         ^
In file included from knn.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:31:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/IterativeSolvers:46:
/data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/IDRS.h:72:10: warning: variable 'replacements' set but not used [-Wunused-but-set-variable]
   72 |                         Index replacements = 0;
      |                               ^
In file included from knn.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:37:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/SparseExtra:45:
/data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:246:7: warning: variable 'count' set but not used [-Wunused-but-set-variable]
  246 |   int count = 0;
      |       ^
In file included from knn.cpp:3:
./cover_tree.h:226:54: warning: unused variable 'it' [-Wunused-variable]
  226 |                 typename std::vector<distNodePair>::const_iterator it;
      |                                                                    ^~
./cover_tree.h:265:39: note: in instantiation of member function 'CoverTree<IndexedPoint<EuclideanDistance>>::kNearestNodeSet' requested here
  265 |         for (distNodePair const& dist_node : kNearestNodeSet(p, k)) {
      |                                              ^
./cover_tree.h:449:21: note: in instantiation of member function 'CoverTree<IndexedPoint<EuclideanDistance>>::kNearestNodes' requested here
  449 |         CoverTreeNode* n = kNearestNodes(newPoint,1)[0];
      |                            ^
./cover_tree.h:189:9: note: in instantiation of member function 'CoverTree<IndexedPoint<EuclideanDistance>>::insert' requested here
  189 |                 this->insert(*it);
      |                       ^
knn.cpp:76:36: note: in instantiation of member function 'CoverTree<IndexedPoint<EuclideanDistance>>::CoverTree' requested here
   76 |         CoverTree<IndexedPoint<Distance>> tree(max, points);
      |                                           ^
knn.cpp:126:10: note: in instantiation of function template specialization 'knn_cross_impl<EuclideanDistance>' requested here
  126 |                 return knn_cross_impl<EuclideanDistance>(data, query, k);
      |                        ^
In file included from knn.cpp:3:
./cover_tree.h:226:54: warning: unused variable 'it' [-Wunused-variable]
  226 |                 typename std::vector<distNodePair>::const_iterator it;
      |                                                                    ^~
./cover_tree.h:265:39: note: in instantiation of member function 'CoverTree<IndexedPoint<CosineDistance>>::kNearestNodeSet' requested here
  265 |         for (distNodePair const& dist_node : kNearestNodeSet(p, k)) {
      |                                              ^
./cover_tree.h:449:21: note: in instantiation of member function 'CoverTree<IndexedPoint<CosineDistance>>::kNearestNodes' requested here
  449 |         CoverTreeNode* n = kNearestNodes(newPoint,1)[0];
      |                            ^
./cover_tree.h:189:9: note: in instantiation of member function 'CoverTree<IndexedPoint<CosineDistance>>::insert' requested here
  189 |                 this->insert(*it);
      |                       ^
knn.cpp:76:36: note: in instantiation of member function 'CoverTree<IndexedPoint<CosineDistance>>::CoverTree' requested here
   76 |         CoverTree<IndexedPoint<Distance>> tree(max, points);
      |                                           ^
knn.cpp:128:10: note: in instantiation of function template specialization 'knn_cross_impl<CosineDistance>' requested here
  128 |                 return knn_cross_impl<CosineDistance>(data, query, k);
      |                        ^
7 warnings generated.
/usr/local/clang21/bin/clang++ -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/RcppEigen/include' -isystem /usr/local/clang21/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw   -c utils.cpp -o utils.o
/usr/local/clang21/bin/clang++ -std=gnu++17 -shared -L/usr/local/clang/lib64 -L/usr/local/clang21/lib -L/usr/local/clang21/lib/x86_64-unknown-linux-gnu -L/usr/local/lib64 -o knn.covertree.so RcppExports.o knn.o utils.o
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/knn.covertree/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/knn.covertree/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/knn.covertree/src'
installing to /data/gannet/ripley/R/packages/tests-clang/knn.covertree.Rcheck/00LOCK-knn.covertree/00new/knn.covertree/libs
** R
** 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 (knn.covertree)