* installing *source* package ‘fb4package’ ...
** this is package ‘fb4package’ version ‘2.0.0’
** package ‘fb4package’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘gcc (GCC) 15.2.1 20260123 (Red Hat 15.2.1-7)’
using C++ compiler: ‘g++ (GCC) 15.2.1 20260123 (Red Hat 15.2.1-7)’
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/fb4package/src'
g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I./includes -I'/data/gannet/ripley/R/test-dev/TMB/include' -I'/data/gannet/ripley/R/test-dev/RcppEigen/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 fb4_main.cpp -o fb4_main.o
gcc -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I./includes -I'/data/gannet/ripley/R/test-dev/TMB/include' -I'/data/gannet/ripley/R/test-dev/RcppEigen/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -Wstrict-prototypes -c init.c -o init.o
In file included from /data/gannet/ripley/R/test-dev/TMB/include/TMB.hpp:235,
from fb4_main.cpp:1:
fb4_main.cpp: In instantiation of ‘Type objective_function<Type>::operator()() [with Type = double]’:
/data/gannet/ripley/R/test-dev/TMB/include/tmb_core.hpp:2035:7: required from here
2035 | PROTECT( res = asSEXP( pf->operator()() ) );
| ~~~~~~~~~~~~~~^~
fb4_main.cpp:102:17: warning: unused variable ‘water_fraction’ [-Wunused-variable]
102 | DATA_SCALAR(water_fraction);
| ^~~~~~~~~~~~~~
/data/gannet/ripley/R/test-dev/TMB/include/tmb_core.hpp:255:6: note: in definition of macro ‘DATA_SCALAR’
255 | Type name(asVector<Type>(getListElement(TMB_OBJECTIVE_PTR -> data, \
| ^~~~
fb4_main.cpp:103:17: warning: unused variable ‘fat_energy’ [-Wunused-variable]
103 | DATA_SCALAR(fat_energy);
| ^~~~~~~~~~
/data/gannet/ripley/R/test-dev/TMB/include/tmb_core.hpp:255:6: note: in definition of macro ‘DATA_SCALAR’
255 | Type name(asVector<Type>(getListElement(TMB_OBJECTIVE_PTR -> data, \
| ^~~~
fb4_main.cpp:104:17: warning: unused variable ‘protein_energy’ [-Wunused-variable]
104 | DATA_SCALAR(protein_energy);
| ^~~~~~~~~~~~~~
/data/gannet/ripley/R/test-dev/TMB/include/tmb_core.hpp:255:6: note: in definition of macro ‘DATA_SCALAR’
255 | Type name(asVector<Type>(getListElement(TMB_OBJECTIVE_PTR -> data, \
| ^~~~
fb4_main.cpp:105:17: warning: unused variable ‘max_fat_fraction’ [-Wunused-variable]
105 | DATA_SCALAR(max_fat_fraction);
| ^~~~~~~~~~~~~~~~
/data/gannet/ripley/R/test-dev/TMB/include/tmb_core.hpp:255:6: note: in definition of macro ‘DATA_SCALAR’
255 | Type name(asVector<Type>(getListElement(TMB_OBJECTIVE_PTR -> data, \
| ^~~~
fb4_main.cpp:439:17: warning: unused variable ‘water_fraction’ [-Wunused-variable]
439 | DATA_SCALAR(water_fraction);
| ^~~~~~~~~~~~~~
/data/gannet/ripley/R/test-dev/TMB/include/tmb_core.hpp:255:6: note: in definition of macro ‘DATA_SCALAR’
255 | Type name(asVector<Type>(getListElement(TMB_OBJECTIVE_PTR -> data, \
| ^~~~
fb4_main.cpp:440:17: warning: unused variable ‘fat_energy’ [-Wunused-variable]
440 | DATA_SCALAR(fat_energy);
| ^~~~~~~~~~
/data/gannet/ripley/R/test-dev/TMB/include/tmb_core.hpp:255:6: note: in definition of macro ‘DATA_SCALAR’
255 | Type name(asVector<Type>(getListElement(TMB_OBJECTIVE_PTR -> data, \
| ^~~~
fb4_main.cpp:441:17: warning: unused variable ‘protein_energy’ [-Wunused-variable]
441 | DATA_SCALAR(protein_energy);
| ^~~~~~~~~~~~~~
/data/gannet/ripley/R/test-dev/TMB/include/tmb_core.hpp:255:6: note: in definition of macro ‘DATA_SCALAR’
255 | Type name(asVector<Type>(getListElement(TMB_OBJECTIVE_PTR -> data, \
| ^~~~
fb4_main.cpp:442:17: warning: unused variable ‘max_fat_fraction’ [-Wunused-variable]
442 | DATA_SCALAR(max_fat_fraction);
| ^~~~~~~~~~~~~~~~
/data/gannet/ripley/R/test-dev/TMB/include/tmb_core.hpp:255:6: note: in definition of macro ‘DATA_SCALAR’
255 | Type name(asVector<Type>(getListElement(TMB_OBJECTIVE_PTR -> data, \
| ^~~~
g++ -std=gnu++20 -shared -L/usr/local/lib64 -o fb4package.so fb4_main.o init.o -llapack -L/data/gannet/ripley/R/R-devel/lib -lRblas -lgfortran -lm -lquadmath
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/fb4package/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/fb4package/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/fb4package/src'
installing to /data/gannet/ripley/R/packages/tests-devel/fb4package.Rcheck/00LOCK-fb4package/00new/fb4package/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 (fb4package)