* installing *source* package ‘optmatch’ ... ** package ‘optmatch’ 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/optmatch/src' g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -DUSE_FC_LEN_T -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -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 RcppExports.cpp -o RcppExports.o In file included from /data/gannet/ripley/R/test-dev/Rcpp/include/RcppCommon.h:30, from /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp.h:27, from RcppExports.cpp:4: /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp/r/headers.h:26: warning: "R_NO_REMAP" redefined 26 | #define R_NO_REMAP | : note: this is the location of the previous definition g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -DUSE_FC_LEN_T -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -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 cuseful.cc -o cuseful.o g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -DUSE_FC_LEN_T -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -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 distances.cc -o distances.o distances.cc: In function 'SEXPREC* mahalanobisHelper(SEXP, SEXP, SEXP)': distances.cc:32:10: error: 'nrows' was not declared in this scope 32 | nv = nrows(index), | ^~~~~ distances.cc:43:3: error: 'GetMatrixDimnames' was not declared in this scope; did you mean 'Rf_GetMatrixDimnames'? 43 | GetMatrixDimnames(data, &row_names, &cl, &rn, &cn); | ^~~~~~~~~~~~~~~~~ | Rf_GetMatrixDimnames In file included from map.h:22, from distances.cc:3: distances.cc:48:20: error: 'allocVector' was not declared in this scope; did you mean 'Rf_allocVector'? 48 | PROTECT(result = allocVector(REALSXP, nv)); | ^~~~~~~~~~~ /data/gannet/ripley/R/R-devel/include/Rinternals.h:371:36: note: in definition of macro 'PROTECT' 371 | #define PROTECT(s) Rf_protect(s) | ^ distances.cc:63:20: error: 'n' was not declared in this scope 63 | for(j = 0; j < n; j++) { | ^ distances.cc:67:41: error: 'nr' was not declared in this scope; did you mean 'rn'? 67 | innerSum += (real_data[va + k * nr] | ^~ | rn distances.cc:71:45: error: 'nr' was not declared in this scope; did you mean 'rn'? 71 | sum += innerSum * (real_data[va + j * nr] - real_data[vb + j * nr]); | ^~ | rn make[2]: *** [/data/gannet/ripley/R/R-devel/etc/Makeconf:200: distances.o] Error 1 make[2]: Leaving directory '/data/gannet/ripley/R/packages/tests-noRemap/optmatch/src' ERROR: compilation failed for package ‘optmatch’ * removing ‘/data/gannet/ripley/R/packages/tests-noRemap/Libs/optmatch-lib/optmatch’ Command exited with non-zero status 1 Time 0:13.86, 12.51 + 0.97