* installing to library ‘/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages’
* installing *source* package ‘RiemBase’ ...
** package ‘RiemBase’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++-13 (Debian 13.2.0-13) 13.2.0’
using C++11
make[1]: Entering directory '/tmp/Rtmp4sWCrG/R.INSTALL2af9141423c758/RiemBase/src'
g++-13 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I../inst/include -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp  -fpic  -g -O2 -Wall -pedantic -mtune=native   -c RcppExports.cpp -o RcppExports.o
g++-13 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I../inst/include -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp  -fpic  -g -O2 -Wall -pedantic -mtune=native   -c engines.cpp -o engines.o
In file included from ../inst/include/riemfactory.hpp:11,
                 from engines.cpp:2:
../inst/include/manifolds/riem_04stiefel.h: In function ‘arma::mat stiefel_exp(arma::mat, arma::mat, double)’:
../inst/include/manifolds/riem_04stiefel.h:88:13: warning: unused variable ‘n’ [-Wunused-variable]
   88 |   const int n = x.n_rows;
      |             ^
../inst/include/manifolds/riem_04stiefel.h: In function ‘arma::mat stiefel_log(arma::mat, arma::mat)’:
../inst/include/manifolds/riem_04stiefel.h:108:13: warning: unused variable ‘n’ [-Wunused-variable]
  108 |   const int n = U0.n_rows;
      |             ^
../inst/include/manifolds/riem_04stiefel.h: In function ‘arma::mat stiefel_invretr(arma::mat, arma::mat)’:
../inst/include/manifolds/riem_04stiefel.h:168:7: warning: unused variable ‘n’ [-Wunused-variable]
  168 |   int n = x.n_rows;
      |       ^
In file included from ../inst/include/riemfactory.hpp:12:
../inst/include/manifolds/riem_05grassmann.h: In function ‘double grassmann_dist(arma::mat, arma::mat)’:
../inst/include/manifolds/riem_05grassmann.h:34:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
   34 |   for (int i=0;i<s.n_elem;i++){
      |                ~^~~~~~~~~
../inst/include/manifolds/riem_05grassmann.h:42:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
   42 |   for (int i=0;i<s.n_elem;i++){
      |                ~^~~~~~~~~
../inst/include/manifolds/riem_05grassmann.h: In function ‘arma::mat grassmann_exp(arma::mat, arma::mat, double)’:
../inst/include/manifolds/riem_05grassmann.h:107:13: warning: unused variable ‘n’ [-Wunused-variable]
  107 |   const int n = x.n_rows;
      |             ^
../inst/include/manifolds/riem_05grassmann.h:108:13: warning: unused variable ‘p’ [-Wunused-variable]
  108 |   const int p = x.n_cols;
      |             ^
../inst/include/manifolds/riem_05grassmann.h: In function ‘arma::mat grassmann_log(arma::mat, arma::mat)’:
../inst/include/manifolds/riem_05grassmann.h:125:7: warning: unused variable ‘n’ [-Wunused-variable]
  125 |   int n = x.n_rows;
      |       ^
g++-13 -std=gnu++11 -shared -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -Wl,-O1 -o RiemBase.so RcppExports.o engines.o -fopenmp -llapack -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -lRblas -lgfortran -lm -lquadmath -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -lR
make[1]: Leaving directory '/tmp/Rtmp4sWCrG/R.INSTALL2af9141423c758/RiemBase/src'
make[1]: Entering directory '/tmp/Rtmp4sWCrG/R.INSTALL2af9141423c758/RiemBase/src'
make[1]: Leaving directory '/tmp/Rtmp4sWCrG/R.INSTALL2af9141423c758/RiemBase/src'
installing to /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/00LOCK-RiemBase/00new/RiemBase/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
  converting help for package ‘RiemBase’
    finding HTML links ... done
    RiemBase-package                        html  
    rbase.curvedist                         html  
    rbase.mean                              html  
    rbase.median                            html  
    rbase.pdist                             html  
    rbase.pdist2                            html  
    rbase.robust                            html  
    riemfactory                             html  
** building package indices
** 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 (RiemBase)