* installing *source* package ‘surveyvoi’ ... ** package ‘surveyvoi’ successfully unpacked and MD5 sums checked ** using staged installation checking if R found... yes configure: R version: 4.5.0 checking for pkg-config... yes configure: Package PKG_CPPFLAGS: -isystem /usr/local/clang18/include -I/usr/local/clang/include configure: Package PKG_LIBS: -lgmpxx -lgmp -lmpfr -lgmp checking if gmp compiles... yes checking if mpfr compiles... yes configure: configuration successful! configure: creating ./config.status config.status: creating src/Makevars ** libs using C compiler: ‘clang version 18.1.4’ using C++ compiler: ‘clang version 18.1.4’ make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/surveyvoi/src' rm -f surveyvoi.so RcppExports.o functions.o init.o rcpp_approx_expected_value_of_decision_given_survey_scheme.o rcpp_expected_value_of_action.o rcpp_expected_value_of_decision_given_current_info.o rcpp_expected_value_of_decision_given_survey_scheme.o rcpp_feasible_actions_ilp_matrix.o rcpp_heuristic_prioritization.o rcpp_model_performance.o rcpp_pmedian_constraint_matrix.o rcpp_probability.o rcpp_sample_states.o rcpp_states.o rcpp_update_posterior_probability_matrix.o /usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -isystem /usr/local/clang18/include -I/usr/local/clang/include -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/PoissonBinomial/include' -I'/data/gannet/ripley/R/test-clang/nloptr/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c RcppExports.cpp -o RcppExports.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; | ^ 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; | ^ 5 warnings generated. /usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -isystem /usr/local/clang18/include -I/usr/local/clang/include -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/PoissonBinomial/include' -I'/data/gannet/ripley/R/test-clang/nloptr/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c functions.cpp -o functions.o /usr/local/clang18/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -isystem /usr/local/clang18/include -I/usr/local/clang/include -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/PoissonBinomial/include' -I'/data/gannet/ripley/R/test-clang/nloptr/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3 -c init.c -o init.o /usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -isystem /usr/local/clang18/include -I/usr/local/clang/include -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/PoissonBinomial/include' -I'/data/gannet/ripley/R/test-clang/nloptr/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c rcpp_approx_expected_value_of_decision_given_survey_scheme.cpp -o rcpp_approx_expected_value_of_decision_given_survey_scheme.o /usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -isystem /usr/local/clang18/include -I/usr/local/clang/include -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/PoissonBinomial/include' -I'/data/gannet/ripley/R/test-clang/nloptr/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c rcpp_expected_value_of_action.cpp -o rcpp_expected_value_of_action.o In file included from functions.cpp:1: In file included from ./functions.h:4: In file included from ./package.h:12: 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 functions.cpp:1: In file included from ./functions.h:4: In file included from ./package.h:12: 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 functions.cpp:1: In file included from ./functions.h:4: In file included from ./package.h:12: 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 functions.cpp:1: In file included from ./functions.h:4: In file included from ./package.h:12: 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 rcpp_approx_expected_value_of_decision_given_survey_scheme.cpp:1: In file included from ./package.h:12: 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 rcpp_approx_expected_value_of_decision_given_survey_scheme.cpp:1: In file included from ./package.h:12: 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 rcpp_approx_expected_value_of_decision_given_survey_scheme.cpp:1: In file included from ./package.h:12: 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 rcpp_approx_expected_value_of_decision_given_survey_scheme.cpp:1: In file included from ./package.h:12: 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; | ^ 5 warnings generated. 5 warnings generated. /usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -isystem /usr/local/clang18/include -I/usr/local/clang/include -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/PoissonBinomial/include' -I'/data/gannet/ripley/R/test-clang/nloptr/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c rcpp_expected_value_of_decision_given_current_info.cpp -o rcpp_expected_value_of_decision_given_current_info.o In file included from rcpp_expected_value_of_action.cpp:1: In file included from ./rcpp_expected_value_of_action.h:5: In file included from ./package.h:12: 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 rcpp_expected_value_of_action.cpp:1: In file included from ./rcpp_expected_value_of_action.h:5: In file included from ./package.h:12: 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 rcpp_expected_value_of_action.cpp:1: In file included from ./rcpp_expected_value_of_action.h:5: In file included from ./package.h:12: 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/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -isystem /usr/local/clang18/include -I/usr/local/clang/include -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/PoissonBinomial/include' -I'/data/gannet/ripley/R/test-clang/nloptr/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c rcpp_expected_value_of_decision_given_survey_scheme.cpp -o rcpp_expected_value_of_decision_given_survey_scheme.o In file included from rcpp_expected_value_of_action.cpp:1: In file included from ./rcpp_expected_value_of_action.h:5: In file included from ./package.h:12: 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; | ^ 5 warnings generated. In file included from rcpp_expected_value_of_decision_given_current_info.cpp:1: In file included from ./package.h:12: 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 rcpp_expected_value_of_decision_given_current_info.cpp:1: In file included from ./package.h:12: 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 rcpp_expected_value_of_decision_given_current_info.cpp:1: In file included from ./package.h:12: 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 rcpp_expected_value_of_decision_given_current_info.cpp:1: In file included from ./package.h:12: 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 rcpp_expected_value_of_decision_given_survey_scheme.cpp:1: In file included from ./package.h:12: 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 rcpp_expected_value_of_decision_given_survey_scheme.cpp:1: In file included from ./package.h:12: 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 rcpp_expected_value_of_decision_given_survey_scheme.cpp:1: In file included from ./package.h:12: 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 rcpp_expected_value_of_decision_given_survey_scheme.cpp:1: In file included from ./package.h:12: 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; | ^ 5 warnings generated. rcpp_expected_value_of_decision_given_survey_scheme.cpp:37:21: warning: unused variable 'n_f_outcomes' [-Wunused-variable] 37 | const std::size_t n_f_outcomes = n_states(n_pu_surveyed_in_scheme) + 1; | ^~~~~~~~~~~~ /usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -isystem /usr/local/clang18/include -I/usr/local/clang/include -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/PoissonBinomial/include' -I'/data/gannet/ripley/R/test-clang/nloptr/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c rcpp_feasible_actions_ilp_matrix.cpp -o rcpp_feasible_actions_ilp_matrix.o 6 warnings generated. /usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -isystem /usr/local/clang18/include -I/usr/local/clang/include -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/PoissonBinomial/include' -I'/data/gannet/ripley/R/test-clang/nloptr/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c rcpp_heuristic_prioritization.cpp -o rcpp_heuristic_prioritization.o /usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -isystem /usr/local/clang18/include -I/usr/local/clang/include -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/PoissonBinomial/include' -I'/data/gannet/ripley/R/test-clang/nloptr/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c rcpp_model_performance.cpp -o rcpp_model_performance.o /usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -isystem /usr/local/clang18/include -I/usr/local/clang/include -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/PoissonBinomial/include' -I'/data/gannet/ripley/R/test-clang/nloptr/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c rcpp_pmedian_constraint_matrix.cpp -o rcpp_pmedian_constraint_matrix.o /usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -isystem /usr/local/clang18/include -I/usr/local/clang/include -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/PoissonBinomial/include' -I'/data/gannet/ripley/R/test-clang/nloptr/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c rcpp_probability.cpp -o rcpp_probability.o /usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -isystem /usr/local/clang18/include -I/usr/local/clang/include -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/PoissonBinomial/include' -I'/data/gannet/ripley/R/test-clang/nloptr/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c rcpp_sample_states.cpp -o rcpp_sample_states.o In file included from rcpp_feasible_actions_ilp_matrix.cpp:1: In file included from ./package.h:12: 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 rcpp_feasible_actions_ilp_matrix.cpp:1: In file included from ./package.h:12: 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 rcpp_feasible_actions_ilp_matrix.cpp:1: In file included from ./package.h:12: 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 rcpp_feasible_actions_ilp_matrix.cpp:1: In file included from ./package.h:12: 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 rcpp_heuristic_prioritization.cpp:1: In file included from ./rcpp_heuristic_prioritization.h:5: In file included from ./package.h:12: 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 rcpp_heuristic_prioritization.cpp:1: In file included from ./rcpp_heuristic_prioritization.h:5: In file included from ./package.h:12: 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 rcpp_heuristic_prioritization.cpp:1: In file included from ./rcpp_heuristic_prioritization.h:5: In file included from ./package.h:12: 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 rcpp_model_performance.cpp:1: In file included from ./rcpp_model_performance.h:5: In file included from ./package.h:12: 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 rcpp_model_performance.cpp:1: In file included from ./rcpp_model_performance.h:5: In file included from ./package.h:12: 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 rcpp_model_performance.cpp:1: In file included from ./rcpp_model_performance.h:5: In file included from ./package.h:12: 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 rcpp_heuristic_prioritization.cpp:1: In file included from ./rcpp_heuristic_prioritization.h:5: In file included from ./package.h:12: 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 rcpp_model_performance.cpp:1: In file included from ./rcpp_model_performance.h:5: In file included from ./package.h:12: 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; | ^ 5 warnings generated. In file included from rcpp_probability.cpp:1: In file included from ./rcpp_probability.h:5: In file included from ./package.h:12: 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 rcpp_probability.cpp:1: In file included from ./rcpp_probability.h:5: In file included from ./package.h:12: 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 rcpp_probability.cpp:1: In file included from ./rcpp_probability.h:5: In file included from ./package.h:12: 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 rcpp_pmedian_constraint_matrix.cpp:1: In file included from ./package.h:12: 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; | ^ rcpp_heuristic_prioritization.cpp:10:21: warning: unused variable 'n_f' [-Wunused-variable] 10 | const std::size_t n_f = rij.rows(); | ^~~ rcpp_heuristic_prioritization.cpp:33:10: warning: unused variable 'curr_cost' [-Wunused-variable] 33 | double curr_cost; | ^~~~~~~~~ In file included from rcpp_pmedian_constraint_matrix.cpp:1: In file included from ./package.h:12: 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 rcpp_pmedian_constraint_matrix.cpp:1: In file included from ./package.h:12: 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 rcpp_probability.cpp:1: In file included from ./rcpp_probability.h:5: In file included from ./package.h:12: 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 rcpp_pmedian_constraint_matrix.cpp:1: In file included from ./package.h:12: 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/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -isystem /usr/local/clang18/include -I/usr/local/clang/include -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/PoissonBinomial/include' -I'/data/gannet/ripley/R/test-clang/nloptr/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c rcpp_states.cpp -o rcpp_states.o rcpp_pmedian_constraint_matrix.cpp:8:15: warning: unused variable 'n_vars' [-Wunused-variable] 8 | std::size_t n_vars = n + (n * n); | ^~~~~~ 5 warnings generated. 6 warnings generated. /usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -isystem /usr/local/clang18/include -I/usr/local/clang/include -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/PoissonBinomial/include' -I'/data/gannet/ripley/R/test-clang/nloptr/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c rcpp_update_posterior_probability_matrix.cpp -o rcpp_update_posterior_probability_matrix.o 7 warnings generated. 5 warnings generated. In file included from rcpp_sample_states.cpp:1: In file included from ./rcpp_sample_states.h:5: In file included from ./package.h:12: 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 rcpp_sample_states.cpp:1: In file included from ./rcpp_sample_states.h:5: In file included from ./package.h:12: 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 rcpp_sample_states.cpp:1: In file included from ./rcpp_sample_states.h:5: In file included from ./package.h:12: 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 rcpp_sample_states.cpp:1: In file included from ./rcpp_sample_states.h:5: In file included from ./package.h:12: 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; | ^ rcpp_sample_states.cpp:62:21: warning: unused variable 'n_v' [-Wunused-variable] 62 | const std::size_t n_v = pij.size(); | ^~~ rcpp_sample_states.cpp:115:21: warning: unused variable 'n_v' [-Wunused-variable] 115 | const std::size_t n_v = pij.size(); | ^~~ 7 warnings generated. In file included from rcpp_states.cpp:1: In file included from ./rcpp_states.h:5: In file included from ./package.h:12: 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 rcpp_states.cpp:1: In file included from ./rcpp_states.h:5: In file included from ./package.h:12: 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 rcpp_states.cpp:1: In file included from ./rcpp_states.h:5: In file included from ./package.h:12: 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 rcpp_states.cpp:1: In file included from ./rcpp_states.h:5: In file included from ./package.h:12: 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 rcpp_update_posterior_probability_matrix.cpp:1: In file included from ./rcpp_update_posterior_probability_matrix.h:5: In file included from ./package.h:12: 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 rcpp_update_posterior_probability_matrix.cpp:1: In file included from ./rcpp_update_posterior_probability_matrix.h:5: In file included from ./package.h:12: 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 rcpp_update_posterior_probability_matrix.cpp:1: In file included from ./rcpp_update_posterior_probability_matrix.h:5: In file included from ./package.h:12: 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 rcpp_update_posterior_probability_matrix.cpp:1: In file included from ./rcpp_update_posterior_probability_matrix.h:5: In file included from ./package.h:12: 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; | ^ 5 warnings generated. 5 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 surveyvoi.so RcppExports.o functions.o init.o rcpp_approx_expected_value_of_decision_given_survey_scheme.o rcpp_expected_value_of_action.o rcpp_expected_value_of_decision_given_current_info.o rcpp_expected_value_of_decision_given_survey_scheme.o rcpp_feasible_actions_ilp_matrix.o rcpp_heuristic_prioritization.o rcpp_model_performance.o rcpp_pmedian_constraint_matrix.o rcpp_probability.o rcpp_sample_states.o rcpp_states.o rcpp_update_posterior_probability_matrix.o -lgmpxx -lgmp -lmpfr -lgmp make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/surveyvoi/src' make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/surveyvoi/src' make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/surveyvoi/src' installing to /data/gannet/ripley/R/packages/tests-clang/surveyvoi.Rcheck/00LOCK-surveyvoi/00new/surveyvoi/libs ** R ** data *** moving datasets to lazyload DB ** 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 (surveyvoi)