* installing *source* package ‘zonohedra’ ... ** package ‘zonohedra’ 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/zonohedra/src' gcc-13 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -Wstrict-prototypes -c collapse.c -o collapse.o gcc-13 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -Wstrict-prototypes -c dbl_dig.c -o dbl_dig.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 dupAtomMatHash.cpp -o dupAtomMatHash.o In file included from rcVec.h:1, from rcSetHash.h:5, from dupAtomMatHash.cpp:38: CharSEXP.h: In constructor 'CharSEXP::CharSEXP(SEXP)': CharSEXP.h:27:30: error: 'error' was not declared in this scope; did you mean 'perror'? 27 | else error("CharSEXP should be initialized with a CHARSXP type object"); | ^~~~~ | perror dupAtomMatHash.cpp: In function 'SEXPREC* dupAtomMatHash(SEXP, SEXP, SEXP)': dupAtomMatHash.cpp:62:21: error: 'getAttrib' was not declared in this scope; did you mean 'Rf_getAttrib'? 62 | dim=INTEGER(getAttrib(x, R_DimSymbol)); | ^~~~~~~~~ | Rf_getAttrib In file included from CharSEXP.h:6: dupAtomMatHash.cpp:63:23: error: 'allocVector' was not declared in this scope; did you mean 'Rf_allocVector'? 63 | out = PROTECT(allocVector(LGLSXP, dim[*INTEGER(MARGIN)-1])); | ^~~~~~~~~~~ /data/gannet/ripley/R/R-devel/include/Rinternals.h:371:36: note: in definition of macro 'PROTECT' 371 | #define PROTECT(s) Rf_protect(s) | ^ dupAtomMatHash.cpp:94:25: error: 'error' was not declared in this scope; did you mean 'perror'? 94 | error("C function 'dupAtomMatHash' only accepts REALSXP, LGLSXP, INTSXP and STRSXP"); | ^~~~~ | perror dupAtomMatHash.cpp: In function 'SEXPREC* anyDupAtomMatHash(SEXP, SEXP, SEXP)': dupAtomMatHash.cpp:107:21: error: 'getAttrib' was not declared in this scope; did you mean 'Rf_getAttrib'? 107 | dim=INTEGER(getAttrib(x, R_DimSymbol)); | ^~~~~~~~~ | Rf_getAttrib dupAtomMatHash.cpp:108:23: error: 'allocVector' was not declared in this scope; did you mean 'Rf_allocVector'? 108 | out = PROTECT(allocVector(INTSXP, 1)); | ^~~~~~~~~~~ /data/gannet/ripley/R/R-devel/include/Rinternals.h:371:36: note: in definition of macro 'PROTECT' 371 | #define PROTECT(s) Rf_protect(s) | ^ dupAtomMatHash.cpp:139:25: error: 'error' was not declared in this scope; did you mean 'perror'? 139 | error("C function 'anyDupAtomMatHash' only accepts REALSXP, LGLSXP, INTSXP and STRSXP"); | ^~~~~ | perror dupAtomMatHash.cpp: In function 'SEXPREC* grpDupAtomMatHash(SEXP, SEXP)': dupAtomMatHash.cpp:150:32: error: 'getAttrib' was not declared in this scope; did you mean 'Rf_getAttrib'? 150 | int *dim = INTEGER(getAttrib(x, R_DimSymbol)); | ^~~~~~~~~ | Rf_getAttrib dupAtomMatHash.cpp:151:32: error: 'allocVector' was not declared in this scope; did you mean 'Rf_allocVector'? 151 | SEXP out = PROTECT( allocVector(INTSXP, dim[*INTEGER(MARGIN)-1]) ); | ^~~~~~~~~~~ /data/gannet/ripley/R/R-devel/include/Rinternals.h:371:36: note: in definition of macro 'PROTECT' 371 | #define PROTECT(s) Rf_protect(s) | ^ dupAtomMatHash.cpp:185:25: error: 'error' was not declared in this scope; did you mean 'perror'? 185 | error( "C function 'grpDupAtomMatHash' only accepts REALSXP, LGLSXP, INTSXP, STRSXP, CPLXSXP, and RAWSXP."); | ^~~~~ | perror dupAtomMatHash.cpp:189:9: error: 'error' was not declared in this scope; did you mean 'perror'? 189 | error( "C function 'grpDupAtomMatHash' unexpected failure !" ); | ^~~~~ | perror dupAtomMatHash.cpp:196:20: error: 'install' was not declared in this scope 196 | setAttrib(out, install("ngroups"), nGroups); | ^~~~~~~ dupAtomMatHash.cpp:196:5: error: 'setAttrib' was not declared in this scope; did you mean 'Rf_setAttrib'? 196 | setAttrib(out, install("ngroups"), nGroups); | ^~~~~~~~~ | Rf_setAttrib make[2]: *** [/data/gannet/ripley/R/R-devel/etc/Makeconf:202: dupAtomMatHash.o] Error 1 make[2]: Leaving directory '/data/gannet/ripley/R/packages/tests-noRemap/zonohedra/src' ERROR: compilation failed for package ‘zonohedra’ * removing ‘/data/gannet/ripley/R/packages/tests-noRemap/Libs/zonohedra-lib/zonohedra’ Command exited with non-zero status 1 Time 0:04.44, 3.43 + 0.80