* installing to library ‘/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages’
* 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-14 (Debian 14.3.0-8) 14.3.0’
using Fortran compiler: ‘GNU Fortran (Debian 14.3.0-8) 14.3.0’
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpYK1O2x/R.INSTALL3137b04b688755/randomForest/src'
gcc-14 -std=gnu23 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c 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-14 -std=gnu23 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c init.c -o init.o
gcc-14 -std=gnu23 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c 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-14 -std=gnu23 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c 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-14 -std=gnu23 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c 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-14 -fpic -g -O2 -Wall -pedantic -mtune=native -c rfsub.f -o rfsub.o
gcc-14 -std=gnu23 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c 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-14 -std=gnu23 -shared -L/home/hornik/tmp/R.check/r-release-gcc/Work/build/lib -Wl,-O1 -o randomForest.so classTree.o init.o regTree.o regrf.o rf.o rfsub.o rfutils.o -lgfortran -lm -lquadmath -L/home/hornik/tmp/R.check/r-release-gcc/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpYK1O2x/R.INSTALL3137b04b688755/randomForest/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpYK1O2x/R.INSTALL3137b04b688755/randomForest/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpYK1O2x/R.INSTALL3137b04b688755/randomForest/src'
installing to /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/00LOCK-randomForest/00new/randomForest/libs
** 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
** 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 (randomForest)