* installing *source* package ‘COAP’ ...
** package ‘COAP’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++-14 (GCC) 14.0.1 20240430 (prerelease)’
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/COAP/src'
g++-14 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include   -fopenmp  -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 RcppExports.cpp -o RcppExports.o
g++-14 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include   -fopenmp  -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 coap_R1.cpp -o coap_R1.o
coap_R1.cpp: In function 'double calELBO(const arma::mat&, const arma::vec&, const arma::mat&, const arma::mat&, const arma::mat&, const arma::vec&, const arma::mat&, const arma::mat&, const arma::mat&)':
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: In function 'arma::mat update_bbeta_sep(const arma::mat&, const arma::mat&, const arma::vec&, const int&, const bool&)':
coap_R1.cpp:74:7: warning: unused variable 'n' [-Wunused-variable]
   74 |   int n = Y.n_rows, d = Z.n_cols;
      |       ^
coap_R1.cpp: In function 'arma::mat update_bbeta_joint(const arma::mat&, const arma::mat&, const arma::mat&, const arma::mat&, const int&, const bool&)':
coap_R1.cpp:104:7: warning: unused variable 'n' [-Wunused-variable]
  104 |   int n = Y.n_rows, d = Z.n_cols;
      |       ^
coap_R1.cpp: In function 'void VB_Estep(const arma::mat&, const arma::vec&, const arma::mat&, arma::mat&, arma::mat&, const arma::vec&, const arma::mat&, const arma::mat&, arma::mat&)':
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: In function 'Rcpp::List Reduced_Rank_COAP(const arma::mat&, const arma::vec&, const arma::mat&, const int&, const arma::mat&, const arma::mat&, const arma::vec&, const arma::mat&, const arma::mat&, const arma::mat&, const double&, const int&, const bool&, const bool&, const bool&)':
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;
      |                              ^
g++-14 -std=gnu++17 -shared -L/usr/local/gcc14/lib64 -L/usr/local/lib64 -o COAP.so RcppExports.o coap_R1.o -fopenmp -llapack -L/data/gannet/ripley/R/R-devel/lib -lRblas -lgfortran -lm -lquadmath
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/COAP/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/COAP/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/COAP/src'
installing to /data/gannet/ripley/R/packages/tests-devel/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)