* installing *source* package ‘som’ ... ** package ‘som’ 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/som/src' g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -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 som.cc -o som.o In file included from som.cc:113: som.cc: In function 'SEXPREC* asSEXP(const TNT::DMatrix&)': som.cc:132:31: error: 'mkChar' was not declared in this scope 132 | SET_CLASS(val, ScalarString(mkChar("matrix"))); | ^~~~~~ /data/gannet/ripley/R/R-devel/include/Rdefines.h:142:64: note: in definition of macro 'SET_CLASS' 142 | #define SET_CLASS(x, n) Rf_setAttrib(x, R_ClassSymbol, n) | ^ som.cc:132:18: error: 'ScalarString' was not declared in this scope; did you mean 'Rf_ScalarString'? 132 | SET_CLASS(val, ScalarString(mkChar("matrix"))); | ^~~~~~~~~~~~ /data/gannet/ripley/R/R-devel/include/Rdefines.h:142:64: note: in definition of macro 'SET_CLASS' 142 | #define SET_CLASS(x, n) Rf_setAttrib(x, R_ClassSymbol, n) | ^ som.cc: In function 'SEXPREC* getListElement(SEXP, char*)': som.cc:144:35: error: 'getAttrib' was not declared in this scope; did you mean 'Rf_getAttrib'? 144 | SEXP elmt = R_NilValue, names = getAttrib(list, R_NamesSymbol); | ^~~~~~~~~ | Rf_getAttrib som.cc:146:19: error: 'length' was not declared in this scope 146 | for (i = 0; i < length(list); i++) | ^~~~~~ som.cc: In function 'SEXPREC* som(SEXP, SEXP, SEXP)': som.cc:191:30: error: 'mkChar' was not declared in this scope 191 | SET_STRING_ELT(names, 0, mkChar("code")); | ^~~~~~ som.cc: In function 'SEXPREC* som_bat(SEXP, SEXP, SEXP, SEXP)': som.cc:218:30: error: 'mkChar' was not declared in this scope 218 | SET_STRING_ELT(names, 0, mkChar("code")); | ^~~~~~ make[2]: *** [/data/gannet/ripley/R/R-devel/etc/Makeconf:200: som.o] Error 1 make[2]: Leaving directory '/data/gannet/ripley/R/packages/tests-noRemap/som/src' ERROR: compilation failed for package ‘som’ * removing ‘/data/gannet/ripley/R/packages/tests-noRemap/Libs/som-lib/som’ Command exited with non-zero status 1 Time 0:02.97, 2.01 + 0.34