* installing to library ‘/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages’
* installing *source* package ‘htetree’ ...
** package ‘htetree’ 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 '/home/hornik/tmp/scratch/RtmpXJXW8L/R.INSTALL7475065f90bd1/htetree/src'
gcc-14 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c CT.c -o CT.o
CT.c: In function ‘CT’:
CT.c:226:45: warning: ‘j’ may be used uninitialized [-Wmaybe-uninitialized]
  226 |                 treatment_effect[i] = trsums[j] / trs[j] - (wtsums[j] - trsums[j]) / (wts[j] - trs[j]);
      |                                             ^
CT.c:75:12: note: ‘j’ was declared here
   75 |     int i, j;
      |            ^
gcc-14 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c CTA_rundown.c -o CTA_rundown.o
CTA_rundown.c: In function ‘CTA_rundown’:
CTA_rundown.c:104:21: warning: ‘tr_mean’ may be used uninitialized [-Wmaybe-uninitialized]
  104 |         xtemp[i] = (*ct_xeval)(ct.ydata[obs2], ct.wt[obs2], ct.treatment[obs2], tr_mean, con_mean);
      |                    ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CTA_rundown.c:25:12: note: ‘tr_mean’ was declared here
   25 |     double tr_mean, con_mean;
      |            ^~~~~~~
CTA_rundown.c:104:21: warning: ‘con_mean’ may be used uninitialized [-Wmaybe-uninitialized]
  104 |         xtemp[i] = (*ct_xeval)(ct.ydata[obs2], ct.wt[obs2], ct.treatment[obs2], tr_mean, con_mean);
      |                    ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CTA_rundown.c:25:21: note: ‘con_mean’ was declared here
   25 |     double tr_mean, con_mean;
      |                     ^~~~~~~~
gcc-14 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c CTD.c -o CTD.o
CTD.c: In function ‘CTD’:
CTD.c:364:61: warning: ‘j’ may be used uninitialized [-Wmaybe-uninitialized]
  364 |                                 treatment_effect[i] = trsums[j] / trs[j] - (wtsums[j] - trsums[j]) / (wts[j] - trs[j]);
      |                                                             ^
CTD.c:91:16: note: ‘j’ was declared here
   91 |         int i, j;
      |                ^
gcc-14 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c CTH_rundown.c -o CTH_rundown.o
CTH_rundown.c: In function ‘CTH_rundown’:
CTH_rundown.c:29:20: warning: variable ‘con_var’ set but not used [-Wunused-but-set-variable]
   29 |     double tr_var, con_var;
      |                    ^~~~~~~
CTH_rundown.c:29:12: warning: variable ‘tr_var’ set but not used [-Wunused-but-set-variable]
   29 |     double tr_var, con_var;
      |            ^~~~~~
CTH_rundown.c:105:21: warning: ‘tr_mean’ may be used uninitialized [-Wmaybe-uninitialized]
  105 |         xtemp[i] = (*ct_xeval)(ct.ydata[obs2], ct.wt[obs2], ct.treatment[obs2], tr_mean, con_mean);
      |                    ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CTH_rundown.c:26:12: note: ‘tr_mean’ was declared here
   26 |     double tr_mean, con_mean;
      |            ^~~~~~~
CTH_rundown.c:105:21: warning: ‘con_mean’ may be used uninitialized [-Wmaybe-uninitialized]
  105 |         xtemp[i] = (*ct_xeval)(ct.ydata[obs2], ct.wt[obs2], ct.treatment[obs2], tr_mean, con_mean);
      |                    ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CTH_rundown.c:26:21: note: ‘con_mean’ was declared here
   26 |     double tr_mean, con_mean;
      |                     ^~~~~~~~
gcc-14 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c anova.c -o anova.o
anova.c: In function ‘anova’:
anova.c:174:45: warning: ‘j’ may be used uninitialized [-Wmaybe-uninitialized]
  174 |                 treatment_effect[i] = trsums[j] / trs[j] - (wtsums[j] - trsums[j]) / (wts[j] - trs[j]);
      |                                             ^
anova.c:66:12: note: ‘j’ was declared here
   66 |     int i, j;
      |            ^
gcc-14 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c anovapred.c -o anovapred.o
gcc-14 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c branch.c -o branch.o
gcc-14 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c bsplit.c -o bsplit.o
gcc-14 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c causalTree.c -o causalTree.o
causalTree.c: In function ‘causalTree’:
causalTree.c:76:9: warning: variable ‘crosshonest’ set but not used [-Wunused-but-set-variable]
   76 |     int crosshonest;
      |         ^~~~~~~~~~~
causalTree.c:71:9: warning: variable ‘method’ set but not used [-Wunused-but-set-variable]
   71 |     int method;
      |         ^~~~~~
In file included from causalTree.c:53:
func_table.h: At top level:
func_table.h:209:3: warning: ‘func_table’ defined but not used [-Wunused-variable]
  209 | } func_table[] = {
      |   ^~~~~~~~~~
gcc-14 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c causalTree_callback.c -o causalTree_callback.o
gcc-14 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c choose_surg.c -o choose_surg.o
gcc-14 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c estimate_causalTree.c -o estimate_causalTree.o
gcc-14 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c fit.c -o fit.o
fit.c: In function ‘fit’:
fit.c:235:61: warning: ‘j’ may be used uninitialized [-Wmaybe-uninitialized]
  235 |                                 treatment_effect[i] = trsums[j] / trs[j] - (wtsums[j] - trsums[j]) / (wts[j] - trs[j]);
      |                                                             ^
fit.c:79:12: note: ‘j’ was declared here
   79 |     int i, j;
      |            ^
gcc-14 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c fitA_rundown.c -o fitA_rundown.o
fitA_rundown.c: In function ‘fitA_rundown’:
fitA_rundown.c:95:21: warning: ‘tr_mean’ may be used uninitialized [-Wmaybe-uninitialized]
   95 |         xtemp[i] = (*ct_xeval)(ct.ydata[obs2], ct.wt[obs2], ct.treatment[obs2], tr_mean, con_mean);
      |                    ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fitA_rundown.c:26:12: note: ‘tr_mean’ was declared here
   26 |     double tr_mean, con_mean;
      |            ^~~~~~~
fitA_rundown.c:95:21: warning: ‘con_mean’ may be used uninitialized [-Wmaybe-uninitialized]
   95 |         xtemp[i] = (*ct_xeval)(ct.ydata[obs2], ct.wt[obs2], ct.treatment[obs2], tr_mean, con_mean);
      |                    ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fitA_rundown.c:26:21: note: ‘con_mean’ was declared here
   26 |     double tr_mean, con_mean;
      |                     ^~~~~~~~
gcc-14 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c fitD.c -o fitD.o
fitD.c: In function ‘fitD’:
fitD.c:378:49: warning: ‘j’ may be used uninitialized [-Wmaybe-uninitialized]
  378 |                     treatment_effect[i] = trsums[j] / trs[j] - (wtsums[j] - trsums[j]) / (wts[j] - trs[j]);
      |                                                 ^
fitD.c:102:16: note: ‘j’ was declared here
  102 |         int i, j;
      |                ^
gcc-14 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c fitH_rundown.c -o fitH_rundown.o
fitH_rundown.c: In function ‘fitH_rundown’:
fitH_rundown.c:96:21: warning: ‘tr_mean’ may be used uninitialized [-Wmaybe-uninitialized]
   96 |         xtemp[i] = (*ct_xeval)(ct.ydata[obs2], ct.wt[obs2], ct.treatment[obs2], tr_mean, con_mean);
      |                    ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fitH_rundown.c:27:12: note: ‘tr_mean’ was declared here
   27 |     double tr_mean, con_mean;
      |            ^~~~~~~
fitH_rundown.c:96:21: warning: ‘con_mean’ may be used uninitialized [-Wmaybe-uninitialized]
   96 |         xtemp[i] = (*ct_xeval)(ct.ydata[obs2], ct.wt[obs2], ct.treatment[obs2], tr_mean, con_mean);
      |                    ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fitH_rundown.c:27:21: note: ‘con_mean’ was declared here
   27 |     double tr_mean, con_mean;
      |                     ^~~~~~~~
gcc-14 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c fix_cp.c -o fix_cp.o
gcc-14 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c free_tree.c -o free_tree.o
gcc-14 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c graycode.c -o graycode.o
gcc-14 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c honest_estimate_causalTree.c -o honest_estimate_causalTree.o
gcc-14 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c honest_estimate_rparttree.c -o honest_estimate_rparttree.o
honest_estimate_rparttree.c: In function ‘honest_estimate_rparttree0’:
honest_estimate_rparttree.c:214:16: warning: unused variable ‘con_mean’ [-Wunused-variable]
  214 |         double con_mean = consums[origindx] * 1.0 / cons[origindx];
      |                ^~~~~~~~
gcc-14 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c init.c -o init.o
gcc-14 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c insert_split.c -o insert_split.o
gcc-14 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c make_cp_list.c -o make_cp_list.o
gcc-14 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c make_cp_table.c -o make_cp_table.o
gcc-14 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c matching_rundown.c -o matching_rundown.o
gcc-14 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c mysort.c -o mysort.o
gcc-14 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c myxval.c -o myxval.o
gcc-14 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c nodesplit.c -o nodesplit.o
gcc-14 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c partition.c -o partition.o
partition.c: In function ‘partition’:
partition.c:35:11: warning: unused variable ‘fptr’ [-Wunused-variable]
   35 |     FILE* fptr;
      |           ^~~~
gcc-14 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c policy.c -o policy.o
policy.c: In function ‘policy’:
policy.c:226:61: warning: ‘j’ may be used uninitialized [-Wmaybe-uninitialized]
  226 |                                 treatment_effect[i] = trsums[j] / trs[j] - (wtsums[j] - trsums[j]) / (wts[j] - trs[j]);
      |                                                             ^
policy.c:75:16: note: ‘j’ was declared here
   75 |         int i, j;
      |                ^
gcc-14 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c policyA_rundown.c -o policyA_rundown.o
policyA_rundown.c: In function ‘policyA_rundown’:
policyA_rundown.c:105:21: warning: ‘tr_mean’ may be used uninitialized [-Wmaybe-uninitialized]
  105 |         xtemp[i] = (*ct_xeval)(ct.ydata[obs2], ct.wt[obs2], ct.treatment[obs2], tr_mean, con_mean);
      |                    ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
policyA_rundown.c:25:12: note: ‘tr_mean’ was declared here
   25 |     double tr_mean, con_mean;
      |            ^~~~~~~
policyA_rundown.c:105:21: warning: ‘con_mean’ may be used uninitialized [-Wmaybe-uninitialized]
  105 |         xtemp[i] = (*ct_xeval)(ct.ydata[obs2], ct.wt[obs2], ct.treatment[obs2], tr_mean, con_mean);
      |                    ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
policyA_rundown.c:25:21: note: ‘con_mean’ was declared here
   25 |     double tr_mean, con_mean;
      |                     ^~~~~~~~
gcc-14 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c policyD.c -o policyD.o
policyD.c: In function ‘policyD’:
policyD.c:365:61: warning: ‘j’ may be used uninitialized [-Wmaybe-uninitialized]
  365 |                                 treatment_effect[i] = trsums[j] / trs[j] - (wtsums[j] - trsums[j]) / (wts[j] - trs[j]);
      |                                                             ^
policyD.c:92:16: note: ‘j’ was declared here
   92 |         int i, j;
      |                ^
gcc-14 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c policyH_rundown.c -o policyH_rundown.o
policyH_rundown.c: In function ‘policyH_rundown’:
policyH_rundown.c:29:20: warning: variable ‘con_var’ set but not used [-Wunused-but-set-variable]
   29 |     double tr_var, con_var;
      |                    ^~~~~~~
policyH_rundown.c:29:12: warning: variable ‘tr_var’ set but not used [-Wunused-but-set-variable]
   29 |     double tr_var, con_var;
      |            ^~~~~~
policyH_rundown.c:106:21: warning: ‘tr_mean’ may be used uninitialized [-Wmaybe-uninitialized]
  106 |         xtemp[i] = (*ct_xeval)(ct.ydata[obs2], ct.wt[obs2], ct.treatment[obs2], tr_mean, con_mean);
      |                    ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
policyH_rundown.c:26:12: note: ‘tr_mean’ was declared here
   26 |     double tr_mean, con_mean;
      |            ^~~~~~~
policyH_rundown.c:106:21: warning: ‘con_mean’ may be used uninitialized [-Wmaybe-uninitialized]
  106 |         xtemp[i] = (*ct_xeval)(ct.ydata[obs2], ct.wt[obs2], ct.treatment[obs2], tr_mean, con_mean);
      |                    ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
policyH_rundown.c:26:21: note: ‘con_mean’ was declared here
   26 |     double tr_mean, con_mean;
      |                     ^~~~~~~~
gcc-14 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c policysplit.c -o policysplit.o
gcc-14 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c pred_causalTree.c -o pred_causalTree.o
gcc-14 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c print_tree.c -o print_tree.o
gcc-14 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c rpcountup.c -o rpcountup.o
gcc-14 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c rpmatrix.c -o rpmatrix.o
gcc-14 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c surrogate.c -o surrogate.o
gcc-14 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c tot.c -o tot.o
tot.c: In function ‘tot’:
tot.c:196:45: warning: ‘j’ may be used uninitialized [-Wmaybe-uninitialized]
  196 |                 treatment_effect[i] = trsums[j] / trs[j] - (wtsums[j] - trsums[j]) / (wts[j] - trs[j]);
      |                                             ^
tot.c:91:12: note: ‘j’ was declared here
   91 |     int i, j;
      |            ^
gcc-14 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c totD.c -o totD.o
totD.c: In function ‘totD’:
totD.c:328:45: warning: ‘j’ may be used uninitialized [-Wmaybe-uninitialized]
  328 |                 treatment_effect[i] = trsums[j] / trs[j] - (wtsums[j] - trsums[j]) / (wts[j] - trs[j]);
      |                                             ^
totD.c:104:12: note: ‘j’ was declared here
  104 |     int i, j;
      |            ^
gcc-14 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c totrundown.c -o totrundown.o
gcc-14 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c tstats.c -o tstats.o
tstats.c: In function ‘tstats’:
tstats.c:246:45: warning: ‘j’ may be used uninitialized [-Wmaybe-uninitialized]
  246 |                 treatment_effect[i] = trsums[j] / trs[j] - (wtsums[j] - trsums[j]) / (wts[j] - trs[j]);
      |                                             ^
tstats.c:77:12: note: ‘j’ was declared here
   77 |     int i, j;
      |            ^
gcc-14 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c tstatsD.c -o tstatsD.o
tstatsD.c: In function ‘tstatsD’:
tstatsD.c:382:45: warning: ‘j’ may be used uninitialized [-Wmaybe-uninitialized]
  382 |                 treatment_effect[i] = trsums[j] / trs[j] - (wtsums[j] - trsums[j]) / (wts[j] - trs[j]);
      |                                             ^
tstatsD.c:94:12: note: ‘j’ was declared here
   94 |     int i, j;
      |            ^
gcc-14 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c user.c -o user.o
user.c: In function ‘user’:
user.c:226:61: warning: ‘j’ may be used uninitialized [-Wmaybe-uninitialized]
  226 |                                 treatment_effect[i] = trsums[j] / trs[j] - (wtsums[j] - trsums[j]) / (wts[j] - trs[j]);
      |                                                             ^
user.c:75:16: note: ‘j’ was declared here
   75 |         int i, j;
      |                ^
gcc-14 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c userA_rundown.c -o userA_rundown.o
userA_rundown.c: In function ‘userA_rundown’:
userA_rundown.c:105:21: warning: ‘tr_mean’ may be used uninitialized [-Wmaybe-uninitialized]
  105 |         xtemp[i] = (*ct_xeval)(ct.ydata[obs2], ct.wt[obs2], ct.treatment[obs2], tr_mean, con_mean);
      |                    ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
userA_rundown.c:25:12: note: ‘tr_mean’ was declared here
   25 |     double tr_mean, con_mean;
      |            ^~~~~~~
userA_rundown.c:105:21: warning: ‘con_mean’ may be used uninitialized [-Wmaybe-uninitialized]
  105 |         xtemp[i] = (*ct_xeval)(ct.ydata[obs2], ct.wt[obs2], ct.treatment[obs2], tr_mean, con_mean);
      |                    ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
userA_rundown.c:25:21: note: ‘con_mean’ was declared here
   25 |     double tr_mean, con_mean;
      |                     ^~~~~~~~
gcc-14 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c userD.c -o userD.o
userD.c: In function ‘userD’:
userD.c:365:61: warning: ‘j’ may be used uninitialized [-Wmaybe-uninitialized]
  365 |                                 treatment_effect[i] = trsums[j] / trs[j] - (wtsums[j] - trsums[j]) / (wts[j] - trs[j]);
      |                                                             ^
userD.c:92:16: note: ‘j’ was declared here
   92 |         int i, j;
      |                ^
gcc-14 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c userH_rundown.c -o userH_rundown.o
userH_rundown.c: In function ‘userH_rundown’:
userH_rundown.c:29:20: warning: variable ‘con_var’ set but not used [-Wunused-but-set-variable]
   29 |     double tr_var, con_var;
      |                    ^~~~~~~
userH_rundown.c:29:12: warning: variable ‘tr_var’ set but not used [-Wunused-but-set-variable]
   29 |     double tr_var, con_var;
      |            ^~~~~~
userH_rundown.c:106:21: warning: ‘tr_mean’ may be used uninitialized [-Wmaybe-uninitialized]
  106 |         xtemp[i] = (*ct_xeval)(ct.ydata[obs2], ct.wt[obs2], ct.treatment[obs2], tr_mean, con_mean);
      |                    ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
userH_rundown.c:26:12: note: ‘tr_mean’ was declared here
   26 |     double tr_mean, con_mean;
      |            ^~~~~~~
userH_rundown.c:106:21: warning: ‘con_mean’ may be used uninitialized [-Wmaybe-uninitialized]
  106 |         xtemp[i] = (*ct_xeval)(ct.ydata[obs2], ct.wt[obs2], ct.treatment[obs2], tr_mean, con_mean);
      |                    ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
userH_rundown.c:26:21: note: ‘con_mean’ was declared here
   26 |     double tr_mean, con_mean;
      |                     ^~~~~~~~
gcc-14 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c usersplit.c -o usersplit.o
gcc-14 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c xevals.c -o xevals.o
gcc-14 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c xvalHelper.c -o xvalHelper.o
gcc-14 -shared -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -Wl,-O1 -o htetree.so CT.o CTA_rundown.o CTD.o CTH_rundown.o anova.o anovapred.o branch.o bsplit.o causalTree.o causalTree_callback.o choose_surg.o estimate_causalTree.o fit.o fitA_rundown.o fitD.o fitH_rundown.o fix_cp.o free_tree.o graycode.o honest_estimate_causalTree.o honest_estimate_rparttree.o init.o insert_split.o make_cp_list.o make_cp_table.o matching_rundown.o mysort.o myxval.o nodesplit.o partition.o policy.o policyA_rundown.o policyD.o policyH_rundown.o policysplit.o pred_causalTree.o print_tree.o rpcountup.o rpmatrix.o surrogate.o tot.o totD.o totrundown.o tstats.o tstatsD.o user.o userA_rundown.o userD.o userH_rundown.o usersplit.o xevals.o xvalHelper.o -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpXJXW8L/R.INSTALL7475065f90bd1/htetree/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpXJXW8L/R.INSTALL7475065f90bd1/htetree/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpXJXW8L/R.INSTALL7475065f90bd1/htetree/src'
installing to /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/00LOCK-htetree/00new/htetree/libs
** R
** data
*** moving datasets to lazyload DB
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
  converting help for package ‘htetree’
    finding HTML links ... done
    bundScript                              html  
    causalForest                            html  
    causalTree                              html  
    causalTree.branch                       html  
    causalTree.control                      html  
    causalTree.matrix                       html  
    causalTreecallback                      html  
    causalTreeco                            html  
    clearTemp                               html  
    est.causalTree                          html  
    estimate.causalTree                     html  
    formatg                                 html  
    getDefaultPath                          html  
    getDensities                            html  
    honest.causalTree                       html  
    honest.est.causalTree                   html  
    honest.est.rparttree                    html  
    honest.rparttree                        html  
    hte_causalTree                          html  
    hte_forest                              html  
    hte_ipw                                 html  
    hte_match                               html  
    hte_plot                                html  
    hte_plot_line                           html  
    htetree.anova                           html  
    importance                              html  
    makeplots                               html  
    matchinleaves                           html  
    model.frame.causalTree                  html  
    na.causalTree                           html  
    plotOutcomes                            html  
    runDynamic                              html  
    saveBCSS                                html  
    saveFiles                               html  
    saveGCSS                                html  
    saveInd                                 html  
    saveServ                                html  
    saveUI                                  html  
    simulation.1                            html  
** 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 (htetree)