* installing *source* package ‘CEC’ ... ** package ‘CEC’ 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/CEC/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 cec_r.cpp -o cec_r.o In file included from cec_r.cpp:7: r_utils.h: In function 'T cec::r::get(SEXP) [with T = const char*; SEXP = SEXPREC*]': r_utils.h:19:18: error: 'isString' was not declared in this scope; did you mean 'string'? 19 | if (!isString(sexp)) | ^~~~~~~~ | string r_utils.h: In function 'T cec::r::get(SEXP) [with T = r_ext_ptr; SEXP = SEXPREC*]': r_utils.h:40:18: error: 'isMatrix' was not declared in this scope; did you mean 'Rf_isMatrix'? 40 | if (!isMatrix(sexp)) | ^~~~~~~~ | Rf_isMatrix In file included from /data/gannet/ripley/R/R-devel/include/Rdefines.h:41, from r_result.h:6, from cec_r.cpp:6: r_utils.h: In function 'SEXPREC* cec::r::put(const cec::mat&)': r_utils.h:74:28: error: 'allocMatrix' was not declared in this scope; did you mean 'Rf_allocMatrix'? 74 | PROTECT(r_ma = allocMatrix(REALSXP, m, n)); | ^~~~~~~~~~~ /data/gannet/ripley/R/R-devel/include/Rinternals.h:371:36: note: in definition of macro 'PROTECT' 371 | #define PROTECT(s) Rf_protect(s) | ^ r_utils.h: In function 'SEXPREC* cec::r::put(int)': r_utils.h:88:26: error: 'allocVector' was not declared in this scope; did you mean 'Rf_allocVector'? 88 | PROTECT(ve = allocVector(INTSXP, 1)); | ^~~~~~~~~~~ /data/gannet/ripley/R/R-devel/include/Rinternals.h:371:36: note: in definition of macro 'PROTECT' 371 | #define PROTECT(s) Rf_protect(s) | ^ r_utils.h: In function 'SEXPREC* cec::r::put(double)': r_utils.h:97:26: error: 'allocVector' was not declared in this scope; did you mean 'Rf_allocVector'? 97 | PROTECT(ve = allocVector(REALSXP, 1)); | ^~~~~~~~~~~ /data/gannet/ripley/R/R-devel/include/Rinternals.h:371:36: note: in definition of macro 'PROTECT' 371 | #define PROTECT(s) Rf_protect(s) | ^ r_utils.h: In function 'SEXPREC* cec::r::put(std::vector)': r_utils.h:106:26: error: 'allocVector' was not declared in this scope; did you mean 'Rf_allocVector'? 106 | PROTECT(ve = allocVector(INTSXP, val.size())); | ^~~~~~~~~~~ /data/gannet/ripley/R/R-devel/include/Rinternals.h:371:36: note: in definition of macro 'PROTECT' 371 | #define PROTECT(s) Rf_protect(s) | ^ r_utils.h: In member function 'SEXPREC* cec::r::r_wrapper::get_named(SEXP, const char*)': r_utils.h:140:22: error: 'isString' was not declared in this scope; did you mean 'string'? 140 | if (!isString(elementNames)) | ^~~~~~~~ | string r_utils.h:147:33: error: 'isNull' was not declared in this scope 147 | if (!res || isNull(res)) | ^~~~~~ cec_r.cpp: In function 'SEXPREC* cec_r(SEXP, SEXP, SEXP, SEXP)': cec_r.cpp:65:9: error: 'error' was not declared in this scope; did you mean 'perror'? 65 | error("%s", ex_what); | ^~~~~ | perror cec_r.cpp:75:5: error: 'error' was not declared in this scope; did you mean 'perror'? 75 | error("%s", ex_what); | ^~~~~ | perror cec_r.cpp: In function 'SEXPREC* cec_split_r(SEXP, SEXP, SEXP, SEXP, SEXP)': cec_r.cpp:123:9: error: 'error' was not declared in this scope; did you mean 'perror'? 123 | error("%s", ex_what); | ^~~~~ | perror cec_r.cpp:133:5: error: 'error' was not declared in this scope; did you mean 'perror'? 133 | error("%s", ex_what); | ^~~~~ | perror cec_r.cpp: In function 'SEXPREC* cec_init_centers_r(SEXP, SEXP, SEXP)': cec_r.cpp:160:9: error: 'error' was not declared in this scope; did you mean 'perror'? 160 | error("%s", ex_what); | ^~~~~ | perror cec_r.cpp:167:9: error: 'error' was not declared in this scope; did you mean 'perror'? 167 | error("%s", ex_what); | ^~~~~ | perror cec_r.cpp: In function 'SEXPREC* cec_r(SEXP, SEXP, SEXP, SEXP)': cec_r.cpp:76:1: warning: control reaches end of non-void function [-Wreturn-type] 76 | } | ^ cec_r.cpp: In function 'SEXPREC* cec_split_r(SEXP, SEXP, SEXP, SEXP, SEXP)': cec_r.cpp:134:1: warning: control reaches end of non-void function [-Wreturn-type] 134 | } | ^ cec_r.cpp: In function 'SEXPREC* cec_init_centers_r(SEXP, SEXP, SEXP)': cec_r.cpp:169:1: warning: control reaches end of non-void function [-Wreturn-type] 169 | } | ^ make[2]: *** [/data/gannet/ripley/R/R-devel/etc/Makeconf:202: cec_r.o] Error 1 make[2]: Leaving directory '/data/gannet/ripley/R/packages/tests-noRemap/CEC/src' ERROR: compilation failed for package ‘CEC’ * removing ‘/data/gannet/ripley/R/packages/tests-noRemap/Libs/CEC-lib/CEC’ Command exited with non-zero status 1 Time 0:05.16, 4.06 + 0.40