* installing *source* package ‘ProjectionBasedClustering’ ...
** package ‘ProjectionBasedClustering’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’
using C++17
using SDK: ‘MacOSX11.3.sdk’
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c DijkstraSSSP.cpp -o DijkstraSSSP.o
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c NeRV.cpp -o NeRV.o
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c RcppExports.cpp -o RcppExports.o
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c c_measure.cpp -o c_measure.o
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c calculatedistancematrix.cpp -o calculatedistancematrix.o
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c conjugategradientopt.cpp -o conjugategradientopt.o
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c conttrust.cpp -o conttrust.o
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c datamatrix.cpp -o datamatrix.o
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c dataset.cpp -o dataset.o
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c distancematrix.cpp -o distancematrix.o
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c dynamicdouble.cpp -o dynamicdouble.o
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c euclidean.cpp -o euclidean.o
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c euclideansquared.cpp -o euclideansquared.o
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c exception.cpp -o exception.o
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c goldensectionsearch.cpp -o goldensectionsearch.o
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c inputprobentropy.cpp -o inputprobentropy.o
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c klmeasure.cpp -o klmeasure.o
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c klrank.cpp -o klrank.o
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c nervcostfunction.cpp -o nervcostfunction.o
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c nervoptstrat.cpp -o nervoptstrat.o
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c nervprobability.cpp -o nervprobability.o
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -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]
  const DistanceMatrix & origDist;
                         ^
./nervcostfunction.h:32:10: warning: private field 'minexp' is not used [-Wunused-private-field]
  double minexp;
         ^
./nervcostfunction.h:58:16: warning: private field 'linesearch' is not used [-Wunused-private-field]
  LineSearch & linesearch;
               ^
./nervcostfunction.h:74:18: warning: private field 'feedback' is not used [-Wunused-private-field]
  std::ostream & feedback;
                 ^
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c rankmatrix.cpp -o rankmatrix.o
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c recorder.cpp -o recorder.o
4 warnings generated.
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c splittree.cpp -o splittree.o
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -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]
        if (auto_iter) {
            ^~~~~~~~~
tsne.cpp:649:20: note: in instantiation of member function 'TSNE<SplitTree, &euclidean_distance_squared>::run' requested here
        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
        if (need_eval_error_algo) {
            ^~~~~~~~~~~~~~~~~~~~
tsne.cpp:172:9: note: remove the 'if' if its condition is always true
        if (auto_iter) {
        ^~~~~~~~~~~~~~~
tsne.cpp:169:34: note: initialize the variable 'need_eval_error_algo' to silence this warning
        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]
        if (auto_iter) {
            ^~~~~~~~~
tsne.cpp:653:20: note: in instantiation of member function 'TSNE<SplitTree, &euclidean_distance>::run' requested here
        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
        if (need_eval_error_algo) {
            ^~~~~~~~~~~~~~~~~~~~
tsne.cpp:172:9: note: remove the 'if' if its condition is always true
        if (auto_iter) {
        ^~~~~~~~~~~~~~~
tsne.cpp:169:34: note: initialize the variable 'need_eval_error_algo' to silence this warning
        bool need_eval_error_algo, need_eval_error_verbose = false;
                                 ^
                                  = false
2 warnings generated.
clang++ -arch x86_64 -std=gnu++17 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/x86_64/lib -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/Library/Frameworks/R.framework/Resources/lib -lRlapack -L/Library/Frameworks/R.framework/Resources/lib -lRblas -L/opt/gfortran/lib/gcc/x86_64-apple-darwin20.0/12.2.0 -L/opt/gfortran/lib -lgfortran -lquadmath -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
installing to /Volumes/Builds/packages/big-sur-x86_64/results/4.4/ProjectionBasedClustering.Rcheck/00LOCK-ProjectionBasedClustering/00new/ProjectionBasedClustering/libs
** generating debug symbols (dSYM)
** 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)