* installing *source* package 'adapt3' ...
** this is package 'adapt3' version '2.0.9'
** package 'adapt3' successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: 'g++.exe (GCC) 14.3.0'
make[1]: Entering directory '/d/temp/2026_06_08_01_50_00_26021/RtmpQhexmU/R.INSTALL7c7432f749b9/adapt3/src'
g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.5.3/include" -DNDEBUG -DARMA_64BIT_WORD=1 -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.5/BH/include' -I'D:/RCompile/CRANpkg/lib/4.5/lefko3/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -I../inst/include/ -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c RcppExports.cpp -o RcppExports.o
g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.5.3/include" -DNDEBUG -DARMA_64BIT_WORD=1 -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.5/BH/include' -I'D:/RCompile/CRANpkg/lib/4.5/lefko3/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -I../inst/include/ -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c projection.cpp -o projection.o
In file included from D:/RCompile/CRANpkg/lib/4.5/lefko3/include/LefkoUtils.h:8,
from projection.cpp:10:
D:/RCompile/CRANpkg/lib/4.5/lefko3/include/basic_funcs/mat_stuff.h: In function 'Rcpp::DataFrame LefkoMats::supp_reassess(Rcpp::DataFrame, bool, Rcpp::Nullable<Rcpp::DataFrame_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::DataFrame_Impl<Rcpp::PreserveStorage> >)':
D:/RCompile/CRANpkg/lib/4.5/lefko3/include/basic_funcs/mat_stuff.h:1672:12: warning: variable 'esta2_used' set but not used [-Wunused-but-set-variable]
1672 | bool esta2_used {false};
| ^~~~~~~~~~
In file included from ../inst/include/AdaptUtils.h:8,
from projection.cpp:11:
../inst/include/basic_funcs/mats_utils.h: In function 'Rcpp::List AdaptMats::theoldpizzle_adapt3(const Rcpp::DataFrame&, const Rcpp::DataFrame&, const arma::mat&, int, int, int, int, int, int, bool)':
../inst/include/basic_funcs/mats_utils.h:3763:9: warning: unused variable 'nostages_nounborn' [-Wunused-variable]
3763 | int nostages_nounborn = nostages - almostbornstages;
| ^~~~~~~~~~~~~~~~~
projection.cpp: In function 'Rcpp::List cleanup3(Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, double, double, int, int, bool, bool, bool)':
projection.cpp:3813:29: warning: comparison of integer expressions of different signedness: 'Rcpp::traits::storage_type<13>::type' {aka 'int'} and 'unsigned int' [-Wsign-compare]
3813 | if (year_counter(i) == no_mainyears || j == 0) year_counter(i) = 0;
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
projection.cpp: In function 'void project3_fb_core(Rcpp::NumericMatrix&, Rcpp::List&, Rcpp::List&, Rcpp::List&, Rcpp::List&, Rcpp::List, Rcpp::List, Rcpp::List, Rcpp::List, Rcpp::List, Rcpp::List, Rcpp::List, Rcpp::List, Rcpp::List, Rcpp::List, Rcpp::List, Rcpp::List, Rcpp::List, Rcpp::List, Rcpp::List, Rcpp::List, Rcpp::IntegerVector, Rcpp::IntegerVector, Rcpp::IntegerVector, Rcpp::IntegerVector, Rcpp::IntegerVector, Rcpp::IntegerVector, Rcpp::IntegerVector, Rcpp::IntegerVector, Rcpp::IntegerVector, Rcpp::IntegerVector, Rcpp::IntegerVector, Rcpp::IntegerVector, Rcpp::IntegerVector, Rcpp::IntegerVector, Rcpp::IntegerVector, Rcpp::IntegerVector, Rcpp::IntegerVector, Rcpp::IntegerVector, Rcpp::NumericVector, Rcpp::LogicalVector, Rcpp::CharacterVector, int, int, int, int, double, double, bool, bool, bool, bool, bool, bool)':
projection.cpp:5193:31: warning: comparison of integer expressions of different signedness: 'Rcpp::traits::storage_type<13>::type' {aka 'int'} and 'unsigned int' [-Wsign-compare]
5193 | if (year_counter(i) >= no_mainyears || current_time == 0) year_counter(i) = 0;
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
projection.cpp: In function 'Rcpp::List project3(Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, bool, bool, int, int, int, int, bool, double, double)':
projection.cpp:5891:8: warning: variable 'pure_fleslie' set but not used [-Wunused-but-set-variable]
5891 | bool pure_fleslie {false}; // Are all function-based MPMs Leslie MPMs?
| ^~~~~~~~~~~~
projection.cpp:5896:7: warning: variable 'stageframe_count' set but not used [-Wunused-but-set-variable]
5896 | int stageframe_count {0};
| ^~~~~~~~~~~~~~~~
projection.cpp:5897:7: warning: variable 'stageframe_notNull_count' set but not used [-Wunused-but-set-variable]
5897 | int stageframe_notNull_count {0};
| ^~~~~~~~~~~~~~~~~~~~~~~~
projection.cpp:5898:7: warning: variable 'supplement_count' set but not used [-Wunused-but-set-variable]
5898 | int supplement_count {0};
| ^~~~~~~~~~~~~~~~
projection.cpp:5899:7: warning: variable 'equivalence_count' set but not used [-Wunused-but-set-variable]
5899 | int equivalence_count {0};
| ^~~~~~~~~~~~~~~~~
projection.cpp:5900:7: warning: variable 'start_count' set but not used [-Wunused-but-set-variable]
5900 | int start_count {0};
| ^~~~~~~~~~~
projection.cpp:5901:7: warning: variable 'tweights_count' set but not used [-Wunused-but-set-variable]
5901 | int tweights_count {0};
| ^~~~~~~~~~~~~~
projection.cpp:5902:7: warning: variable 'density_count' set but not used [-Wunused-but-set-variable]
5902 | int density_count {0};
| ^~~~~~~~~~~~~
projection.cpp:5903:7: warning: variable 'entry_time_count' set but not used [-Wunused-but-set-variable]
5903 | int entry_time_count {0};
| ^~~~~~~~~~~~~~~~
projection.cpp:5904:7: warning: variable 'density_vr_count' set but not used [-Wunused-but-set-variable]
5904 | int density_vr_count {0};
| ^~~~~~~~~~~~~~~~
projection.cpp:5905:7: warning: variable 'sparse_vec_count' set but not used [-Wunused-but-set-variable]
5905 | int sparse_vec_count {0};
| ^~~~~~~~~~~~~~~~
projection.cpp:5906:7: warning: variable 'found_fleslie' set but not used [-Wunused-but-set-variable]
5906 | int found_fleslie {0};
| ^~~~~~~~~~~~~
projection.cpp: In function 'Rcpp::List batch_project3(Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, bool, bool, int, int, int, int, bool, double, double)':
projection.cpp:8089:13: warning: unused variable 'current_supplement_rows' [-Wunused-variable]
8089 | int current_supplement_rows = static_cast<int>(current_supplement_df.nrows());
| ^~~~~~~~~~~~~~~~~~~~~~~
projection.cpp:6596:8: warning: unused variable 'sensitivity_bool' [-Wunused-variable]
6596 | bool sensitivity_bool {false};
| ^~~~~~~~~~~~~~~~
projection.cpp: In function 'Rcpp::List cleanup3_inv(Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, double, double, int, unsigned int, unsigned int)':
projection.cpp:8460:38: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
8460 | for (unsigned int sfi = 0; sfi < min_age_length; sfi++) {
| ~~~~^~~~~~~~~~~~~~~~
projection.cpp:9061:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare]
9061 | for (int i = 0; i < variant_count; i++) {
| ~~^~~~~~~~~~~~~~~
projection.cpp:9069:55: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare]
9069 | if (start_list_length != 1 && start_list_length != variant_count) {
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
projection.cpp:9148:23: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare]
9148 | for (int i = 0; i < variant_count; i++) {
| ~~^~~~~~~~~~~~~~~
projection.cpp:9572:28: warning: comparison of integer expressions of different signedness: 'Rcpp::traits::storage_type<13>::type' {aka 'int'} and 'unsigned int' [-Wsign-compare]
9572 | if (di_age2(j) < finalage_int) {
| ~~~~~~~~~~~^~~~~~~~~~~~~~
projection.cpp:9876:30: warning: comparison of integer expressions of different signedness: 'Rcpp::traits::storage_type<13>::type' {aka 'int'} and 'unsigned int' [-Wsign-compare]
9876 | if (di_age2(j) < finalage_int) {
| ~~~~~~~~~~~^~~~~~~~~~~~~~
projection.cpp:10021:53: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare]
10021 | if (entry_time_count != 1 && entry_time_count != var_per_run) {
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
projection.cpp:10031:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare]
10031 | for (int i = 0; i < var_per_run; i++) {
| ~~^~~~~~~~~~~~~
projection.cpp:10239:27: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare]
10239 | for (int i = 0; i < variant_count; i++) {
| ~~^~~~~~~~~~~~~~~
projection.cpp:10267:27: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare]
10267 | for (int i = 0; i < variant_count; i++) {
| ~~^~~~~~~~~~~~~~~
projection.cpp:10291:27: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare]
10291 | for (int i = 0; i < variant_count; i++) {
| ~~^~~~~~~~~~~~~~~
projection.cpp: In function 'void ESS_optimizer_pre(Rcpp::DataFrame&, Rcpp::DataFrame&, Rcpp::DataFrame&, Rcpp::DataFrame&, Rcpp::IntegerVector&, Rcpp::IntegerVector&, Rcpp::List&, Rcpp::List&, Rcpp::List&, Rcpp::List, Rcpp::List, Rcpp::List, Rcpp::List, Rcpp::List, Rcpp::DataFrame, Rcpp::DataFrame, Rcpp::DataFrame, Rcpp::IntegerVector, int, int, int, int, int, int, int, double, double, bool, bool, bool, bool, bool, double, int, int, int, int, int, int, double, bool)':
projection.cpp:12239:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
12239 | for (int i = 0; i < total_optima; i++) {
| ~~^~~~~~~~~~~~~~
projection.cpp:12857:18: warning: unused variable 'res_fitness_test' [-Wunused-variable]
12857 | double res_fitness_test = current_round_fitness_values(0);
| ^~~~~~~~~~~~~~~~
projection.cpp:12487:12: warning: variable 'conv_test' set but not used [-Wunused-but-set-variable]
12487 | double conv_test {0.};
| ^~~~~~~~~
projection.cpp:12489:12: warning: variable 'xE' set but not used [-Wunused-but-set-variable]
12489 | double xE {0.}; // test value to keep in memory from previous expansion round
| ^~
projection.cpp:12490:12: warning: variable 'xC_new' set but not used [-Wunused-but-set-variable]
12490 | double xC_new {0.}; // test value to keep in memory from previous contraction round
| ^~~~~~
projection.cpp:13049:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
13049 | for (int i = 2; i < total_optima; i++) {
| ~~^~~~~~~~~~~~~~
projection.cpp:13072:7: warning: unused variable 'optim_rows' [-Wunused-variable]
13072 | int optim_rows = static_cast<int>(final_output_df.nrows());
| ^~~~~~~~~~
projection.cpp: In function 'void ESS_optimizer_fb(Rcpp::DataFrame&, Rcpp::DataFrame&, Rcpp::DataFrame&, Rcpp::DataFrame&, Rcpp::IntegerVector&, Rcpp::IntegerVector&, arma::vec&, arma::vec&, arma::vec&, arma::vec&, arma::vec&, arma::vec&, arma::vec&, arma::vec&, arma::vec&, arma::vec&, arma::vec&, arma::vec&, arma::vec&, arma::vec&, arma::vec&, arma::vec&, arma::vec&, arma::ivec&, Rcpp::List&, Rcpp::List&, Rcpp::List&, Rcpp::List&, Rcpp::List, Rcpp::List, Rcpp::List, Rcpp::List, Rcpp::List, Rcpp::List, Rcpp::List&, Rcpp::List, Rcpp::List, Rcpp::List, Rcpp::DataFrame, Rcpp::DataFrame&, Rcpp::DataFrame, Rcpp::DataFrame, Rcpp::DataFrame, Rcpp::DataFrame, Rcpp::IntegerVector, Rcpp::IntegerVector, Rcpp::IntegerVector, Rcpp::IntegerVector, Rcpp::IntegerVector, Rcpp::IntegerVector, Rcpp::IntegerVector, Rcpp::IntegerVector, Rcpp::IntegerVector, Rcpp::NumericVector, Rcpp::CharacterVector, Rcpp::CharacterVector, int, int, int, int, int, int, int, int, double, double, bool, bool, bool, bool, bool, double, int, int, int, int, int, int, bool, double, bool)':
projection.cpp:14092:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
14092 | for (int i = 0; i < total_optima; i++) {
| ~~^~~~~~~~~~~~~~
projection.cpp:14912:18: warning: unused variable 'res_fitness_test' [-Wunused-variable]
14912 | double res_fitness_test = current_round_fitness_values(0);
| ^~~~~~~~~~~~~~~~
projection.cpp:14430:12: warning: variable 'conv_test' set but not used [-Wunused-but-set-variable]
14430 | double conv_test {0.};
| ^~~~~~~~~
projection.cpp:14432:12: warning: variable 'xE' set but not used [-Wunused-but-set-variable]
14432 | double xE {0.}; // test value to keep in memory from previous expansion round
| ^~
projection.cpp:14433:12: warning: variable 'xC_new' set but not used [-Wunused-but-set-variable]
14433 | double xC_new {0.}; // test value to keep in memory from previous contraction round
| ^~~~~~
projection.cpp:15103:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
15103 | for (int i = 2; i < total_optima; i++) {
| ~~^~~~~~~~~~~~~~
projection.cpp:15129:7: warning: unused variable 'optim_rows' [-Wunused-variable]
15129 | int optim_rows = static_cast<int>(final_output_df.nrows());
| ^~~~~~~~~~
projection.cpp: In function 'Rcpp::List invade3(Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::RObject_Impl<Rcpp::PreserveStorage> >, int, int, double, int, int, int, double, double, double, int)':
projection.cpp:20055:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
20055 | if (!(variant_count >= var_per_run)) {
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~
projection.cpp:19872:7: warning: unused variable 'stageframe_count' [-Wunused-variable]
19872 | int stageframe_count {0};
| ^~~~~~~~~~~~~~~~
projection.cpp:19873:7: warning: variable 'stageframe_notNull_count' set but not used [-Wunused-but-set-variable]
19873 | int stageframe_notNull_count {0};
| ^~~~~~~~~~~~~~~~~~~~~~~~
projection.cpp:19874:7: warning: unused variable 'supplement_count' [-Wunused-variable]
19874 | int supplement_count {0};
| ^~~~~~~~~~~~~~~~
projection.cpp:19875:7: warning: variable 'equivalence_count' set but not used [-Wunused-but-set-variable]
19875 | int equivalence_count {0};
| ^~~~~~~~~~~~~~~~~
projection.cpp:19876:7: warning: variable 'start_count' set but not used [-Wunused-but-set-variable]
19876 | int start_count {0};
| ^~~~~~~~~~~
projection.cpp:19877:7: warning: variable 'tweights_count' set but not used [-Wunused-but-set-variable]
19877 | int tweights_count {0};
| ^~~~~~~~~~~~~~
projection.cpp:19878:7: warning: variable 'density_count' set but not used [-Wunused-but-set-variable]
19878 | int density_count {0};
| ^~~~~~~~~~~~~
projection.cpp:19880:7: warning: variable 'entry_time_count' set but not used [-Wunused-but-set-variable]
19880 | int entry_time_count {0};
| ^~~~~~~~~~~~~~~~
projection.cpp:19881:7: warning: variable 'density_vr_count' set but not used [-Wunused-but-set-variable]
19881 | int density_vr_count {0};
| ^~~~~~~~~~~~~~~~
projection.cpp:19882:7: warning: variable 'sparse_vec_count' set but not used [-Wunused-but-set-variable]
19882 | int sparse_vec_count {0};
| ^~~~~~~~~~~~~~~~
projection.cpp:19894:8: warning: variable 'prebreeding_bool' set but not used [-Wunused-but-set-variable]
19894 | bool prebreeding_bool {true};
| ^~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.5.3/include" -DNDEBUG -DARMA_64BIT_WORD=1 -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.5/BH/include' -I'D:/RCompile/CRANpkg/lib/4.5/lefko3/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -I../inst/include/ -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c utilities.cpp -o utilities.o
In file included from D:/RCompile/CRANpkg/lib/4.5/lefko3/include/LefkoUtils.h:8,
from utilities.cpp:7:
D:/RCompile/CRANpkg/lib/4.5/lefko3/include/basic_funcs/mat_stuff.h: In function 'Rcpp::DataFrame LefkoMats::supp_reassess(Rcpp::DataFrame, bool, Rcpp::Nullable<Rcpp::DataFrame_Impl<Rcpp::PreserveStorage> >, Rcpp::Nullable<Rcpp::DataFrame_Impl<Rcpp::PreserveStorage> >)':
D:/RCompile/CRANpkg/lib/4.5/lefko3/include/basic_funcs/mat_stuff.h:1672:12: warning: variable 'esta2_used' set but not used [-Wunused-but-set-variable]
1672 | bool esta2_used {false};
| ^~~~~~~~~~
In file included from ../inst/include/AdaptUtils.h:8,
from utilities.cpp:8:
../inst/include/basic_funcs/mats_utils.h: In function 'Rcpp::List AdaptMats::theoldpizzle_adapt3(const Rcpp::DataFrame&, const Rcpp::DataFrame&, const arma::mat&, int, int, int, int, int, int, bool)':
../inst/include/basic_funcs/mats_utils.h:3763:9: warning: unused variable 'nostages_nounborn' [-Wunused-variable]
3763 | int nostages_nounborn = nostages - almostbornstages;
| ^~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -shared -s -static-libgcc -o adapt3.dll tmp.def RcppExports.o projection.o utilities.o -fopenmp -LD:/RCompile/recent/R-4.5.3/bin/x64 -lRlapack -LD:/RCompile/recent/R-4.5.3/bin/x64 -lRblas -lgfortran -lquadmath -Ld:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools45/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R-4.5.3/bin/x64 -lR
make[1]: Leaving directory '/d/temp/2026_06_08_01_50_00_26021/RtmpQhexmU/R.INSTALL7c7432f749b9/adapt3/src'
make[1]: Entering directory '/d/temp/2026_06_08_01_50_00_26021/RtmpQhexmU/R.INSTALL7c7432f749b9/adapt3/src'
make[1]: Leaving directory '/d/temp/2026_06_08_01_50_00_26021/RtmpQhexmU/R.INSTALL7c7432f749b9/adapt3/src'
installing to d:/Rcompile/CRANpkg/lib/4.5/00LOCK-adapt3/00new/adapt3/libs/x64
** R
** data
*** moving datasets to lazyload DB
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* MD5 sums
packaged installation of 'adapt3' as adapt3_2.0.9.zip
* DONE (adapt3)