* installing *source* package ‘stelfi’ ...
** this is package ‘stelfi’ version ‘1.0.2’
** package ‘stelfi’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘clang version 21.1.4’
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/stelfi/src'
/usr/local/clang21/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -DTMBAD_FRAMEWORK -I'/data/gannet/ripley/R/test-clang/TMB/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -isystem /usr/local/clang21/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c stelfi.cpp -o stelfi.o
In file included from stelfi.cpp:2:
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 stelfi.cpp:2:
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
| ^
In file included from stelfi.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:137:
/data/gannet/ripley/R/test-clang/TMB/include/TMBad/TMBad.cpp:3060:52: warning: all paths through this function will call itself [-Winfinite-recursion]
3060 | ad_adapt F(const ad_adapt &x1, const ad_adapt &x2) {
| ^
In file included from stelfi.cpp:14:
./spatial_hawkes.h:276:12: warning: unused variable 'gamma_ratio' [-Wunused-variable]
276 | Type gamma_ratio = (sum(lambdaXsasep) + D) / gammac;
| ^~~~~~~~~~~
stelfi.cpp:44:12: note: in instantiation of function template specialization 'spatial_hawkes<TMBad::global::ad_aug>' requested here
44 | return spatial_hawkes(this);
| ^
/data/gannet/ripley/R/test-clang/TMB/include/tmb_core.hpp:1281:6: note: in instantiation of member function 'objective_function<TMBad::global::ad_aug>::operator()' requested here
1281 | F(); // Run through user template (modifies reportvector)
| ^
In file included from stelfi.cpp:14:
./spatial_hawkes.h:291:16: warning: unused variable 'before' [-Wunused-variable]
291 | Type before = gammac;
| ^~~~~~
./spatial_hawkes.h:321:22: warning: unused variable 'before' [-Wunused-variable]
321 | Type before = gammac;
| ^~~~~~
./spatial_hawkes.h:276:12: warning: unused variable 'gamma_ratio' [-Wunused-variable]
276 | Type gamma_ratio = (sum(lambdaXsasep) + D) / gammac;
| ^~~~~~~~~~~
stelfi.cpp:44:12: note: in instantiation of function template specialization 'spatial_hawkes<double>' requested here
44 | return spatial_hawkes(this);
| ^
/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:388:31: note: expanded from macro 'PROTECT'
388 | #define PROTECT(s) Rf_protect(s)
| ^
In file included from stelfi.cpp:14:
./spatial_hawkes.h:291:16: warning: unused variable 'before' [-Wunused-variable]
291 | Type before = gammac;
| ^~~~~~
./spatial_hawkes.h:321:22: warning: unused variable 'before' [-Wunused-variable]
321 | Type before = gammac;
| ^~~~~~
10 warnings generated.
/usr/local/clang21/bin/clang++ -std=gnu++17 -shared -L/usr/local/clang/lib64 -L/usr/local/clang21/lib -L/usr/local/clang21/lib/x86_64-unknown-linux-gnu -L/usr/local/lib64 -L/usr/local/clang21/lib/clang/21/lib/x86_64-unknown-linux-gnu -o stelfi.so stelfi.o -fopenmp
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/stelfi/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/stelfi/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/stelfi/src'
installing to /data/gannet/ripley/R/packages/tests-clang/stelfi.Rcheck/00LOCK-stelfi/00new/stelfi/libs
** R
** data
*** moving datasets to lazyload DB
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** 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 (stelfi)