* installing *source* package ‘nets’ ...
** this is package ‘nets’ version ‘0.9.1’
** package ‘nets’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘gcc (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)’
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/nets/src'
gcc -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -Wstrict-prototypes -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 /data/gannet/ripley/R/R-devel/include/R_ext/RS.h:34,
from /data/gannet/ripley/R/R-devel/include/R.h:78,
from nets.c:5:
In function ‘memcpy’,
inlined from ‘nets_activeshooting’ at nets.c:391:26:
/usr/include/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:397:54: warning: ‘alpha_set’ may be used uninitialized [-Wmaybe-uninitialized]
397 | i = alpha_set[idx][0];
| ~~~~~~~~~^~~~~
nets.c:262:18: note: ‘alpha_set’ was declared here
262 | double **alpha_set, **rho_set;
| ^~~~~~~~~
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 -shared -g -O2 -Wall -pedantic -mtune=native -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -Wstrict-prototypes -fpic -L/usr/local/lib64 -o nets.so nets.o
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/nets/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/nets/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/nets/src'
installing to /data/gannet/ripley/R/packages/tests-devel/nets.Rcheck/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)