* installing *source* package 'simRestore' ... ** using staged installation ** libs using C++ compiler: 'g++.exe (GCC) 12.3.0' g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c RcppExports.cpp -o RcppExports.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c main_functions.cpp -o main_functions.o In file included from main_functions.cpp:20: ./analysis.h: In instantiation of 'void analysis::mate_bonded(std::vector<_RealType>*, std::vector<_RealType>*, std::vector<_RealType>*, std::vector<_RealType>*, double) [with ANIMAL = organism_simple]': ./analysis.h:472:7: required from 'void analysis::update_pop(std::vector<_RealType>*, std::vector<_RealType>*, int, int) [with ANIMAL = organism_simple]' ./analysis.h:292:7: required from 'output_data analysis::simulate_policy(const std::vector<_RealType>&) [with ANIMAL = organism_simple]' ./analysis.h:232:30: required from 'output_data analysis::do_analysis() [with ANIMAL = organism_simple]' main_functions.cpp:109:59: required from here ./analysis.h:373:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 373 | while (k == j && (*males).size() > 1) | ~~^~~~ ./analysis.h: In instantiation of 'void analysis::mate_bonded(std::vector<_RealType>*, std::vector<_RealType>*, std::vector<_RealType>*, std::vector<_RealType>*, double) [with ANIMAL = organism]': ./analysis.h:472:7: required from 'void analysis::update_pop(std::vector<_RealType>*, std::vector<_RealType>*, int, int) [with ANIMAL = organism]' ./analysis.h:292:7: required from 'output_data analysis::simulate_policy(const std::vector<_RealType>&) [with ANIMAL = organism]' ./analysis.h:232:30: required from 'output_data analysis::do_analysis() [with ANIMAL = organism]' main_functions.cpp:141:59: required from here ./analysis.h:373:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] ./analysis.h: In instantiation of 'void analysis::old_age(std::vector<_RealType>*) [with ANIMAL = organism_simple]': ./analysis.h:561:5: required from 'void analysis::update_start_season(std::vector<_RealType>*, double, int, int) [with ANIMAL = organism_simple]' ./analysis.h:445:5: required from 'void analysis::update_pop(std::vector<_RealType>*, std::vector<_RealType>*, int, int) [with ANIMAL = organism_simple]' ./analysis.h:292:7: required from 'output_data analysis::simulate_policy(const std::vector<_RealType>&) [with ANIMAL = organism_simple]' ./analysis.h:232:30: required from 'output_data analysis::do_analysis() [with ANIMAL = organism_simple]' main_functions.cpp:109:59: required from here ./analysis.h:546:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 546 | for (int i = 0; i < (*pop).size(); ++i) { | ~~^~~~~~~~~~~~~~~ ./analysis.h: In instantiation of 'void analysis::additional_death(std::vector<_RealType>*, double, int) [with ANIMAL = organism_simple]': ./analysis.h:564:5: required from 'void analysis::update_start_season(std::vector<_RealType>*, double, int, int) [with ANIMAL = organism_simple]' ./analysis.h:445:5: required from 'void analysis::update_pop(std::vector<_RealType>*, std::vector<_RealType>*, int, int) [with ANIMAL = organism_simple]' ./analysis.h:292:7: required from 'output_data analysis::simulate_policy(const std::vector<_RealType>&) [with ANIMAL = organism_simple]' ./analysis.h:232:30: required from 'output_data analysis::do_analysis() [with ANIMAL = organism_simple]' main_functions.cpp:109:59: required from here ./analysis.h:337:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 337 | if (max_num > (*ANIMALs).size()) max_num = (*ANIMALs).size(); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~ ./analysis.h: In instantiation of 'void analysis::old_age(std::vector<_RealType>*) [with ANIMAL = organism]': ./analysis.h:561:5: required from 'void analysis::update_start_season(std::vector<_RealType>*, double, int, int) [with ANIMAL = organism]' ./analysis.h:445:5: required from 'void analysis::update_pop(std::vector<_RealType>*, std::vector<_RealType>*, int, int) [with ANIMAL = organism]' ./analysis.h:292:7: required from 'output_data analysis::simulate_policy(const std::vector<_RealType>&) [with ANIMAL = organism]' ./analysis.h:232:30: required from 'output_data analysis::do_analysis() [with ANIMAL = organism]' main_functions.cpp:141:59: required from here ./analysis.h:546:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 546 | for (int i = 0; i < (*pop).size(); ++i) { | ~~^~~~~~~~~~~~~~~ ./analysis.h: In instantiation of 'void analysis::additional_death(std::vector<_RealType>*, double, int) [with ANIMAL = organism]': ./analysis.h:564:5: required from 'void analysis::update_start_season(std::vector<_RealType>*, double, int, int) [with ANIMAL = organism]' ./analysis.h:445:5: required from 'void analysis::update_pop(std::vector<_RealType>*, std::vector<_RealType>*, int, int) [with ANIMAL = organism]' ./analysis.h:292:7: required from 'output_data analysis::simulate_policy(const std::vector<_RealType>&) [with ANIMAL = organism]' ./analysis.h:232:30: required from 'output_data analysis::do_analysis() [with ANIMAL = organism]' main_functions.cpp:141:59: required from here ./analysis.h:337:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 337 | if (max_num > (*ANIMALs).size()) max_num = (*ANIMALs).size(); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c organism.cpp -o organism.o g++ -std=gnu++17 -shared -s -static-libgcc -o simRestore.dll tmp.def RcppExports.o main_functions.o organism.o -Ld:/rtools43/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools43/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R/bin/x64 -lR installing to d:/RCompile/CRANincoming/R-devel/lib/00LOCK-simRestore/00new/simRestore/libs/x64 ** R ** 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 * DONE (simRestore)