* installing *source* package ‘yaImpute’ ... ** package ‘yaImpute’ successfully unpacked and MD5 sums checked ** using staged installation ** libs using C compiler: ‘gcc-13 (GCC) 13.2.0’ using C++ compiler: ‘g++-13 (GCC) 13.2.0’ make[2]: Entering directory '/data/gannet/ripley/R/packages/tests-noRemap/yaImpute/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 ANN.cpp -o ANN.o 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 annImpute.cpp -o annImpute.o In file included from annImpute.cpp:10: annImpute.cpp: In function 'SEXPREC* annf(SEXP)': annImpute.cpp:47:23: error: 'getAttrib' was not declared in this scope; did you mean 'Rf_getAttrib'? 47 | PROTECT(refDims = getAttrib(ref, R_DimSymbol)); nProtect++; | ^~~~~~~~~ /data/gannet/ripley/R/R-devel/include/Rinternals.h:371:36: note: in definition of macro 'PROTECT' 371 | #define PROTECT(s) Rf_protect(s) | ^ annImpute.cpp:89:31: error: 'allocMatrix' was not declared in this scope; did you mean 'Rf_allocMatrix'? 89 | PROTECT(knnIndxDistMtrx = allocMatrix(REALSXP, tarDim1, k+k)); nProtect++; | ^~~~~~~~~~~ /data/gannet/ripley/R/R-devel/include/Rinternals.h:371:36: note: in definition of macro 'PROTECT' 371 | #define PROTECT(s) Rf_protect(s) | ^ annImpute.cpp:180:20: error: 'allocVector' was not declared in this scope; did you mean 'Rf_allocVector'? 180 | PROTECT(time = allocVector(REALSXP, 1)); nProtect++; | ^~~~~~~~~~~ /data/gannet/ripley/R/R-devel/include/Rinternals.h:371:36: note: in definition of macro 'PROTECT' 371 | #define PROTECT(s) Rf_protect(s) | ^ annImpute.cpp:189:36: error: 'mkChar' was not declared in this scope 189 | SET_STRING_ELT(resultNames, 0, mkChar("knnIndexDist")); | ^~~~~~ annImpute.cpp:191:5: error: 'namesgets' was not declared in this scope; did you mean 'Rf_namesgets'? 191 | namesgets(result, resultNames); | ^~~~~~~~~ | Rf_namesgets make[2]: *** [/data/gannet/ripley/R/R-devel/etc/Makeconf:202: annImpute.o] Error 1 make[2]: Leaving directory '/data/gannet/ripley/R/packages/tests-noRemap/yaImpute/src' ERROR: compilation failed for package ‘yaImpute’ * removing ‘/data/gannet/ripley/R/packages/tests-noRemap/Libs/yaImpute-lib/yaImpute’ Command exited with non-zero status 1 Time 0:04.78, 4.08 + 0.53