* installing *source* package ‘rBeta2009’ ... ** package ‘rBeta2009’ 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/rBeta2009/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 betaAlgs.cc -o betaAlgs.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 rBeta2009SEXP.cc -o rBeta2009SEXP.o rBeta2009SEXP.cc: In function 'SEXPREC* newrbeta(SEXP, SEXP, SEXP)': rBeta2009SEXP.cc:18:43: error: 'error' was not declared in this scope; did you mean 'perror'? 18 | if (*alpha1 <= 0.0 || *alpha2 <= 0.0) error("Shape parameters should be positive"); | ^~~~~ | perror rBeta2009SEXP.cc: In function 'SEXPREC* rdirichlet(SEXP, SEXP)': rBeta2009SEXP.cc:142:40: error: 'error' was not declared in this scope; did you mean 'perror'? 142 | if (*(REAL(shape) + i) <= 0.0) error("Shape parameters should be all positive"); | ^~~~~ | perror In file included from /data/gannet/ripley/R/R-devel/include/Rdefines.h:41, from rBeta2009SEXP.cc:3: rBeta2009SEXP.cc:144:19: error: 'allocMatrix' was not declared in this scope; did you mean 'Rf_allocMatrix'? 144 | PROTECT(out = allocMatrix(REALSXP, NN, KK)); | ^~~~~~~~~~~ /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: rBeta2009SEXP.o] Error 1 make[2]: Leaving directory '/data/gannet/ripley/R/packages/tests-noRemap/rBeta2009/src' ERROR: compilation failed for package ‘rBeta2009’ * removing ‘/data/gannet/ripley/R/packages/tests-noRemap/Libs/rBeta2009-lib/rBeta2009’ Command exited with non-zero status 1 Time 0:02.80, 2.43 + 0.29