* installing *source* package ‘ocf’ ... ** package ‘ocf’ successfully unpacked and MD5 sums checked ** using staged installation ** preparing to configure package 'ocf' ... Checking if R knows a CXX17 compiler... /usr/local/clang19/bin/clang++ -stdlib=libc++ ** finished configure for package 'ocf' ** libs using C++ compiler: ‘clang version 19.1.3’ using C++17 make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/ocf/src' /usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -DR_NO_REMAP -c AAA_check_cpp11.cpp -o AAA_check_cpp11.o /usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -DR_NO_REMAP -c Data.cpp -o Data.o /usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -DR_NO_REMAP -c DataSparse.cpp -o DataSparse.o /usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -DR_NO_REMAP -c Forest.cpp -o Forest.o In file included from DataSparse.cpp:1: In file included from ./DataSparse.h:4: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:29: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:26: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseCore:61: /data/gannet/ripley/R/test-clang/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 DataSparse.cpp:1: In file included from ./DataSparse.h:4: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:29: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:29: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseLU:35: /data/gannet/ripley/R/test-clang/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 | ^ /data/gannet/ripley/R/test-clang/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 DataSparse.cpp:1: In file included from ./DataSparse.h:4: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:31: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/IterativeSolvers:46: /data/gannet/ripley/R/test-clang/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 DataSparse.cpp:1: In file included from ./DataSparse.h:4: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:37: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/SparseExtra:45: /data/gannet/ripley/R/test-clang/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; | ^ In file included from Forest.cpp:14: ./DataChar.h:26:12: warning: unused variable 'col_permuted' [-Wunused-variable] 26 | size_t col_permuted = col; | ^~~~~~~~~~~~ In file included from Forest.cpp:15: ./DataDouble.h:26:12: warning: unused variable 'col_permuted' [-Wunused-variable] 26 | size_t col_permuted = col; | ^~~~~~~~~~~~ In file included from Forest.cpp:16: ./DataFloat.h:26:12: warning: unused variable 'col_permuted' [-Wunused-variable] 26 | size_t col_permuted = col; | ^~~~~~~~~~~~ 5 warnings generated. /usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -DR_NO_REMAP -c OrderedCorrelationForest.cpp -o OrderedCorrelationForest.o 3 warnings generated. /usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -DR_NO_REMAP -c OrderedCorrelationTree.cpp -o OrderedCorrelationTree.o OrderedCorrelationTree.cpp:508:10: warning: unused variable 'num_samples_node' [-Wunused-variable] 508 | size_t num_samples_node = end_pos[nodeID] - start_pos[nodeID]; | ^~~~~~~~~~~~~~~~ /usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -DR_NO_REMAP -c RcppExports.cpp -o RcppExports.o 1 warning generated. /usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -DR_NO_REMAP -c Tree.cpp -o Tree.o In file included from RcppExports.cpp:4: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:29: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:26: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseCore:61: /data/gannet/ripley/R/test-clang/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 /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:29: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:29: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseLU:35: /data/gannet/ripley/R/test-clang/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 | ^ /data/gannet/ripley/R/test-clang/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 /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:31: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/IterativeSolvers:46: /data/gannet/ripley/R/test-clang/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; | ^ /usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -DR_NO_REMAP -c forest_weights_fitted_cpp.cpp -o forest_weights_fitted_cpp.o In file included from RcppExports.cpp:4: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:37: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/SparseExtra:45: /data/gannet/ripley/R/test-clang/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; | ^ /usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -DR_NO_REMAP -c forest_weights_predicted_cpp.cpp -o forest_weights_predicted_cpp.o /usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -DR_NO_REMAP -c honest_fitted_cpp.cpp -o honest_fitted_cpp.o 5 warnings generated. /usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -DR_NO_REMAP -c honest_predictions_cpp.cpp -o honest_predictions_cpp.o /usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -DR_NO_REMAP -c ocfCpp.cpp -o ocfCpp.o In file included from ocfCpp.cpp:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:29: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:26: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseCore:61: /data/gannet/ripley/R/test-clang/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 ocfCpp.cpp:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:29: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:29: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseLU:35: /data/gannet/ripley/R/test-clang/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 | ^ /data/gannet/ripley/R/test-clang/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 ocfCpp.cpp:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:31: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/IterativeSolvers:46: /data/gannet/ripley/R/test-clang/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 ocfCpp.cpp:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:37: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/SparseExtra:45: /data/gannet/ripley/R/test-clang/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; | ^ /usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -DR_NO_REMAP -c utility.cpp -o utility.o In file included from ocfCpp.cpp:11: ./DataChar.h:26:12: warning: unused variable 'col_permuted' [-Wunused-variable] 26 | size_t col_permuted = col; | ^~~~~~~~~~~~ In file included from ocfCpp.cpp:12: ./DataRcpp.h:31:12: warning: unused variable 'col_permuted' [-Wunused-variable] 31 | size_t col_permuted = col; | ^~~~~~~~~~~~ In file included from ocfCpp.cpp:13: ./DataFloat.h:26:12: warning: unused variable 'col_permuted' [-Wunused-variable] 26 | size_t col_permuted = col; | ^~~~~~~~~~~~ /usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -DR_NO_REMAP -c utilityRcpp.cpp -o utilityRcpp.o 8 warnings generated. /usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -shared -L/usr/local/clang/lib64 -L/usr/local/clang19/lib -L/usr/local/clang19/lib/x86_64-unknown-linux-gnu -L/usr/local/gcc14/lib64 -L/usr/local/lib64 -o ocf.so AAA_check_cpp11.o Data.o DataSparse.o Forest.o OrderedCorrelationForest.o OrderedCorrelationTree.o RcppExports.o Tree.o forest_weights_fitted_cpp.o forest_weights_predicted_cpp.o honest_fitted_cpp.o honest_predictions_cpp.o ocfCpp.o utility.o utilityRcpp.o make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/ocf/src' make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/ocf/src' make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/ocf/src' installing to /data/gannet/ripley/R/packages/tests-clang/ocf.Rcheck/00LOCK-ocf/00new/ocf/libs ** R ** inst ** byte-compile and prepare package for lazy loading ** help *** installing help indices *** copying figures ** building package indices ** installing vignettes ** 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 (ocf)