* installing *source* package ‘GFM’ ...
** package ‘GFM’ 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.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I/opt/R/arm64/include   "-DARMA_64BIT_WORD=1" -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.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I/opt/R/arm64/include   "-DARMA_64BIT_WORD=1" -fPIC  -falign-functions=64 -Wall -g -O2   -c bgfm.cpp -o bgfm.o
bgfm.cpp:47:11: warning: unused variable 'logS' [-Wunused-variable]
  double  logS, entropy=0.0, ELBO=0.0;
          ^
bgfm.cpp:85:42: warning: unused variable 'q' [-Wunused-variable]
  int i,  d = Xf.n_elem, n=Xf(0).n_rows, q= B.n_cols, p;
                                         ^
2 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 GFM.so RcppExports.o bgfm.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.4/GFM.Rcheck/00LOCK-GFM/00new/GFM/libs
** generating debug symbols (dSYM)
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** 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)