* installing to library ‘/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages’
* installing *source* package ‘caret’ ...
** package ‘caret’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘gcc-13 (Debian 13.2.0-23) 13.2.0’
make[1]: Entering directory '/tmp/RtmpQ09sJy/R.INSTALL295f626c23409a/caret/src'
gcc-13 -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 caret.c -o caret.o
caret.c: In function ‘knn3’:
caret.c:26:14: warning: variable ‘index’ set but not used [-Wunused-but-set-variable]
   26 |     int   i, index, j, k, k1, kinit = *kin, kn, l = *lin, mm, npat, ntie,
      |              ^~~~~
caret.c: In function ‘knn3reg’:
caret.c:173:33: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
  173 |                                 for (k = 0; k <= kn; k++)
      |                                 ^~~
caret.c:187:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
  187 |                                         nndist[kn] = 0.99 * DBL_MAX;
      |                                         ^~~~~~
gcc-13 -shared -L/home/hornik/tmp/R.check/r-release-gcc/Work/build/lib -Wl,-O1 -o caret.so caret.o -L/home/hornik/tmp/R.check/r-release-gcc/Work/build/lib -lR
make[1]: Leaving directory '/tmp/RtmpQ09sJy/R.INSTALL295f626c23409a/caret/src'
make[1]: Entering directory '/tmp/RtmpQ09sJy/R.INSTALL295f626c23409a/caret/src'
make[1]: Leaving directory '/tmp/RtmpQ09sJy/R.INSTALL295f626c23409a/caret/src'
installing to /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/00LOCK-caret/00new/caret/libs
** R
** data
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** 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 (caret)