* installing *source* package ‘ssdtools’ ... ** package ‘ssdtools’ 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/ssdtools/src' g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppEigen/include' -I'/data/gannet/ripley/R/test-dev/TMB/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/RcppEigen/include/RcppEigenForward.h:26, from /data/gannet/ripley/R/test-dev/RcppEigen/include/RcppEigen.h:25, 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 -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppEigen/include' -I'/data/gannet/ripley/R/test-dev/TMB/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 gompertz.cpp -o gompertz.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 gompertz.cpp:1: /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 -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppEigen/include' -I'/data/gannet/ripley/R/test-dev/TMB/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 gumbel.cpp -o gumbel.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 gumbel.cpp:1: /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 (cd TMB; /data/gannet/ripley/R/R-devel/bin/Rscript \ --no-save --no-restore compile.R '') using C++ compiler: ‘g++-13 (GCC) 13.2.0’ make[3]: Entering directory '/data/gannet/ripley/R/packages/tests-noRemap/ssdtools/src/TMB' g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I"/data/gannet/ripley/R/test-dev/TMB/include" -I"/data/gannet/ripley/R/test-dev/RcppEigen/include" -DTMB_EIGEN_DISABLE_WARNINGS -DTMB_LIB_INIT=R_init_ssdtools_TMBExports -DCPPAD_FRAMEWORK -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppEigen/include' -I'/data/gannet/ripley/R/test-dev/TMB/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 ssdtools_TMBExports.cpp -o ssdtools_TMBExports.o ssdtools_TMBExports.cpp: In member function 'Type objective_function::operator()()': ssdtools_TMBExports.cpp:55:5: error: there are no arguments to 'error' that depend on a template parameter, so a declaration of 'error' must be available [-fpermissive] 55 | error("Unknown model."); | ^~~~~ ssdtools_TMBExports.cpp:55:5: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) ssdtools_TMBExports.cpp: In instantiation of 'Type objective_function::operator()() [with Type = CppAD::AD]': /data/gannet/ripley/R/test-dev/TMB/include/tmb_core.hpp:1308:6: required from here ssdtools_TMBExports.cpp:55:10: error: 'error' was not declared in this scope; did you mean 'perror'? 55 | error("Unknown model."); | ~~~~~^~~~~~~~~~~~~~~~~~ | perror ssdtools_TMBExports.cpp: In instantiation of 'Type objective_function::operator()() [with Type = double]': /data/gannet/ripley/R/test-dev/TMB/include/tmb_core.hpp:2031:7: required from here ssdtools_TMBExports.cpp:55:10: error: 'error' was not declared in this scope; did you mean 'perror'? 55 | error("Unknown model."); | ~~~~~^~~~~~~~~~~~~~~~~~ | perror ssdtools_TMBExports.cpp: In instantiation of 'Type objective_function::operator()() [with Type = CppAD::AD >]': /data/gannet/ripley/R/test-dev/TMB/include/tmb_core.hpp:913:29: required from 'Type objective_function::evalUserTemplate() [with Type = CppAD::AD >]' /data/gannet/ripley/R/test-dev/TMB/include/tmb_core.hpp:2112:26: required from here ssdtools_TMBExports.cpp:55:10: error: 'error' was not declared in this scope; did you mean 'perror'? 55 | error("Unknown model."); | ~~~~~^~~~~~~~~~~~~~~~~~ | perror ssdtools_TMBExports.cpp: In instantiation of 'Type objective_function::operator()() [with Type = CppAD::AD > >]': /data/gannet/ripley/R/test-dev/TMB/include/tmb_core.hpp:913:29: required from 'Type objective_function::evalUserTemplate() [with Type = CppAD::AD > >]' /data/gannet/ripley/R/test-dev/TMB/include/tmb_core.hpp:2361:28: required from here ssdtools_TMBExports.cpp:55:10: error: 'error' was not declared in this scope; did you mean 'perror'? 55 | error("Unknown model."); | ~~~~~^~~~~~~~~~~~~~~~~~ | perror make[3]: *** [/data/gannet/ripley/R/R-devel/etc/Makeconf:202: ssdtools_TMBExports.o] Error 1 make[3]: Leaving directory '/data/gannet/ripley/R/packages/tests-noRemap/ssdtools/src/TMB' Error in TMB::compile(file = paste0(tmb_name, ".cpp"), PKG_CXXFLAGS = tmb_flags, : Compilation failed Execution halted make[2]: *** [Makevars:36: tmblib] Error 1 make[2]: Leaving directory '/data/gannet/ripley/R/packages/tests-noRemap/ssdtools/src' ERROR: compilation failed for package ‘ssdtools’ * removing ‘/data/gannet/ripley/R/packages/tests-noRemap/Libs/ssdtools-lib/ssdtools’ Command exited with non-zero status 1 Time 1:14.87, 68.70 + 4.47