* installing to library ‘/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages’
* installing *source* package ‘rgenoud’ ...
** package ‘rgenoud’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘gcc-13 (Debian 13.2.0-13) 13.2.0’
using C++ compiler: ‘g++-13 (Debian 13.2.0-13) 13.2.0’
make[1]: Entering directory '/tmp/RtmpVtCsND/R.INSTALL3a98a72413629a/rgenoud/src'
g++-13 -std=gnu++17 -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 -pedantic -mtune=native  -c change_order.cpp -o change_order.o
g++-13 -std=gnu++17 -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 -pedantic -mtune=native  -c eval.cpp -o eval.o
g++-13 -std=gnu++17 -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 -pedantic -mtune=native  -c evaluate.cpp -o evaluate.o
evaluate.cpp: In function ‘void JaIntegerSort(double**, long int, long int)’:
evaluate.cpp:4056:8: warning: variable ‘nvars’ set but not used [-Wunused-but-set-variable]
 4056 |   long nvars;
      |        ^~~~~
evaluate.cpp: In function ‘void JaDoubleSort(double**, long int, long int)’:
evaluate.cpp:4093:8: warning: variable ‘nvars’ set but not used [-Wunused-but-set-variable]
 4093 |   long nvars;
      |        ^~~~~
evaluate.cpp: In function ‘void optimization(GND_IOstructure*, VECTOR, MATRIX)’:
evaluate.cpp:415:17: warning: ‘LexicalReturn’ may be used uninitialized [-Wmaybe-uninitialized]
  415 |             free(LexicalReturn);
      |             ~~~~^~~~~~~~~~~~~~~
evaluate.cpp:253:10: note: ‘LexicalReturn’ was declared here
  253 |   VECTOR LexicalReturn;
      |          ^~~~~~~~~~~~~
evaluate.cpp:416:17: warning: ‘oldfitvalueVEC’ may be used uninitialized [-Wmaybe-uninitialized]
  416 |             free(oldfitvalueVEC);
      |             ~~~~^~~~~~~~~~~~~~~~
evaluate.cpp:254:10: note: ‘oldfitvalueVEC’ was declared here
  254 |   VECTOR oldfitvalueVEC;
      |          ^~~~~~~~~~~~~~
evaluate.cpp:401:23: warning: ‘Memory’ may be used uninitialized [-Wmaybe-uninitialized]
  401 |           JaMatrixFree(Memory, MemorySize);
      |           ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
evaluate.cpp:216:12: note: ‘Memory’ was declared here
  216 |   double **Memory;
      |            ^~~~~~
evaluate.cpp: In function ‘void JaIntegerOptimization(GND_IOstructure*, VECTOR, MATRIX)’:
evaluate.cpp:2850:17: warning: ‘LexicalReturn’ may be used uninitialized [-Wmaybe-uninitialized]
 2850 |             free(LexicalReturn);
      |             ~~~~^~~~~~~~~~~~~~~
evaluate.cpp:2684:10: note: ‘LexicalReturn’ was declared here
 2684 |   VECTOR LexicalReturn;
      |          ^~~~~~~~~~~~~
evaluate.cpp:2851:17: warning: ‘oldfitvalueVEC’ may be used uninitialized [-Wmaybe-uninitialized]
 2851 |             free(oldfitvalueVEC);
      |             ~~~~^~~~~~~~~~~~~~~~
evaluate.cpp:2685:10: note: ‘oldfitvalueVEC’ was declared here
 2685 |   VECTOR oldfitvalueVEC;
      |          ^~~~~~~~~~~~~~
evaluate.cpp:2837:23: warning: ‘Memory’ may be used uninitialized [-Wmaybe-uninitialized]
 2837 |           JaMatrixFree(Memory, MemorySize);
      |           ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
evaluate.cpp:2647:12: note: ‘Memory’ was declared here
 2647 |   double **Memory;
      |            ^~~~~~
g++-13 -std=gnu++17 -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 -pedantic -mtune=native  -c frange_ran.cpp -o frange_ran.o
g++-13 -std=gnu++17 -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 -pedantic -mtune=native  -c genoud.cpp -o genoud.o
genoud.cpp: In function ‘void genoud(GND_IOstructure*)’:
genoud.cpp:66:8: warning: variable ‘LVMreturn’ set but not used [-Wunused-but-set-variable]
   66 |   long LVMreturn;
      |        ^~~~~~~~~
g++-13 -std=gnu++17 -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 -pedantic -mtune=native  -c gradient.cpp -o gradient.o
gradient.cpp: In function ‘void numgradc(SEXP, SEXP, double*, double*, int, double*, double*, double*, double (*)(SEXP, SEXP, double*, long int, short int, short int, double**), short int, short int, double**)’:
gradient.cpp:208:10: warning: variable ‘u’ set but not used [-Wunused-but-set-variable]
  208 |   double u, fplus, fminus;
      |          ^
gradient.cpp:209:10: warning: variable ‘epsuse’ set but not used [-Wunused-but-set-variable]
  209 |   double epsuse;
      |          ^~~~~~
gradient.cpp: In function ‘estints* algfd(SEXP, SEXP, int, double*, double*, double*, double (*)(SEXP, SEXP, double*, long int, short int, short int, double**), short int, short int, double**)’:
gradient.cpp:405:3: warning: label ‘FD1’ defined but not used [-Wunused-label]
  405 |   FD1:
      |   ^~~
gradient.cpp:413:3: warning: label ‘FD2’ defined but not used [-Wunused-label]
  413 |   FD2:
      |   ^~~
gradient.cpp:420:3: warning: label ‘FD3’ defined but not used [-Wunused-label]
  420 |   FD3:
      |   ^~~
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
g++-13 -std=gnu++17 -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 -pedantic -mtune=native  -c math.cpp -o math.o
g++-13 -std=gnu++17 -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 -pedantic -mtune=native  -c multiply.cpp -o multiply.o
g++-13 -std=gnu++17 -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 -pedantic -mtune=native  -c numerics.cpp -o numerics.o
g++-13 -std=gnu++17 -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 -pedantic -mtune=native  -c operators.cpp -o operators.o
g++-13 -std=gnu++17 -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 -pedantic -mtune=native  -c print_format.cpp -o print_format.o
print_format.cpp: In function ‘long int ReadPopulation(double**, long int, long int, FILE*, short int)’:
print_format.cpp:34:19: warning: variable ‘fint’ set but not used [-Wunused-but-set-variable]
   34 |   int i, j, ltmp, fint;
      |                   ^~~~
print_format.cpp:95:29: warning: ‘OldData’ may be used uninitialized [-Wmaybe-uninitialized]
   95 |       Data[i][j] = OldData[i][j];
      |                    ~~~~~~~~~^
print_format.cpp:35:12: note: ‘OldData’ was declared here
   35 |   double **OldData;
      |            ^~~~~~~
g++-13 -std=gnu++17 -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 -pedantic -mtune=native  -c rgenoud.cpp -o rgenoud.o
rgenoud.cpp: In function ‘SEXPREC* rgenoud(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)’:
rgenoud.cpp:167:34: warning: ‘StartingValues’ may be used uninitialized [-Wmaybe-uninitialized]
  167 |     MainStructure->StartingValues=StartingValues;
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
rgenoud.cpp:140:14: note: ‘StartingValues’ was declared here
  140 |     double **StartingValues;
      |              ^~~~~~~~~~~~~~
g++-13 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-release-gcc/Work/build/lib -Wl,-O1 -o rgenoud.so change_order.o eval.o evaluate.o frange_ran.o genoud.o gradient.o init.o math.o multiply.o numerics.o operators.o print_format.o rgenoud.o -L/home/hornik/tmp/R.check/r-release-gcc/Work/build/lib -lR
make[1]: Leaving directory '/tmp/RtmpVtCsND/R.INSTALL3a98a72413629a/rgenoud/src'
make[1]: Entering directory '/tmp/RtmpVtCsND/R.INSTALL3a98a72413629a/rgenoud/src'
make[1]: Leaving directory '/tmp/RtmpVtCsND/R.INSTALL3a98a72413629a/rgenoud/src'
installing to /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/00LOCK-rgenoud/00new/rgenoud/libs
** R
** 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 (rgenoud)