* installing *source* package 'COAP' ...
** package 'COAP' successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: 'g++.exe (GCC) 12.3.0'
make[1]: Entering directory '/d/temp/Rtmpcd1NVJ/R.INSTALL102e84be03492/COAP/src'
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.3/RcppArmadillo/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp    -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c RcppExports.cpp -o RcppExports.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.3/RcppArmadillo/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp    -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c coap_R1.cpp -o coap_R1.o
coap_R1.cpp:13: warning: "INT_MIN" redefined
   13 | #define INT_MIN (-INT_MAX - 1)
      | 
In file included from d:\rtools43\x86_64-w64-mingw32.static.posix\include\stdlib.h:11,
                 from d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\c++\bits\std_abs.h:38,
                 from d:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\c++\cmath:47,
                 from D:/RCompile/CRANpkg/lib/4.3/Rcpp/include/Rcpp/platform/compiler.h:100,
                 from D:/RCompile/CRANpkg/lib/4.3/Rcpp/include/Rcpp/r/headers.h:62,
                 from D:/RCompile/CRANpkg/lib/4.3/Rcpp/include/RcppCommon.h:30,
                 from D:/RCompile/CRANpkg/lib/4.3/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25,
                 from D:/RCompile/CRANpkg/lib/4.3/RcppArmadillo/include/RcppArmadillo.h:29,
                 from coap_R1.cpp:8:
d:\rtools43\x86_64-w64-mingw32.static.posix\include\limits.h:39: note: this is the location of the previous definition
   39 | #define INT_MIN (-2147483647 - 1)
      | 
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++ -std=gnu++17 -shared -s -static-libgcc -o COAP.dll tmp.def RcppExports.o coap_R1.o -fopenmp -LD:/RCompile/recent/R-4.3.3/bin/x64 -lRlapack -LD:/RCompile/recent/R-4.3.3/bin/x64 -lRblas -lgfortran -lm -lquadmath -Ld:/rtools43/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools43/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R-4.3.3/bin/x64 -lR
make[1]: Leaving directory '/d/temp/Rtmpcd1NVJ/R.INSTALL102e84be03492/COAP/src'
make[1]: Entering directory '/d/temp/Rtmpcd1NVJ/R.INSTALL102e84be03492/COAP/src'
make[1]: Leaving directory '/d/temp/Rtmpcd1NVJ/R.INSTALL102e84be03492/COAP/src'
installing to d:/Rcompile/CRANpkg/lib/4.3/00LOCK-COAP/00new/COAP/libs/x64
** 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
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* MD5 sums
packaged installation of 'COAP' as COAP_1.2.zip
* DONE (COAP)