* installing *source* package ‘bhpm’ ... ** package ‘bhpm’ 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/bhpm/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 bhpm1a_poisson_mc_hier2_lev0.cpp -o bhpm1a_poisson_mc_hier2_lev0.o bhpm1a_poisson_mc_hier2_lev0.cpp: In member function 'virtual void bhpm1a_poisson_mc_hier2_lev0::initSimParams(SEXP)': bhpm1a_poisson_mc_hier2_lev0.cpp:1026:20: error: 'isNewList' was not declared in this scope; did you mean 'Rf_isNewList'? 1026 | if (len && isNewList(sSim_Params)) { | ^~~~~~~~~ | Rf_isNewList bhpm1a_poisson_mc_hier2_lev0.cpp:1037:30: error: 'getAttrib' was not declared in this scope; did you mean 'Rf_getAttrib'? 1037 | SEXP names = getAttrib(sSim_Params, R_NamesSymbol); | ^~~~~~~~~ | Rf_getAttrib bhpm1a_poisson_mc_hier2_lev0.cpp: In member function 'virtual void bhpm1a_poisson_mc_hier2_lev0::initMonitor(SEXP)': bhpm1a_poisson_mc_hier2_lev0.cpp:1115:20: error: 'isNewList' was not declared in this scope; did you mean 'Rf_isNewList'? 1115 | if (len > 0 && isNewList(sMonitor)) { | ^~~~~~~~~ | Rf_isNewList bhpm1a_poisson_mc_hier2_lev0.cpp:1116:22: error: 'getAttrib' was not declared in this scope; did you mean 'Rf_getAttrib'? 1116 | SEXP names = getAttrib(sMonitor, R_NamesSymbol); | ^~~~~~~~~ | Rf_getAttrib In file included from /data/gannet/ripley/R/R-devel/include/Rdefines.h:41, from bhpm1a_poisson_mc_hier2_lev0.cpp:9: bhpm1a_poisson_mc_hier2_lev0.cpp: In member function 'virtual SEXPREC* bhpm1a_poisson_mc_hier2_lev0::getL1Samples(double******&)': bhpm1a_poisson_mc_hier2_lev0.cpp:1857:27: error: 'allocVector' was not declared in this scope; did you mean 'Rf_allocVector'? 1857 | PROTECT(samples = allocVector(REALSXP, gChains * gNumComparators * gNumClusters * gMaxBs * gMaxAEs * (gIter - gBurnin))); | ^~~~~~~~~~~ /data/gannet/ripley/R/R-devel/include/Rinternals.h:371:36: note: in definition of macro 'PROTECT' 371 | #define PROTECT(s) Rf_protect(s) | ^ bhpm1a_poisson_mc_hier2_lev0.cpp:1907:9: error: 'setAttrib' was not declared in this scope; did you mean 'Rf_setAttrib'? 1907 | setAttrib(samples, R_DimSymbol, dim); | ^~~~~~~~~ | Rf_setAttrib bhpm1a_poisson_mc_hier2_lev0.cpp: In member function 'virtual SEXPREC* bhpm1a_poisson_mc_hier2_lev0::getL1Samples(double*****&)': bhpm1a_poisson_mc_hier2_lev0.cpp:1919:27: error: 'allocVector' was not declared in this scope; did you mean 'Rf_allocVector'? 1919 | PROTECT(samples = allocVector(REALSXP, gChains * gNumClusters * gMaxBs * gMaxAEs * (gIter - gBurnin))); | ^~~~~~~~~~~ /data/gannet/ripley/R/R-devel/include/Rinternals.h:371:36: note: in definition of macro 'PROTECT' 371 | #define PROTECT(s) Rf_protect(s) | ^ bhpm1a_poisson_mc_hier2_lev0.cpp:1963:9: error: 'setAttrib' was not declared in this scope; did you mean 'Rf_setAttrib'? 1963 | setAttrib(samples, R_DimSymbol, dim); | ^~~~~~~~~ | Rf_setAttrib bhpm1a_poisson_mc_hier2_lev0.cpp: In member function 'virtual SEXPREC* bhpm1a_poisson_mc_hier2_lev0::getL2Samples(double****&)': bhpm1a_poisson_mc_hier2_lev0.cpp:1975:27: error: 'allocVector' was not declared in this scope; did you mean 'Rf_allocVector'? 1975 | PROTECT(samples = allocVector(REALSXP, gChains * gNumClusters * gMaxBs * (gIter - gBurnin))); | ^~~~~~~~~~~ /data/gannet/ripley/R/R-devel/include/Rinternals.h:371:36: note: in definition of macro 'PROTECT' 371 | #define PROTECT(s) Rf_protect(s) | ^ bhpm1a_poisson_mc_hier2_lev0.cpp:2008:9: error: 'setAttrib' was not declared in this scope; did you mean 'Rf_setAttrib'? 2008 | setAttrib(samples, R_DimSymbol, dim); | ^~~~~~~~~ | Rf_setAttrib bhpm1a_poisson_mc_hier2_lev0.cpp: In member function 'virtual SEXPREC* bhpm1a_poisson_mc_hier2_lev0::getL2Samples(double*****&)': bhpm1a_poisson_mc_hier2_lev0.cpp:2020:27: error: 'allocVector' was not declared in this scope; did you mean 'Rf_allocVector'? 2020 | PROTECT(samples = allocVector(REALSXP, gChains * gNumComparators * gNumClusters * gMaxBs * (gIter - gBurnin))); | ^~~~~~~~~~~ /data/gannet/ripley/R/R-devel/include/Rinternals.h:371:36: note: in definition of macro 'PROTECT' 371 | #define PROTECT(s) Rf_protect(s) | ^ bhpm1a_poisson_mc_hier2_lev0.cpp:2059:9: error: 'setAttrib' was not declared in this scope; did you mean 'Rf_setAttrib'? 2059 | setAttrib(samples, R_DimSymbol, dim); | ^~~~~~~~~ | Rf_setAttrib bhpm1a_poisson_mc_hier2_lev0.cpp: In member function 'virtual SEXPREC* bhpm1a_poisson_mc_hier2_lev0::getL1Accept(int*****&)': bhpm1a_poisson_mc_hier2_lev0.cpp:2127:18: error: 'allocVector' was not declared in this scope; did you mean 'Rf_allocVector'? 2127 | PROTECT(acc = allocVector(INTSXP, gChains * gNumComparators * gNumClusters * gMaxBs * gMaxAEs)); | ^~~~~~~~~~~ /data/gannet/ripley/R/R-devel/include/Rinternals.h:371:36: note: in definition of macro 'PROTECT' 371 | #define PROTECT(s) Rf_protect(s) | ^ bhpm1a_poisson_mc_hier2_lev0.cpp:2165:9: error: 'setAttrib' was not declared in this scope; did you mean 'Rf_setAttrib'? 2165 | setAttrib(acc, R_DimSymbol, dim); | ^~~~~~~~~ | Rf_setAttrib bhpm1a_poisson_mc_hier2_lev0.cpp: In member function 'virtual SEXPREC* bhpm1a_poisson_mc_hier2_lev0::getL1Accept(int****&)': bhpm1a_poisson_mc_hier2_lev0.cpp:2177:18: error: 'allocVector' was not declared in this scope; did you mean 'Rf_allocVector'? 2177 | PROTECT(acc = allocVector(INTSXP, gChains * gNumClusters * gMaxBs * gMaxAEs)); | ^~~~~~~~~~~ /data/gannet/ripley/R/R-devel/include/Rinternals.h:371:36: note: in definition of macro 'PROTECT' 371 | #define PROTECT(s) Rf_protect(s) | ^ bhpm1a_poisson_mc_hier2_lev0.cpp:2209:9: error: 'setAttrib' was not declared in this scope; did you mean 'Rf_setAttrib'? 2209 | setAttrib(acc, R_DimSymbol, dim); | ^~~~~~~~~ | Rf_setAttrib bhpm1a_poisson_mc_hier2_lev0.cpp: At global scope: bhpm1a_poisson_mc_hier2_lev0.cpp:16:20: warning: 'rcsId' defined but not used [-Wunused-variable] 16 | static const char *rcsId = "$Id: bhpm1a_poisson_mc_hier2_lev0.cpp,v 1.12 2019/06/02 16:31:46 clb13102 Exp clb13102 $"; | ^~~~~ make[2]: *** [/data/gannet/ripley/R/R-devel/etc/Makeconf:202: bhpm1a_poisson_mc_hier2_lev0.o] Error 1 make[2]: Leaving directory '/data/gannet/ripley/R/packages/tests-noRemap/bhpm/src' ERROR: compilation failed for package ‘bhpm’ * removing ‘/data/gannet/ripley/R/packages/tests-noRemap/Libs/bhpm-lib/bhpm’ Command exited with non-zero status 1 Time 0:02.10, 1.45 + 0.25