* installing *source* package ‘oaqc’ ... ** package ‘oaqc’ successfully unpacked and MD5 sums checked ** using staged installation ** libs using C++ compiler: ‘g++-13 (GCC) 13.2.0’ using C++11 make[2]: Entering directory '/data/gannet/ripley/R/packages/tests-noRemap/oaqc/src' g++-13 -std=gnu++11 -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 Graph.cpp -o Graph.o g++-13 -std=gnu++11 -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 QuadCensus.cpp -o QuadCensus.o g++-13 -std=gnu++11 -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 init.cpp -o init.o In file included from init.cpp:6: init.cpp: In function 'SEXPREC* c_to_r(const unsigned int*, const long unsigned int*, unsigned int, long unsigned int)': init.cpp:15:29: error: 'allocVector' was not declared in this scope; did you mean 'Rf_allocVector'? 15 | SEXP rvec = PROTECT(allocVector(REALSXP, len)); | ^~~~~~~~~~~ /data/gannet/ripley/R/R-devel/include/Rinternals.h:371:36: note: in definition of macro 'PROTECT' 371 | #define PROTECT(s) Rf_protect(s) | ^ init.cpp:20:9: error: 'setAttrib' was not declared in this scope; did you mean 'Rf_setAttrib'? 20 | setAttrib(rvec, R_DimSymbol, dim); | ^~~~~~~~~ | Rf_setAttrib init.cpp: In function 'void write_results(SEXPREC*&, SEXPREC*&, unsigned int&, unsigned int, unsigned int, oaqc::QuadCensus&, std::string&, std::string)': init.cpp:77:41: error: 'mkChar' was not declared in this scope 77 | SET_STRING_ELT(a_names, sIndex, mkChar(("n_orbits_" + rType).c_str())); | ^~~~~~ init.cpp: In function 'SEXPREC* entry(SEXP, SEXP, SEXP, SEXP)': init.cpp:89:32: error: 'length' was not declared in this scope 89 | const unsigned int m = length(a_edges) / 2; | ^~~~~~ init.cpp:102:30: error: 'allocVector' was not declared in this scope; did you mean 'Rf_allocVector'? 102 | SEXP value = PROTECT(allocVector(VECSXP, res_size)); // VECSXP == list | ^~~~~~~~~~~ /data/gannet/ripley/R/R-devel/include/Rinternals.h:371:36: note: in definition of macro 'PROTECT' 371 | #define PROTECT(s) Rf_protect(s) | ^ init.cpp:115:9: error: 'setAttrib' was not declared in this scope; did you mean 'Rf_setAttrib'? 115 | setAttrib(value, R_NamesSymbol, names); | ^~~~~~~~~ | Rf_setAttrib make[2]: *** [/data/gannet/ripley/R/R-devel/etc/Makeconf:202: init.o] Error 1 make[2]: Leaving directory '/data/gannet/ripley/R/packages/tests-noRemap/oaqc/src' ERROR: compilation failed for package ‘oaqc’ * removing ‘/data/gannet/ripley/R/packages/tests-noRemap/Libs/oaqc-lib/oaqc’ Command exited with non-zero status 1 Time 0:04.12, 3.61 + 0.35