* installing *source* package ‘glmmTMB’ ... ** package ‘glmmTMB’ 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/glmmTMB/src' g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -DTMBAD_FRAMEWORK -I'/data/gannet/ripley/R/test-dev/TMB/include' -I'/data/gannet/ripley/R/test-dev/RcppEigen/include' -I/usr/local/include -fopenmp -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 glmmTMB.cpp -o glmmTMB.o In file included from glmmTMB.cpp:4: distrib.h: In function 'Type glmmtmb::rtruncated_genpois(Type, Type)': distrib.h:182:18: error: there are no arguments to 'warning' that depend on a template parameter, so a declaration of 'warning' must be available [-fpermissive] 182 | if(ans < 1.) warning("Zeros in simulation of zero-truncated data. Possibly due to low estimated mean."); | ^~~~~~~ distrib.h:182:18: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) distrib.h: In function 'Type glmmtmb::rtruncated_compois2(Type, Type)': distrib.h:276:18: error: there are no arguments to 'warning' that depend on a template parameter, so a declaration of 'warning' must be available [-fpermissive] 276 | if(ans < 1.) warning("Zeros in simulation of zero-truncated data. Possibly due to low estimated mean."); | ^~~~~~~ In file included from /data/gannet/ripley/R/test-dev/TMB/include/TMB.hpp:173, from glmmTMB.cpp:2: distrib.h: In function 'SEXPREC* compois_calc_var(SEXP, SEXP)': distrib.h:309:24: error: 'allocVector' was not declared in this scope; did you mean 'Rf_allocVector'? 309 | SEXP ans = PROTECT(allocVector(REALSXP, LENGTH(mean))); | ^~~~~~~~~~~ /data/gannet/ripley/R/R-devel/include/Rinternals.h:371:36: note: in definition of macro 'PROTECT' 371 | #define PROTECT(s) Rf_protect(s) | ^ glmmTMB.cpp: In constructor 'terms_t::terms_t(SEXP)': glmmTMB.cpp:258:11: error: there are no arguments to 'isNull' that depend on a template parameter, so a declaration of 'isNull' must be available [-fpermissive] 258 | if(!isNull(t)){ | ^~~~~~ glmmTMB.cpp:259:37: error: 'isNumeric' was not declared in this scope; did you mean 'Ts_isNumeric'? 259 | RObjectTestExpectedType(t, &isNumeric, "times"); | ^~~~~~~~~ | Ts_isNumeric glmmTMB.cpp:264:11: error: there are no arguments to 'isNull' that depend on a template parameter, so a declaration of 'isNull' must be available [-fpermissive] 264 | if(!isNull(d)){ | ^~~~~~ glmmTMB.cpp:265:37: error: 'isMatrix' was not declared in this scope; did you mean 'asMatrix'? 265 | RObjectTestExpectedType(d, &isMatrix, "dist"); | ^~~~~~~~ | asMatrix glmmTMB.cpp: In instantiation of 'terms_t::terms_t(SEXP) [with Type = TMBad::global::ad_aug; SEXP = SEXPREC*]': glmmTMB.cpp:580:3: required from 'Type objective_function::operator()() [with Type = TMBad::global::ad_aug]' /data/gannet/ripley/R/test-dev/TMB/include/tmb_core.hpp:1277:6: required from here glmmTMB.cpp:258:17: error: 'isNull' was not declared in this scope 258 | if(!isNull(t)){ | ~~~~~~^~~ glmmTMB.cpp:264:17: error: 'isNull' was not declared in this scope 264 | if(!isNull(d)){ | ~~~~~~^~~ distrib.h: In instantiation of 'Type glmmtmb::rtruncated_genpois(Type, Type) [with Type = TMBad::global::ad_aug]': glmmTMB.cpp:810:53: required from 'Type objective_function::operator()() [with Type = TMBad::global::ad_aug]' /data/gannet/ripley/R/test-dev/TMB/include/tmb_core.hpp:1277:6: required from here distrib.h:182:25: error: 'warning' was not declared in this scope; did you mean 'Ts_warning'? 182 | if(ans < 1.) warning("Zeros in simulation of zero-truncated data. Possibly due to low estimated mean."); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | Ts_warning distrib.h: In instantiation of 'Type glmmtmb::rtruncated_compois2(Type, Type) [with Type = TMBad::global::ad_aug]': glmmTMB.cpp:824:54: required from 'Type objective_function::operator()() [with Type = TMBad::global::ad_aug]' /data/gannet/ripley/R/test-dev/TMB/include/tmb_core.hpp:1277:6: required from here distrib.h:276:25: error: 'warning' was not declared in this scope; did you mean 'Ts_warning'? 276 | if(ans < 1.) warning("Zeros in simulation of zero-truncated data. Possibly due to low estimated mean."); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | Ts_warning glmmTMB.cpp: In instantiation of 'terms_t::terms_t(SEXP) [with Type = double; SEXP = SEXPREC*]': glmmTMB.cpp:580:3: required from 'Type objective_function::operator()() [with Type = double]' /data/gannet/ripley/R/test-dev/TMB/include/tmb_core.hpp:2031:7: required from here glmmTMB.cpp:258:17: error: 'isNull' was not declared in this scope 258 | if(!isNull(t)){ | ~~~~~~^~~ glmmTMB.cpp:264:17: error: 'isNull' was not declared in this scope 264 | if(!isNull(d)){ | ~~~~~~^~~ distrib.h: In instantiation of 'Type glmmtmb::rtruncated_genpois(Type, Type) [with Type = double]': glmmTMB.cpp:810:53: required from 'Type objective_function::operator()() [with Type = double]' /data/gannet/ripley/R/test-dev/TMB/include/tmb_core.hpp:2031:7: required from here distrib.h:182:25: error: 'warning' was not declared in this scope; did you mean 'Ts_warning'? 182 | if(ans < 1.) warning("Zeros in simulation of zero-truncated data. Possibly due to low estimated mean."); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | Ts_warning distrib.h: In instantiation of 'Type glmmtmb::rtruncated_compois2(Type, Type) [with Type = double]': glmmTMB.cpp:824:54: required from 'Type objective_function::operator()() [with Type = double]' /data/gannet/ripley/R/test-dev/TMB/include/tmb_core.hpp:2031:7: required from here distrib.h:276:25: error: 'warning' was not declared in this scope; did you mean 'Ts_warning'? 276 | if(ans < 1.) warning("Zeros in simulation of zero-truncated data. Possibly due to low estimated mean."); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | Ts_warning make[2]: *** [/data/gannet/ripley/R/R-devel/etc/Makeconf:202: glmmTMB.o] Error 1 make[2]: Leaving directory '/data/gannet/ripley/R/packages/tests-noRemap/glmmTMB/src' ERROR: compilation failed for package ‘glmmTMB’ * removing ‘/data/gannet/ripley/R/packages/tests-noRemap/Libs/glmmTMB-lib/glmmTMB’ Command exited with non-zero status 1 Time 1:21.82, 73.98 + 4.33