* installing to library ‘/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages’
* installing *source* package ‘MRS’ ...
** package ‘MRS’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘Debian clang version 18.1.4 (1)’
make[1]: Entering directory '/tmp/RtmpYrXojG/R.INSTALL12205867e43867/MRS/src'
clang++-18 -std=gnu++17 -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  -c RcppExports.cpp -o RcppExports.o
clang++-18 -std=gnu++17 -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  -c helpers.cpp -o helpers.o
helpers.cpp:108:9: warning: variable 'x_curr' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
  108 |     if (level == 0) 
      |         ^~~~~~~~~~
helpers.cpp:117:8: note: uninitialized use occurs here
  117 |     if(x_curr != data)
      |        ^~~~~~
helpers.cpp:108:5: note: remove the 'if' if its condition is always false
  108 |     if (level == 0) 
      |     ^~~~~~~~~~~~~~~
  109 |       parent_exists = false;
      |       ~~~~~~~~~~~~~~~~~~~~~~
  110 |     else
      |     ~~~~
  111 |     {
helpers.cpp:103:15: note: initialize the variable 'x_curr' to silence this warning
  103 |     int x_curr;
      |               ^
      |                = 0
helpers.cpp:275:8: warning: variable 'foundSol' set but not used [-Wunused-but-set-variable]
  275 |   bool foundSol = false;
      |        ^
2 warnings generated.
clang++-18 -std=gnu++17 -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  -c main.cpp -o main.o
clang++-18 -std=gnu++17 -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  -c recursion.cpp -o recursion.o
recursion.cpp:299:10: warning: unused variable 'row' [-Wunused-variable]
  299 |   uword  row, col, slice;
      |          ^~~
recursion.cpp:299:15: warning: unused variable 'col' [-Wunused-variable]
  299 |   uword  row, col, slice;
      |               ^~~
recursion.cpp:818:18: warning: unused variable 'max_val' [-Wunused-variable]
  818 |           double max_val = loglike.max(state_star);          
      |                  ^~~~~~~
3 warnings generated.
clang++-18 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-devel-clang/Work/build/lib -Wl,-O1 -o MRS.so RcppExports.o helpers.o main.o recursion.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/RtmpYrXojG/R.INSTALL12205867e43867/MRS/src'
make[1]: Entering directory '/tmp/RtmpYrXojG/R.INSTALL12205867e43867/MRS/src'
make[1]: Leaving directory '/tmp/RtmpYrXojG/R.INSTALL12205867e43867/MRS/src'
installing to /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/00LOCK-MRS/00new/MRS/libs
** R
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** 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 (MRS)