* installing *source* package ‘FLLat’ ... ** package ‘FLLat’ 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/FLLat/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 FL_vit.c -o FL_vit.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 Lat_L2.cpp -o Lat_L2.o Lat_L2.cpp: In function 'SEXPREC* LatL2C(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)': Lat_L2.cpp:29:15: error: 'ncols' was not declared in this scope 29 | R_len_t S = ncols(Y), L = nrows(Y), J = INTEGER(nF)[0]; | ^~~~~ In file included from Lat_L2.cpp:9: Lat_L2.cpp:33:38: error: 'L' was not declared in this scope 33 | PROTECT(newB = allocMatrix(REALSXP,L,J)); | ^ /data/gannet/ripley/R/R-devel/include/Rinternals.h:371:36: note: in definition of macro 'PROTECT' 371 | #define PROTECT(s) Rf_protect(s) | ^ Lat_L2.cpp:33:40: error: 'J' was not declared in this scope 33 | PROTECT(newB = allocMatrix(REALSXP,L,J)); | ^ /data/gannet/ripley/R/R-devel/include/Rinternals.h:371:36: note: in definition of macro 'PROTECT' 371 | #define PROTECT(s) Rf_protect(s) | ^ Lat_L2.cpp:33:18: error: 'allocMatrix' was not declared in this scope; did you mean 'Rf_allocMatrix'? 33 | PROTECT(newB = allocMatrix(REALSXP,L,J)); | ^~~~~~~~~~~ /data/gannet/ripley/R/R-devel/include/Rinternals.h:371:36: note: in definition of macro 'PROTECT' 371 | #define PROTECT(s) Rf_protect(s) | ^ Lat_L2.cpp:67:17: error: 'allocVector' was not declared in this scope; did you mean 'Rf_allocVector'? 67 | PROTECT(rss = allocVector(REALSXP,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) | ^ Lat_L2.cpp:102:29: error: 'mkChar' was not declared in this scope 102 | SET_STRING_ELT(resNames,0,mkChar("Beta")); | ^~~~~~ Lat_L2.cpp:110:3: error: 'setAttrib' was not declared in this scope; did you mean 'Rf_setAttrib'? 110 | setAttrib(res,R_NamesSymbol,resNames); | ^~~~~~~~~ | Rf_setAttrib Lat_L2.cpp:115:3: error: 'classgets' was not declared in this scope; did you mean 'Rf_classgets'? 115 | classgets(res,resClass); | ^~~~~~~~~ | Rf_classgets Lat_L2.cpp: In function 'SEXPREC* TLatL2CR(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)': Lat_L2.cpp:133:15: error: 'ncols' was not declared in this scope 133 | R_len_t S = ncols(Y), L = nrows(Y), J = ncols(B); | ^~~~~ Lat_L2.cpp:137:38: error: 'J' was not declared in this scope 137 | PROTECT(newT = allocMatrix(REALSXP,J,S)); | ^ /data/gannet/ripley/R/R-devel/include/Rinternals.h:371:36: note: in definition of macro 'PROTECT' 371 | #define PROTECT(s) Rf_protect(s) | ^ Lat_L2.cpp:137:18: error: 'allocMatrix' was not declared in this scope; did you mean 'Rf_allocMatrix'? 137 | PROTECT(newT = allocMatrix(REALSXP,J,S)); | ^~~~~~~~~~~ /data/gannet/ripley/R/R-devel/include/Rinternals.h:371:36: note: in definition of macro 'PROTECT' 371 | #define PROTECT(s) Rf_protect(s) | ^ Lat_L2.cpp:143:59: error: 'L' was not declared in this scope 143 | int niter = TLatL2C(pnewT,pY,pB,rthresh,imaxiterT,rsT,S,L,J); | ^ Lat_L2.cpp:147:17: error: 'allocVector' was not declared in this scope; did you mean 'Rf_allocVector'? 147 | PROTECT(rss = allocVector(REALSXP,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) | ^ Lat_L2.cpp:166:29: error: 'mkChar' was not declared in this scope 166 | SET_STRING_ELT(resNames,0,mkChar("Theta")); | ^~~~~~ Lat_L2.cpp:170:3: error: 'setAttrib' was not declared in this scope; did you mean 'Rf_setAttrib'? 170 | setAttrib(res,R_NamesSymbol,resNames); | ^~~~~~~~~ | Rf_setAttrib make[2]: *** [/data/gannet/ripley/R/R-devel/etc/Makeconf:202: Lat_L2.o] Error 1 make[2]: Leaving directory '/data/gannet/ripley/R/packages/tests-noRemap/FLLat/src' ERROR: compilation failed for package ‘FLLat’ * removing ‘/data/gannet/ripley/R/packages/tests-noRemap/Libs/FLLat-lib/FLLat’ Command exited with non-zero status 1 Time 0:02.51, 1.83 + 0.28