* installing *source* package ‘MMGFM’ ...
** package ‘MMGFM’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘Apple clang version 14.0.0 (clang-1400.0.29.202)’
using SDK: ‘MacOSX11.3.sdk’
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/arm64/include     -fPIC  -falign-functions=64 -Wall -g -O2  -c RcppExports.cpp -o RcppExports.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/arm64/include     -fPIC  -falign-functions=64 -Wall -g -O2  -c mmcgfm.cpp -o mmcgfm.o
mmcgfm.cpp:64:10: warning: unused variable 'j' [-Wunused-variable]
  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:122:26: warning: variable 'qs' set but not used [-Wunused-but-set-variable]
  int s, ns, id, im, pm, qs, d = Xf.n_cols, c=Xf.n_rows, S = Xf.n_slices;
                         ^
mmcgfm.cpp:146:22: warning: variable 'ns' set but not used [-Wunused-but-set-variable]
  int s, id, im, pm, ns,  d = Xf.n_cols, c=Xf.n_rows, S = Xf.n_slices;
                     ^
mmcgfm.cpp:169:18: warning: unused variable 'pm' [-Wunused-variable]
  int s, id, im, pm, ns,  d = wf.n_cols, c=wf.n_rows, S = wf.n_slices;
                 ^
mmcgfm.cpp:240:26: warning: unused variable 'qs' [-Wunused-variable]
  int s, ns, id, im, pm, qs, d = Xf.n_cols, c=Xf.n_rows, S = Xf.n_slices;
                         ^
mmcgfm.cpp:388:12: warning: unused variable 'elbo11' [-Wunused-variable]
    double elbo11 =  ELBOfun( Xf, typeID, tauf, Zf, betaf, Af, Bf, invLambdaf, sigma2, Muf_y, Sf_y, Mf, Sigma, Of, Phi, wf, zeta);
           ^
6 warnings generated.
clang++ -arch arm64 -std=gnu++17 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/arm64/lib -o MMGFM.so RcppExports.o mmcgfm.o -L/Library/Frameworks/R.framework/Resources/lib -lRlapack -L/Library/Frameworks/R.framework/Resources/lib -lRblas -L/opt/gfortran/lib/gcc/aarch64-apple-darwin20.0/12.2.0 -L/opt/gfortran/lib -lgfortran -lemutls_w -lquadmath -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
ld: warning: could not create compact unwind for ___emutls_get_address: registers 23 and 24 not saved contiguously in frame
installing to /Volumes/Builds/packages/big-sur-arm64/results/4.3/MMGFM.Rcheck/00LOCK-MMGFM/00new/MMGFM/libs
** generating debug symbols (dSYM)
** 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)