* installing *source* package 'Riemann' ... ** package 'Riemann' successfully unpacked and MD5 sums checked ** using staged installation ** libs using C++ compiler: 'g++.exe (GCC) 13.2.0' using C++11 make[1]: Entering directory '/d/temp/Rtmp0WEF8A/R.INSTALL27314268835d0/Riemann/src' g++ -std=gnu++11 -I"D:/RCompile/recent/R-4.4.0/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools44/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.4.0/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools44/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.4.0/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools44/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.4.0/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools44/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.4.0/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools44/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.4.0/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools44/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.4.0/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools44/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.4.0/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools44/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.4.0/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools44/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 > 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.4.0/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools44/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.4.0/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools44/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.4.0/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools44/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::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.4.0/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools44/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.4.0/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools44/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.4.0/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools44/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.4.0/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools44/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