* installing *source* package 'htetree' ...
** package 'htetree' successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: 'gcc.exe (GCC) 13.3.0'
make[1]: Entering directory '/d/temp/2024_12_08_01_50_01_8405/Rtmpm2eBUo/R.INSTALL13f38d465786/htetree/src'
gcc  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -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  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -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  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -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  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -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  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -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  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c anovapred.c -o anovapred.o
gcc  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c branch.c -o branch.o
gcc  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c bsplit.c -o bsplit.o
gcc  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -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  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c causalTree_callback.c -o causalTree_callback.o
gcc  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c choose_surg.c -o choose_surg.o
gcc  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c estimate_causalTree.c -o estimate_causalTree.o
gcc  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -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  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -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  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -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  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -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  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c fix_cp.c -o fix_cp.o
gcc  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c free_tree.c -o free_tree.o
gcc  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c graycode.c -o graycode.o
gcc  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c honest_estimate_causalTree.c -o honest_estimate_causalTree.o
gcc  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -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  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c init.c -o init.o
gcc  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c insert_split.c -o insert_split.o
gcc  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c make_cp_list.c -o make_cp_list.o
gcc  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c make_cp_table.c -o make_cp_table.o
gcc  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c matching_rundown.c -o matching_rundown.o
gcc  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c mysort.c -o mysort.o
gcc  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c myxval.c -o myxval.o
gcc  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c nodesplit.c -o nodesplit.o
gcc  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -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  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -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  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -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  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -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  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -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  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c policysplit.c -o policysplit.o
gcc  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c pred_causalTree.c -o pred_causalTree.o
gcc  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c print_tree.c -o print_tree.o
gcc  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c rpcountup.c -o rpcountup.o
gcc  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c rpmatrix.c -o rpmatrix.o
gcc  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c surrogate.c -o surrogate.o
gcc  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -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  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -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  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c totrundown.c -o totrundown.o
gcc  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -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  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -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  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -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  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -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  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -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  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -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  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c usersplit.c -o usersplit.o
gcc  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c xevals.c -o xevals.o
gcc  -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c xvalHelper.c -o xvalHelper.o
gcc -shared -s -static-libgcc -o htetree.dll tmp.def 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 -Ld:/rtools44/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools44/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R-4.4.2/bin/x64 -lR
make[1]: Leaving directory '/d/temp/2024_12_08_01_50_01_8405/Rtmpm2eBUo/R.INSTALL13f38d465786/htetree/src'
make[1]: Entering directory '/d/temp/2024_12_08_01_50_01_8405/Rtmpm2eBUo/R.INSTALL13f38d465786/htetree/src'
make[1]: Leaving directory '/d/temp/2024_12_08_01_50_01_8405/Rtmpm2eBUo/R.INSTALL13f38d465786/htetree/src'
installing to d:/Rcompile/CRANpkg/lib/4.4/00LOCK-htetree/00new/htetree/libs/x64
** 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
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* MD5 sums
packaged installation of 'htetree' as htetree_0.1.19.zip
* DONE (htetree)