* installing *source* package 'MMGFM' ... ** using staged installation ** libs using C++ compiler: 'g++.exe (GCC) 13.2.0' g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I"d:/rtools44/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/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I"d:/rtools44/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 >&, const arma::field >&, const arma::field >&, const arma::field >&, const arma::field >&, const arma::cube&, const arma::field >&, const arma::field >&, const arma::field >&, arma::field >&)': 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 >&, const arma::field >&, const arma::field >&, const arma::field >&, const arma::field >&, const arma::field >&, const arma::field >&, const arma::field >&, const arma::field >&, arma::field >&)': 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 >&, const arma::field >&, const arma::field >&, const arma::field >&, const arma::field >&, const arma::field >&, arma::field >, const arma::field >&, const arma::cube&, const arma::field >&, const arma::field >&, const arma::field >&, const arma::cube&, arma::field >&)': 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 >&, const arma::cube&, const arma::field >&, 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 >&, const arma::vec&, const arma::field >&, const arma::field >&, const arma::field >&, const arma::field >&, const arma::field >&, const arma::field >&, const arma::cube&, const arma::field >&, const arma::field >&, const arma::field >&, const arma::cube&, const arma::field >&, const arma::field >&, const arma::field >&, 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 >&, const arma::vec&, const arma::field >&, const arma::field >&, const arma::field >&, const arma::field >&, const arma::field >&, const arma::field >&, const arma::cube&, arma::field >&, arma::field >&, arma::field >&, arma::cube&, arma::field >&, arma::field >&, arma::field >&, 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/bin/x64 -lRlapack -LD:/RCompile/recent/R/bin/x64 -lRblas -lgfortran -lm -lquadmath -Ld:/rtools44/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools44/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R/bin/x64 -lR installing to d:/RCompile/CRANincoming/R-devel/lib/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 * DONE (MMGFM)