* installing *source* package ‘rego’ ...
** package ‘rego’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘clang version 18.1.4’
using C++ compiler: ‘clang version 18.1.4’
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/rego/src'
/usr/local/clang18/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include/armadillo/include -I../inst/include/optim-master/header_only_version -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c init.c -o init.o
/usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include/armadillo/include -I../inst/include/optim-master/header_only_version -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c rego.cpp -o rego.o
rego.cpp:573:7: warning: variable 's' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
  573 |    if(univariate==0){
      |       ^~~~~~~~~~~~~
rego.cpp:667:5: note: uninitialized use occurs here
  667 |   s=s-1;
      |     ^
rego.cpp:573:4: note: remove the 'if' if its condition is always true
  573 |    if(univariate==0){
      |    ^~~~~~~~~~~~~~~~~
rego.cpp:508:36: note: initialize the variable 's' to silence this warning
  508 |    uli t, add, edge, imq, limodR, s;
      |                                    ^
      |                                     = 0
rego.cpp:1102:14: warning: unused variable 'n_tot_mod_c' [-Wunused-variable]
 1102 |       double n_tot_mod_c=nvars*100;
      |              ^~~~~~~~~~~
rego.cpp:1103:14: warning: unused variable 'C_c' [-Wunused-variable]
 1103 |       double C_c=0.01;
      |              ^~~
rego.cpp:1109:14: warning: unused variable 'nc' [-Wunused-variable]
 1109 |       uli nr,nc,nvar_max;
      |              ^~
rego.cpp:1111:12: warning: unused variable 'univariate' [-Wunused-variable]
 1111 |       bool univariate=1;
      |            ^~~~~~~~~~
rego.cpp:1134:14: warning: unused variable 'log_FBF' [-Wunused-variable]
 1134 |       double log_FBF;
      |              ^~~~~~~
rego.cpp:1887:6: warning: variable 'L' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
 1887 |   if(pred_only==0){
      |      ^~~~~~~~~~~~
rego.cpp:1899:13: note: uninitialized use occurs here
 1899 |   str_out.L=L;
      |             ^
rego.cpp:1887:3: note: remove the 'if' if its condition is always true
 1887 |   if(pred_only==0){
      |   ^~~~~~~~~~~~~~~~
rego.cpp:1886:11: note: initialize the variable 'L' to silence this warning
 1886 |   double L, L_adj;
      |           ^
      |            = 0.0
rego.cpp:1887:6: warning: variable 'L_adj' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
 1887 |   if(pred_only==0){
      |      ^~~~~~~~~~~~
rego.cpp:1900:17: note: uninitialized use occurs here
 1900 |   str_out.L_adj=L_adj;
      |                 ^~~~~
rego.cpp:1887:3: note: remove the 'if' if its condition is always true
 1887 |   if(pred_only==0){
      |   ^~~~~~~~~~~~~~~~
rego.cpp:1886:18: note: initialize the variable 'L_adj' to silence this warning
 1886 |   double L, L_adj;
      |                  ^
      |                   = 0.0
In file included from rego.cpp:48:
In file included from ../inst/include/armadillo/include/armadillo:611:
../inst/include/armadillo/include/armadillo_bits/auxlib_meat.hpp:3388:34: warning: unused typedef 'eT' [-Wunused-local-typedef]
 3388 |   typedef typename T1::elem_type eT;
      |                                  ^
9 warnings generated.
/usr/local/clang18/bin/clang++ -std=gnu++17 -shared -L/usr/local/clang/lib64 -L/usr/local/clang18/lib -L/usr/local/clang18/lib/x86_64-unknown-linux-gnu -L/usr/local/gcc13/lib64 -L/usr/local/lib64 -o rego.so init.o rego.o -lFortran_main -lFortranRuntime -lFortranDecimal -lm
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/rego/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/rego/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/rego/src'
installing to /data/gannet/ripley/R/packages/tests-clang/rego.Rcheck/00LOCK-rego/00new/rego/libs
** R
** data
** inst
** 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 (rego)