* installing *source* package 'MMGFM' ...
** package 'MMGFM' 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/2024_12_25_01_50_00_20757/RtmpG8wMvY/R.INSTALL251604aa6472/MMGFM/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 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++ -std=gnu++17 -shared -s -static-libgcc -o MMGFM.dll tmp.def RcppExports.o mmcgfm.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/2024_12_25_01_50_00_20757/RtmpG8wMvY/R.INSTALL251604aa6472/MMGFM/src'
make[1]: Entering directory '/d/temp/2024_12_25_01_50_00_20757/RtmpG8wMvY/R.INSTALL251604aa6472/MMGFM/src'
make[1]: Leaving directory '/d/temp/2024_12_25_01_50_00_20757/RtmpG8wMvY/R.INSTALL251604aa6472/MMGFM/src'
installing to d:/Rcompile/CRANpkg/lib/4.3/00LOCK-MMGFM/00new/MMGFM/libs/x64
** 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
** 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 'MMGFM' as MMGFM_1.1.0.zip
* DONE (MMGFM)