* installing to library ‘/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages’
* installing *source* package ‘N2R’ ...
** package ‘N2R’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘Debian clang version 18.1.4 (1)’
make[1]: Entering directory '/tmp/Rtmp4DErsp/R.INSTALLb43ec377476b7/N2R/src'
clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppSpdlog/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -I"../inst/include" -I"./n2/include"   -fpic  -g -O3 -Wall -pedantic  -c RcppExports.cpp -o RcppExports.o
In file included from RcppExports.cpp:4:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigen.h:25:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigenForward.h:29:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/Sparse:26:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/SparseCore:61:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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 /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigen.h:25:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigenForward.h:29:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/Sparse:29:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/SparseLU:35:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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 
      |         ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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 /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigen.h:25:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigenForward.h:31:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/unsupported/Eigen/IterativeSolvers:46:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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 /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigen.h:25:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigenForward.h:37:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/unsupported/Eigen/SparseExtra:45:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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.
clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppSpdlog/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -I"../inst/include" -I"./n2/include"   -fpic  -g -O3 -Wall -pedantic  -c check_openmp.cpp -o check_openmp.o
clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppSpdlog/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -I"../inst/include" -I"./n2/include"   -fpic  -g -O3 -Wall -pedantic  -c n2knn.cpp -o n2knn.o
In file included from n2knn.cpp:24:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigen.h:25:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigenForward.h:29:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/Sparse:26:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/SparseCore:61:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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 n2knn.cpp:24:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigen.h:25:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigenForward.h:29:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/Sparse:29:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/SparseLU:35:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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 
      |         ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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 n2knn.cpp:24:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigen.h:25:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigenForward.h:31:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/unsupported/Eigen/IterativeSolvers:46:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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 n2knn.cpp:24:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigen.h:25:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigenForward.h:37:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/unsupported/Eigen/SparseExtra:45:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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.
(cd n2  && CFLAGS="-g -O3 -Wall -pedantic" CXXFLAGS="-g -O3 -Wall -pedantic" MAKE="make -f \"/home/hornik/tmp/R.check/r-devel-clang/Work/build/etc/Makeconf\" -f Makefile" make -f "/home/hornik/tmp/R.check/r-devel-clang/Work/build/etc/Makeconf" -f Makefile lib) || exit 1;
make[2]: Entering directory '/tmp/Rtmp4DErsp/R.INSTALLb43ec377476b7/N2R/src/n2'
clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppSpdlog/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -I"./include" -fpic  -g -O3 -Wall -pedantic   -c base.cc -o base.o
clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppSpdlog/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -I"./include" -fpic  -g -O3 -Wall -pedantic   -c hnsw.cc -o hnsw.o
In file included from hnsw.cc:28:
./include/n2/hnsw.h:163:15: warning: private field 'memory_per_higher_level_' is not used [-Wunused-private-field]
  163 |     long long memory_per_higher_level_ = 0;
      |               ^
1 warning generated.
clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppSpdlog/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -I"./include" -fpic  -g -O3 -Wall -pedantic   -c hnsw_node.cc -o hnsw_node.o
clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppSpdlog/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -I"./include" -fpic  -g -O3 -Wall -pedantic   -c distance.cc -o distance.o
clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppSpdlog/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -I"./include" -fpic  -g -O3 -Wall -pedantic   -c heuristic.cc -o heuristic.o
clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppSpdlog/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -I"./include" -fpic  -g -O3 -Wall -pedantic   -c mmap.cc -o mmap.o
ar rvs ../libn2.a base.o hnsw.o hnsw_node.o distance.o heuristic.o mmap.o
ar: creating ../libn2.a
a - base.o
a - hnsw.o
a - hnsw_node.o
a - distance.o
a - heuristic.o
a - mmap.o
make[2]: Leaving directory '/tmp/Rtmp4DErsp/R.INSTALLb43ec377476b7/N2R/src/n2'
clang++-18 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-devel-clang/Work/build/lib -Wl,-O1 -o N2R.so RcppExports.o check_openmp.o n2knn.o -L. -lpthread -ln2 -lm -llapack -L/home/hornik/tmp/R.check/r-devel-clang/Work/build/lib -lRblas -L/usr/lib/llvm-18/lib -lFortran_main -lFortranRuntime -lFortranDecimal -lm -L/home/hornik/tmp/R.check/r-devel-clang/Work/build/lib -lR
make[1]: Leaving directory '/tmp/Rtmp4DErsp/R.INSTALLb43ec377476b7/N2R/src'
make[1]: Entering directory '/tmp/Rtmp4DErsp/R.INSTALLb43ec377476b7/N2R/src'
make[1]: Leaving directory '/tmp/Rtmp4DErsp/R.INSTALLb43ec377476b7/N2R/src'
installing to /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/00LOCK-N2R/00new/N2R/libs
** R
** 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 (N2R)