* installing *source* package ‘tgstat’ ... ** package ‘tgstat’ 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/tgstat/src' 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 ProgressReporter.cpp -o ProgressReporter.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 TGLException.cpp -o TGLException.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 corgraph.cpp -o corgraph.o corgraph.cpp: In function 'SEXPREC* tgs_cor_graph(SEXP, SEXP, SEXP, SEXP, SEXP)': corgraph.cpp:33:15: error: 'isReal' was not declared in this scope 33 | if ((!isReal(_k_beta) && !isInteger(_k_beta)) || xlength(_k_beta) != 1) | ^~~~~~ corgraph.cpp:33:35: error: 'isInteger' was not declared in this scope; did you mean 'Rf_isInteger'? 33 | if ((!isReal(_k_beta) && !isInteger(_k_beta)) || xlength(_k_beta) != 1) | ^~~~~~~~~ | Rf_isInteger corgraph.cpp:33:58: error: 'xlength' was not declared in this scope; did you mean 'Rf_xlength'? 33 | if ((!isReal(_k_beta) && !isInteger(_k_beta)) || xlength(_k_beta) != 1) | ^~~~~~~ | Rf_xlength corgraph.cpp:40:27: error: 'getAttrib' was not declared in this scope; did you mean 'Rf_getAttrib'? 40 | SEXP rnames = getAttrib(_ranks, R_NamesSymbol); | ^~~~~~~~~ | Rf_getAttrib corgraph.cpp:42:22: error: 'isVector' was not declared in this scope; did you mean 'Rf_isVector'? 42 | if (!isVector(_ranks) || xlength(_ranks) != NUM_COLS || xlength(rnames) != NUM_COLS || | ^~~~~~~~ | Rf_isVector corgraph.cpp:42:42: error: 'xlength' was not declared in this scope; did you mean 'Rf_xlength'? 42 | if (!isVector(_ranks) || xlength(_ranks) != NUM_COLS || xlength(rnames) != NUM_COLS || | ^~~~~~~ | Rf_xlength corgraph.cpp:43:78: error: 'isInteger' was not declared in this scope; did you mean 'Rf_isInteger'? 43 | strcmp(CHAR(STRING_ELT(rnames, COL1)), COL_NAMES[COL1]) || (!isInteger(VECTOR_ELT(_ranks, COL1)) && !isFactor(VECTOR_ELT(_ranks, COL1))) || | ^~~~~~~~~ | Rf_isInteger corgraph.cpp:43:118: error: 'isFactor' was not declared in this scope; did you mean 'Rf_isFactor'? 43 | strcmp(CHAR(STRING_ELT(rnames, COL1)), COL_NAMES[COL1]) || (!isInteger(VECTOR_ELT(_ranks, COL1)) && !isFactor(VECTOR_ELT(_ranks, COL1))) || | ^~~~~~~~ | Rf_isFactor corgraph.cpp:46:18: error: 'isReal' was not declared in this scope 46 | !isReal(VECTOR_ELT(_ranks, COR)) || xlength(VECTOR_ELT(_ranks, COR)) != xlength(VECTOR_ELT(_ranks, COL1)) || | ^~~~~~ corgraph.cpp:53:25: error: 'xlength' was not declared in this scope; did you mean 'Rf_xlength'? 53 | num_ranks = xlength(VECTOR_ELT(_ranks, RANK)); | ^~~~~~~ | Rf_xlength corgraph.cpp:56:14: error: 'isNull' was not declared in this scope 56 | if (!isNull(_knn) && ((!isReal(_knn) && !isInteger(_knn)) || xlength(_knn) != 1)) | ^~~~~~ corgraph.cpp:56:33: error: 'isReal' was not declared in this scope 56 | if (!isNull(_knn) && ((!isReal(_knn) && !isInteger(_knn)) || xlength(_knn) != 1)) | ^~~~~~ corgraph.cpp:56:50: error: 'isInteger' was not declared in this scope; did you mean 'Rf_isInteger'? 56 | if (!isNull(_knn) && ((!isReal(_knn) && !isInteger(_knn)) || xlength(_knn) != 1)) | ^~~~~~~~~ | Rf_isInteger corgraph.cpp:56:70: error: 'xlength' was not declared in this scope; did you mean 'Rf_xlength'? 56 | if (!isNull(_knn) && ((!isReal(_knn) && !isInteger(_knn)) || xlength(_knn) != 1)) | ^~~~~~~ | Rf_xlength corgraph.cpp:59:14: error: 'isNull' was not declared in this scope 59 | if (!isNull(_k_expand) && ((!isReal(_k_expand) && !isInteger(_k_expand)) || xlength(_k_expand) != 1)) | ^~~~~~ corgraph.cpp:59:38: error: 'isReal' was not declared in this scope 59 | if (!isNull(_k_expand) && ((!isReal(_k_expand) && !isInteger(_k_expand)) || xlength(_k_expand) != 1)) | ^~~~~~ corgraph.cpp:59:60: error: 'isInteger' was not declared in this scope; did you mean 'Rf_isInteger'? 59 | if (!isNull(_k_expand) && ((!isReal(_k_expand) && !isInteger(_k_expand)) || xlength(_k_expand) != 1)) | ^~~~~~~~~ | Rf_isInteger corgraph.cpp:59:85: error: 'xlength' was not declared in this scope; did you mean 'Rf_xlength'? 59 | if (!isNull(_k_expand) && ((!isReal(_k_expand) && !isInteger(_k_expand)) || xlength(_k_expand) != 1)) | ^~~~~~~ | Rf_xlength corgraph.cpp:62:24: error: 'isNull' was not declared in this scope 62 | double knn_d = isNull(_knn) ? 0 : asReal(_knn); | ^~~~~~ corgraph.cpp:62:43: error: 'asReal' was not declared in this scope 62 | double knn_d = isNull(_knn) ? 0 : asReal(_knn); | ^~~~~~ corgraph.cpp:173:19: error: 'getAttrib' was not declared in this scope; did you mean 'Rf_getAttrib'? 173 | rlevels = getAttrib(VECTOR_ELT(_ranks, 0), R_LevelsSymbol); | ^~~~~~~~~ | Rf_getAttrib corgraph.cpp:175:13: error: 'setAttrib' was not declared in this scope; did you mean 'Rf_setAttrib'? 175 | setAttrib(rcol1, R_LevelsSymbol, rlevels); | ^~~~~~~~~ | Rf_setAttrib corgraph.cpp:176:45: error: 'mkString' was not declared in this scope; did you mean 'Rf_mkString'? 176 | setAttrib(rcol1, R_ClassSymbol, mkString("factor")); | ^~~~~~~~ | Rf_mkString corgraph.cpp:181:13: error: 'setAttrib' was not declared in this scope; did you mean 'Rf_setAttrib'? 181 | setAttrib(rcol2, R_LevelsSymbol, rlevels); | ^~~~~~~~~ | Rf_setAttrib corgraph.cpp:182:45: error: 'mkString' was not declared in this scope; did you mean 'Rf_mkString'? 182 | setAttrib(rcol2, R_ClassSymbol, mkString("factor")); | ^~~~~~~~ | Rf_mkString corgraph.cpp:186:42: error: 'mkChar' was not declared in this scope 186 | SET_STRING_ELT(rcolnames, i, mkChar(COL_NAMES[i])); | ^~~~~~ corgraph.cpp:217:9: error: 'setAttrib' was not declared in this scope; did you mean 'Rf_setAttrib'? 217 | setAttrib(ranswer, R_NamesSymbol, rcolnames); | ^~~~~~~~~ | Rf_setAttrib corgraph.cpp:218:43: error: 'mkString' was not declared in this scope; did you mean 'Rf_mkString'? 218 | setAttrib(ranswer, R_ClassSymbol, mkString("data.frame")); | ^~~~~~~~ | Rf_mkString make[2]: *** [/data/gannet/ripley/R/R-devel/etc/Makeconf:202: corgraph.o] Error 1 make[2]: Leaving directory '/data/gannet/ripley/R/packages/tests-noRemap/tgstat/src' ERROR: compilation failed for package ‘tgstat’ * removing ‘/data/gannet/ripley/R/packages/tests-noRemap/Libs/tgstat-lib/tgstat’ Command exited with non-zero status 1 Time 0:06.20, 5.09 + 0.60