* installing *source* package ‘htetree’ ...
** package ‘htetree’ 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/htetree/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 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-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 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-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 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-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 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-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 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-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 anovapred.c -o anovapred.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 branch.c -o branch.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 bsplit.c -o bsplit.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 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-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 causalTree_callback.c -o causalTree_callback.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 choose_surg.c -o choose_surg.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 estimate_causalTree.c -o estimate_causalTree.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 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-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 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-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 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-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 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-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 fix_cp.c -o fix_cp.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 free_tree.c -o free_tree.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 graycode.c -o graycode.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 honest_estimate_causalTree.c -o honest_estimate_causalTree.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 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-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 insert_split.c -o insert_split.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 make_cp_list.c -o make_cp_list.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 make_cp_table.c -o make_cp_table.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 matching_rundown.c -o matching_rundown.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 mysort.c -o mysort.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 myxval.c -o myxval.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 nodesplit.c -o nodesplit.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 partition.c -o partition.o
partition.c: In function 'partition':
partition.c:35:11: warning: unused variable 'fptr' [-Wunused-variable]
   35 |     FILE* fptr;
      |           ^~~~
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 policy.c -o policy.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 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-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 policyD.c -o policyD.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-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 policyH_rundown.c -o policyH_rundown.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;
      |                ^
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-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 policysplit.c -o policysplit.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 pred_causalTree.c -o pred_causalTree.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 print_tree.c -o print_tree.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 rpcountup.c -o rpcountup.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 rpmatrix.c -o rpmatrix.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 surrogate.c -o surrogate.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 tot.c -o tot.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 totD.c -o totD.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;
      |            ^
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-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 totrundown.c -o totrundown.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 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-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 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-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 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-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 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-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 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-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 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-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 usersplit.c -o usersplit.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 xevals.c -o xevals.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 xvalHelper.c -o xvalHelper.o
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 -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
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/htetree/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/htetree/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/htetree/src'
installing to /data/gannet/ripley/R/packages/tests-devel/htetree.Rcheck/00LOCK-htetree/00new/htetree/libs
** R
** data
*** moving datasets to lazyload DB
** 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 (htetree)