* installing *source* package ‘ProjectionBasedClustering’ ...
** package ‘ProjectionBasedClustering’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘clang version 18.1.4’
using C++17
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/ProjectionBasedClustering/src'
/usr/local/clang18/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/clang18/include -I/usr/local/clang/include   -fopenmp -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -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
      |   ^
/usr/local/clang18/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/clang18/include -I/usr/local/clang/include   -fopenmp -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c NeRV.cpp -o NeRV.o
1 warning generated.
/usr/local/clang18/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/clang18/include -I/usr/local/clang/include   -fopenmp -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c RcppExports.cpp -o RcppExports.o
/usr/local/clang18/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/clang18/include -I/usr/local/clang/include   -fopenmp -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c c_measure.cpp -o c_measure.o
/usr/local/clang18/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/clang18/include -I/usr/local/clang/include   -fopenmp -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c calculatedistancematrix.cpp -o calculatedistancematrix.o
/usr/local/clang18/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/clang18/include -I/usr/local/clang/include   -fopenmp -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c conjugategradientopt.cpp -o conjugategradientopt.o
/usr/local/clang18/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/clang18/include -I/usr/local/clang/include   -fopenmp -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c conttrust.cpp -o conttrust.o
/usr/local/clang18/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/clang18/include -I/usr/local/clang/include   -fopenmp -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c datamatrix.cpp -o datamatrix.o
/usr/local/clang18/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/clang18/include -I/usr/local/clang/include   -fopenmp -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c dataset.cpp -o dataset.o
/usr/local/clang18/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/clang18/include -I/usr/local/clang/include   -fopenmp -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c distancematrix.cpp -o distancematrix.o
/usr/local/clang18/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/clang18/include -I/usr/local/clang/include   -fopenmp -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c dynamicdouble.cpp -o dynamicdouble.o
/usr/local/clang18/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/clang18/include -I/usr/local/clang/include   -fopenmp -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c euclidean.cpp -o euclidean.o
/usr/local/clang18/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/clang18/include -I/usr/local/clang/include   -fopenmp -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c euclideansquared.cpp -o euclideansquared.o
/usr/local/clang18/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/clang18/include -I/usr/local/clang/include   -fopenmp -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c exception.cpp -o exception.o
/usr/local/clang18/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/clang18/include -I/usr/local/clang/include   -fopenmp -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c goldensectionsearch.cpp -o goldensectionsearch.o
/usr/local/clang18/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/clang18/include -I/usr/local/clang/include   -fopenmp -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c inputprobentropy.cpp -o inputprobentropy.o
/usr/local/clang18/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/clang18/include -I/usr/local/clang/include   -fopenmp -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c klmeasure.cpp -o klmeasure.o
/usr/local/clang18/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/clang18/include -I/usr/local/clang/include   -fopenmp -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c klrank.cpp -o klrank.o
/usr/local/clang18/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/clang18/include -I/usr/local/clang/include   -fopenmp -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c nervcostfunction.cpp -o nervcostfunction.o
/usr/local/clang18/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/clang18/include -I/usr/local/clang/include   -fopenmp -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c nervoptstrat.cpp -o nervoptstrat.o
/usr/local/clang18/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/clang18/include -I/usr/local/clang/include   -fopenmp -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c nervprobability.cpp -o nervprobability.o
/usr/local/clang18/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/clang18/include -I/usr/local/clang/include   -fopenmp -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c randomdatagenerator.cpp -o randomdatagenerator.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;
      |                  ^
/usr/local/clang18/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/clang18/include -I/usr/local/clang/include   -fopenmp -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c rankmatrix.cpp -o rankmatrix.o
4 warnings generated.
/usr/local/clang18/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/clang18/include -I/usr/local/clang/include   -fopenmp -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c recorder.cpp -o recorder.o
/usr/local/clang18/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/clang18/include -I/usr/local/clang/include   -fopenmp -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c splittree.cpp -o splittree.o
/usr/local/clang18/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/clang18/include -I/usr/local/clang/include   -fopenmp -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -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/clang18/bin/clang++ -std=gnu++17 -shared -L/usr/local/clang/lib64 -L/usr/local/clang18/lib -L/usr/local/clang18/lib/x86_64-unknown-linux-gnu -L/usr/local/gcc13/lib64 -L/usr/local/lib64 -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 -lFortran_main -lFortranRuntime -lFortranDecimal -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)