* installing *source* package ‘spBayes’ ... ** package ‘spBayes’ 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/spBayes/src' g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -fopenmp -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 adaptMetropGibbs.cpp -o adaptMetropGibbs.o In file included from adaptMetropGibbs.cpp:4: adaptMetropGibbs.cpp: In function 'double ltd(SEXP, SEXP, SEXP)': adaptMetropGibbs.cpp:15:20: error: 'lang2' was not declared in this scope 15 | PROTECT(call_r = lang2(ltd_r, theta_r)); | ^~~~~ /data/gannet/ripley/R/R-devel/include/Rinternals.h:371:36: note: in definition of macro 'PROTECT' 371 | #define PROTECT(s) Rf_protect(s) | ^ adaptMetropGibbs.cpp:16:19: error: 'eval' was not declared in this scope 16 | PROTECT(tmp_r = eval(call_r, rho_r)); | ^~~~ /data/gannet/ripley/R/R-devel/include/Rinternals.h:371:36: note: in definition of macro 'PROTECT' 371 | #define PROTECT(s) Rf_protect(s) | ^ adaptMetropGibbs.cpp:18:7: error: 'isNumeric' was not declared in this scope; did you mean 'Rf_isNumeric'? 18 | if(!isNumeric(tmp_r)) | ^~~~~~~~~ | Rf_isNumeric adaptMetropGibbs.cpp:19:5: error: 'error' was not declared in this scope; did you mean 'perror'? 19 | error("ltd: result of function call must be numeric"); | ^~~~~ | perror adaptMetropGibbs.cpp:22:5: error: 'error' was not declared in this scope; did you mean 'perror'? 22 | error("ltd: result of function call must be scalar"); | ^~~~~ | perror adaptMetropGibbs.cpp:24:22: error: 'coerceVector' was not declared in this scope; did you mean 'Rf_coerceVector'? 24 | PROTECT(result_r = coerceVector(tmp_r, REALSXP)); | ^~~~~~~~~~~~ /data/gannet/ripley/R/R-devel/include/Rinternals.h:371:36: note: in definition of macro 'PROTECT' 371 | #define PROTECT(s) Rf_protect(s) | ^ adaptMetropGibbs.cpp:29:5: error: 'error' was not declared in this scope; did you mean 'perror'? 29 | error("ltd: function returned +Inf"); | ^~~~~ | perror adaptMetropGibbs.cpp:32:5: error: 'error' was not declared in this scope; did you mean 'perror'? 32 | error("ltd: function returned NA or NaN"); | ^~~~~ | perror adaptMetropGibbs.cpp: In function 'SEXPREC* adaptMetropGibbs(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)': adaptMetropGibbs.cpp:65:25: error: 'allocMatrix' was not declared in this scope; did you mean 'Rf_allocMatrix'? 65 | PROTECT(samples_r = allocMatrix(REALSXP, nTheta, nSamples)); 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) | ^ adaptMetropGibbs.cpp:66:23: error: 'allocVector' was not declared in this scope; did you mean 'Rf_allocVector'? 66 | PROTECT(theta_r = allocVector(REALSXP, nTheta)); 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) | ^ adaptMetropGibbs.cpp:156:38: error: 'mkChar' was not declared in this scope 156 | SET_VECTOR_ELT(resultNames_r, 0, mkChar("p.theta.samples")); | ^~~~~~ adaptMetropGibbs.cpp:161:5: error: 'namesgets' was not declared in this scope; did you mean 'Rf_namesgets'? 161 | namesgets(result_r, resultNames_r); | ^~~~~~~~~ | Rf_namesgets make[2]: *** [/data/gannet/ripley/R/R-devel/etc/Makeconf:202: adaptMetropGibbs.o] Error 1 make[2]: Leaving directory '/data/gannet/ripley/R/packages/tests-noRemap/spBayes/src' ERROR: compilation failed for package ‘spBayes’ * removing ‘/data/gannet/ripley/R/packages/tests-noRemap/Libs/spBayes-lib/spBayes’ Command exited with non-zero status 1 Time 0:02.24, 1.79 + 0.27