* installing *source* package ‘ProjectionBasedClustering’ ...
** this is package ‘ProjectionBasedClustering’ version ‘1.2.2’
** package ‘ProjectionBasedClustering’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘clang version 21.1.5’
using C++17
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/ProjectionBasedClustering/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 -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c DijkstraSSSP.cpp -o DijkstraSSSP.o
DijkstraSSSP.cpp:48:5: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation]
48 | for(int i=0;i<sz;i++) //Set initial distances to Infinity
| ^
DijkstraSSSP.cpp:38:3: note: previous statement is here
38 | for(int i=0;i<n;i++) //Building Graph
| ^
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 -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c NeRV.cpp -o NeRV.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 -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c RcppExports.cpp -o RcppExports.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 -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c c_measure.cpp -o c_measure.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 -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c calculatedistancematrix.cpp -o calculatedistancematrix.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 -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c conjugategradientopt.cpp -o conjugategradientopt.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 -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c conttrust.cpp -o conttrust.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 -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c datamatrix.cpp -o datamatrix.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 -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c dataset.cpp -o dataset.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 -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c distancematrix.cpp -o distancematrix.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 -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c dynamicdouble.cpp -o dynamicdouble.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 -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c euclidean.cpp -o euclidean.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 -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c euclideansquared.cpp -o euclideansquared.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 -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c exception.cpp -o exception.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 -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c goldensectionsearch.cpp -o goldensectionsearch.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 -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c inputprobentropy.cpp -o inputprobentropy.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 -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c klmeasure.cpp -o klmeasure.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 -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c klrank.cpp -o klrank.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 -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c nervcostfunction.cpp -o nervcostfunction.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 -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c nervoptstrat.cpp -o nervoptstrat.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 -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c nervprobability.cpp -o nervprobability.o
In file included from nervcostfunction.cpp:6:
./nervcostfunction.h:29:26: warning: private field 'origDist' is not used [-Wunused-private-field]
29 | const DistanceMatrix & origDist;
| ^
./nervcostfunction.h:32:10: warning: private field 'minexp' is not used [-Wunused-private-field]
32 | double minexp;
| ^
./nervcostfunction.h:58:16: warning: private field 'linesearch' is not used [-Wunused-private-field]
58 | LineSearch & linesearch;
| ^
./nervcostfunction.h:74:18: warning: private field 'feedback' is not used [-Wunused-private-field]
74 | std::ostream & feedback;
| ^
4 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 -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c randomdatagenerator.cpp -o randomdatagenerator.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 -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c rankmatrix.cpp -o rankmatrix.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 -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c recorder.cpp -o recorder.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 -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c splittree.cpp -o splittree.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 -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c tsne.cpp -o tsne.o
tsne.cpp:172:13: warning: variable 'need_eval_error_algo' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
172 | if (auto_iter) {
| ^~~~~~~~~
tsne.cpp:649:20: note: in instantiation of member function 'TSNE<SplitTree, &euclidean_distance_squared>::run' requested here
649 | tsneObject.run(data, N, D, Y.data(), no_dims, perplexity, theta, num_threads, max_iter, n_iter_early_exag,
| ^
tsne.cpp:202:13: note: uninitialized use occurs here
202 | if (need_eval_error_algo) {
| ^~~~~~~~~~~~~~~~~~~~
tsne.cpp:172:9: note: remove the 'if' if its condition is always true
172 | if (auto_iter) {
| ^~~~~~~~~~~~~~
tsne.cpp:169:34: note: initialize the variable 'need_eval_error_algo' to silence this warning
169 | bool need_eval_error_algo, need_eval_error_verbose = false;
| ^
| = false
tsne.cpp:172:13: warning: variable 'need_eval_error_algo' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
172 | if (auto_iter) {
| ^~~~~~~~~
tsne.cpp:653:20: note: in instantiation of member function 'TSNE<SplitTree, &euclidean_distance>::run' requested here
653 | tsneObject.run(data, N, D, Y.data(), no_dims, perplexity, theta, num_threads, max_iter, n_iter_early_exag,
| ^
tsne.cpp:202:13: note: uninitialized use occurs here
202 | if (need_eval_error_algo) {
| ^~~~~~~~~~~~~~~~~~~~
tsne.cpp:172:9: note: remove the 'if' if its condition is always true
172 | if (auto_iter) {
| ^~~~~~~~~~~~~~
tsne.cpp:169:34: note: initialize the variable 'need_eval_error_algo' to silence this warning
169 | bool need_eval_error_algo, need_eval_error_verbose = false;
| ^
| = false
2 warnings 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 ProjectionBasedClustering.so DijkstraSSSP.o NeRV.o RcppExports.o c_measure.o calculatedistancematrix.o conjugategradientopt.o conttrust.o datamatrix.o dataset.o distancematrix.o dynamicdouble.o euclidean.o euclideansquared.o exception.o goldensectionsearch.o inputprobentropy.o klmeasure.o klrank.o nervcostfunction.o nervoptstrat.o nervprobability.o randomdatagenerator.o rankmatrix.o recorder.o splittree.o tsne.o -L/data/gannet/ripley/R/R-clang/lib -lRlapack -L/data/gannet/ripley/R/R-clang/lib -lRblas -lflang_rt.runtime -lm -fopenmp
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/ProjectionBasedClustering/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/ProjectionBasedClustering/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/ProjectionBasedClustering/src'
installing to /data/gannet/ripley/R/packages/tests-clang/ProjectionBasedClustering.Rcheck/00LOCK-ProjectionBasedClustering/00new/ProjectionBasedClustering/libs
** R
** data
*** moving datasets to lazyload DB
** 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 (ProjectionBasedClustering)