* installing *source* package ‘ars’ ... ** package ‘ars’ 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/ars/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 ars.cpp -o ars.o In file included from /data/gannet/ripley/R/R-devel/include/Rdefines.h:41, from ars.h:7, from ars.cpp:10: ars.cpp: In function 'double ARS::evalhx(SEXP, double, SEXP)': ars.cpp:27:29: error: 'lang2' was not declared in this scope 27 | PROTECT(R_fcall = lang2(h, R_NilValue)); | ^~~~~ /data/gannet/ripley/R/R-devel/include/Rinternals.h:371:36: note: in definition of macro 'PROTECT' 371 | #define PROTECT(s) Rf_protect(s) | ^ ars.cpp:31:20: error: 'eval' was not declared in this scope; did you mean 'evalhx'? 31 | y = REAL(eval(R_fcall, rho))[0]; | ^~~~ | evalhx ars.cpp: In function 'double ARS::evalhprimax(SEXP, double, SEXP)': ars.cpp:46:29: error: 'lang2' was not declared in this scope 46 | PROTECT(R_fcall = lang2(hprima, R_NilValue)); | ^~~~~ /data/gannet/ripley/R/R-devel/include/Rinternals.h:371:36: note: in definition of macro 'PROTECT' 371 | #define PROTECT(s) Rf_protect(s) | ^ ars.cpp:50:20: error: 'eval' was not declared in this scope; did you mean 'evalhx'? 50 | y = REAL(eval(R_fcall, rho))[0]; | ^~~~ | evalhx ars.cpp: In function 'void ARS::update_(int*, int*, int*, int*, double*, double*, double*, double*, double*, double*, double*, double*, const double*, const int*, double*, double*, const int*, double*, double*, int*, const double*, double*)': ars.cpp:611:41: error: 'error' was not declared in this scope; did you mean 'perror'? 611 | if (control_count > *n) error("Trap in ARS: infinite while in update_ of ars.cpp near l. 810\n"); /* added by AK */ | ^~~~~ | perror ars.cpp: In function 'void ARS::spl1_(const int*, int*, int*, int*, int*, double*, double*, double*, double*, double*, double*, double*, double*, const int*, double*, double*, const int*, double*, double*, SEXP, SEXP, SEXP, double*, int*, const double*, const double*, double*)': ars.cpp:783:38: error: 'error' was not declared in this scope; did you mean 'perror'? 783 | if (attempts >= max_attempt) error ("Trap in ARS: Maximum number of attempts reached by routine spl1_\n"); | ^~~~~ | perror make[2]: *** [/data/gannet/ripley/R/R-devel/etc/Makeconf:202: ars.o] Error 1 make[2]: Leaving directory '/data/gannet/ripley/R/packages/tests-noRemap/ars/src' ERROR: compilation failed for package ‘ars’ * removing ‘/data/gannet/ripley/R/packages/tests-noRemap/Libs/ars-lib/ars’ Command exited with non-zero status 1 Time 0:02.59, 1.99 + 0.28