* installing to library ‘/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages’
* installing *source* package ‘nets’ ...
** package ‘nets’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘gcc-14 (Debian 14.2.0-8) 14.2.0’
make[1]: Entering directory '/tmp/RtmpfDB3wq/R.INSTALL3be82540f965a/nets/src'
gcc-14 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c nets.c -o nets.o
nets.c: In function ‘nets_predict’:
nets.c:473:13: warning: unused variable ‘idx’ [-Wunused-variable]
  473 |         int idx, i, j, k, l;
      |             ^~~
nets.c: In function ‘alpha_update’:
nets.c:545:25: warning: unused variable ‘l’ [-Wunused-variable]
  545 |         int ip, jp, kp, l, t;
      |                         ^
nets.c:545:21: warning: unused variable ‘kp’ [-Wunused-variable]
  545 |         int ip, jp, kp, l, t;
      |                     ^~
nets.c:545:17: warning: unused variable ‘jp’ [-Wunused-variable]
  545 |         int ip, jp, kp, l, t;
      |                 ^~
nets.c: In function ‘rho_update_init’:
nets.c:637:16: warning: unused variable ‘c_xx’ [-Wunused-variable]
  637 |         double c_xx = 0;
      |                ^~~~
nets.c:636:16: warning: unused variable ‘c_yx’ [-Wunused-variable]
  636 |         double c_yx = 0;
      |                ^~~~
nets.c:635:20: warning: unused variable ‘k’ [-Wunused-variable]
  635 |         int t, ip, k;
      |                    ^
nets.c:635:16: warning: unused variable ‘ip’ [-Wunused-variable]
  635 |         int t, ip, k;
      |                ^~
nets.c: In function ‘nets_shooting’:
nets.c:126:31: warning: ‘delta’ may be used uninitialized [-Wmaybe-uninitialized]
  126 |                 if( verbose ) nets_log(alpha,rho,y_aux,lambda,alpha_weights,rho_weights,T,N,P,granger_network,parcorr_network,iter,delta);
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
nets.c:65:16: note: ‘delta’ was declared here
   65 |         double delta, toll;
      |                ^~~~~
In file included from /usr/include/string.h:548,
                 from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/include/R_ext/RS.h:34,
                 from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/include/R.h:78,
                 from nets.c:5:
In function ‘memcpy’,
    inlined from ‘nets_activeshooting’ at nets.c:424:25:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:29:10: warning: ‘alpha_old’ may be used uninitialized [-Wmaybe-uninitialized]
   29 |   return __builtin___memcpy_chk (__dest, __src, __len,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   30 |                                  __glibc_objsize0 (__dest));
      |                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~
nets.c: In function ‘nets_activeshooting’:
nets.c:261:17: note: ‘alpha_old’ was declared here
  261 |         double *alpha_old, *rho_old;
      |                 ^~~~~~~~~
nets.c:418:105: warning: ‘rho_old’ may be used uninitialized [-Wmaybe-uninitialized]
  418 |                         if( parcorr_network ) for( i=0; i<N*(N-1)/2; ++i ){ delta += fabs(rho[i]-rho_old[i]);     }
      |                                                                                                  ~~~~~~~^~~
nets.c:261:29: note: ‘rho_old’ was declared here
  261 |         double *alpha_old, *rho_old;
      |                             ^~~~~~~
nets.c:408:52: warning: ‘rho_set’ may be used uninitialized [-Wmaybe-uninitialized]
  408 |                                         i = rho_set[idx][0];
      |                                             ~~~~~~~^~~~~
nets.c:262:31: note: ‘rho_set’ was declared here
  262 |         double **alpha_set, **rho_set;
      |                               ^~~~~~~
nets.c:357:31: warning: ‘delta’ may be used uninitialized [-Wmaybe-uninitialized]
  357 |                 if( verbose ) nets_log(alpha,rho,y_aux,lambda,alpha_weights,rho_weights,T,N,P,granger_network,parcorr_network,iter1,delta);
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
nets.c:264:16: note: ‘delta’ was declared here
  264 |         double delta, toll;
      |                ^~~~~
nets.c:407:48: warning: ‘rho_nact’ may be used uninitialized [-Wmaybe-uninitialized]
  407 |                                 for( idx=0; idx<rho_nact; ++idx){
      |                                             ~~~^~~~~~~~~
nets.c:263:25: note: ‘rho_nact’ was declared here
  263 |         int alpha_nact, rho_nact;
      |                         ^~~~~~~~
nets.c:396:48: warning: ‘alpha_nact’ may be used uninitialized [-Wmaybe-uninitialized]
  396 |                                 for( idx=0; idx<alpha_nact; ++idx){
      |                                             ~~~^~~~~~~~~~~
nets.c:263:13: note: ‘alpha_nact’ was declared here
  263 |         int alpha_nact, rho_nact;
      |             ^~~~~~~~~~
gcc-14 -shared -L/home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib -Wl,-O1 -o nets.so nets.o -L/home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib -lR
make[1]: Leaving directory '/tmp/RtmpfDB3wq/R.INSTALL3be82540f965a/nets/src'
make[1]: Entering directory '/tmp/RtmpfDB3wq/R.INSTALL3be82540f965a/nets/src'
make[1]: Leaving directory '/tmp/RtmpfDB3wq/R.INSTALL3be82540f965a/nets/src'
installing to /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/00LOCK-nets/00new/nets/libs
** R
** demo
** 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 (nets)