* installing *source* package ‘wfe’ ...
** package ‘wfe’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘gcc-13 (GCC) 13.2.0’
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/wfe/src'
gcc-13 -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 init.c -o init.o
gcc-13 -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 vector.c -o vector.o
gcc-13 -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 wfe.c -o wfe.o
wfe.c: In function 'CalDID':
wfe.c:1507:16: warning: variable 'c_it' set but not used [-Wunused-but-set-variable]
 1507 |         double c_it;
      |                ^~~~
wfe.c: In function 'GenWeightsMDID':
wfe.c:2580:14: warning: variable 'y_it' set but not used [-Wunused-but-set-variable]
 2580 |       double y_it;
      |              ^~~~
wfe.c: In function 'GenWeightsFD':
wfe.c:1378:86: warning: 'c_it' may be used uninitialized [-Wmaybe-uninitialized]
 1378 |               weightfd[k*(*len_u_index)+i] = weightfd[k*(*len_u_index)+i] + (w_it[k] * c_it);
      |                                                                             ~~~~~~~~~^~~~~~~
wfe.c:1344:13: note: 'c_it' was declared here
 1344 |         int c_it;
      |             ^~~~
wfe.c:1370:14: warning: 't_it' may be used uninitialized [-Wmaybe-uninitialized]
 1370 |           if ( t_it != t_it_1 ) { /* check whether treatment status changes  */
      |              ^
wfe.c:1345:13: note: 't_it' was declared here
 1345 |         int t_it;
      |             ^~~~
wfe.c:1370:14: warning: 't_it_1' may be used uninitialized [-Wmaybe-uninitialized]
 1370 |           if ( t_it != t_it_1 ) { /* check whether treatment status changes  */
      |              ^
wfe.c:1360:15: note: 't_it_1' was declared here
 1360 |           int t_it_1;
      |               ^~~~~~
wfe.c: In function 'is_t_t1_same':
wfe.c:1410:6: warning: 't_it' may be used uninitialized [-Wmaybe-uninitialized]
 1410 |   if (t_it == t_it_1) {
      |      ^
wfe.c:1399:7: note: 't_it' was declared here
 1399 |   int t_it;
      |       ^~~~
wfe.c:1410:6: warning: 't_it_1' may be used uninitialized [-Wmaybe-uninitialized]
 1410 |   if (t_it == t_it_1) {
      |      ^
wfe.c:1400:7: note: 't_it_1' was declared here
 1400 |   int t_it_1;
      |       ^~~~~~
wfe.c: In function 't_t1_same':
wfe.c:1452:10: warning: 't_ij' may be used uninitialized [-Wmaybe-uninitialized]
 1452 |       if (t_ij == t_ij_1) {
      |          ^
wfe.c:1428:7: note: 't_ij' was declared here
 1428 |   int t_ij;
      |       ^~~~
wfe.c:1452:10: warning: 't_ij_1' may be used uninitialized [-Wmaybe-uninitialized]
 1452 |       if (t_ij == t_ij_1) {
      |          ^
wfe.c:1429:7: note: 't_ij_1' was declared here
 1429 |   int t_ij_1;
      |       ^~~~~~
wfe.c: In function 'CalDID':
wfe.c:1688:18: warning: 'y_it1' may be used uninitialized [-Wmaybe-uninitialized]
 1688 |             diff = y_it - y_it1;
      |             ~~~~~^~~~~~~~~~~~~~
wfe.c:1510:16: note: 'y_it1' was declared here
 1510 |         double y_it1;
      |                ^~~~~
wfe.c:1679:14: warning: 't_it' may be used uninitialized [-Wmaybe-uninitialized]
 1679 |           if (t_it == 1) { /* ifTRUE(sub[,treat]...) == 1 */
      |              ^
wfe.c:1508:16: note: 't_it' was declared here
 1508 |         double t_it;
      |                ^~~~
wfe.c:1688:18: warning: 'y_it' may be used uninitialized [-Wmaybe-uninitialized]
 1688 |             diff = y_it - y_it1;
      |             ~~~~~^~~~~~~~~~~~~~
wfe.c:1509:16: note: 'y_it' was declared here
 1509 |         double y_it;
      |                ^~~~
wfe.c:1718:31: warning: 'diff0' may be used uninitialized [-Wmaybe-uninitialized]
 1718 |                     diffprime += diff0;
      |                     ~~~~~~~~~~^~~~~~~~
wfe.c:1686:20: note: 'diff0' was declared here
 1686 |             double diff0;
      |                    ^~~~~
wfe.c:1644:31: warning: 'diff0' may be used uninitialized [-Wmaybe-uninitialized]
 1644 |                     diffprime += diff0;
      |                     ~~~~~~~~~~^~~~~~~~
wfe.c:1612:20: note: 'diff0' was declared here
 1612 |             double diff0;
      |                    ^~~~~
wfe.c:1574:31: warning: 'diff0' may be used uninitialized [-Wmaybe-uninitialized]
 1574 |                     diffprime += diff0;
      |                     ~~~~~~~~~~^~~~~~~~
wfe.c:1541:20: note: 'diff0' was declared here
 1541 |             double diff0;
      |                    ^~~~~
wfe.c: In function 'GenWeightsMDID':
wfe.c:2733:28: warning: 'y_it1' may be used uninitialized [-Wmaybe-uninitialized]
 2733 |                 tmpydiff = absolute(y_it1 - y[k]); /* absolute diff */
      |                            ^~~~~~~~~~~~~~~~~~~~~~
wfe.c:2581:14: note: 'y_it1' was declared here
 2581 |       double y_it1;
      |              ^~~~~
wfe.c:2740:44: warning: 'minydiff' may be used uninitialized [-Wmaybe-uninitialized]
 2740 |                 } else if (count_treat > 0 && tmpydiff<= minydiff) {
      |                            ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
wfe.c:2719:16: note: 'minydiff' was declared here
 2719 |         double minydiff;
      |                ^~~~~~~~
wfe.c:2638:48: warning: 'minydiff' may be used uninitialized [-Wmaybe-uninitialized]
 2638 |                   } else if (count_control > 0 && tmpydiff<= minydiff) {
      |                              ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
wfe.c:2614:18: note: 'minydiff' was declared here
 2614 |           double minydiff;
      |                  ^~~~~~~~
gcc-13 -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/gcc13/lib64 -L/usr/local/lib64 -L/usr/local/clang18/lib/x86_64-unknown-linux-gnu -o wfe.so init.o vector.o wfe.o -llapack -L/data/gannet/ripley/R/R-devel/lib -lRblas -lgfortran -lm -lquadmath
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/wfe/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/wfe/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/wfe/src'
installing to /data/gannet/ripley/R/packages/tests-devel/wfe.Rcheck/00LOCK-wfe/00new/wfe/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 (wfe)