* installing *source* package ‘RandomForestsGLS’ ... ** package ‘RandomForestsGLS’ 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/RandomForestsGLS/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 RFGLS.cpp -o RFGLS.o RFGLS.cpp: In function 'void updateBF_org(double*, double*, double*, double*, double*, double*, int*, int*, int, double*, int, int)': RFGLS.cpp:71:106: error: 'error' was not declared in this scope; did you mean 'perror'? 71 | F77_NAME(dpotrf)(&lower, &nnIndxLU[n+i], &C[CIndx[i]], &nnIndxLU[n+i], &info FCONE); if(info != 0){error("c++ error: dpotrf failed\n");} | ^~~~~ | perror RFGLS.cpp:72:106: error: 'error' was not declared in this scope; did you mean 'perror'? 72 | F77_NAME(dpotri)(&lower, &nnIndxLU[n+i], &C[CIndx[i]], &nnIndxLU[n+i], &info FCONE); if(info != 0){error("c++ error: dpotri failed\n");} | ^~~~~ | perror In file included from RFGLS.cpp:13: RFGLS.cpp: In function 'SEXPREC* RFGLS_BFcpp(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)': RFGLS.cpp:346:39: error: 'allocVector' was not declared in this scope; did you mean 'Rf_allocVector'? 346 | SEXP nnIndx_r; PROTECT(nnIndx_r = allocVector(INTSXP, nIndx)); nProtect++; int *nnIndx = INTEGER(nnIndx_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) | ^ RFGLS.cpp:420:37: error: 'mkChar' was not declared in this scope 420 | SET_VECTOR_ELT(resultName_r, 0, mkChar("B")); | ^~~~~~ RFGLS.cpp:431:5: error: 'namesgets' was not declared in this scope; did you mean 'Rf_namesgets'? 431 | namesgets(result_r, resultName_r); | ^~~~~~~~~ | Rf_namesgets RFGLS.cpp: In function 'SEXPREC* RFGLS_invZcpp(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)': RFGLS.cpp:525:24: error: 'allocVector' was not declared in this scope; did you mean 'Rf_allocVector'? 525 | PROTECT(result_r = allocVector(VECSXP, nResultListObjs)); 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) | ^ RFGLS.cpp:529:37: error: 'mkChar' was not declared in this scope 529 | SET_VECTOR_ELT(resultName_r, 0, mkChar("invZ_val")); | ^~~~~~ RFGLS.cpp:534:5: error: 'namesgets' was not declared in this scope; did you mean 'Rf_namesgets'? 534 | namesgets(result_r, resultName_r); | ^~~~~~~~~ | Rf_namesgets RFGLS.cpp: In function 'SEXPREC* RFGLStree_cpp(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)': RFGLS.cpp:790:41: error: 'allocVector' was not declared in this scope; did you mean 'Rf_allocVector'? 790 | SEXP P_index_r; PROTECT(P_index_r = allocVector(INTSXP, nsample)); nProtect++; int *P_index = INTEGER(P_index_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) | ^ RFGLS.cpp:989:37: error: 'mkChar' was not declared in this scope 989 | SET_VECTOR_ELT(resultName_r, 0, mkChar("P_index")); | ^~~~~~ RFGLS.cpp:1012:5: error: 'namesgets' was not declared in this scope; did you mean 'Rf_namesgets'? 1012 | namesgets(result_r, resultName_r); | ^~~~~~~~~ | Rf_namesgets RFGLS.cpp: In function 'SEXPREC* RFGLSpredicttree_cpp(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)': RFGLS.cpp:1037:37: error: 'allocVector' was not declared in this scope; did you mean 'Rf_allocVector'? 1037 | SEXP ytest_r; PROTECT(ytest_r = allocVector(REALSXP, ntest)); nProtect++; double *ytest = REAL(ytest_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) | ^ RFGLS.cpp:1049:37: error: 'mkChar' was not declared in this scope 1049 | SET_VECTOR_ELT(resultName_r, 0, mkChar("ytest")); | ^~~~~~ RFGLS.cpp:1051:5: error: 'namesgets' was not declared in this scope; did you mean 'Rf_namesgets'? 1051 | namesgets(result_r, resultName_r); | ^~~~~~~~~ | Rf_namesgets make[2]: *** [/data/gannet/ripley/R/R-devel/etc/Makeconf:202: RFGLS.o] Error 1 make[2]: Leaving directory '/data/gannet/ripley/R/packages/tests-noRemap/RandomForestsGLS/src' ERROR: compilation failed for package ‘RandomForestsGLS’ * removing ‘/data/gannet/ripley/R/packages/tests-noRemap/Libs/RandomForestsGLS-lib/RandomForestsGLS’ Command exited with non-zero status 1 Time 0:02.41, 1.81 + 0.29