* installing to library ‘/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages’
* installing *source* package ‘DiceKriging’ ...
** package ‘DiceKriging’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘gcc-13 (Debian 13.2.0-13) 13.2.0’
make[1]: Entering directory '/tmp/RtmpNf10tU/R.INSTALL38c9f42303af68/DiceKriging/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 CovFuns.c -o CovFuns.o
CovFuns.c: In function ‘C_covMatrix’:
CovFuns.c:94:62: warning: ‘C_covFunction’ may be used uninitialized [-Wmaybe-uninitialized]
   94 |                         ans[j + *n * i] = ans[i + *n * j] = (*C_covFunction)(x, n, x, n, d, &i, &j, param, &scf, var);
      |                                                             ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CovFuns.c:82:18: note: ‘C_covFunction’ was declared here
   82 |         double (*C_covFunction)(const double *, const int *, const double *, const int *, const int *, const int *, const int *, const double *, const double *, const double *);
      |                  ^~~~~~~~~~~~~
CovFuns.c: In function ‘C_covMat1Mat2’:
CovFuns.c:115:103: warning: ‘C_covFunction’ may be used uninitialized [-Wmaybe-uninitialized]
  115 |                 for (int i2 = 0; i2 < *n2; i2++) {                              ans[i1 + *n1 * i2] = (*C_covFunction)(x1, n1, x2, n2, d, &i1, &i2, param, &scf, var);
      |                                                                                                      ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CovFuns.c:103:18: note: ‘C_covFunction’ was declared here
  103 |         double (*C_covFunction)(const double *, const int *, const double *, const int *, const int *, const int *, const int *, const double *, const double *, const double *);
      |                  ^~~~~~~~~~~~~
CovFuns.c: In function ‘C_covMatrixDerivative’:
CovFuns.c:206:62: warning: ‘C_covFunctionDerivative’ may be used uninitialized [-Wmaybe-uninitialized]
  206 |                         ans[j + *n * i] = ans[i + *n * j] = (*C_covFunctionDerivative)(X, n, d, &i, &j, param, &scf, k, C);
      |                                                             ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CovFuns.c:194:18: note: ‘C_covFunctionDerivative’ was declared here
  194 |         double (*C_covFunctionDerivative)(const double *, const int *, const int *, const int *, const int *, const double *, const double *, const int *, const double *);
      |                  ^~~~~~~~~~~~~~~~~~~~~~~
CovFuns.c: In function ‘C_covMatrixDerivative_dx’:
CovFuns.c:308:44: warning: ‘C_covFunctionDerivative_dx’ may be used uninitialized [-Wmaybe-uninitialized]
  308 |                         ans[j + *n * i] = (*C_covFunctionDerivative_dx)(X, n, d, &i, &j, param, &scf, k, C);
      |                                           ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CovFuns.c:296:18: note: ‘C_covFunctionDerivative_dx’ was declared here
  296 |         double (*C_covFunctionDerivative_dx)(const double *, const int *, const int *, const int *, const int *, const double *, const double *, const int *, const double *);
      |                  ^~~~~~~~~~~~~~~~~~~~~~~~~~
CovFuns.c: In function ‘C_covVector_dx’:
CovFuns.c:424:44: warning: ‘C_covFunction_dx’ may be used uninitialized [-Wmaybe-uninitialized]
  424 |                         ans[i + *n * k] = (*C_covFunction_dx)(x, X, n, d, &i, &k, param, &scf, c);
      |                                           ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CovFuns.c:412:18: note: ‘C_covFunction_dx’ was declared here
  412 |         double (*C_covFunction_dx)(const double *, const double *, const int *, const int *, const int *, const int *, const double *, const double *, const double *);
      |                  ^~~~~~~~~~~~~~~~
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 Scaling.c -o Scaling.o
Scaling.c: In function ‘gradScale’:
Scaling.c:146:23: warning: unused variable ‘knot’ [-Wunused-variable]
  146 |         knotL, knotR, knot,
      |                       ^~~~
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 init.c -o init.o
gcc-13 -shared -L/home/hornik/tmp/R.check/r-release-gcc/Work/build/lib -Wl,-O1 -o DiceKriging.so CovFuns.o Scaling.o init.o -L/home/hornik/tmp/R.check/r-release-gcc/Work/build/lib -lR
make[1]: Leaving directory '/tmp/RtmpNf10tU/R.INSTALL38c9f42303af68/DiceKriging/src'
make[1]: Entering directory '/tmp/RtmpNf10tU/R.INSTALL38c9f42303af68/DiceKriging/src'
make[1]: Leaving directory '/tmp/RtmpNf10tU/R.INSTALL38c9f42303af68/DiceKriging/src'
installing to /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/00LOCK-DiceKriging/00new/DiceKriging/libs
** R
** inst
** byte-compile and prepare package for lazy loading
Note: ... may be used in an incorrect context 
** 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 (DiceKriging)