* installing *source* package ‘ABM’ ...
** package ‘ABM’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++-14 (GCC) 14.2.0’
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/ABM/src'
g++-14 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection   -c Agent.cpp -o Agent.o
g++-14 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection   -c Contact.cpp -o Contact.o
g++-14 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection   -c Counter.cpp -o Counter.o
g++-14 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection   -c Event.cpp -o Event.o
g++-14 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection   -c Network.cpp -o Network.o
g++-14 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection   -c Population.cpp -o Population.o
g++-14 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection   -c RNG.cpp -o RNG.o
Network.cpp: In member function 'virtual void ConfigurationModel::buildNetwork()':
Network.cpp:59:31: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'R_xlen_t' {aka 'long int'} [-Wsign-compare]
   59 |   for (size_t i = 0, k = 0; i < d.size(); ++i)
      |                             ~~^~~~~~~~~~
Network.cpp:60:26: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'Rcpp::traits::storage_type<13>::type' {aka 'int'} [-Wsign-compare]
   60 |     for (size_t j = 0; j < d[i]; ++j)
g++-14 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection   -c RcppExports.cpp -o RcppExports.o
Network.cpp: In member function 'virtual void ConfigurationModel::grow(Agent&)':
Network.cpp:100:13: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
  100 |       if (k == degree) return;
      |           ~~^~~~~~~~~
g++-14 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection   -c Simulation.cpp -o Simulation.o
g++-14 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection   -c State.cpp -o State.o
g++-14 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection   -c Transition.cpp -o Transition.o
State.cpp: In member function 'bool State::match(const Rcpp::List&) const':
State.cpp:84:26: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'R_xlen_t' {aka 'long int'} [-Wsign-compare]
   84 |     for (size_t i = 0; i < ns.size(); ++i) {
      |                        ~~^~~~~~~~~~~
State.cpp: In member function 'State& State::operator&=(const Rcpp::List&)':
State.cpp:120:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'R_xlen_t' {aka 'long int'} [-Wsign-compare]
  120 |         for (size_t i = 0; i < ns.size(); ++i) {
      |                            ~~^~~~~~~~~~~
In file included from ../inst/include/Simulation.h:3,
                 from Transition.cpp:1:
In member function 'PAgent Population::agent(const Agent&) const',
    inlined from 'virtual void ContactTransition::schedule(double, Agent&)' at Transition.cpp:158:61:
../inst/include/Population.h:112:93: warning: 'next_contact' may be used uninitialized [-Wmaybe-uninitialized]
  112 |   PAgent agent(const Agent &agent) const { return agent._population == this ? _agents[agent._index] : nullptr; }
      |                                                                                       ~~~~~~^~~~~~
Transition.cpp: In member function 'virtual void ContactTransition::schedule(double, Agent&)':
Transition.cpp:148:10: note: 'next_contact' was declared here
  148 |   Agent* next_contact;
      |          ^~~~~~~~~~~~
g++-14 -std=gnu++17 -shared -L/usr/local/gcc14/lib64 -L/usr/local/lib64 -o ABM.so Agent.o Contact.o Counter.o Event.o Network.o Population.o RNG.o RcppExports.o Simulation.o State.o Transition.o
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/ABM/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/ABM/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/ABM/src'
installing to /data/gannet/ripley/R/packages/tests-devel/ABM.Rcheck/00LOCK-ABM/00new/ABM/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded from temporary location
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (ABM)