* using log directory 'd:/Rcompile/CRANpkg/local/4.3/Riemann.Rcheck' * using R version 4.3.3 (2024-02-29 ucrt) * using platform: x86_64-w64-mingw32 (64-bit) * R was compiled by gcc.exe (GCC) 12.3.0 GNU Fortran (GCC) 12.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'Riemann/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'Riemann' version '0.1.4' * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'Riemann' can be installed ... ERROR Installation failed. See 'd:/Rcompile/CRANpkg/local/4.3/Riemann.Rcheck/00install.out' for details. * DONE The installation logfile: * 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/2024_12_20_01_50_00_19051/RtmpSWH3Iw/R.INSTALL290f823823ac7/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 > 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::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