* installing *source* package ‘WSGeometry’ ...
** package ‘WSGeometry’ 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 C++11
using SDK: ‘MacOSX11.3.sdk’
clang++ -arch arm64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -DARMA_64BIT_WORD -fPIC  -falign-functions=64 -Wall -g -O2   -c RcppExports.cpp -o RcppExports.o
clang++ -arch arm64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -DARMA_64BIT_WORD -fPIC  -falign-functions=64 -Wall -g -O2   -c bary_sinkhorn_armadillo.cpp -o bary_sinkhorn_armadillo.o
clang++ -arch arm64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -DARMA_64BIT_WORD -fPIC  -falign-functions=64 -Wall -g -O2   -c iterative_bary.cpp -o iterative_bary.o
In file included from iterative_bary.cpp:6:
./transport_arma.h:93:7: warning: variable 'count' set but not used [-Wunused-but-set-variable]
  int count=0;
      ^
iterative_bary.cpp:98:7: warning: unused variable 'L' [-Wunused-variable]
  int L;
      ^
iterative_bary.cpp:61:10: warning: unused variable 'n' [-Wunused-variable]
  double n=weightsR.size();
         ^
iterative_bary.cpp:99:7: warning: unused variable 'dataCount' [-Wunused-variable]
  int dataCount=0;
      ^
4 warnings generated.
clang++ -arch arm64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -DARMA_64BIT_WORD -fPIC  -falign-functions=64 -Wall -g -O2   -c maaipm.cpp -o maaipm.o
maaipm.cpp:185:10: warning: variable 'rel_gap_old_old' set but not used [-Wunused-but-set-variable]
  double rel_gap_old_old = rel_gap_old;
         ^
maaipm.cpp:186:10: warning: variable 'optval' set but not used [-Wunused-but-set-variable]
  double optval=0;
         ^
maaipm.cpp:207:7: warning: unused variable 'L' [-Wunused-variable]
  int L=x.n_elem;
      ^
maaipm.cpp:182:10: warning: variable 'relResidual_old_old' set but not used [-Wunused-but-set-variable]
  double relResidual_old_old = relResidual_old;
         ^
maaipm.cpp:415:10: warning: variable 'relResidual_old_old' set but not used [-Wunused-but-set-variable]
  double relResidual_old_old = relResidual_old;
         ^
maaipm.cpp:418:10: warning: variable 'rel_gap_old_old' set but not used [-Wunused-but-set-variable]
  double rel_gap_old_old = rel_gap_old;
         ^
maaipm.cpp:419:10: warning: variable 'optval' set but not used [-Wunused-but-set-variable]
  double optval=0;
         ^
7 warnings generated.
clang++ -arch arm64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -DARMA_64BIT_WORD -fPIC  -falign-functions=64 -Wall -g -O2   -c umaaipm.cpp -o umaaipm.o
umaaipm.cpp:116:10: warning: variable 'relResidual_old_old' set but not used [-Wunused-but-set-variable]
  double relResidual_old_old = relResidual_old;
         ^
umaaipm.cpp:119:10: warning: variable 'rel_gap_old_old' set but not used [-Wunused-but-set-variable]
  double rel_gap_old_old = rel_gap_old;
         ^
umaaipm.cpp:120:10: warning: variable 'optval' set but not used [-Wunused-but-set-variable]
  double optval=0;
         ^
umaaipm.cpp:365:10: warning: variable 'optval' set but not used [-Wunused-but-set-variable]
  double optval=0;
         ^
umaaipm.cpp:364:10: warning: variable 'rel_gap_old_old' set but not used [-Wunused-but-set-variable]
  double rel_gap_old_old = rel_gap_old;
         ^
umaaipm.cpp:361:10: warning: variable 'relResidual_old_old' set but not used [-Wunused-but-set-variable]
  double relResidual_old_old = relResidual_old;
         ^
umaaipm.cpp:387:7: warning: unused variable 'L' [-Wunused-variable]
  int L=x.n_elem;
      ^
7 warnings generated.
clang++ -arch arm64 -std=gnu++11 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/arm64/lib -o WSGeometry.so RcppExports.o bary_sinkhorn_armadillo.o iterative_bary.o maaipm.o umaaipm.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/WSGeometry.Rcheck/00LOCK-WSGeometry/00new/WSGeometry/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 (WSGeometry)