* installing *source* package ‘epiworldR’ ... ** package ‘epiworldR’ successfully unpacked and MD5 sums checked ** using staged installation checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C++... yes checking whether /usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 accepts -g... yes checking for /usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 option to enable C++11 features... none needed checking how to run the C++ preprocessor... /usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -E checking whether the compiler supports GNU C++... (cached) yes checking whether /usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 accepts -g... (cached) yes checking for /usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 option to enable C++11 features... (cached) none needed checking whether we have a suitable tempdir... /tmp/Rtmp6EN5SB/working_dir checking whether R CMD SHLIB can already compile programs using OpenMP... yes checking whether to build the dev version... configure: creating ./config.status config.status: creating src/Makevars config.status: creating R/epiworldR-package.R ** libs using C++ compiler: ‘clang version 19.1.0’ make[2]: Entering directory '/data/gannet/ripley/R/packages/tests-clang-trunk/epiworldR/src' /usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/clang19/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/cpp11/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fopenmp -I../inst/include/ -Dprintf_epiworld=Rprintf -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c actions.cpp -o actions.o In file included from actions.cpp:5: In file included from ./epiworld-common.h:4: In file included from ../inst/include/epiworld/epiworld.hpp:49: ../inst/include/epiworld/model-meat.hpp:2131:27: error: no member named 'population_ids' in 'Model' 2131 | int loc = res.population_ids[neigh[n]->get_id()]; | ~~~ ^ 1 error generated. make[2]: *** [/data/gannet/ripley/R/clang19/etc/Makeconf:202: actions.o] Error 1 /usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/clang19/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/cpp11/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fopenmp -I../inst/include/ -Dprintf_epiworld=Rprintf -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c agents.cpp -o agents.o /usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/clang19/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/cpp11/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fopenmp -I../inst/include/ -Dprintf_epiworld=Rprintf -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c cpp11.cpp -o cpp11.o /usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/clang19/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/cpp11/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fopenmp -I../inst/include/ -Dprintf_epiworld=Rprintf -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c db.cpp -o db.o In file included from agents.cpp:5: In file included from ./epiworld-common.h:4: In file included from ../inst/include/epiworld/epiworld.hpp:49: ../inst/include/epiworld/model-meat.hpp:2131:27: error: no member named 'population_ids' in 'Model' 2131 | int loc = res.population_ids[neigh[n]->get_id()]; | ~~~ ^ In file included from db.cpp:7: In file included from ./epiworld-common.h:4: In file included from ../inst/include/epiworld/epiworld.hpp:49: ../inst/include/epiworld/model-meat.hpp:2131:27: error: no member named 'population_ids' in 'Model' 2131 | int loc = res.population_ids[neigh[n]->get_id()]; | ~~~ ^ /usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/clang19/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/cpp11/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fopenmp -I../inst/include/ -Dprintf_epiworld=Rprintf -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c epimodels.cpp -o epimodels.o 1 error generated. make[2]: *** [/data/gannet/ripley/R/clang19/etc/Makeconf:202: agents.o] Error 1 /usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/clang19/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/cpp11/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fopenmp -I../inst/include/ -Dprintf_epiworld=Rprintf -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c model.cpp -o model.o /usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/clang19/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/cpp11/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fopenmp -I../inst/include/ -Dprintf_epiworld=Rprintf -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c tool.cpp -o tool.o 1 error generated. make[2]: *** [/data/gannet/ripley/R/clang19/etc/Makeconf:202: db.o] Error 1 /usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/clang19/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/cpp11/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include -fopenmp -I../inst/include/ -Dprintf_epiworld=Rprintf -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c virus.cpp -o virus.o In file included from epimodels.cpp:5: In file included from ./epiworld-common.h:4: In file included from ../inst/include/epiworld/epiworld.hpp:49: ../inst/include/epiworld/model-meat.hpp:2131:27: error: no member named 'population_ids' in 'Model' 2131 | int loc = res.population_ids[neigh[n]->get_id()]; | ~~~ ^ In file included from tool.cpp:4: In file included from ./epiworld-common.h:4: In file included from ../inst/include/epiworld/epiworld.hpp:49: ../inst/include/epiworld/model-meat.hpp:2131:27: error: no member named 'population_ids' in 'Model' 2131 | int loc = res.population_ids[neigh[n]->get_id()]; | ~~~ ^ In file included from model.cpp:3: In file included from ./epiworld-common.h:4: In file included from ../inst/include/epiworld/epiworld.hpp:49: ../inst/include/epiworld/model-meat.hpp:2131:27: error: no member named 'population_ids' in 'Model' 2131 | int loc = res.population_ids[neigh[n]->get_id()]; | ~~~ ^ In file included from virus.cpp:4: In file included from ./epiworld-common.h:4: In file included from ../inst/include/epiworld/epiworld.hpp:49: ../inst/include/epiworld/model-meat.hpp:2131:27: error: no member named 'population_ids' in 'Model' 2131 | int loc = res.population_ids[neigh[n]->get_id()]; | ~~~ ^ 1 error generated. make[2]: *** [/data/gannet/ripley/R/clang19/etc/Makeconf:202: model.o] Error 1 1 error generated. make[2]: *** [/data/gannet/ripley/R/clang19/etc/Makeconf:202: tool.o] Error 1 In file included from virus.cpp:4: In file included from ./epiworld-common.h:4: In file included from ../inst/include/epiworld/epiworld.hpp:54: ../inst/include/epiworld/virus-meat.hpp:59:47: warning: lambda capture 'logit' is not used [-Wunused-lambda-capture] 59 | VirusFun fun_infect = [coefs_f,vars,logit]( | ^ virus.cpp:108:11: note: in instantiation of function template specialization 'epiworld::virus_fun_logit' requested here 108 | virus_fun_logit( | ^ 1 warning and 1 error generated. make[2]: *** [/data/gannet/ripley/R/clang19/etc/Makeconf:202: virus.o] Error 1 1 error generated. make[2]: *** [/data/gannet/ripley/R/clang19/etc/Makeconf:202: epimodels.o] Error 1 make[2]: Target 'all' not remade because of errors. make[2]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang-trunk/epiworldR/src' ERROR: compilation failed for package ‘epiworldR’ * removing ‘/data/gannet/ripley/R/packages/tests-clang-trunk/epiworldR.Rcheck/epiworldR’