* installing *source* package ‘coreCollection’ ...
** this is package ‘coreCollection’ version ‘0.9.5’
** package ‘coreCollection’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘clang version 21.1.4’
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/coreCollection/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' -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 CoreAlgorithm.cpp -o CoreAlgorithm.o
/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' -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 CoreAlgorithmRandomDescent.cpp -o CoreAlgorithmRandomDescent.o
/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' -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 CoreCollection.cpp -o CoreCollection.o
CoreAlgorithmRandomDescent.cpp:10:7: warning: unused variable 'steps' [-Wunused-variable]
10 | int steps=0;
| ^~~~~
1 warning 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' -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 CoreMethod.cpp -o CoreMethod.o
CoreCollection.cpp:147:3: warning: delete called on non-final 'CoreMethod' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
147 | delete m;
| ^
CoreCollection.cpp:148:3: warning: delete called on non-final 'CoreAlgorithm' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
148 | delete a;
| ^
2 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' -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 CoreMethodAccessionNearestEntry.cpp -o CoreMethodAccessionNearestEntry.o
/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' -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 CoreMethodEntryEntry.cpp -o CoreMethodEntryEntry.o
/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' -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 CoreMethodEntryNearestEntry.cpp -o CoreMethodEntryNearestEntry.o
CoreMethodEntryEntry.cpp:7:76: warning: unused variable 'l' [-Wunused-variable]
7 | int nl, n = selectedRandomPositions.length(), N = distanceMatrix.nrow(), l=c.length();
| ^
CoreMethodEntryEntry.cpp:73:10: warning: unused variable 'd' [-Wunused-variable]
73 | double d, nd, sumOfDistances = 0.0;
| ^
CoreMethodEntryEntry.cpp:73:13: warning: unused variable 'nd' [-Wunused-variable]
73 | double d, nd, sumOfDistances = 0.0;
| ^~
CoreMethodEntryNearestEntry.cpp:7:76: warning: unused variable 'l' [-Wunused-variable]
7 | int nl, n = selectedRandomPositions.length(), N = distanceMatrix.nrow(), l=c.length();
| ^
3 warnings generated.
1 warning 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' -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 CoreSelection.cpp -o CoreSelection.o
/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' -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
CoreSelection.cpp:141:7: warning: unused variable 'N' [-Wunused-variable]
141 | int N = dist.nrow();
| ^
1 warning generated.
/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 -L/usr/local/clang21/lib/clang/21/lib/x86_64-unknown-linux-gnu -o coreCollection.so CoreAlgorithm.o CoreAlgorithmRandomDescent.o CoreCollection.o CoreMethod.o CoreMethodAccessionNearestEntry.o CoreMethodEntryEntry.o CoreMethodEntryNearestEntry.o CoreSelection.o RcppExports.o
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/coreCollection/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/coreCollection/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/coreCollection/src'
installing to /data/gannet/ripley/R/packages/tests-clang/coreCollection.Rcheck/00LOCK-coreCollection/00new/coreCollection/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 (coreCollection)