* installing to library ‘/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages’
* installing *source* package ‘MMGFM’ ...
** package ‘MMGFM’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++-14 (Debian 14.2.0-8) 14.2.0’
make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmp9ayWDC/R.INSTALL3d86ce5bff227b/MMGFM/src'
g++-14 -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  -fopenmp  -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-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  -fopenmp  -fpic  -g -O2 -Wall -pedantic -mtune=native   -c mmcgfm.cpp -o mmcgfm.o
mmcgfm.cpp: In function ‘void update_Af_fast(const arma::field<arma::Mat<double> >&, const arma::field<arma::Col<double> >&, const arma::field<arma::Mat<double> >&, const arma::field<arma::Mat<double> >&, const arma::field<arma::Mat<double> >&, const arma::cube&, const arma::field<arma::Mat<double> >&, const arma::field<arma::Col<double> >&, const arma::field<arma::Mat<double> >&, arma::field<arma::Mat<double> >&)’:
mmcgfm.cpp:64:10: warning: unused variable ‘j’ [-Wunused-variable]
   64 |   int s, j, ns, id, im, pm, q = Mf(0).n_cols, d = Xf.n_cols, c=Xf.n_rows, S = Xf.n_slices;
      |          ^
mmcgfm.cpp: In function ‘void update_Bf(const arma::field<arma::Mat<double> >&, const arma::field<arma::Col<double> >&, const arma::field<arma::Mat<double> >&, const arma::field<arma::Mat<double> >&, const arma::field<arma::Mat<double> >&, const arma::field<arma::Mat<double> >&, const arma::field<arma::Mat<double> >&, const arma::field<arma::Col<double> >&, const arma::field<arma::Mat<double> >&, arma::field<arma::Mat<double> >&)’:
mmcgfm.cpp:122:26: warning: variable ‘qs’ set but not used [-Wunused-but-set-variable]
  122 |   int s, ns, id, im, pm, qs, d = Xf.n_cols, c=Xf.n_rows, S = Xf.n_slices;
      |                          ^~
mmcgfm.cpp: In function ‘void update_invLambdaf(const arma::field<arma::Mat<double> >&, const arma::field<arma::Col<double> >&, const arma::field<arma::Mat<double> >&, const arma::field<arma::Mat<double> >&, const arma::field<arma::Mat<double> >&, const arma::field<arma::Mat<double> >&, arma::field<arma::Mat<double> >, const arma::field<arma::Mat<double> >&, const arma::cube&, const arma::field<arma::Mat<double> >&, const arma::field<arma::Mat<double> >&, const arma::field<arma::Col<double> >&, const arma::cube&, arma::field<arma::Col<double> >&)’:
mmcgfm.cpp:146:22: warning: variable ‘ns’ set but not used [-Wunused-but-set-variable]
  146 |   int s, id, im, pm, ns,  d = Xf.n_cols, c=Xf.n_rows, S = Xf.n_slices;
      |                      ^~
mmcgfm.cpp: In function ‘void update_sigma2(const arma::field<arma::Col<double> >&, const arma::cube&, const arma::field<arma::Mat<double> >&, arma::cube&)’:
mmcgfm.cpp:169:18: warning: unused variable ‘pm’ [-Wunused-variable]
  169 |   int s, id, im, pm, ns,  d = wf.n_cols, c=wf.n_rows, S = wf.n_slices;
      |                  ^~
mmcgfm.cpp: In function ‘double ELBOfun(const arma::field<arma::Mat<double> >&, const arma::vec&, const arma::field<arma::Col<double> >&, const arma::field<arma::Mat<double> >&, const arma::field<arma::Mat<double> >&, const arma::field<arma::Mat<double> >&, const arma::field<arma::Mat<double> >&, const arma::field<arma::Col<double> >&, const arma::cube&, const arma::field<arma::Mat<double> >&, const arma::field<arma::Mat<double> >&, const arma::field<arma::Mat<double> >&, const arma::cube&, const arma::field<arma::Mat<double> >&, const arma::field<arma::Mat<double> >&, const arma::field<arma::Col<double> >&, const arma::cube&)’:
mmcgfm.cpp:240:26: warning: unused variable ‘qs’ [-Wunused-variable]
  240 |   int s, ns, id, im, pm, qs, d = Xf.n_cols, c=Xf.n_rows, S = Xf.n_slices;
      |                          ^~
mmcgfm.cpp: In function ‘void VB_Estep(const arma::field<arma::Mat<double> >&, const arma::vec&, const arma::field<arma::Col<double> >&, const arma::field<arma::Mat<double> >&, const arma::field<arma::Mat<double> >&, const arma::field<arma::Mat<double> >&, const arma::field<arma::Mat<double> >&, const arma::field<arma::Col<double> >&, const arma::cube&, arma::field<arma::Mat<double> >&, arma::field<arma::Mat<double> >&, arma::field<arma::Mat<double> >&, arma::cube&, arma::field<arma::Mat<double> >&, arma::field<arma::Mat<double> >&, arma::field<arma::Col<double> >&, arma::cube&)’:
mmcgfm.cpp:388:12: warning: unused variable ‘elbo11’ [-Wunused-variable]
  388 |     double elbo11 =  ELBOfun( Xf, typeID, tauf, Zf, betaf, Af, Bf, invLambdaf, sigma2, Muf_y, Sf_y, Mf, Sigma, Of, Phi, wf, zeta);
      |            ^~~~~~
g++-14 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-release-gcc/Work/build/lib -Wl,-O1 -o MMGFM.so RcppExports.o mmcgfm.o -fopenmp -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 '/home/hornik/tmp/scratch/Rtmp9ayWDC/R.INSTALL3d86ce5bff227b/MMGFM/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmp9ayWDC/R.INSTALL3d86ce5bff227b/MMGFM/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/Rtmp9ayWDC/R.INSTALL3d86ce5bff227b/MMGFM/src'
installing to /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/00LOCK-MMGFM/00new/MMGFM/libs
** R
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** 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 (MMGFM)