* installing *source* package 'Riemann' ...
** package 'Riemann' successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: 'g++.exe (GCC) 12.3.0'
using C++11
make[1]: Entering directory '/d/temp/Rtmp4ol3Qd/R.INSTALL1339035e039b/Riemann/src'
g++  -std=gnu++11 -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.3/RcppArmadillo/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp    -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c RcppExports.cpp -o RcppExports.o
g++  -std=gnu++11 -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.3/RcppArmadillo/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp    -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c auxiliary.cpp -o auxiliary.o
g++  -std=gnu++11 -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.3/RcppArmadillo/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp    -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c distribution_grassmann.cpp -o distribution_grassmann.o
g++  -std=gnu++11 -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.3/RcppArmadillo/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp    -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c distribution_sphere.cpp -o distribution_sphere.o
g++  -std=gnu++11 -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.3/RcppArmadillo/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp    -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c distribution_spnorm.cpp -o distribution_spnorm.o
g++  -std=gnu++11 -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.3/RcppArmadillo/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp    -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c functions_01_basic.cpp -o functions_01_basic.o
g++  -std=gnu++11 -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.3/RcppArmadillo/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp    -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c functions_02_inference.cpp -o functions_02_inference.o
g++  -std=gnu++11 -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.3/RcppArmadillo/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp    -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c functions_03_clustering.cpp -o functions_03_clustering.o
functions_03_clustering.cpp: In function 'arma::uvec helper_kmeans_initlabel(std::string, arma::cube, int)':
functions_03_clustering.cpp:94:7: warning: unused variable 'nrow' [-Wunused-variable]
   94 |   int nrow = data.n_rows;
      |       ^~~~
functions_03_clustering.cpp:95:7: warning: unused variable 'ncol' [-Wunused-variable]
   95 |   int ncol = data.n_cols;
      |       ^~~~
functions_03_clustering.cpp:102:8: warning: unused variable 'status' [-Wunused-variable]
  102 |   bool status = arma::kmeans(means, arma::trans(logvecs), K, random_subset, 50, false);
      |        ^~~~~~
functions_03_clustering.cpp: In function 'arma::cube clustering_kmeans18B_kcenters(std::string, std::string, arma::cube, int)':
functions_03_clustering.cpp:596:7: warning: unused variable 'M' [-Wunused-variable]
  596 |   int M = data.n_slices;
      |       ^
functions_03_clustering.cpp:597:7: warning: unused variable 'nrow' [-Wunused-variable]
  597 |   int nrow = data.n_rows;
      |       ^~~~
functions_03_clustering.cpp:598:7: warning: unused variable 'ncol' [-Wunused-variable]
  598 |   int ncol = data.n_cols;
      |       ^~~~
g++  -std=gnu++11 -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.3/RcppArmadillo/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp    -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c functions_03_clustering_criteria.cpp -o functions_03_clustering_criteria.o
functions_03_clustering_criteria.cpp: In function 'arma::field<arma::Col<unsigned int> > cvi_helper_classindex(arma::uvec)':
functions_03_clustering_criteria.cpp:27:7: warning: unused variable 'N' [-Wunused-variable]
   27 |   int N = label.n_elem;
      |       ^
functions_03_clustering_criteria.cpp: In function 'arma::cube cvi_helper_classmean(std::string, std::string, arma::cube, arma::uvec)':
functions_03_clustering_criteria.cpp:39:7: warning: unused variable 'N' [-Wunused-variable]
   39 |   int N    = X.n_slices;
      |       ^
functions_03_clustering_criteria.cpp: In function 'arma::mat cvi_helper_pdist(std::string, std::string, arma::cube)':
functions_03_clustering_criteria.cpp:57:7: warning: unused variable 'nrow' [-Wunused-variable]
   57 |   int nrow = X.n_rows;
      |       ^~~~
functions_03_clustering_criteria.cpp:58:7: warning: unused variable 'ncol' [-Wunused-variable]
   58 |   int ncol = X.n_cols;
      |       ^~~~
functions_03_clustering_criteria.cpp: In function 'double cvi_internal_db(std::string, std::string, Rcpp::List&, arma::uvec)':
functions_03_clustering_criteria.cpp:246:7: warning: unused variable 'Nw' [-Wunused-variable]
  246 |   int Nw = cvi_helper_nw(label);
      |       ^~
g++  -std=gnu++11 -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.3/RcppArmadillo/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp    -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c functions_05_visualization.cpp -o functions_05_visualization.o
g++  -std=gnu++11 -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.3/RcppArmadillo/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp    -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c functions_06_curve.cpp -o functions_06_curve.o
g++  -std=gnu++11 -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.3/RcppArmadillo/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp    -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c functions_07_learning.cpp -o functions_07_learning.o
functions_07_learning.cpp: In function 'arma::mat alg_GMMLreg(arma::mat, arma::uvec, double)':
functions_07_learning.cpp:136:30: warning: comparison of integer expressions of different signedness: 'arma::enable_if2<true, unsigned int>::result' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  136 |   if (arma::rank(check_Slbd) < p){
      |       ~~~~~~~~~~~~~~~~~~~~~~~^~~
functions_07_learning.cpp:124:7: warning: unused variable 'n' [-Wunused-variable]
  124 |   int n = X.n_rows;
      |       ^
g++  -std=gnu++11 -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.3/RcppArmadillo/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp    -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c functions_special_others.cpp -o functions_special_others.o
g++  -std=gnu++11 -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.3/RcppArmadillo/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp    -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c functions_special_spd.cpp -o functions_special_spd.o
g++  -std=gnu++11 -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.3/RcppArmadillo/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp    -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c riemann_general.cpp -o riemann_general.o
g++  -std=gnu++11 -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.3/RcppArmadillo/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp    -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c riemann_src.cpp -o riemann_src.o
In file included from riemann_src.cpp:3:
riemann_manifolds.h: In function 'arma::mat correlation_log(arma::mat, arma::mat)':
riemann_manifolds.h:234:7: warning: unused variable 'p' [-Wunused-variable]
  234 |   int p = X.n_rows;
      |       ^
riemann_manifolds.h: In function 'arma::mat stiefel_exp(arma::mat, arma::mat, double)':
riemann_manifolds.h:259:13: warning: unused variable 'n' [-Wunused-variable]
  259 |   const int n = x.n_rows;
      |             ^
riemann_manifolds.h: In function 'arma::mat stiefel_log(arma::mat, arma::mat)':
riemann_manifolds.h:278:13: warning: unused variable 'n' [-Wunused-variable]
  278 |   const int n = U0.n_rows;
      |             ^
riemann_manifolds.h: In function 'double grassmann_dist(arma::mat, arma::mat)':
riemann_manifolds.h:370:17: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
  370 |   for (int i=0;i<s.n_elem;i++){
      |                ~^~~~~~~~~
riemann_manifolds.h:378:17: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare]
  378 |   for (int i=0;i<s.n_elem;i++){
      |                ~^~~~~~~~~
riemann_manifolds.h: In function 'arma::mat grassmann_exp(arma::mat, arma::mat, double)':
riemann_manifolds.h:390:13: warning: unused variable 'n' [-Wunused-variable]
  390 |   const int n = x.n_rows;
      |             ^
riemann_manifolds.h:391:13: warning: unused variable 'p' [-Wunused-variable]
  391 |   const int p = x.n_cols;
      |             ^
riemann_manifolds.h: In function 'arma::mat grassmann_log(arma::mat, arma::mat)':
riemann_manifolds.h:407:7: warning: unused variable 'n' [-Wunused-variable]
  407 |   int n = x.n_rows;
      |       ^
riemann_src.cpp: In function 'arma::mat internal_logvectors(std::string, arma::cube)':
riemann_src.cpp:343:7: warning: unused variable 'nrow' [-Wunused-variable]
  343 |   int nrow = data.n_rows;
      |       ^~~~
riemann_src.cpp:344:7: warning: unused variable 'ncol' [-Wunused-variable]
  344 |   int ncol = data.n_cols;
      |       ^~~~
g++ -shared -s -static-libgcc -o Riemann.dll tmp.def 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 -fopenmp -LD:/RCompile/recent/R-4.3.3/bin/x64 -lRlapack -LD:/RCompile/recent/R-4.3.3/bin/x64 -lRblas -lgfortran -lm -lquadmath -Ld:/rtools43/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools43/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R-4.3.3/bin/x64 -lR
make[1]: Leaving directory '/d/temp/Rtmp4ol3Qd/R.INSTALL1339035e039b/Riemann/src'
make[1]: Entering directory '/d/temp/Rtmp4ol3Qd/R.INSTALL1339035e039b/Riemann/src'
make[1]: Leaving directory '/d/temp/Rtmp4ol3Qd/R.INSTALL1339035e039b/Riemann/src'
installing to d:/Rcompile/CRANpkg/lib/4.3/00LOCK-Riemann/00new/Riemann/libs/x64
** 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
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* MD5 sums
packaged installation of 'Riemann' as Riemann_0.1.4.zip
* DONE (Riemann)