* installing *source* package ‘COAP’ ...
** package ‘COAP’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘clang version 19.1.5’
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/COAP/src'
/usr/local/clang19/bin/clang++ -stdlib=libc++ -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' -isystem /usr/local/clang19/include -I/usr/local/clang/include   -fopenmp  -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3  -DR_NO_REMAP -c RcppExports.cpp -o RcppExports.o
/usr/local/clang19/bin/clang++ -stdlib=libc++ -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' -isystem /usr/local/clang19/include -I/usr/local/clang/include   -fopenmp  -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3  -DR_NO_REMAP -c coap_R1.cpp -o coap_R1.o
coap_R1.cpp:13:9: warning: 'INT_MIN' macro redefined [-Wmacro-redefined]
   13 | #define INT_MIN (-INT_MAX - 1)
      |         ^
/usr/local/clang19/lib/clang/19/include/limits.h:55:9: note: previous definition is here
   55 | #define INT_MIN   (-__INT_MAX__  -1)
      |         ^
coap_R1.cpp:52:7: warning: unused variable 'i' [-Wunused-variable]
   52 |   int i, n = X_count.n_rows, p = X_count.n_cols, q= B.n_cols;
      |       ^
coap_R1.cpp:53:34: warning: unused variable 'logS' [-Wunused-variable]
   53 |   double pois_term1, pois_term2, logS, entropy=0.0, ELBO=0.0;
      |                                  ^~~~
coap_R1.cpp:74:7: warning: unused variable 'n' [-Wunused-variable]
   74 |   int n = Y.n_rows, d = Z.n_cols;
      |       ^
coap_R1.cpp:104:7: warning: unused variable 'n' [-Wunused-variable]
  104 |   int n = Y.n_rows, d = Z.n_cols;
      |       ^
coap_R1.cpp:140:7: warning: unused variable 'i' [-Wunused-variable]
  140 |   int i, j, n = X_count.n_rows, p = X_count.n_cols, q= B.n_cols;
      |       ^
coap_R1.cpp:140:10: warning: unused variable 'j' [-Wunused-variable]
  140 |   int i, j, n = X_count.n_rows, p = X_count.n_cols, q= B.n_cols;
      |          ^
coap_R1.cpp:140:53: warning: unused variable 'q' [-Wunused-variable]
  140 |   int i, j, n = X_count.n_rows, p = X_count.n_cols, q= B.n_cols;
      |                                                     ^
coap_R1.cpp:190:7: warning: unused variable 'i' [-Wunused-variable]
  190 |   int i, n = X_count.n_rows, p = X_count.n_cols, q= B_int.n_cols;
      |       ^
coap_R1.cpp:190:30: warning: unused variable 'p' [-Wunused-variable]
  190 |   int i, n = X_count.n_rows, p = X_count.n_cols, q= B_int.n_cols;
      |                              ^
10 warnings generated.
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -shared -L/usr/local/clang/lib64 -L/usr/local/clang19/lib -L/usr/local/clang19/lib/x86_64-unknown-linux-gnu -L/usr/local/gcc14/lib64 -L/usr/local/lib64 -o COAP.so RcppExports.o coap_R1.o -fopenmp -L/data/gannet/ripley/R/R-clang/lib -lRlapack -L/data/gannet/ripley/R/R-clang/lib -lRblas -lFortranRuntime -lFortranDecimal -lm
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/COAP/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/COAP/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/COAP/src'
installing to /data/gannet/ripley/R/packages/tests-clang/COAP.Rcheck/00LOCK-COAP/00new/COAP/libs
** R
** 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 (COAP)