* installing to library ‘/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages’
* installing *source* package ‘GFM’ ...
** package ‘GFM’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++-14 (Debian 14.2.0-3) 14.2.0’
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpvTABB1/R.INSTALLc340f70c9c6d0/GFM/src'
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-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++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-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++-14 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -Wl,-O1 -o GFM.so RcppExports.o bgfm.o -llapack -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -lRblas -lgfortran -lm -lquadmath -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpvTABB1/R.INSTALLc340f70c9c6d0/GFM/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpvTABB1/R.INSTALLc340f70c9c6d0/GFM/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpvTABB1/R.INSTALLc340f70c9c6d0/GFM/src'
installing to /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/00LOCK-GFM/00new/GFM/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
  converting help for package ‘GFM’
    finding HTML links ... done
    Factorm                                 html  
    OverGFMchooseFacNumber                  html  
    chooseFacNumber                         html  
    gendata                                 html  
    gfm                                     html  
    measurefun                              html  
    overdispersedGFM                        html  
** 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)