* installing *source* package ‘CORElearn’ ... ** package ‘CORElearn’ 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/CORElearn/src' g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -fopenmp -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 Rconvert.cpp -o Rconvert.o In file included from general.h:16, from Rconvert.cpp:3: Rconvert.cpp: In member function 'SEXPREC* featureTree::exportSizes()': Rconvert.cpp:230:31: error: 'allocVector' was not declared in this scope; did you mean 'Rf_allocVector'? 230 | PROTECT(out = allocVector(INTSXP, opt->rfNoTrees)); | ^~~~~~~~~~~ /data/gannet/ripley/R/R-devel/include/Rinternals.h:371:36: note: in definition of macro 'PROTECT' 371 | #define PROTECT(s) Rf_protect(s) | ^ Rconvert.cpp: In member function 'SEXPREC* featureTree::exportSumOverLeaves()': Rconvert.cpp:249:31: error: 'allocVector' was not declared in this scope; did you mean 'Rf_allocVector'? 249 | PROTECT(out = allocVector(INTSXP, opt->rfNoTrees)); | ^~~~~~~~~~~ /data/gannet/ripley/R/R-devel/include/Rinternals.h:371:36: note: in definition of macro 'PROTECT' 371 | #define PROTECT(s) Rf_protect(s) | ^ Rconvert.cpp: In member function 'SEXPREC* featureTree::RF2R()': Rconvert.cpp:275:31: error: 'allocVector' was not declared in this scope; did you mean 'Rf_allocVector'? 275 | PROTECT(out = allocVector(VECSXP, 8)); | ^~~~~~~~~~~ /data/gannet/ripley/R/R-devel/include/Rinternals.h:371:36: note: in definition of macro 'PROTECT' 371 | #define PROTECT(s) Rf_protect(s) | ^ Rconvert.cpp:279:40: error: 'mkChar' was not declared in this scope 279 | SET_STRING_ELT(aux, 0, mkChar("randomForest")); | ^~~~~~ Rconvert.cpp:330:25: error: 'setAttrib' was not declared in this scope; did you mean 'Rf_setAttrib'? 330 | setAttrib(tree, R_NamesSymbol, treeNames); | ^~~~~~~~~ | Rf_setAttrib Rconvert.cpp:348:17: error: 'setAttrib' was not declared in this scope; did you mean 'Rf_setAttrib'? 348 | setAttrib(out, R_NamesSymbol, names); | ^~~~~~~~~ | Rf_setAttrib Rconvert.cpp: In member function 'SEXPREC* featureTree::RFtree2R(binnode*)': Rconvert.cpp:368:47: error: 'allocVector' was not declared in this scope; did you mean 'Rf_allocVector'? 368 | PROTECT(out = allocVector(VECSXP, 3)); | ^~~~~~~~~~~ /data/gannet/ripley/R/R-devel/include/Rinternals.h:371:36: note: in definition of macro 'PROTECT' 371 | #define PROTECT(s) Rf_protect(s) | ^ Rconvert.cpp:371:56: error: 'mkChar' was not declared in this scope 371 | SET_STRING_ELT(aux, 0, mkChar("leaf")); | ^~~~~~ Rconvert.cpp:390:33: error: 'setAttrib' was not declared in this scope; did you mean 'Rf_setAttrib'? 390 | setAttrib(out, R_NamesSymbol, names); | ^~~~~~~~~ | Rf_setAttrib Rconvert.cpp:396:47: error: 'allocVector' was not declared in this scope; did you mean 'Rf_allocVector'? 396 | PROTECT(out = 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) | ^ Rconvert.cpp:400:56: error: 'mkChar' was not declared in this scope 400 | SET_STRING_ELT(aux, 0, mkChar("numericSplit")); | ^~~~~~ Rconvert.cpp:438:33: error: 'setAttrib' was not declared in this scope; did you mean 'Rf_setAttrib'? 438 | setAttrib(out, R_NamesSymbol, names); | ^~~~~~~~~ | Rf_setAttrib Rconvert.cpp:444:39: error: 'allocVector' was not declared in this scope; did you mean 'Rf_allocVector'? 444 | PROTECT(out = 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) | ^ Rconvert.cpp:448:56: error: 'mkChar' was not declared in this scope 448 | SET_STRING_ELT(aux, 0, mkChar("discreteSplit")); | ^~~~~~ Rconvert.cpp:492:33: error: 'setAttrib' was not declared in this scope; did you mean 'Rf_setAttrib'? 492 | setAttrib(out, R_NamesSymbol, names); | ^~~~~~~~~ | Rf_setAttrib make[2]: *** [/data/gannet/ripley/R/R-devel/etc/Makeconf:202: Rconvert.o] Error 1 make[2]: Leaving directory '/data/gannet/ripley/R/packages/tests-noRemap/CORElearn/src' ERROR: compilation failed for package ‘CORElearn’ * removing ‘/data/gannet/ripley/R/packages/tests-noRemap/Libs/CORElearn-lib/CORElearn’ Command exited with non-zero status 1 Time 0:03.50, 1.75 + 0.64