* installing *source* package ‘sdmTMB’ ...
** package ‘sdmTMB’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++-14 (GCC) 14.0.1 20240503 (prerelease)’
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/sdmTMB/src'
g++-14 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -DTMBAD_FRAMEWORK -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   -c sdmTMB.cpp -o sdmTMB.o
In file included from /data/gannet/ripley/R/test-dev/TMB/include/TMB.hpp:201,
                 from sdmTMB.cpp:3:
/data/gannet/ripley/R/test-dev/TMB/include/expm.hpp:221:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
  221 |     nestedTriangle<0>(){}
      |                      ^
/data/gannet/ripley/R/test-dev/TMB/include/expm.hpp:221:22: note: remove the '< >'
/data/gannet/ripley/R/test-dev/TMB/include/expm.hpp:222:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
  222 |     nestedTriangle<0>(Base x) : Base(x){}
      |                       ^~~~
/data/gannet/ripley/R/test-dev/TMB/include/expm.hpp:222:23: note: remove the '< >'
/data/gannet/ripley/R/test-dev/TMB/include/expm.hpp:223:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
  223 |     nestedTriangle<0>(vector<matrix<double> > args) : Block<double>(args[0]) {}
      |                       ^~~~~~~~~~~~~~~~~~~~~~~
/data/gannet/ripley/R/test-dev/TMB/include/expm.hpp:223:23: note: remove the '< >'
sdmTMB.cpp: In instantiation of 'Type objective_function<Type>::operator()() [with Type = double]':
/data/gannet/ripley/R/test-dev/TMB/include/tmb_core.hpp:2031:7:   required from here
 2031 |       PROTECT( res = asSEXP( pf->operator()() ) );
      |                              ~~~~~~~~~~~~~~^~
sdmTMB.cpp:754:80: warning: unused variable 's1_large' [-Wunused-variable]
  754 |   Type s1, s2, s3, lognzprob, tmp_ll, ll_1, ll_2, p_mix, mix_ratio, tweedie_p, s1_large, s2_large;
      |                                                                                ^~~~~~~~
sdmTMB.cpp: In member function 'Type objective_function<Type>::operator()() [with Type = double]':
sdmTMB.cpp:948:27: warning: 'tmp_ll' may be used uninitialized [-Wmaybe-uninitialized]
  948 |         if (notNA) tmp_ll *= weights_i(i);
      |                    ~~~~~~~^~~~~~~~~~~~~~~
sdmTMB.cpp:754:31: note: 'tmp_ll' was declared here
  754 |   Type s1, s2, s3, lognzprob, tmp_ll, ll_1, ll_2, p_mix, mix_ratio, tweedie_p, s1_large, s2_large;
      |                               ^~~~~~
In file included from /data/gannet/ripley/R/test-dev/TMB/include/TMB.hpp:212:
/data/gannet/ripley/R/test-dev/TMB/include/tmb_core.hpp:343:39: warning: 'tweedie_p' may be used uninitialized [-Wmaybe-uninitialized]
  343 | TMB_OBJECTIVE_PTR -> reportvector.push(name, #name);
      |                                       ^
sdmTMB.cpp:1382:36: note: in expansion of macro 'ADREPORT'
 1382 |   if (family(0) == tweedie_family) ADREPORT(tweedie_p); // #302
      |                                    ^~~~~~~~
sdmTMB.cpp:754:69: note: 'tweedie_p' was declared here
  754 |   Type s1, s2, s3, lognzprob, tmp_ll, ll_1, ll_2, p_mix, mix_ratio, tweedie_p, s1_large, s2_large;
      |                                                                     ^~~~~~~~~
g++-14 -std=gnu++17 -shared -L/usr/local/gcc14/lib64 -L/usr/local/lib64 -o sdmTMB.so sdmTMB.o
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/sdmTMB/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/sdmTMB/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/sdmTMB/src'
installing to /data/gannet/ripley/R/packages/tests-devel/sdmTMB.Rcheck/00LOCK-sdmTMB/00new/sdmTMB/libs
** R
** data
*** moving datasets to lazyload DB
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
*** copying figures
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (sdmTMB)