* installing to library ‘/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages’
* installing *source* package ‘GFM’ ...
** package ‘GFM’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++-13 (Debian 13.2.0-23) 13.2.0’
make[1]: Entering directory '/tmp/RtmpR9k9qM/R.INSTALL1bd5945345b001/GFM/src'
g++-13 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  "-DARMA_64BIT_WORD=1" -fpic  -g -O2 -Wall -pedantic -mtune=native   -c RcppExports.cpp -o RcppExports.o
g++-13 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  "-DARMA_64BIT_WORD=1" -fpic  -g -O2 -Wall -pedantic -mtune=native   -c bgfm.cpp -o bgfm.o
bgfm.cpp: In function ‘double calELBO(const arma::field<arma::Mat<double> >&, const arma::vec&, const arma::sp_mat&, const arma::mat&, const arma::mat&, const arma::vec&, const arma::mat&, const arma::rowvec&, const arma::mat&)’:
bgfm.cpp:47:11: warning: unused variable ‘logS’ [-Wunused-variable]
   47 |   double  logS, entropy=0.0, ELBO=0.0;
      |           ^~~~
bgfm.cpp: In function ‘void VB_Estep(const arma::field<arma::Mat<double> >&, const arma::sp_mat&, const arma::vec&, arma::mat&, arma::mat&, const arma::vec&, const arma::mat&, const arma::rowvec&, arma::mat&)’:
bgfm.cpp:85:42: warning: unused variable ‘q’ [-Wunused-variable]
   85 |   int i,  d = Xf.n_elem, n=Xf(0).n_rows, q= B.n_cols, p;
      |                                          ^
g++-13 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-release-gcc/Work/build/lib -Wl,-O1 -o GFM.so RcppExports.o bgfm.o -llapack -L/home/hornik/tmp/R.check/r-release-gcc/Work/build/lib -lRblas -lgfortran -lm -lquadmath -L/home/hornik/tmp/R.check/r-release-gcc/Work/build/lib -lR
make[1]: Leaving directory '/tmp/RtmpR9k9qM/R.INSTALL1bd5945345b001/GFM/src'
make[1]: Entering directory '/tmp/RtmpR9k9qM/R.INSTALL1bd5945345b001/GFM/src'
make[1]: Leaving directory '/tmp/RtmpR9k9qM/R.INSTALL1bd5945345b001/GFM/src'
installing to /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/00LOCK-GFM/00new/GFM/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 (GFM)