* installing *source* package ‘MRS’ ...
** package ‘MRS’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘clang version 19.1.5’
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/MRS/src'
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3  -DR_NO_REMAP -c RcppExports.cpp -o RcppExports.o
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3  -DR_NO_REMAP -c helpers.cpp -o helpers.o
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3  -DR_NO_REMAP -c main.cpp -o main.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;
      |        ^
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang19/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3  -DR_NO_REMAP -c recursion.cpp -o recursion.o
2 warnings generated.
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.
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -shared -L/usr/local/clang/lib64 -L/usr/local/clang19/lib -L/usr/local/clang19/lib/x86_64-unknown-linux-gnu -L/usr/local/gcc14/lib64 -L/usr/local/lib64 -o MRS.so RcppExports.o helpers.o main.o recursion.o -L/data/gannet/ripley/R/R-clang/lib -lRlapack -L/data/gannet/ripley/R/R-clang/lib -lRblas -lFortranRuntime -lFortranDecimal -lm
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/MRS/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/MRS/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/MRS/src'
installing to /data/gannet/ripley/R/packages/tests-clang/MRS.Rcheck/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)