* installing to library ‘/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages’
* installing *source* package ‘logicDT’ ...
** package ‘logicDT’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘gcc-13 (Debian 13.2.0-23) 13.2.0’
make[1]: Entering directory '/tmp/RtmpA2nAEE/R.INSTALL1c18521d43af9f/logicDT/src'
gcc-13 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c gxe-test.c -o gxe-test.o
gcc-13 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c logicDT-init.c -o logicDT-init.o
gcc-13 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c logicDT.c -o logicDT.o
In file included from /home/hornik/tmp/R.check/r-release-gcc/Work/build/include/R.h:78,
                 from logicDT.h:6,
                 from logicDT.c:1:
logicDT.c: In function ‘fitPETIntern’:
/home/hornik/tmp/R.check/r-release-gcc/Work/build/include/R_ext/RS.h:53:30: warning: ‘best_N_L’ may be used uninitialized [-Wmaybe-uninitialized]
   53 | #define Calloc(n, t)   (t *) R_chk_calloc( (R_SIZE_T) (n), sizeof(t) )
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
logicDT.c:1094:34: note: in expansion of macro ‘Calloc’
 1094 |     left_child->obs_ind = (int*) Calloc(best_N_L, int); right_child->obs_ind = (int*) Calloc((N_k - best_N_L), int);
      |                                  ^~~~~~
logicDT.c:772:7: note: ‘best_N_L’ was declared here
  772 |   int best_N_L;
      |       ^~~~~~~~
logicDT.c:1096:26: warning: ‘best_imp_L’ may be used uninitialized [-Wmaybe-uninitialized]
 1096 |     left_child->impurity = best_imp_L; right_child->impurity = best_imp_R;
      |     ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
logicDT.c:775:10: note: ‘best_imp_L’ was declared here
  775 |   double best_imp_L, best_imp_R;
      |          ^~~~~~~~~~
logicDT.c:1096:62: warning: ‘best_imp_R’ may be used uninitialized [-Wmaybe-uninitialized]
 1096 |     left_child->impurity = best_imp_L; right_child->impurity = best_imp_R;
      |                                        ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
logicDT.c:775:22: note: ‘best_imp_R’ was declared here
  775 |   double best_imp_L, best_imp_R;
      |                      ^~~~~~~~~~
logicDT.c:1097:22: warning: ‘best_pred_L’ may be used uninitialized [-Wmaybe-uninitialized]
 1097 |     left_child->pred = best_pred_L; right_child->pred = best_pred_R;
      |     ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
logicDT.c:777:10: note: ‘best_pred_L’ was declared here
  777 |   double best_pred_L, best_pred_R;
      |          ^~~~~~~~~~~
logicDT.c:1097:55: warning: ‘best_pred_R’ may be used uninitialized [-Wmaybe-uninitialized]
 1097 |     left_child->pred = best_pred_L; right_child->pred = best_pred_R;
      |                                     ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
logicDT.c:777:23: note: ‘best_pred_R’ was declared here
  777 |   double best_pred_L, best_pred_R;
      |                       ^~~~~~~~~~~
gcc-13 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c pruning.c -o pruning.o
gcc-13 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c sa-greedy.c -o sa-greedy.o
gcc-13 -shared -L/home/hornik/tmp/R.check/r-release-gcc/Work/build/lib -Wl,-O1 -o logicDT.so gxe-test.o logicDT-init.o logicDT.o pruning.o sa-greedy.o -L/home/hornik/tmp/R.check/r-release-gcc/Work/build/lib -lR
make[1]: Leaving directory '/tmp/RtmpA2nAEE/R.INSTALL1c18521d43af9f/logicDT/src'
make[1]: Entering directory '/tmp/RtmpA2nAEE/R.INSTALL1c18521d43af9f/logicDT/src'
make[1]: Leaving directory '/tmp/RtmpA2nAEE/R.INSTALL1c18521d43af9f/logicDT/src'
installing to /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/00LOCK-logicDT/00new/logicDT/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 (logicDT)