* 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: ‘clang version 22.1.5 (https://github.com/llvm/llvm-project 5ea218a153f4d2f815b8244eab3e4b4ba5e00e6c)’
using C++ compiler: ‘clang version 22.1.5 (https://github.com/llvm/llvm-project 5ea218a153f4d2f815b8244eab3e4b4ba5e00e6c)’
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/fb4package/src'
clang++-22 -stdlib=libc++ -std=gnu++20 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I./includes -I'/data/gannet/ripley/R/test-clang/TMB/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c fb4_main.cpp -o fb4_main.o
clang-22 -std=gnu23 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I./includes -I'/data/gannet/ripley/R/test-clang/TMB/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3 -c init.c -o init.o
In file included from fb4_main.cpp:1:
In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:96:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:26:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseCore:61:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable]
273 | Index count = 0;
| ^
In file included from fb4_main.cpp:1:
In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:96:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:29:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseLU:35:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable]
78 | Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree
| ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable]
79 | Index nsuper_et = 0; // Number of relaxed snodes in the original etree
| ^
fb4_main.cpp:102:17: warning: unused variable 'water_fraction' [-Wunused-variable]
102 | DATA_SCALAR(water_fraction);
| ^~~~~~~~~~~~~~
/data/gannet/ripley/R/test-clang/TMB/include/tmb_core.hpp:2035:34: note: in instantiation of member function 'objective_function<double>::operator()' requested here
2035 | PROTECT( res = asSEXP( pf->operator()() ) );
| ^
/data/gannet/ripley/R/R-clang/include/Rinternals.h:357:31: note: expanded from macro 'PROTECT'
357 | #define PROTECT(s) Rf_protect(s)
| ^
fb4_main.cpp:103:17: warning: unused variable 'fat_energy' [-Wunused-variable]
103 | DATA_SCALAR(fat_energy);
| ^~~~~~~~~~
fb4_main.cpp:104:17: warning: unused variable 'protein_energy' [-Wunused-variable]
104 | DATA_SCALAR(protein_energy);
| ^~~~~~~~~~~~~~
fb4_main.cpp:105:17: warning: unused variable 'max_fat_fraction' [-Wunused-variable]
105 | DATA_SCALAR(max_fat_fraction);
| ^~~~~~~~~~~~~~~~
fb4_main.cpp:439:17: warning: unused variable 'water_fraction' [-Wunused-variable]
439 | DATA_SCALAR(water_fraction);
| ^~~~~~~~~~~~~~
fb4_main.cpp:440:17: warning: unused variable 'fat_energy' [-Wunused-variable]
440 | DATA_SCALAR(fat_energy);
| ^~~~~~~~~~
fb4_main.cpp:441:17: warning: unused variable 'protein_energy' [-Wunused-variable]
441 | DATA_SCALAR(protein_energy);
| ^~~~~~~~~~~~~~
fb4_main.cpp:442:17: warning: unused variable 'max_fat_fraction' [-Wunused-variable]
442 | DATA_SCALAR(max_fat_fraction);
| ^~~~~~~~~~~~~~~~
11 warnings generated.
clang++-22 -stdlib=libc++ -std=gnu++20 -shared -L/usr/local/clang/lib64 -L/usr/local/clang22/lib -L/usr/local/clang22/lib/x86_64-unknown-linux-gnu -L/usr/local/lib64 -o fb4package.so fb4_main.o init.o -L/data/gannet/ripley/R/R-clang/lib -lRlapack -L/data/gannet/ripley/R/R-clang/lib -lRblas -lflang_rt.runtime -lm
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/fb4package/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/fb4package/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/fb4package/src'
installing to /data/gannet/ripley/R/packages/tests-clang/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)