* installing *source* package ‘PMA’ ... ** package ‘PMA’ 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/PMA/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 FLSA.cc -o FLSA.o In file included from FLSA.h:2, from FLSA.cc:3: FLSA.cc: In member function 'SEXPREC* FLSAClass::prepSolTree(int)': FLSA.cc:231:21: error: 'allocVector' was not declared in this scope; did you mean 'Rf_allocVector'? 231 | PROTECT(solTree=allocVector(VECSXP,5)); | ^~~~~~~~~~~ /data/gannet/ripley/R/R-devel/include/Rinternals.h:371:36: note: in definition of macro 'PROTECT' 371 | #define PROTECT(s) Rf_protect(s) | ^ FLSA.cc:238:30: error: 'mkChar' was not declared in this scope 238 | SET_STRING_ELT(names, 0, mkChar("mu")); | ^~~~~~ FLSA.cc:243:5: error: 'setAttrib' was not declared in this scope; did you mean 'Rf_setAttrib'? 243 | setAttrib(solTree, R_NamesSymbol, names); | ^~~~~~~~~ | Rf_setAttrib FLSA.cc:249:5: error: 'classgets' was not declared in this scope; did you mean 'Rf_classgets'? 249 | classgets(solTree, classStr); | ^~~~~~~~~ | Rf_classgets FLSA.cc: In member function 'void FLSAClass::checkInput(SEXP)': FLSA.cc:329:9: error: 'isNumeric' was not declared in this scope; did you mean 'Rf_isNumeric'? 329 | if(!isNumeric(y)) | ^~~~~~~~~ | Rf_isNumeric FLSA.cc:331:9: error: 'error' was not declared in this scope; did you mean 'perror'? 331 | error("y has to be a numeric vector"); | ^~~~~ | perror FLSA.cc:338:9: error: 'error' was not declared in this scope; did you mean 'perror'? 338 | error("y has to be of length at least 2"); | ^~~~~ | perror FLSA.cc: In function 'SEXPREC* FLSAexplicitSolution(SEXP, SEXP)': FLSA.cc:404:22: error: 'allocMatrix' was not declared in this scope; did you mean 'Rf_allocMatrix'? 404 | PROTECT(resMat = allocMatrix(REALSXP, lambdaLen, numVars)); | ^~~~~~~~~~~ /data/gannet/ripley/R/R-devel/include/Rinternals.h:371:36: note: in definition of macro 'PROTECT' 371 | #define PROTECT(s) Rf_protect(s) | ^ make[2]: *** [/data/gannet/ripley/R/R-devel/etc/Makeconf:200: FLSA.o] Error 1 make[2]: Leaving directory '/data/gannet/ripley/R/packages/tests-noRemap/PMA/src' ERROR: compilation failed for package ‘PMA’ * removing ‘/data/gannet/ripley/R/packages/tests-noRemap/Libs/PMA-lib/PMA’ Command exited with non-zero status 1 Time 0:02.30, 1.83 + 0.26