* installing *source* package ‘Riemann’ ...
** package ‘Riemann’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’
using C++11
using SDK: ‘MacOSX11.3.sdk’
clang++ -arch x86_64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/RcppArmadillo/include' -I/opt/R/x86_64/include     -fPIC  -falign-functions=64 -Wall -g -O2   -c RcppExports.cpp -o RcppExports.o
clang++ -arch x86_64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/RcppArmadillo/include' -I/opt/R/x86_64/include     -fPIC  -falign-functions=64 -Wall -g -O2   -c auxiliary.cpp -o auxiliary.o
clang++ -arch x86_64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/RcppArmadillo/include' -I/opt/R/x86_64/include     -fPIC  -falign-functions=64 -Wall -g -O2   -c distribution_grassmann.cpp -o distribution_grassmann.o
clang++ -arch x86_64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/RcppArmadillo/include' -I/opt/R/x86_64/include     -fPIC  -falign-functions=64 -Wall -g -O2   -c distribution_sphere.cpp -o distribution_sphere.o
clang++ -arch x86_64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/RcppArmadillo/include' -I/opt/R/x86_64/include     -fPIC  -falign-functions=64 -Wall -g -O2   -c distribution_spnorm.cpp -o distribution_spnorm.o
clang++ -arch x86_64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/RcppArmadillo/include' -I/opt/R/x86_64/include     -fPIC  -falign-functions=64 -Wall -g -O2   -c functions_01_basic.cpp -o functions_01_basic.o
clang++ -arch x86_64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/RcppArmadillo/include' -I/opt/R/x86_64/include     -fPIC  -falign-functions=64 -Wall -g -O2   -c functions_02_inference.cpp -o functions_02_inference.o
clang++ -arch x86_64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/RcppArmadillo/include' -I/opt/R/x86_64/include     -fPIC  -falign-functions=64 -Wall -g -O2   -c functions_03_clustering.cpp -o functions_03_clustering.o
clang++ -arch x86_64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/RcppArmadillo/include' -I/opt/R/x86_64/include     -fPIC  -falign-functions=64 -Wall -g -O2   -c functions_03_clustering_criteria.cpp -o functions_03_clustering_criteria.o
clang++ -arch x86_64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/RcppArmadillo/include' -I/opt/R/x86_64/include     -fPIC  -falign-functions=64 -Wall -g -O2   -c functions_05_visualization.cpp -o functions_05_visualization.o
clang++ -arch x86_64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/RcppArmadillo/include' -I/opt/R/x86_64/include     -fPIC  -falign-functions=64 -Wall -g -O2   -c functions_06_curve.cpp -o functions_06_curve.o
clang++ -arch x86_64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/RcppArmadillo/include' -I/opt/R/x86_64/include     -fPIC  -falign-functions=64 -Wall -g -O2   -c functions_07_learning.cpp -o functions_07_learning.o
functions_03_clustering.cpp:94:7: warning: unused variable 'nrow' [-Wunused-variable]
  int nrow = data.n_rows;
      ^
functions_03_clustering.cpp:95:7: warning: unused variable 'ncol' [-Wunused-variable]
  int ncol = data.n_cols;
      ^
functions_03_clustering.cpp:102:8: warning: unused variable 'status' [-Wunused-variable]
  bool status = arma::kmeans(means, arma::trans(logvecs), K, random_subset, 50, false);
       ^
functions_03_clustering.cpp:596:7: warning: unused variable 'M' [-Wunused-variable]
  int M = data.n_slices;
      ^
functions_03_clustering.cpp:597:7: warning: unused variable 'nrow' [-Wunused-variable]
  int nrow = data.n_rows;
      ^
functions_03_clustering.cpp:598:7: warning: unused variable 'ncol' [-Wunused-variable]
  int ncol = data.n_cols;
      ^
functions_03_clustering_criteria.cpp:27:7: warning: unused variable 'N' [-Wunused-variable]
  int N = label.n_elem;
      ^
functions_03_clustering_criteria.cpp:39:7: warning: unused variable 'N' [-Wunused-variable]
  int N    = X.n_slices;
      ^
functions_03_clustering_criteria.cpp:57:7: warning: unused variable 'nrow' [-Wunused-variable]
  int nrow = X.n_rows;
      ^
functions_03_clustering_criteria.cpp:58:7: warning: unused variable 'ncol' [-Wunused-variable]
  int ncol = X.n_cols;
      ^
functions_03_clustering_criteria.cpp:246:7: warning: unused variable 'Nw' [-Wunused-variable]
  int Nw = cvi_helper_nw(label);
      ^
functions_07_learning.cpp:124:7: warning: unused variable 'n' [-Wunused-variable]
  int n = X.n_rows;
      ^
clang++ -arch x86_64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/RcppArmadillo/include' -I/opt/R/x86_64/include     -fPIC  -falign-functions=64 -Wall -g -O2   -c functions_special_others.cpp -o functions_special_others.o
clang++ -arch x86_64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/RcppArmadillo/include' -I/opt/R/x86_64/include     -fPIC  -falign-functions=64 -Wall -g -O2   -c functions_special_spd.cpp -o functions_special_spd.o
5 warnings generated.
clang++ -arch x86_64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/RcppArmadillo/include' -I/opt/R/x86_64/include     -fPIC  -falign-functions=64 -Wall -g -O2   -c riemann_general.cpp -o riemann_general.o
clang++ -arch x86_64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.4/RcppArmadillo/include' -I/opt/R/x86_64/include     -fPIC  -falign-functions=64 -Wall -g -O2   -c riemann_src.cpp -o riemann_src.o
6 warnings generated.
1 warning generated.
In file included from riemann_src.cpp:3:
./riemann_manifolds.h:234:7: warning: unused variable 'p' [-Wunused-variable]
  int p = X.n_rows;
      ^
./riemann_manifolds.h:259:13: warning: unused variable 'n' [-Wunused-variable]
  const int n = x.n_rows;
            ^
./riemann_manifolds.h:278:13: warning: unused variable 'n' [-Wunused-variable]
  const int n = U0.n_rows;
            ^
./riemann_manifolds.h:390:13: warning: unused variable 'n' [-Wunused-variable]
  const int n = x.n_rows;
            ^
./riemann_manifolds.h:391:13: warning: unused variable 'p' [-Wunused-variable]
  const int p = x.n_cols;
            ^
./riemann_manifolds.h:407:7: warning: unused variable 'n' [-Wunused-variable]
  int n = x.n_rows;
      ^
riemann_src.cpp:343:7: warning: unused variable 'nrow' [-Wunused-variable]
  int nrow = data.n_rows;
      ^
riemann_src.cpp:344:7: warning: unused variable 'ncol' [-Wunused-variable]
  int ncol = data.n_cols;
      ^
8 warnings generated.
clang++ -arch x86_64 -std=gnu++11 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/x86_64/lib -o Riemann.so RcppExports.o auxiliary.o distribution_grassmann.o distribution_sphere.o distribution_spnorm.o functions_01_basic.o functions_02_inference.o functions_03_clustering.o functions_03_clustering_criteria.o functions_05_visualization.o functions_06_curve.o functions_07_learning.o functions_special_others.o functions_special_spd.o riemann_general.o riemann_src.o -L/Library/Frameworks/R.framework/Resources/lib -lRlapack -L/Library/Frameworks/R.framework/Resources/lib -lRblas -L/opt/gfortran/lib/gcc/x86_64-apple-darwin20.0/12.2.0 -L/opt/gfortran/lib -lgfortran -lquadmath -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
installing to /Volumes/Builds/packages/big-sur-x86_64/results/4.4/Riemann.Rcheck/00LOCK-Riemann/00new/Riemann/libs
** generating debug symbols (dSYM)
** R
** data
*** moving datasets to lazyload DB
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
*** copying figures
** 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 (Riemann)