* installing to library ‘/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages’
* installing *source* package ‘RRF’ ...
** package ‘RRF’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘gcc-14 (Debian 14.2.0-6) 14.2.0’
using Fortran compiler: ‘GNU Fortran (Debian 14.2.0-6) 14.2.0’
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpszyBet/R.INSTALL37af8d354ef7c5/RRF/src'
gcc-14 -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 RRF_init.c -o RRF_init.o
gcc-14 -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:454:47: warning: ‘cbestsplit’ may be used uninitialized [-Wmaybe-uninitialized]
  454 |                                 k = cbestsplit[(int) x[m + i * mdim] - 1 + k * maxcat] ?
      |                                               ^
classTree.c:425:22: note: ‘cbestsplit’ was declared here
  425 |     int m, i, j, k, *cbestsplit;
      |                      ^~~~~~~~~~
gcc-14 -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:335:31: warning: ‘cbestsplit’ may be used uninitialized [-Wmaybe-uninitialized]
  335 |                 k = cbestsplit[(int) x[m + i * mdim] - 1 + k * maxcat] ?
      |                               ^
regTree.c:308:22: note: ‘cbestsplit’ was declared here
  308 |     int i, j, k, m, *cbestsplit;
      |                      ^~~~~~~~~~
gcc-14 -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:9: warning: variable ‘flagReg’ set but not used [-Wunused-but-set-variable]
   64 |     int flagReg;//new
      |         ^~~~~~~
regrf.c:54:25: warning: variable ‘averrb’ set but not used [-Wunused-but-set-variable]
   54 |     double errts = 0.0, averrb, meanY, meanYts, varY, varYts, r, xrand,
      |                         ^~~~~~
regrf.c:219:25: warning: ‘ytree’ may be used uninitialized [-Wmaybe-uninitialized]
  219 |                         predictRegTree(xts, ntest, mdim, lDaughter + idx,
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  220 |                                                    rDaughter + idx, nodestatus + idx, ytree,
      |                                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  221 |                            upper + idx, avnode + idx,
      |                            ~~~~~~~~~~~~~~~~~~~~~~~~~~
  222 |                                                    mbest + idx, treeSize[j], cat, *maxcat, nodexts);
      |                                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
regrf.c:57:36: note: ‘ytree’ was declared here
   57 |     double *yb, *xtmp, *xb, *ytr, *ytree, *tgini;
      |                                    ^~~~~
regrf.c:219:25: warning: ‘nodexts’ may be used uninitialized [-Wmaybe-uninitialized]
  219 |                         predictRegTree(xts, ntest, mdim, lDaughter + idx,
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  220 |                                                    rDaughter + idx, nodestatus + idx, ytree,
      |                                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  221 |                            upper + idx, avnode + idx,
      |                            ~~~~~~~~~~~~~~~~~~~~~~~~~~
  222 |                                                    mbest + idx, treeSize[j], cat, *maxcat, nodexts);
      |                                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
regrf.c:63:30: note: ‘nodexts’ was declared here
   63 |     int *in, *nind, *nodex, *nodexts;
      |                              ^~~~~~~
gcc-14 -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:110:10: warning: variable ‘tp’ set but not used [-Wunused-but-set-variable]
  110 |         *tp, *wr;
      |          ^~
rf.c:92:15: warning: variable ‘nimp’ set but not used [-Wunused-but-set-variable]
   92 |         mimp, nimp, near, nuse, noutall, nrightall, nrightimpall,
      |               ^~~~
rf.c:92:9: warning: variable ‘mimp’ set but not used [-Wunused-but-set-variable]
   92 |         mimp, nimp, near, nuse, noutall, nrightall, nrightimpall,
      |         ^~~~
rf.c:437:13: warning: ‘oobpair’ may be used uninitialized [-Wmaybe-uninitialized]
  437 |             computeProximity(prox, oobprox, nodex, jin, oobpair, near);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rf.c:102:43: note: ‘oobpair’ was declared here
  102 |         *at, *a, *b, *mind, *nind, *jts, *oobpair;
      |                                           ^~~~~~~
rf.c:385:25: warning: ‘nclts’ may be used uninitialized [-Wmaybe-uninitialized]
  385 |                         TestSetError(countts, jts, clts, outclts, ntest, nclass, jb+1,
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  386 |                                                  errts + jb*(nclass+1), *labelts, nclts, cut);
      |                                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rf.c:96:29: note: ‘nclts’ was declared here
   96 |         *nrightimp, *nout, *nclts, Ntree;
      |                             ^~~~~
gfortran-14  -fpic  -g -O2 -Wall -pedantic -mtune=native  -c rfsub.f -o rfsub.o
gcc-14 -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
gcc-14 -shared -L/home/hornik/tmp/R.check/r-release-gcc/Work/build/lib -Wl,-O1 -o RRF.so RRF_init.o classTree.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/RtmpszyBet/R.INSTALL37af8d354ef7c5/RRF/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpszyBet/R.INSTALL37af8d354ef7c5/RRF/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpszyBet/R.INSTALL37af8d354ef7c5/RRF/src'
installing to /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/00LOCK-RRF/00new/RRF/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 (RRF)