* installing *source* package ‘EpiContactTrace’ ... ** package ‘EpiContactTrace’ successfully unpacked and MD5 sums checked ** using staged installation ** libs using C++ compiler: ‘g++-13 (GCC) 13.2.0’ make[2]: Entering directory '/data/gannet/ripley/R/packages/tests-noRemap/EpiContactTrace/src' g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -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 -DR_NO_REMAP -c trace.cpp -o trace.o In file included from trace.cpp:26: trace.cpp: In function 'SEXPREC* shortestPaths(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)': trace.cpp:330:22: error: 'allocVector' was not declared in this scope; did you mean 'Rf_allocVector'? 330 | PROTECT(result = allocVector(VECSXP, 6)); | ^~~~~~~~~~~ /data/gannet/ripley/R/R-devel/include/Rinternals.h:371:36: note: in definition of macro 'PROTECT' 371 | #define PROTECT(s) Rf_protect(s) | ^ trace.cpp:336:31: error: 'mkChar' was not declared in this scope 336 | SET_STRING_ELT(names, 0, mkChar("inDistance")); | ^~~~~~ trace.cpp:363:5: error: 'setAttrib' was not declared in this scope; did you mean 'Rf_setAttrib'? 363 | setAttrib(result, R_NamesSymbol, names); | ^~~~~~~~~ | Rf_setAttrib trace.cpp: In function 'SEXPREC* traceContacts(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)': trace.cpp:468:22: error: 'allocVector' was not declared in this scope; did you mean 'Rf_allocVector'? 468 | PROTECT(result = allocVector(VECSXP, 4 * LENGTH(root))); | ^~~~~~~~~~~ /data/gannet/ripley/R/R-devel/include/Rinternals.h:371:36: note: in definition of macro 'PROTECT' 371 | #define PROTECT(s) Rf_protect(s) | ^ trace.cpp: In function 'SEXPREC* networkSummary(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)': trace.cpp:657:22: error: 'allocVector' was not declared in this scope; did you mean 'Rf_allocVector'? 657 | PROTECT(result = allocVector(VECSXP, 4)); | ^~~~~~~~~~~ /data/gannet/ripley/R/R-devel/include/Rinternals.h:371:36: note: in definition of macro 'PROTECT' 371 | #define PROTECT(s) Rf_protect(s) | ^ trace.cpp:663:31: error: 'mkChar' was not declared in this scope 663 | SET_STRING_ELT(names, 0, mkChar("inDegree")); | ^~~~~~ trace.cpp:680:5: error: 'setAttrib' was not declared in this scope; did you mean 'Rf_setAttrib'? 680 | setAttrib(result, R_NamesSymbol, names); | ^~~~~~~~~ | Rf_setAttrib make[2]: *** [/data/gannet/ripley/R/R-devel/etc/Makeconf:202: trace.o] Error 1 make[2]: Leaving directory '/data/gannet/ripley/R/packages/tests-noRemap/EpiContactTrace/src' ERROR: compilation failed for package ‘EpiContactTrace’ * removing ‘/data/gannet/ripley/R/packages/tests-noRemap/Libs/EpiContactTrace-lib/EpiContactTrace’ Command exited with non-zero status 1 Time 0:02.18, 1.67 + 0.27