SCM

R Development Page

lefko3 log file (00install.out)

* installing *source* package 'lefko3' ...
** using staged installation
** libs
g++  -std=gnu++11 -I"R:/lib/R/R-patched/include" -DNDEBUG  -I'R:/lib/local/4.2/Rcpp/include' -I'R:/lib/local/4.2/RcppArmadillo/include' -I'R:/lib/local/4.2/BH/include'   -I"C:/rtools42/x86_64-w64-mingw32.static.posix/include"  -I../inst/include/   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c DataManagement.cpp -o DataManagement.o
In file included from R:/lib/local/4.2/BH/include/boost/mpl/aux_/na_assert.hpp:23,
                 from R:/lib/local/4.2/BH/include/boost/mpl/arg.hpp:25,
                 from R:/lib/local/4.2/BH/include/boost/mpl/placeholders.hpp:24,
                 from R:/lib/local/4.2/BH/include/boost/iterator/iterator_categories.hpp:16,
                 from R:/lib/local/4.2/BH/include/boost/iterator/iterator_facade.hpp:13,
                 from R:/lib/local/4.2/BH/include/boost/range/iterator_range_core.hpp:27,
                 from R:/lib/local/4.2/BH/include/boost/lexical_cast.hpp:30,
                 from R:/lib/local/4.2/BH/include/boost/math/tools/convert_from_string.hpp:15,
                 from R:/lib/local/4.2/BH/include/boost/math/constants/constants.hpp:14,
                 from R:/lib/local/4.2/BH/include/boost/math/special_functions/gamma.hpp:24,
                 from ../inst/include/basic_funcs/main_utils.h:7,
                 from ../inst/include/LefkoUtils.h:7,
                 from DataManagement.cpp:5:
R:/lib/local/4.2/BH/include/boost/mpl/assert.hpp:194:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses]
  194 | failed ************ (Pred::************
      |                     ^
R:/lib/local/4.2/BH/include/boost/mpl/assert.hpp:199:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses]
  199 | failed ************ (boost::mpl::not_::************
      |                     ^
In file included from ../inst/include/LefkoUtils.h:8,
                 from DataManagement.cpp:5:
../inst/include/basic_funcs/mat_stuff.h: In function 'Rcpp::List LefkoMats::turbogeodiesel(Rcpp::DataFrame&, Rcpp::List, Rcpp::List, Rcpp::DataFrame, Rcpp::DataFrame, Rcpp::DataFrame, bool, bool, bool, int)':
../inst/include/basic_funcs/mat_stuff.h:661:29: warning: comparison of integer expressions of different signedness: 'int' and 'const uword' {aka 'const unsigned int'} [-Wsign-compare]
  661 |           for (int j = 0; j < allindices.n_elem; j++) {
      |                           ~~^~~~~~~~~~~~~~~~~~~
../inst/include/basic_funcs/mat_stuff.h:694:31: warning: comparison of integer expressions of different signedness: 'int' and 'const uword' {aka 'const unsigned int'} [-Wsign-compare]
  694 |             for (int j = 0; j < allindices.n_elem; j++) {
      |                             ~~^~~~~~~~~~~~~~~~~~~
../inst/include/basic_funcs/mat_stuff.h:779:27: warning: comparison of integer expressions of different signedness: 'int' and 'const uword' {aka 'const unsigned int'} [-Wsign-compare]
  779 |         for (int j = 0; j < allindices.n_elem; j++) {
      |                         ~~^~~~~~~~~~~~~~~~~~~
g++  -std=gnu++11 -I"R:/lib/R/R-patched/include" -DNDEBUG  -I'R:/lib/local/4.2/Rcpp/include' -I'R:/lib/local/4.2/RcppArmadillo/include' -I'R:/lib/local/4.2/BH/include'   -I"C:/rtools42/x86_64-w64-mingw32.static.posix/include"  -I../inst/include/   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c ErrorChecks.cpp -o ErrorChecks.o
g++  -std=gnu++11 -I"R:/lib/R/R-patched/include" -DNDEBUG  -I'R:/lib/local/4.2/Rcpp/include' -I'R:/lib/local/4.2/RcppArmadillo/include' -I'R:/lib/local/4.2/BH/include'   -I"C:/rtools42/x86_64-w64-mingw32.static.posix/include"  -I../inst/include/   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c ExtraFunctions.cpp -o ExtraFunctions.o
g++  -std=gnu++11 -I"R:/lib/R/R-patched/include" -DNDEBUG  -I'R:/lib/local/4.2/Rcpp/include' -I'R:/lib/local/4.2/RcppArmadillo/include' -I'R:/lib/local/4.2/BH/include'   -I"C:/rtools42/x86_64-w64-mingw32.static.posix/include"  -I../inst/include/   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c Mats2.cpp -o Mats2.o
In file included from R:/lib/local/4.2/BH/include/boost/mpl/aux_/na_assert.hpp:23,
                 from R:/lib/local/4.2/BH/include/boost/mpl/arg.hpp:25,
                 from R:/lib/local/4.2/BH/include/boost/mpl/placeholders.hpp:24,
                 from R:/lib/local/4.2/BH/include/boost/iterator/iterator_categories.hpp:16,
                 from R:/lib/local/4.2/BH/include/boost/iterator/iterator_facade.hpp:13,
                 from R:/lib/local/4.2/BH/include/boost/range/iterator_range_core.hpp:27,
                 from R:/lib/local/4.2/BH/include/boost/lexical_cast.hpp:30,
                 from R:/lib/local/4.2/BH/include/boost/math/tools/convert_from_string.hpp:15,
                 from R:/lib/local/4.2/BH/include/boost/math/constants/constants.hpp:14,
                 from R:/lib/local/4.2/BH/include/boost/math/special_functions/gamma.hpp:24,
                 from ../inst/include/basic_funcs/main_utils.h:7,
                 from ../inst/include/LefkoUtils.h:7,
                 from Mats2.cpp:3:
R:/lib/local/4.2/BH/include/boost/mpl/assert.hpp:194:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses]
  194 | failed ************ (Pred::************
      |                     ^
R:/lib/local/4.2/BH/include/boost/mpl/assert.hpp:199:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses]
  199 | failed ************ (boost::mpl::not_::************
      |                     ^
In file included from ../inst/include/LefkoUtils.h:8,
                 from Mats2.cpp:3:
../inst/include/basic_funcs/mat_stuff.h: In function 'Rcpp::List LefkoMats::turbogeodiesel(Rcpp::DataFrame&, Rcpp::List, Rcpp::List, Rcpp::DataFrame, Rcpp::DataFrame, Rcpp::DataFrame, bool, bool, bool, int)':
../inst/include/basic_funcs/mat_stuff.h:661:29: warning: comparison of integer expressions of different signedness: 'int' and 'const uword' {aka 'const unsigned int'} [-Wsign-compare]
  661 |           for (int j = 0; j < allindices.n_elem; j++) {
      |                           ~~^~~~~~~~~~~~~~~~~~~
../inst/include/basic_funcs/mat_stuff.h:694:31: warning: comparison of integer expressions of different signedness: 'int' and 'const uword' {aka 'const unsigned int'} [-Wsign-compare]
  694 |             for (int j = 0; j < allindices.n_elem; j++) {
      |                             ~~^~~~~~~~~~~~~~~~~~~
../inst/include/basic_funcs/mat_stuff.h:779:27: warning: comparison of integer expressions of different signedness: 'int' and 'const uword' {aka 'const unsigned int'} [-Wsign-compare]
  779 |         for (int j = 0; j < allindices.n_elem; j++) {
      |                         ~~^~~~~~~~~~~~~~~~~~~
g++  -std=gnu++11 -I"R:/lib/R/R-patched/include" -DNDEBUG  -I'R:/lib/local/4.2/Rcpp/include' -I'R:/lib/local/4.2/RcppArmadillo/include' -I'R:/lib/local/4.2/BH/include'   -I"C:/rtools42/x86_64-w64-mingw32.static.posix/include"  -I../inst/include/   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c MatsNProj.cpp -o MatsNProj.o
In file included from R:/lib/local/4.2/BH/include/boost/mpl/aux_/na_assert.hpp:23,
                 from R:/lib/local/4.2/BH/include/boost/mpl/arg.hpp:25,
                 from R:/lib/local/4.2/BH/include/boost/mpl/placeholders.hpp:24,
                 from R:/lib/local/4.2/BH/include/boost/iterator/iterator_categories.hpp:16,
                 from R:/lib/local/4.2/BH/include/boost/iterator/iterator_facade.hpp:13,
                 from R:/lib/local/4.2/BH/include/boost/range/iterator_range_core.hpp:27,
                 from R:/lib/local/4.2/BH/include/boost/lexical_cast.hpp:30,
                 from R:/lib/local/4.2/BH/include/boost/math/tools/convert_from_string.hpp:15,
                 from R:/lib/local/4.2/BH/include/boost/math/constants/constants.hpp:14,
                 from R:/lib/local/4.2/BH/include/boost/math/special_functions/gamma.hpp:24,
                 from MatsNProj.cpp:5:
R:/lib/local/4.2/BH/include/boost/mpl/assert.hpp:194:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses]
  194 | failed ************ (Pred::************
      |                     ^
R:/lib/local/4.2/BH/include/boost/mpl/assert.hpp:199:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses]
  199 | failed ************ (boost::mpl::not_::************
      |                     ^
In file included from ../inst/include/LefkoUtils.h:8,
                 from MatsNProj.cpp:7:
../inst/include/basic_funcs/mat_stuff.h: In function 'Rcpp::List LefkoMats::turbogeodiesel(Rcpp::DataFrame&, Rcpp::List, Rcpp::List, Rcpp::DataFrame, Rcpp::DataFrame, Rcpp::DataFrame, bool, bool, bool, int)':
../inst/include/basic_funcs/mat_stuff.h:661:29: warning: comparison of integer expressions of different signedness: 'int' and 'const uword' {aka 'const unsigned int'} [-Wsign-compare]
  661 |           for (int j = 0; j < allindices.n_elem; j++) {
      |                           ~~^~~~~~~~~~~~~~~~~~~
../inst/include/basic_funcs/mat_stuff.h:694:31: warning: comparison of integer expressions of different signedness: 'int' and 'const uword' {aka 'const unsigned int'} [-Wsign-compare]
  694 |             for (int j = 0; j < allindices.n_elem; j++) {
      |                             ~~^~~~~~~~~~~~~~~~~~~
../inst/include/basic_funcs/mat_stuff.h:779:27: warning: comparison of integer expressions of different signedness: 'int' and 'const uword' {aka 'const unsigned int'} [-Wsign-compare]
  779 |         for (int j = 0; j < allindices.n_elem; j++) {
      |                         ~~^~~~~~~~~~~~~~~~~~~
MatsNProj.cpp: In function 'Rcpp::List specialpatrolgroup(const DataFrame&, const ivec&, const DataFrame&, const DataFrame&, int, int, Rcpp::StringVector, Rcpp::StringVector, Rcpp::StringVector, Rcpp::IntegerVector, int, int, int, bool, bool, bool, bool)':
MatsNProj.cpp:3809:41: warning: comparison of integer expressions of different signedness: 'int' and 'const uword' {aka 'const unsigned int'} [-Wsign-compare]
 3809 |       for (int nan_count = 0; nan_count < tm_sp_nan.n_elem; nan_count++) {
      |                               ~~~~~~~~~~^~~~~~~~~~~~~~~~~~
MatsNProj.cpp:3812:41: warning: comparison of integer expressions of different signedness: 'int' and 'const uword' {aka 'const unsigned int'} [-Wsign-compare]
 3812 |       for (int nan_count = 0; nan_count < fm_sp_nan.n_elem; nan_count++) {
      |                               ~~~~~~~~~~^~~~~~~~~~~~~~~~~~
MatsNProj.cpp: In function 'Rcpp::List normalpatrolgroup(const DataFrame&, const ivec&, const DataFrame&, const DataFrame&, int, Rcpp::StringVector, Rcpp::StringVector, Rcpp::StringVector, Rcpp::IntegerVector, int, int, int, bool, bool, bool, bool)':
MatsNProj.cpp:4149:41: warning: comparison of integer expressions of different signedness: 'int' and 'const uword' {aka 'const unsigned int'} [-Wsign-compare]
 4149 |       for (int nan_count = 0; nan_count < tm_sp_nan.n_elem; nan_count++) {
      |                               ~~~~~~~~~~^~~~~~~~~~~~~~~~~~
MatsNProj.cpp:4152:41: warning: comparison of integer expressions of different signedness: 'int' and 'const uword' {aka 'const unsigned int'} [-Wsign-compare]
 4152 |       for (int nan_count = 0; nan_count < fm_sp_nan.n_elem; nan_count++) {
      |                               ~~~~~~~~~~^~~~~~~~~~~~~~~~~~
MatsNProj.cpp: In function 'Rcpp::List minorpatrolgroup(const DataFrame&, const DataFrame&, bool, double, int, Rcpp::StringVector, Rcpp::StringVector, Rcpp::StringVector, Rcpp::IntegerVector, int, int, int, bool, bool, bool, bool)':
MatsNProj.cpp:4379:41: warning: comparison of integer expressions of different signedness: 'int' and 'const uword' {aka 'const unsigned int'} [-Wsign-compare]
 4379 |       for (int nan_count = 0; nan_count < tm_sp_nan.n_elem; nan_count++) {
      |                               ~~~~~~~~~~^~~~~~~~~~~~~~~~~~
MatsNProj.cpp:4382:41: warning: comparison of integer expressions of different signedness: 'int' and 'const uword' {aka 'const unsigned int'} [-Wsign-compare]
 4382 |       for (int nan_count = 0; nan_count < fm_sp_nan.n_elem; nan_count++) {
      |                               ~~~~~~~~~~^~~~~~~~~~~~~~~~~~
MatsNProj.cpp: In function 'Rcpp::List subvertedpatrolgroup(const DataFrame&, const ivec&, const DataFrame&, const DataFrame&, int, int, bool, int, Rcpp::StringVector, Rcpp::StringVector, Rcpp::StringVector, Rcpp::IntegerVector, int, int, int, bool, bool, bool, bool)':
MatsNProj.cpp:4722:41: warning: comparison of integer expressions of different signedness: 'int' and 'const uword' {aka 'const unsigned int'} [-Wsign-compare]
 4722 |       for (int nan_count = 0; nan_count < tm_sp_nan.n_elem; nan_count++) {
      |                               ~~~~~~~~~~^~~~~~~~~~~~~~~~~~
MatsNProj.cpp:4725:41: warning: comparison of integer expressions of different signedness: 'int' and 'const uword' {aka 'const unsigned int'} [-Wsign-compare]
 4725 |       for (int nan_count = 0; nan_count < fm_sp_nan.n_elem; nan_count++) {
      |                               ~~~~~~~~~~^~~~~~~~~~~~~~~~~~
MatsNProj.cpp: In function 'Rcpp::List f_projection3(int, bool, int, int, int, int, bool, bool, bool, bool, bool, bool, int, bool, int, int, double, double, double, bool, bool, bool, bool, bool, Rcpp::Nullable >, Rcpp::Nullable >, Rcpp::Nullable >, Rcpp::Nullable >, Rcpp::Nullable >, Rcpp::Nullable >, Rcpp::Nullable >, Rcpp::Nullable >, Rcpp::Nullable >, Rcpp::Nullable >, Rcpp::Nullable >, Rcpp::Nullable >, Rcpp::Nullable >, Rcpp::Nullable >, Rcpp::Nullable >, Rcpp::Nullable >, Rcpp::Nullable >, Rcpp::Nullable >, Rcpp::Nullable >, Rcpp::Nullable >, Rcpp::Nullable >, Rcpp::Nullable >, Rcpp::Nullable >, Rcpp::Nullable >, Rcpp::Nullable >, Rcpp::Nullable >, Rcpp::Nullable >, Rcpp::Nullable >, Rcpp::Nullable >, Rcpp::Nullable >, Rcpp::Nullable >, Rcpp::Nullable >)':
MatsNProj.cpp:10020:23: warning: comparison of integer expressions of different signedness: 'int' and 'const uword' {aka 'const unsigned int'} [-Wsign-compare]
10020 |     for (int i = 0; i < dyn_style.n_elem; i++) {
      |                     ~~^~~~~~~~~~~~~~~~~~
MatsNProj.cpp: In function 'Rcpp::List projection3(const List&, int, int, bool, bool, bool, bool, bool, int, double, bool, bool, Rcpp::Nullable >, Rcpp::Nullable >, Rcpp::Nullable >, Rcpp::Nullable >, Rcpp::Nullable >, Rcpp::Nullable >)':
MatsNProj.cpp:17994:25: warning: comparison of integer expressions of different signedness: 'int' and 'const uword' {aka 'const unsigned int'} [-Wsign-compare]
17994 |       for (int i = 0; i < dyn_style.n_elem; i++) {
      |                       ~~^~~~~~~~~~~~~~~~~~
g++  -std=gnu++11 -I"R:/lib/R/R-patched/include" -DNDEBUG  -I'R:/lib/local/4.2/Rcpp/include' -I'R:/lib/local/4.2/RcppArmadillo/include' -I'R:/lib/local/4.2/BH/include'   -I"C:/rtools42/x86_64-w64-mingw32.static.posix/include"  -I../inst/include/   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c ModelSelection.cpp -o ModelSelection.o
In file included from R:/lib/local/4.2/BH/include/boost/mpl/aux_/na_assert.hpp:23,
                 from R:/lib/local/4.2/BH/include/boost/mpl/arg.hpp:25,
                 from R:/lib/local/4.2/BH/include/boost/mpl/placeholders.hpp:24,
                 from R:/lib/local/4.2/BH/include/boost/iterator/iterator_categories.hpp:16,
                 from R:/lib/local/4.2/BH/include/boost/iterator/iterator_facade.hpp:13,
                 from R:/lib/local/4.2/BH/include/boost/range/iterator_range_core.hpp:27,
                 from R:/lib/local/4.2/BH/include/boost/lexical_cast.hpp:30,
                 from R:/lib/local/4.2/BH/include/boost/math/tools/convert_from_string.hpp:15,
                 from R:/lib/local/4.2/BH/include/boost/math/constants/constants.hpp:14,
                 from R:/lib/local/4.2/BH/include/boost/math/special_functions/gamma.hpp:24,
                 from ../inst/include/basic_funcs/main_utils.h:7,
                 from ../inst/include/LefkoUtils.h:7,
                 from ModelSelection.cpp:2:
R:/lib/local/4.2/BH/include/boost/mpl/assert.hpp:194:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses]
  194 | failed ************ (Pred::************
      |                     ^
R:/lib/local/4.2/BH/include/boost/mpl/assert.hpp:199:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses]
  199 | failed ************ (boost::mpl::not_::************
      |                     ^
In file included from ../inst/include/LefkoUtils.h:8,
                 from ModelSelection.cpp:2:
../inst/include/basic_funcs/mat_stuff.h: In function 'Rcpp::List LefkoMats::turbogeodiesel(Rcpp::DataFrame&, Rcpp::List, Rcpp::List, Rcpp::DataFrame, Rcpp::DataFrame, Rcpp::DataFrame, bool, bool, bool, int)':
../inst/include/basic_funcs/mat_stuff.h:661:29: warning: comparison of integer expressions of different signedness: 'int' and 'const uword' {aka 'const unsigned int'} [-Wsign-compare]
  661 |           for (int j = 0; j < allindices.n_elem; j++) {
      |                           ~~^~~~~~~~~~~~~~~~~~~
../inst/include/basic_funcs/mat_stuff.h:694:31: warning: comparison of integer expressions of different signedness: 'int' and 'const uword' {aka 'const unsigned int'} [-Wsign-compare]
  694 |             for (int j = 0; j < allindices.n_elem; j++) {
      |                             ~~^~~~~~~~~~~~~~~~~~~
../inst/include/basic_funcs/mat_stuff.h:779:27: warning: comparison of integer expressions of different signedness: 'int' and 'const uword' {aka 'const unsigned int'} [-Wsign-compare]
  779 |         for (int j = 0; j < allindices.n_elem; j++) {
      |                         ~~^~~~~~~~~~~~~~~~~~~
g++  -std=gnu++11 -I"R:/lib/R/R-patched/include" -DNDEBUG  -I'R:/lib/local/4.2/Rcpp/include' -I'R:/lib/local/4.2/RcppArmadillo/include' -I'R:/lib/local/4.2/BH/include'   -I"C:/rtools42/x86_64-w64-mingw32.static.posix/include"  -I../inst/include/   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c PopChar.cpp -o PopChar.o
In file included from R:/lib/local/4.2/BH/include/boost/mpl/aux_/na_assert.hpp:23,
                 from R:/lib/local/4.2/BH/include/boost/mpl/arg.hpp:25,
                 from R:/lib/local/4.2/BH/include/boost/mpl/placeholders.hpp:24,
                 from R:/lib/local/4.2/BH/include/boost/iterator/iterator_categories.hpp:16,
                 from R:/lib/local/4.2/BH/include/boost/iterator/iterator_facade.hpp:13,
                 from R:/lib/local/4.2/BH/include/boost/range/iterator_range_core.hpp:27,
                 from R:/lib/local/4.2/BH/include/boost/lexical_cast.hpp:30,
                 from R:/lib/local/4.2/BH/include/boost/math/tools/convert_from_string.hpp:15,
                 from R:/lib/local/4.2/BH/include/boost/math/constants/constants.hpp:14,
                 from R:/lib/local/4.2/BH/include/boost/math/special_functions/gamma.hpp:24,
                 from ../inst/include/basic_funcs/main_utils.h:7,
                 from ../inst/include/LefkoUtils.h:7,
                 from PopChar.cpp:3:
R:/lib/local/4.2/BH/include/boost/mpl/assert.hpp:194:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses]
  194 | failed ************ (Pred::************
      |                     ^
R:/lib/local/4.2/BH/include/boost/mpl/assert.hpp:199:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses]
  199 | failed ************ (boost::mpl::not_::************
      |                     ^
In file included from ../inst/include/LefkoUtils.h:8,
                 from PopChar.cpp:3:
../inst/include/basic_funcs/mat_stuff.h: In function 'Rcpp::List LefkoMats::turbogeodiesel(Rcpp::DataFrame&, Rcpp::List, Rcpp::List, Rcpp::DataFrame, Rcpp::DataFrame, Rcpp::DataFrame, bool, bool, bool, int)':
../inst/include/basic_funcs/mat_stuff.h:661:29: warning: comparison of integer expressions of different signedness: 'int' and 'const uword' {aka 'const unsigned int'} [-Wsign-compare]
  661 |           for (int j = 0; j < allindices.n_elem; j++) {
      |                           ~~^~~~~~~~~~~~~~~~~~~
../inst/include/basic_funcs/mat_stuff.h:694:31: warning: comparison of integer expressions of different signedness: 'int' and 'const uword' {aka 'const unsigned int'} [-Wsign-compare]
  694 |             for (int j = 0; j < allindices.n_elem; j++) {
      |                             ~~^~~~~~~~~~~~~~~~~~~
../inst/include/basic_funcs/mat_stuff.h:779:27: warning: comparison of integer expressions of different signedness: 'int' and 'const uword' {aka 'const unsigned int'} [-Wsign-compare]
  779 |         for (int j = 0; j < allindices.n_elem; j++) {
      |                         ~~^~~~~~~~~~~~~~~~~~~
PopChar.cpp: In function 'Rcpp::List actualstage3(Rcpp::RObject, bool, bool, bool, Rcpp::Nullable >, Rcpp::Nullable >, Rcpp::Nullable >, Rcpp::Nullable >, Rcpp::Nullable >, Rcpp::Nullable >)':
PopChar.cpp:2514:25: warning: comparison of integer expressions of different signedness: 'const uword' {aka 'const unsigned int'} and 'int' [-Wsign-compare]
 2514 |   if (data_year2.n_elem != data_rows) {
      |       ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
PopChar.cpp:2568:35: warning: comparison of integer expressions of different signedness: 'const uword' {aka 'const unsigned int'} and 'int' [-Wsign-compare]
 2568 |       if (data_stage3index.n_elem != data_rows) {
      |           ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
PopChar.cpp:2578:35: warning: comparison of integer expressions of different signedness: 'const uword' {aka 'const unsigned int'} and 'int' [-Wsign-compare]
 2578 |       if (data_stage2index.n_elem != data_rows) {
      |           ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
PopChar.cpp:2601:37: warning: comparison of integer expressions of different signedness: 'const uword' {aka 'const unsigned int'} and 'int' [-Wsign-compare]
 2601 |         if (data_stage1index.n_elem != data_rows) {
      |             ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
PopChar.cpp: In function 'Rcpp::DataFrame density_reassess(Rcpp::DataFrame, Rcpp::DataFrame, Rcpp::Nullable >, bool, bool)':
PopChar.cpp:3400:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
 3400 |       for (int k = 0; k < s3used.size(); k++) {
      |                       ~~^~~~~~~~~~~~~~~
PopChar.cpp:3403:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
 3403 |       for (int k = 0; k < s3used.size(); k++) {
      |                       ~~^~~~~~~~~~~~~~~
PopChar.cpp:3406:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
 3406 |       for (int k = 0; k < s3used.size(); k++) {
      |                       ~~^~~~~~~~~~~~~~~
PopChar.cpp:3484:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
 3484 |     for (int j = 0; j < s3used.size(); j++) {
      |                     ~~^~~~~~~~~~~~~~~
PopChar.cpp:3487:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
 3487 |     for (int j = 0; j < s2used.size(); j++) {
      |                     ~~^~~~~~~~~~~~~~~
PopChar.cpp:3490:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
 3490 |     for (int j = 0; j < s1used.size(); j++) {
      |                     ~~^~~~~~~~~~~~~~~
PopChar.cpp:3499:27: warning: comparison of integer expressions of different signedness: 'int' and 'const uword' {aka 'const unsigned int'} [-Wsign-compare]
 3499 |         for (int j = 0; j < prop_stages.n_elem; j++) {
      |                         ~~^~~~~~~~~~~~~~~~~~~~
PopChar.cpp:3502:34: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
 3502 |               if (prop_stages(j) == agestages_stageid(k) - 1) {
      |                   ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
PopChar.cpp:3510:34: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
 3510 |               if (prop_stages(j) == agestages_stageid(k) - 1) {
      |                   ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
PopChar.cpp:3522:27: warning: comparison of integer expressions of different signedness: 'int' and 'const uword' {aka 'const unsigned int'} [-Wsign-compare]
 3522 |         for (int j = 0; j < prop_stages.n_elem; j++) {
      |                         ~~^~~~~~~~~~~~~~~~~~~~
PopChar.cpp:3525:34: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
 3525 |               if (prop_stages(j) == agestages_stageid(k) - 1) {
      |                   ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
PopChar.cpp:3537:34: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
 3537 |               if (prop_stages(j) == agestages_stageid(k) - 1) {
      |                   ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
PopChar.cpp:3558:27: warning: comparison of integer expressions of different signedness: 'int' and 'const uword' {aka 'const unsigned int'} [-Wsign-compare]
 3558 |         for (int j = 0; j < prop0_stages.n_elem; j++) {
      |                         ~~^~~~~~~~~~~~~~~~~~~~~
PopChar.cpp:3561:35: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
 3561 |               if (prop0_stages(j) == agestages_stageid(k) - 1) {
      |                   ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
PopChar.cpp:3569:35: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
 3569 |               if (prop0_stages(j) == agestages_stageid(k) - 1) {
      |                   ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
PopChar.cpp:3581:27: warning: comparison of integer expressions of different signedness: 'int' and 'const uword' {aka 'const unsigned int'} [-Wsign-compare]
 3581 |         for (int j = 0; j < prop0_stages.n_elem; j++) {
      |                         ~~^~~~~~~~~~~~~~~~~~~~~
PopChar.cpp:3584:35: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
 3584 |               if (prop0_stages(j) == agestages_stageid(k) - 1) {
      |                   ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
PopChar.cpp:3596:35: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
 3596 |               if (prop0_stages(j) == agestages_stageid(k) - 1) {
      |                   ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
PopChar.cpp:3617:27: warning: comparison of integer expressions of different signedness: 'int' and 'const uword' {aka 'const unsigned int'} [-Wsign-compare]
 3617 |         for (int j = 0; j < imm_stages.n_elem; j++) {
      |                         ~~^~~~~~~~~~~~~~~~~~~
PopChar.cpp:3620:33: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
 3620 |               if (imm_stages(j) == agestages_stageid(k) - 1) {
      |                   ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
PopChar.cpp:3628:33: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
 3628 |               if (imm_stages(j) == agestages_stageid(k) - 1) {
      |                   ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
PopChar.cpp:3640:27: warning: comparison of integer expressions of different signedness: 'int' and 'const uword' {aka 'const unsigned int'} [-Wsign-compare]
 3640 |         for (int j = 0; j < imm_stages.n_elem; j++) {
      |                         ~~^~~~~~~~~~~~~~~~~~~
PopChar.cpp:3643:33: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
 3643 |               if (imm_stages(j) == agestages_stageid(k) - 1) {
      |                   ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
PopChar.cpp:3655:33: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
 3655 |               if (imm_stages(j) == agestages_stageid(k) - 1) {
      |                   ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
PopChar.cpp:3676:27: warning: comparison of integer expressions of different signedness: 'int' and 'const uword' {aka 'const unsigned int'} [-Wsign-compare]
 3676 |         for (int j = 0; j < mat_stages.n_elem; j++) {
      |                         ~~^~~~~~~~~~~~~~~~~~~
PopChar.cpp:3679:33: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
 3679 |               if (mat_stages(j) == agestages_stageid(k) - 1) {
      |                   ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
PopChar.cpp:3687:33: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
 3687 |               if (mat_stages(j) == agestages_stageid(k) - 1) {
      |                   ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
PopChar.cpp:3699:27: warning: comparison of integer expressions of different signedness: 'int' and 'const uword' {aka 'const unsigned int'} [-Wsign-compare]
 3699 |         for (int j = 0; j < mat_stages.n_elem; j++) {
      |                         ~~^~~~~~~~~~~~~~~~~~~
PopChar.cpp:3702:33: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
 3702 |               if (mat_stages(j) == agestages_stageid(k) - 1) {
      |                   ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
PopChar.cpp:3714:33: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
 3714 |               if (mat_stages(j) == agestages_stageid(k) - 1) {
      |                   ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
PopChar.cpp:3735:27: warning: comparison of integer expressions of different signedness: 'int' and 'const uword' {aka 'const unsigned int'} [-Wsign-compare]
 3735 |         for (int j = 0; j < rep_stages.n_elem; j++) {
      |                         ~~^~~~~~~~~~~~~~~~~~~
PopChar.cpp:3738:33: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
 3738 |               if (rep_stages(j) == agestages_stageid(k) - 1) {
      |                   ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
PopChar.cpp:3746:33: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
 3746 |               if (rep_stages(j) == agestages_stageid(k) - 1) {
      |                   ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
PopChar.cpp:3758:27: warning: comparison of integer expressions of different signedness: 'int' and 'const uword' {aka 'const unsigned int'} [-Wsign-compare]
 3758 |         for (int j = 0; j < rep_stages.n_elem; j++) {
      |                         ~~^~~~~~~~~~~~~~~~~~~
PopChar.cpp:3761:33: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
 3761 |               if (rep_stages(j) == agestages_stageid(k) - 1) {
      |                   ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
PopChar.cpp:3773:33: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
 3773 |               if (rep_stages(j) == agestages_stageid(k) - 1) {
      |                   ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
PopChar.cpp:3794:27: warning: comparison of integer expressions of different signedness: 'int' and 'const uword' {aka 'const unsigned int'} [-Wsign-compare]
 3794 |         for (int j = 0; j < mat_rep0_stages.n_elem; j++) {
      |                         ~~^~~~~~~~~~~~~~~~~~~~~~~~
PopChar.cpp:3797:38: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
 3797 |               if (mat_rep0_stages(j) == agestages_stageid(k) - 1) {
      |                   ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
PopChar.cpp:3805:38: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
 3805 |               if (mat_rep0_stages(j) == agestages_stageid(k) - 1) {
      |                   ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
PopChar.cpp:3817:27: warning: comparison of integer expressions of different signedness: 'int' and 'const uword' {aka 'const unsigned int'} [-Wsign-compare]
 3817 |         for (int j = 0; j < mat_rep0_stages.n_elem; j++) {
      |                         ~~^~~~~~~~~~~~~~~~~~~~~~~~
PopChar.cpp:3820:38: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
 3820 |               if (mat_rep0_stages(j) == agestages_stageid(k) - 1) {
      |                   ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
PopChar.cpp:3832:38: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
 3832 |               if (mat_rep0_stages(j) == agestages_stageid(k) - 1) {
      |                   ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
PopChar.cpp:3853:27: warning: comparison of integer expressions of different signedness: 'int' and 'const uword' {aka 'const unsigned int'} [-Wsign-compare]
 3853 |         for (int j = 0; j < obs_stages.n_elem; j++) {
      |                         ~~^~~~~~~~~~~~~~~~~~~
PopChar.cpp:3856:33: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
 3856 |               if (obs_stages(j) == agestages_stageid(k) - 1) {
      |                   ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
PopChar.cpp:3864:33: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
 3864 |               if (obs_stages(j) == agestages_stageid(k) - 1) {
      |                   ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
PopChar.cpp:3876:27: warning: comparison of integer expressions of different signedness: 'int' and 'const uword' {aka 'const unsigned int'} [-Wsign-compare]
 3876 |         for (int j = 0; j < obs_stages.n_elem; j++) {
      |                         ~~^~~~~~~~~~~~~~~~~~~
PopChar.cpp:3879:33: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
 3879 |               if (obs_stages(j) == agestages_stageid(k) - 1) {
      |                   ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
PopChar.cpp:3891:33: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
 3891 |               if (obs_stages(j) == agestages_stageid(k) - 1) {
      |                   ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
PopChar.cpp:3912:27: warning: comparison of integer expressions of different signedness: 'int' and 'const uword' {aka 'const unsigned int'} [-Wsign-compare]
 3912 |         for (int j = 0; j < obs0_stages.n_elem; j++) {
      |                         ~~^~~~~~~~~~~~~~~~~~~~
PopChar.cpp:3915:34: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
 3915 |               if (obs0_stages(j) == agestages_stageid(k) - 1) {
      |                   ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
PopChar.cpp:3923:34: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
 3923 |               if (obs0_stages(j) == agestages_stageid(k) - 1) {
      |                   ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
PopChar.cpp:3935:27: warning: comparison of integer expressions of different signedness: 'int' and 'const uword' {aka 'const unsigned int'} [-Wsign-compare]
 3935 |         for (int j = 0; j < obs0_stages.n_elem; j++) {
      |                         ~~^~~~~~~~~~~~~~~~~~~~
PopChar.cpp:3938:34: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
 3938 |               if (obs0_stages(j) == agestages_stageid(k) - 1) {
      |                   ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
PopChar.cpp:3950:34: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
 3950 |               if (obs0_stages(j) == agestages_stageid(k) - 1) {
      |                   ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
PopChar.cpp:3971:27: warning: comparison of integer expressions of different signedness: 'int' and 'const uword' {aka 'const unsigned int'} [-Wsign-compare]
 3971 |         for (int j = 0; j < all_stages.n_elem; j++) {
      |                         ~~^~~~~~~~~~~~~~~~~~~
PopChar.cpp:3974:33: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
 3974 |               if (all_stages(j) == agestages_stageid(k) - 1) {
      |                   ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
PopChar.cpp:3982:33: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
 3982 |               if (all_stages(j) == agestages_stageid(k) - 1) {
      |                   ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
PopChar.cpp:3994:27: warning: comparison of integer expressions of different signedness: 'int' and 'const uword' {aka 'const unsigned int'} [-Wsign-compare]
 3994 |         for (int j = 0; j < all_stages.n_elem; j++) {
      |                         ~~^~~~~~~~~~~~~~~~~~~
PopChar.cpp:3997:33: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
 3997 |               if (all_stages(j) == agestages_stageid(k) - 1) {
      |                   ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
PopChar.cpp:4009:33: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
 4009 |               if (all_stages(j) == agestages_stageid(k) - 1) {
      |                   ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
PopChar.cpp:4035:31: warning: comparison of integer expressions of different signedness: 'int' and 'const uword' {aka 'const unsigned int'} [-Wsign-compare]
 4035 |             for (int j = 0; j < current_group.n_elem; j++) {
      |                             ~~^~~~~~~~~~~~~~~~~~~~~~
PopChar.cpp:4038:40: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
 4038 |                   if (current_group(j) == agestages_stageid(k) - 1) {
      |                       ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
PopChar.cpp:4046:40: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
 4046 |                   if (current_group(j) == agestages_stageid(k) - 1) {
      |                       ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
PopChar.cpp:4058:31: warning: comparison of integer expressions of different signedness: 'int' and 'const uword' {aka 'const unsigned int'} [-Wsign-compare]
 4058 |             for (int j = 0; j < current_group.n_elem; j++) {
      |                             ~~^~~~~~~~~~~~~~~~~~~~~~
PopChar.cpp:4061:40: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
 4061 |                   if (current_group(j) == agestages_stageid(k) - 1) {
      |                       ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
PopChar.cpp:4073:40: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
 4073 |                   if (current_group(j) == agestages_stageid(k) - 1) {
      |                       ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
PopChar.cpp:4099:27: warning: comparison of integer expressions of different signedness: 'int' and 'const uword' {aka 'const unsigned int'} [-Wsign-compare]
 4099 |         for (int j = 0; j < prop_stages.n_elem; j++) {
      |                         ~~^~~~~~~~~~~~~~~~~~~~
PopChar.cpp:4101:32: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
 4101 |             if (prop_stages(j) == agestages_stageid(k) - 1) {
      |                 ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
PopChar.cpp:4116:27: warning: comparison of integer expressions of different signedness: 'int' and 'const uword' {aka 'const unsigned int'} [-Wsign-compare]
 4116 |         for (int j = 0; j < prop_stages.n_elem; j++) {
      |                         ~~^~~~~~~~~~~~~~~~~~~~
PopChar.cpp:4118:32: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
 4118 |             if (prop_stages(j) == agestages_stageid(k) - 1) {
      |                 ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
PopChar.cpp:4142:27: warning: comparison of integer expressions of different signedness: 'int' and 'const uword' {aka 'const unsigned int'} [-Wsign-compare]
 4142 |         for (int j = 0; j < prop0_stages.n_elem; j++) {
      |                         ~~^~~~~~~~~~~~~~~~~~~~~
PopChar.cpp:4144:33: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
 4144 |             if (prop0_stages(j) == agestages_stageid(k) - 1) {
      |                 ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
PopChar.cpp:4159:27: warning: comparison of integer expressions of different signedness: 'int' and 'const uword' {aka 'const unsigned int'} [-Wsign-compare]
 4159 |         for (int j = 0; j < prop0_stages.n_elem; j++) {
      |                         ~~^~~~~~~~~~~~~~~~~~~~~
PopChar.cpp:4161:33: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
 4161 |             if (prop0_stages(j) == agestages_stageid(k) - 1) {
      |                 ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
PopChar.cpp:4185:27: warning: comparison of integer expressions of different signedness: 'int' and 'const uword' {aka 'const unsigned int'} [-Wsign-compare]
 4185 |         for (int j = 0; j < imm_stages.n_elem; j++) {
      |                         ~~^~~~~~~~~~~~~~~~~~~
PopChar.cpp:4187:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
 4187 |             if (imm_stages(j) == agestages_stageid(k) - 1) {
      |                 ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
PopChar.cpp:4202:27: warning: comparison of integer expressions of different signedness: 'int' and 'const uword' {aka 'const unsigned int'} [-Wsign-compare]
 4202 |         for (int j = 0; j < imm_stages.n_elem; j++) {
      |                         ~~^~~~~~~~~~~~~~~~~~~
PopChar.cpp:4204:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
 4204 |             if (imm_stages(j) == agestages_stageid(k) - 1) {
      |                 ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
PopChar.cpp:4228:27: warning: comparison of integer expressions of different signedness: 'int' and 'const uword' {aka 'const unsigned int'} [-Wsign-compare]
 4228 |         for (int j = 0; j < mat_stages.n_elem; j++) {
      |                         ~~^~~~~~~~~~~~~~~~~~~
PopChar.cpp:4230:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
 4230 |             if (mat_stages(j) == agestages_stageid(k) - 1) {
      |                 ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
PopChar.cpp:4245:27: warning: comparison of integer expressions of different signedness: 'int' and 'const uword' {aka 'const unsigned int'} [-Wsign-compare]
 4245 |         for (int j = 0; j < mat_stages.n_elem; j++) {
      |                         ~~^~~~~~~~~~~~~~~~~~~
PopChar.cpp:4247:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
 4247 |             if (mat_stages(j) == agestages_stageid(k) - 1) {
      |                 ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
PopChar.cpp:4271:27: warning: comparison of integer expressions of different signedness: 'int' and 'const uword' {aka 'const unsigned int'} [-Wsign-compare]
 4271 |         for (int j = 0; j < rep_stages.n_elem; j++) {
      |                         ~~^~~~~~~~~~~~~~~~~~~
PopChar.cpp:4273:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
 4273 |             if (rep_stages(j) == agestages_stageid(k) - 1) {
      |                 ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
PopChar.cpp:4288:27: warning: comparison of integer expressions of different signedness: 'int' and 'const uword' {aka 'const unsigned int'} [-Wsign-compare]
 4288 |         for (int j = 0; j < rep_stages.n_elem; j++) {
      |                         ~~^~~~~~~~~~~~~~~~~~~
PopChar.cpp:4290:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
 4290 |             if (rep_stages(j) == agestages_stageid(k) - 1) {
      |                 ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
PopChar.cpp:4314:27: warning: comparison of integer expressions of different signedness: 'int' and 'const uword' {aka 'const unsigned int'} [-Wsign-compare]
 4314 |         for (int j = 0; j < mat_rep0_stages.n_elem; j++) {
      |                         ~~^~~~~~~~~~~~~~~~~~~~~~~~
PopChar.cpp:4316:36: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
 4316 |             if (mat_rep0_stages(j) == agestages_stageid(k) - 1) {
      |                 ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
PopChar.cpp:4331:27: warning: comparison of integer expressions of different signedness: 'int' and 'const uword' {aka 'const unsigned int'} [-Wsign-compare]
 4331 |         for (int j = 0; j < mat_rep0_stages.n_elem; j++) {
      |                         ~~^~~~~~~~~~~~~~~~~~~~~~~~
PopChar.cpp:4333:36: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
 4333 |             if (mat_rep0_stages(j) == agestages_stageid(k) - 1) {
      |                 ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
PopChar.cpp:4357:27: warning: comparison of integer expressions of different signedness: 'int' and 'const uword' {aka 'const unsigned int'} [-Wsign-compare]
 4357 |         for (int j = 0; j < obs_stages.n_elem; j++) {
      |                         ~~^~~~~~~~~~~~~~~~~~~
PopChar.cpp:4359:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
 4359 |             if (obs_stages(j) == agestages_stageid(k) - 1) {
      |                 ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
PopChar.cpp:4374:27: warning: comparison of integer expressions of different signedness: 'int' and 'const uword' {aka 'const unsigned int'} [-Wsign-compare]
 4374 |         for (int j = 0; j < obs_stages.n_elem; j++) {
      |                         ~~^~~~~~~~~~~~~~~~~~~
PopChar.cpp:4376:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
 4376 |             if (obs_stages(j) == agestages_stageid(k) - 1) {
      |                 ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
PopChar.cpp:4400:27: warning: comparison of integer expressions of different signedness: 'int' and 'const uword' {aka 'const unsigned int'} [-Wsign-compare]
 4400 |         for (int j = 0; j < obs0_stages.n_elem; j++) {
      |                         ~~^~~~~~~~~~~~~~~~~~~~
PopChar.cpp:4402:32: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
 4402 |             if (obs0_stages(j) == agestages_stageid(k) - 1) {
      |                 ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
PopChar.cpp:4417:27: warning: comparison of integer expressions of different signedness: 'int' and 'const uword' {aka 'const unsigned int'} [-Wsign-compare]
 4417 |         for (int j = 0; j < obs0_stages.n_elem; j++) {
      |                         ~~^~~~~~~~~~~~~~~~~~~~
PopChar.cpp:4419:32: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
 4419 |             if (obs0_stages(j) == agestages_stageid(k) - 1) {
      |                 ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
PopChar.cpp:4443:27: warning: comparison of integer expressions of different signedness: 'int' and 'const uword' {aka 'const unsigned int'} [-Wsign-compare]
 4443 |         for (int j = 0; j < all_stages.n_elem; j++) {
      |                         ~~^~~~~~~~~~~~~~~~~~~
PopChar.cpp:4445:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
 4445 |             if (all_stages(j) == agestages_stageid(k) - 1) {
      |                 ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
PopChar.cpp:4460:27: warning: comparison of integer expressions of different signedness: 'int' and 'const uword' {aka 'const unsigned int'} [-Wsign-compare]
 4460 |         for (int j = 0; j < all_stages.n_elem; j++) {
      |                         ~~^~~~~~~~~~~~~~~~~~~
PopChar.cpp:4462:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
 4462 |             if (all_stages(j) == agestages_stageid(k) - 1) {
      |                 ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
PopChar.cpp:4490:31: warning: comparison of integer expressions of different signedness: 'int' and 'const uword' {aka 'const unsigned int'} [-Wsign-compare]
 4490 |             for (int j = 0; j < current_group.n_elem; j++) {
      |                             ~~^~~~~~~~~~~~~~~~~~~~~~
PopChar.cpp:4492:38: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
 4492 |                 if (current_group(j) == agestages_stageid(k) - 1) {
      |                     ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
PopChar.cpp:4507:31: warning: comparison of integer expressions of different signedness: 'int' and 'const uword' {aka 'const unsigned int'} [-Wsign-compare]
 4507 |             for (int j = 0; j < current_group.n_elem; j++) {
      |                             ~~^~~~~~~~~~~~~~~~~~~~~~
PopChar.cpp:4509:38: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
 4509 |                 if (current_group(j) == agestages_stageid(k) - 1) {
      |                     ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
PopChar.cpp:4613:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
 4613 |     for (int j = 0; j < s3used.size(); j++) {
      |                     ~~^~~~~~~~~~~~~~~
PopChar.cpp:4616:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
 4616 |     for (int j = 0; j < s2used.size(); j++) {
      |                     ~~^~~~~~~~~~~~~~~
PopChar.cpp:4619:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
 4619 |     for (int j = 0; j < s1used.size(); j++) {
      |                     ~~^~~~~~~~~~~~~~~
PopChar.cpp: In function 'Rcpp::DataFrame density_input(Rcpp::List, Rcpp::RObject, Rcpp::RObject, Rcpp::Nullable >, Rcpp::Nullable >, Rcpp::Nullable >, Rcpp::Nullable >, Rcpp::Nullable >, Rcpp::Nullable >, Rcpp::Nullable >, Rcpp::Nullable >)':
PopChar.cpp:5504:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
 5504 |         for (int j = 0; j < ssv.size(); j++) {
      |                         ~~^~~~~~~~~~~~
PopChar.cpp: In function 'Rcpp::List actualstage3(Rcpp::RObject, bool, bool, bool, Rcpp::Nullable >, Rcpp::Nullable >, Rcpp::Nullable >, Rcpp::Nullable >, Rcpp::Nullable >, Rcpp::Nullable >)':
PopChar.cpp:2592:36: warning: 'stage1_' may be used uninitialized in this function [-Wmaybe-uninitialized]
 2592 |         data_stage1 = data_[stage1_];
      |                                    ^
PopChar.cpp:2552:40: warning: 'stage2_' may be used uninitialized in this function [-Wmaybe-uninitialized]
 2552 |       data_stage2 = as(data_[stage2_]);
      |                     ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
PopChar.cpp:2542:40: warning: 'stage3_' may be used uninitialized in this function [-Wmaybe-uninitialized]
 2542 |       data_stage3 = as(data_[stage3_]);
      |                     ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
PopChar.cpp:2599:42: warning: 'stage1index_' may be used uninitialized in this function [-Wmaybe-uninitialized]
 2599 |         data_stage1index = as(data_[stage1index_]);
      |                            ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
PopChar.cpp:2573:40: warning: 'stage2index_' may be used uninitialized in this function [-Wmaybe-uninitialized]
 2573 |       data_stage2index = as(data_[stage2index_]);
      |                          ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
PopChar.cpp:2563:40: warning: 'stage3index_' may be used uninitialized in this function [-Wmaybe-uninitialized]
 2563 |       data_stage3index = as(data_[stage3index_]);
      |                          ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
PopChar.cpp:2465:40: warning: 'agecol_num_' may be used uninitialized in this function [-Wmaybe-uninitialized]
 2465 |     if (agecol_num_ < 0 || agecol_num_ >= data_vars_num) {
      |                            ~~~~~~~~~~~~^~~~~~~~~~~~~~~~
PopChar.cpp:2456:38: warning: 'year2_num_' may be used uninitialized in this function [-Wmaybe-uninitialized]
 2456 |     if (year2_num_ < 0 || year2_num_ >= data_vars_num) {
      |                           ~~~~~~~~~~~^~~~~~~~~~~~~~~~
g++  -std=gnu++11 -I"R:/lib/R/R-patched/include" -DNDEBUG  -I'R:/lib/local/4.2/Rcpp/include' -I'R:/lib/local/4.2/RcppArmadillo/include' -I'R:/lib/local/4.2/BH/include'   -I"C:/rtools42/x86_64-w64-mingw32.static.posix/include"  -I../inst/include/   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c PopDyn2.cpp -o PopDyn2.o
In file included from R:/lib/local/4.2/BH/include/boost/mpl/aux_/na_assert.hpp:23,
                 from R:/lib/local/4.2/BH/include/boost/mpl/arg.hpp:25,
                 from R:/lib/local/4.2/BH/include/boost/mpl/placeholders.hpp:24,
                 from R:/lib/local/4.2/BH/include/boost/iterator/iterator_categories.hpp:16,
                 from R:/lib/local/4.2/BH/include/boost/iterator/iterator_facade.hpp:13,
                 from R:/lib/local/4.2/BH/include/boost/range/iterator_range_core.hpp:27,
                 from R:/lib/local/4.2/BH/include/boost/lexical_cast.hpp:30,
                 from R:/lib/local/4.2/BH/include/boost/math/tools/convert_from_string.hpp:15,
                 from R:/lib/local/4.2/BH/include/boost/math/constants/constants.hpp:14,
                 from R:/lib/local/4.2/BH/include/boost/math/special_functions/gamma.hpp:24,
                 from ../inst/include/basic_funcs/main_utils.h:7,
                 from ../inst/include/LefkoUtils.h:7,
                 from PopDyn2.cpp:3:
R:/lib/local/4.2/BH/include/boost/mpl/assert.hpp:194:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses]
  194 | failed ************ (Pred::************
      |                     ^
R:/lib/local/4.2/BH/include/boost/mpl/assert.hpp:199:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses]
  199 | failed ************ (boost::mpl::not_::************
      |                     ^
In file included from ../inst/include/LefkoUtils.h:8,
                 from PopDyn2.cpp:3:
../inst/include/basic_funcs/mat_stuff.h: In function 'Rcpp::List LefkoMats::turbogeodiesel(Rcpp::DataFrame&, Rcpp::List, Rcpp::List, Rcpp::DataFrame, Rcpp::DataFrame, Rcpp::DataFrame, bool, bool, bool, int)':
../inst/include/basic_funcs/mat_stuff.h:661:29: warning: comparison of integer expressions of different signedness: 'int' and 'const uword' {aka 'const unsigned int'} [-Wsign-compare]
  661 |           for (int j = 0; j < allindices.n_elem; j++) {
      |                           ~~^~~~~~~~~~~~~~~~~~~
../inst/include/basic_funcs/mat_stuff.h:694:31: warning: comparison of integer expressions of different signedness: 'int' and 'const uword' {aka 'const unsigned int'} [-Wsign-compare]
  694 |             for (int j = 0; j < allindices.n_elem; j++) {
      |                             ~~^~~~~~~~~~~~~~~~~~~
../inst/include/basic_funcs/mat_stuff.h:779:27: warning: comparison of integer expressions of different signedness: 'int' and 'const uword' {aka 'const unsigned int'} [-Wsign-compare]
  779 |         for (int j = 0; j < allindices.n_elem; j++) {
      |                         ~~^~~~~~~~~~~~~~~~~~~
PopDyn2.cpp: In function 'Rcpp::List demolition4(Rcpp::List)':
PopDyn2.cpp:463:29: warning: comparison of integer expressions of different signedness: 'int' and 'const uword' {aka 'const unsigned int'} [-Wsign-compare]
  463 |           for (int k = 0; k < current_mat.n_elem; k++) {
      |                           ~~^~~~~~~~~~~~~~~~~~~~
PopDyn2.cpp: In function 'Rcpp::List demolition3sp(const sp_mat&, const DataFrame&, Rcpp::Nullable >, Rcpp::Nullable >)':
PopDyn2.cpp:2322:27: warning: comparison of integer expressions of different signedness: 'int' and 'const uword' {aka 'const unsigned int'} [-Wsign-compare]
 2322 |         for (int m = 0; m < currentguys.n_elem; m++) {
      |                         ~~^~~~~~~~~~~~~~~~~~~~
PopDyn2.cpp:2348:27: warning: comparison of integer expressions of different signedness: 'int' and 'const uword' {aka 'const unsigned int'} [-Wsign-compare]
 2348 |         for (int m = 0; m < currentguys.n_elem; m++) {
      |                         ~~^~~~~~~~~~~~~~~~~~~~
PopDyn2.cpp:2374:27: warning: comparison of integer expressions of different signedness: 'int' and 'const uword' {aka 'const unsigned int'} [-Wsign-compare]
 2374 |         for (int m = 0; m < currentguys.n_elem; m++) {
      |                         ~~^~~~~~~~~~~~~~~~~~~~
PopDyn2.cpp:2410:25: warning: comparison of integer expressions of different signedness: 'int' and 'const uword' {aka 'const unsigned int'} [-Wsign-compare]
 2410 |       for (int m = 0; m < currentguys.n_elem; m++) {
      |                       ~~^~~~~~~~~~~~~~~~~~~~
g++  -std=gnu++11 -I"R:/lib/R/R-patched/include" -DNDEBUG  -I'R:/lib/local/4.2/Rcpp/include' -I'R:/lib/local/4.2/RcppArmadillo/include' -I'R:/lib/local/4.2/BH/include'   -I"C:/rtools42/x86_64-w64-mingw32.static.posix/include"  -I../inst/include/   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c RcppExports.cpp -o RcppExports.o
g++ -shared -s -static-libgcc -o lefko3.dll tmp.def DataManagement.o ErrorChecks.o ExtraFunctions.o Mats2.o MatsNProj.o ModelSelection.o PopChar.o PopDyn2.o RcppExports.o -fopenmp -LR:/lib/R/R-patched/bin/x64 -lRlapack -LR:/lib/R/R-patched/bin/x64 -lRblas -lgfortran -lm -lquadmath -LC:/rtools42/x86_64-w64-mingw32.static.posix/lib/x64 -LC:/rtools42/x86_64-w64-mingw32.static.posix/lib -LR:/lib/R/R-patched/bin/x64 -lR
installing to R:/run/building/build_2023-01-29-05-11/RF_PKG_CHECK/PKGS/lefko3.Rcheck/00LOCK-lefko3/00new/lefko3/libs/x64
** R
** data
*** moving datasets to lazyload DB
** inst
** byte-compile and prepare package for lazy loading
Warning in checkDepPackageVersion(dep_pkg = "TMB") :
  Package version inconsistency detected.
glmmTMB was built with TMB version 1.9.1
Current TMB version is 1.9.2
Please re-install glmmTMB from source or restore original 'TMB' package (see '?reinstalling' for more information)
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
Warning in checkDepPackageVersion(dep_pkg = "TMB") :
  Package version inconsistency detected.
glmmTMB was built with TMB version 1.9.1
Current TMB version is 1.9.2
Please re-install glmmTMB from source or restore original 'TMB' package (see '?reinstalling' for more information)
** testing if installed package can be loaded from final location
Warning in checkDepPackageVersion(dep_pkg = "TMB") :
  Package version inconsistency detected.
glmmTMB was built with TMB version 1.9.1
Current TMB version is 1.9.2
Please re-install glmmTMB from source or restore original 'TMB' package (see '?reinstalling' for more information)
** testing if installed package keeps a record of temporary installation path
* DONE (lefko3)
Thanks to:
Vienna University of Economics and Business Powered By FusionForge