* installing *source* package ‘PLNmodels’ ...
** package ‘PLNmodels’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘clang version 18.1.6’
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/PLNmodels/src'
/usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/nloptr/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c RcppExports.cpp -o RcppExports.o
/usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/nloptr/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c lambertW.cpp -o lambertW.o
/usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/nloptr/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c nlopt_wrapper.cpp -o nlopt_wrapper.o
nlopt_wrapper.cpp:148:24: warning: lambda capture 'check' is not used [-Wunused-lambda-capture]
  148 |     auto f_and_grad = [check](const double * x, double * grad) -> double {
      |                        ^~~~~
1 warning generated.
/usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/nloptr/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c optim_diag_cov.cpp -o optim_diag_cov.o
/usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/nloptr/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c optim_fixed_cov.cpp -o optim_fixed_cov.o
/usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/nloptr/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c optim_full_cov.cpp -o optim_full_cov.o
/usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/nloptr/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c optim_genet_cov.cpp -o optim_genet_cov.o
optim_full_cov.cpp:68:60: warning: lambda capture 'w_bar' is not used [-Wunused-lambda-capture]
   68 |     auto objective_and_grad = [&metadata, &Y, &X, &O, &w, &w_bar](const double * params, double * grad) -> double {
      |                                                         ~~~^~~~~
/usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/nloptr/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c optim_rank_cov.cpp -o optim_rank_cov.o
1 warning generated.
/usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/nloptr/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c optim_spherical.cpp -o optim_spherical.o
/usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/nloptr/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c optim_zi-pln.cpp -o optim_zi-pln.o
/usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-clang/nloptr/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c packing.cpp -o packing.o
optim_zi-pln.cpp:103:49: warning: lambda capture 'R' is not used [-Wunused-lambda-capture]
  103 |     auto objective_and_grad = [&metadata, &X0, &R, &Xt_R](const double * params, double * grad) -> double {
      |                                              ~~~^
optim_zi-pln.cpp:208:26: warning: lambda capture 'X' is not used [-Wunused-lambda-capture]
  208 |         [&metadata, &Y, &X, &O_S2, &R, &X_B, &Omega](const double * params, double * grad) -> double {
      |                       ~~~^
2 warnings generated.
/usr/local/clang18/bin/clang++ -std=gnu++17 -shared -L/usr/local/clang/lib64 -L/usr/local/clang18/lib -L/usr/local/clang18/lib/x86_64-unknown-linux-gnu -L/usr/local/gcc13/lib64 -L/usr/local/lib64 -o PLNmodels.so RcppExports.o lambertW.o nlopt_wrapper.o optim_diag_cov.o optim_fixed_cov.o optim_full_cov.o optim_genet_cov.o optim_rank_cov.o optim_spherical.o optim_zi-pln.o packing.o -L/data/gannet/ripley/R/R-clang/lib -lRlapack -L/data/gannet/ripley/R/R-clang/lib -lRblas -lFortran_main -lFortranRuntime -lFortranDecimal -lm
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/PLNmodels/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/PLNmodels/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/PLNmodels/src'
installing to /data/gannet/ripley/R/packages/tests-clang/PLNmodels.Rcheck/00LOCK-PLNmodels/00new/PLNmodels/libs
** R
** data
*** moving datasets to lazyload DB
** inst
** byte-compile and prepare package for lazy loading
Note: wrong number of arguments to 'sqrt' 
Note: wrong number of arguments to 'sqrt' 
** 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 (PLNmodels)