* installing to library ‘/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages’
* installing *source* package ‘Riemann’ ...
** package ‘Riemann’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘Debian clang version 18.1.0 (rc4-1)’
using C++11
make[1]: Entering directory '/tmp/RtmpK33u3e/R.INSTALL340f24526319ac/Riemann/src'
clang++-18 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3    -fpic  -g -O3 -Wall -pedantic -Wno-error=enum-constexpr-conversion  -c RcppExports.cpp -o RcppExports.o
clang++-18 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3    -fpic  -g -O3 -Wall -pedantic -Wno-error=enum-constexpr-conversion  -c auxiliary.cpp -o auxiliary.o
clang++-18 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3    -fpic  -g -O3 -Wall -pedantic -Wno-error=enum-constexpr-conversion  -c distribution_grassmann.cpp -o distribution_grassmann.o
clang++-18 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3    -fpic  -g -O3 -Wall -pedantic -Wno-error=enum-constexpr-conversion  -c distribution_sphere.cpp -o distribution_sphere.o
clang++-18 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3    -fpic  -g -O3 -Wall -pedantic -Wno-error=enum-constexpr-conversion  -c distribution_spnorm.cpp -o distribution_spnorm.o
clang++-18 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3    -fpic  -g -O3 -Wall -pedantic -Wno-error=enum-constexpr-conversion  -c functions_01_basic.cpp -o functions_01_basic.o
clang++-18 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3    -fpic  -g -O3 -Wall -pedantic -Wno-error=enum-constexpr-conversion  -c functions_02_inference.cpp -o functions_02_inference.o
clang++-18 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3    -fpic  -g -O3 -Wall -pedantic -Wno-error=enum-constexpr-conversion  -c functions_03_clustering.cpp -o functions_03_clustering.o
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: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;
      |       ^~~~
6 warnings generated.
clang++-18 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3    -fpic  -g -O3 -Wall -pedantic -Wno-error=enum-constexpr-conversion  -c functions_03_clustering_criteria.cpp -o functions_03_clustering_criteria.o
functions_03_clustering_criteria.cpp:27:7: warning: unused variable 'N' [-Wunused-variable]
   27 |   int N = label.n_elem;
      |       ^
functions_03_clustering_criteria.cpp:39:7: warning: unused variable 'N' [-Wunused-variable]
   39 |   int N    = X.n_slices;
      |       ^
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:246:7: warning: unused variable 'Nw' [-Wunused-variable]
  246 |   int Nw = cvi_helper_nw(label);
      |       ^~
5 warnings generated.
clang++-18 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3    -fpic  -g -O3 -Wall -pedantic -Wno-error=enum-constexpr-conversion  -c functions_05_visualization.cpp -o functions_05_visualization.o
clang++-18 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3    -fpic  -g -O3 -Wall -pedantic -Wno-error=enum-constexpr-conversion  -c functions_06_curve.cpp -o functions_06_curve.o
clang++-18 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3    -fpic  -g -O3 -Wall -pedantic -Wno-error=enum-constexpr-conversion  -c functions_07_learning.cpp -o functions_07_learning.o
functions_07_learning.cpp:124:7: warning: unused variable 'n' [-Wunused-variable]
  124 |   int n = X.n_rows;
      |       ^
1 warning generated.
clang++-18 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3    -fpic  -g -O3 -Wall -pedantic -Wno-error=enum-constexpr-conversion  -c functions_special_others.cpp -o functions_special_others.o
clang++-18 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3    -fpic  -g -O3 -Wall -pedantic -Wno-error=enum-constexpr-conversion  -c functions_special_spd.cpp -o functions_special_spd.o
clang++-18 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3    -fpic  -g -O3 -Wall -pedantic -Wno-error=enum-constexpr-conversion  -c riemann_general.cpp -o riemann_general.o
clang++-18 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3    -fpic  -g -O3 -Wall -pedantic -Wno-error=enum-constexpr-conversion  -c riemann_src.cpp -o riemann_src.o
In file included from riemann_src.cpp:3:
./riemann_manifolds.h:234:7: warning: unused variable 'p' [-Wunused-variable]
  234 |   int p = X.n_rows;
      |       ^
./riemann_manifolds.h:259:13: warning: unused variable 'n' [-Wunused-variable]
  259 |   const int n = x.n_rows;
      |             ^
./riemann_manifolds.h:278:13: warning: unused variable 'n' [-Wunused-variable]
  278 |   const int n = U0.n_rows;
      |             ^
./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:407:7: warning: unused variable 'n' [-Wunused-variable]
  407 |   int n = x.n_rows;
      |       ^
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;
      |       ^~~~
8 warnings generated.
clang++-18 -std=gnu++11 -shared -L/home/hornik/tmp/R.check/r-devel-clang/Work/build/lib -Wl,-O1 -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 -llapack -L/home/hornik/tmp/R.check/r-devel-clang/Work/build/lib -lRblas -L/usr/lib/llvm-18/lib -lFortran_main -lFortranRuntime -lFortranDecimal -lm -L/home/hornik/tmp/R.check/r-devel-clang/Work/build/lib -lR
make[1]: Leaving directory '/tmp/RtmpK33u3e/R.INSTALL340f24526319ac/Riemann/src'
make[1]: Entering directory '/tmp/RtmpK33u3e/R.INSTALL340f24526319ac/Riemann/src'
make[1]: Leaving directory '/tmp/RtmpK33u3e/R.INSTALL340f24526319ac/Riemann/src'
installing to /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/00LOCK-Riemann/00new/Riemann/libs
** 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)