* installing *source* package 'randomForest' ...
** this is package 'randomForest' version '4.7-1.2'
** package 'randomForest' successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: 'gcc.exe (GCC) 14.2.0'
using Fortran compiler: 'GNU Fortran (GCC) 14.2.0'
make[1]: Entering directory '/d/temp/2025_10_21_12_47_29_10822/Rtmp00ay9D/R.INSTALL4fbc1fa6887/randomForest/src'
gcc -I"D:/RCompile/recent/R-4.5.1/include" -DNDEBUG -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -std=gnu2x -mfpmath=sse -msse2 -mstackrealign -c classTree.c -o classTree.o
classTree.c: In function 'predictClassTree':
classTree.c:453:47: warning: 'cbestsplit' may be used uninitialized [-Wmaybe-uninitialized]
453 | k = cbestsplit[(int) x[m + i * mdim] - 1 + k * maxcat] ?
| ^
classTree.c:422:22: note: 'cbestsplit' was declared here
422 | int m, i, j, k, *cbestsplit;
| ^~~~~~~~~~
gcc -I"D:/RCompile/recent/R-4.5.1/include" -DNDEBUG -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -std=gnu2x -mfpmath=sse -msse2 -mstackrealign -c init.c -o init.o
gcc -I"D:/RCompile/recent/R-4.5.1/include" -DNDEBUG -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -std=gnu2x -mfpmath=sse -msse2 -mstackrealign -c regTree.c -o regTree.o
regTree.c: In function 'predictRegTree':
regTree.c:393:23: warning: 'cbestsplit' may be used uninitialized [-Wmaybe-uninitialized]
393 | k = cbestsplit[(int) x[m + i * mdim] - 1 + k * maxcat] ?
| ^
regTree.c:363:20: note: 'cbestsplit' was declared here
363 | int i, j, k, m, *cbestsplit;
| ^~~~~~~~~~
gcc -I"D:/RCompile/recent/R-4.5.1/include" -DNDEBUG -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -std=gnu2x -mfpmath=sse -msse2 -mstackrealign -c regrf.c -o regrf.o
regrf.c: In function 'regRF':
regrf.c:64:15: warning: variable 'nind' set but not used [-Wunused-but-set-variable]
64 | int *in, *nind, *nodex, *nodexts;
| ^~~~
regrf.c:60:55: warning: unused variable 'ktmp' [-Wunused-variable]
60 | int k, m, mr, n, nOOB, j, jout, idx, ntest, last, ktmp, nPerm,
| ^~~~
regrf.c:60:49: warning: unused variable 'last' [-Wunused-variable]
60 | int k, m, mr, n, nOOB, j, jout, idx, ntest, last, ktmp, nPerm,
| ^~~~
regrf.c:55:66: warning: unused variable 'xrand' [-Wunused-variable]
55 | double errts = 0.0, averrb, meanY, meanYts, varY, varYts, r, xrand,
| ^~~~~
regrf.c:55:25: warning: variable 'averrb' set but not used [-Wunused-but-set-variable]
55 | double errts = 0.0, averrb, meanY, meanYts, varY, varYts, r, xrand,
| ^~~~~~
regrf.c:205:25: warning: 'ytree' may be used uninitialized [-Wmaybe-uninitialized]
205 | predictRegTree(xts, ntest, mdim, lDaughter + idx,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
206 | rDaughter + idx, nodestatus + idx, ytree,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
207 | upper + idx, avnode + idx,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
208 | mbest + idx, treeSize[j], cat, *maxcat, nodexts);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
regrf.c:58:36: note: 'ytree' was declared here
58 | double *yb, *xtmp, *xb, *ytr, *ytree, *tgini;
| ^~~~~
regrf.c:205:25: warning: 'nodexts' may be used uninitialized [-Wmaybe-uninitialized]
205 | predictRegTree(xts, ntest, mdim, lDaughter + idx,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
206 | rDaughter + idx, nodestatus + idx, ytree,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
207 | upper + idx, avnode + idx,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
208 | mbest + idx, treeSize[j], cat, *maxcat, nodexts);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
regrf.c:64:30: note: 'nodexts' was declared here
64 | int *in, *nind, *nodex, *nodexts;
| ^~~~~~~
gcc -I"D:/RCompile/recent/R-4.5.1/include" -DNDEBUG -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -std=gnu2x -mfpmath=sse -msse2 -mstackrealign -c rf.c -o rf.o
rf.c: In function 'classRF':
rf.c:176:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
176 | for (n = 0; n < nsample0; ++n)
| ^~~
rf.c:180:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
180 | strata_size = (int *) S_alloc(nstrata, sizeof(int));
| ^~~~~~~~~~~
rf.c:103:4: warning: variable 'tp' set but not used [-Wunused-but-set-variable]
103 | *tp, *wr, *bestsplitnext, *bestsplit;
| ^~
rf.c:98:41: warning: unused variable 'ktmp' [-Wunused-variable]
98 | int **strata_idx, *strata_size, last, ktmp, nEmpty, ntry;
| ^~~~
rf.c:98:35: warning: unused variable 'last' [-Wunused-variable]
98 | int **strata_idx, *strata_size, last, ktmp, nEmpty, ntry;
| ^~~~
rf.c:97:24: warning: variable 'nind' set but not used [-Wunused-but-set-variable]
97 | *at, *a, *b, *mind, *nind, *jts, *oobpair, *sampledIndices;
| ^~~~
rf.c:88:9: warning: variable 'nimp' set but not used [-Wunused-but-set-variable]
88 | mimp, nimp, near, nuse, noutall, nrightall, nrightimpall,
| ^~~~
rf.c:88:3: warning: variable 'mimp' set but not used [-Wunused-but-set-variable]
88 | mimp, nimp, near, nuse, noutall, nrightall, nrightimpall,
| ^~~~
rf.c:395:7: warning: 'oobpair' may be used uninitialized [-Wmaybe-uninitialized]
395 | computeProximity(prox, oobprox, nodex, jin, oobpair, near);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rf.c:97:37: note: 'oobpair' was declared here
97 | *at, *a, *b, *mind, *nind, *jts, *oobpair, *sampledIndices;
| ^~~~~~~
rf.c:343:7: warning: 'nclts' may be used uninitialized [-Wmaybe-uninitialized]
343 | TestSetError(countts, jts, clts, outclts, ntest, nclass, jb+1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
344 | errts + jb*(nclass+1), *labelts, nclts, cut);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rf.c:92:23: note: 'nclts' was declared here
92 | *nrightimp, *nout, *nclts, Ntree;
| ^~~~~
gfortran -pedantic -O2 -mfpmath=sse -msse2 -mstackrealign -c rfsub.f -o rfsub.o
gcc -I"D:/RCompile/recent/R-4.5.1/include" -DNDEBUG -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -std=gnu2x -mfpmath=sse -msse2 -mstackrealign -c rfutils.c -o rfutils.o
rfutils.c: In function 'sampleWithoutReplacementWithWeights':
rfutils.c:346:9: warning: variable 'sampledIndexCopy' set but not used [-Wunused-but-set-variable]
346 | int sampledIndexCopy;
| ^~~~~~~~~~~~~~~~
rfutils.c:344:9: warning: variable 'first' set but not used [-Wunused-but-set-variable]
344 | int first;
| ^~~~~
gcc -shared -s -static-libgcc -o randomForest.dll tmp.def classTree.o init.o regTree.o regrf.o rf.o rfsub.o rfutils.o -Ld:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools45/x86_64-w64-mingw32.static.posix/lib -lgfortran -lquadmath -LD:/RCompile/recent/R-4.5.1/bin/x64 -lR
make[1]: Leaving directory '/d/temp/2025_10_21_12_47_29_10822/Rtmp00ay9D/R.INSTALL4fbc1fa6887/randomForest/src'
make[1]: Entering directory '/d/temp/2025_10_21_12_47_29_10822/Rtmp00ay9D/R.INSTALL4fbc1fa6887/randomForest/src'
make[1]: Leaving directory '/d/temp/2025_10_21_12_47_29_10822/Rtmp00ay9D/R.INSTALL4fbc1fa6887/randomForest/src'
installing to d:/Rcompile/CRANpkg/lib/4.5/00LOCK-randomForest/00new/randomForest/libs/x64
** R
** data
** inst
** 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 'randomForest' as randomForest_4.7-1.2.zip
* DONE (randomForest)