* installing to library ‘/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages’
* installing *source* package ‘topmodel’ ...
** package ‘topmodel’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘gcc-14 (Debian 14.2.0-6) 14.2.0’
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpWQS1Al/R.INSTALL208db718e4ebde/topmodel/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 NS.c -o NS.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 c_flowlength.c -o c_flowlength.o
c_flowlength.c: In function ‘c_flowlength’:
c_flowlength.c:103:35: warning: ‘idown’ may be used uninitialized [-Wmaybe-uninitialized]
  103 |             flowi[flowlength] = i + idown;
      |                                 ~~^~~~~~~
c_flowlength.c:10:25: note: ‘idown’ was declared here
   10 |   int i,j,ii,jj,i2,j2,k,idown,jdown,orig_i,orig_j,flowlength,endflow;
      |                         ^~~~~
c_flowlength.c:104:35: warning: ‘jdown’ may be used uninitialized [-Wmaybe-uninitialized]
  104 |             flowj[flowlength] = j + jdown;
      |                                 ~~^~~~~~~
c_flowlength.c:10:31: note: ‘jdown’ was declared here
   10 |   int i,j,ii,jj,i2,j2,k,idown,jdown,orig_i,orig_j,flowlength,endflow;
      |                               ^~~~~
c_flowlength.c:101:34: warning: ‘divdown’ may be used uninitialized [-Wmaybe-uninitialized]
  101 |             distance[flowlength] = divdown;
      |             ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
c_flowlength.c:13:18: note: ‘divdown’ was declared here
   13 |   double max,div,divdown,exclude;
      |                  ^~~~~~~
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 c_infiltration.c -o c_infiltration.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 c_sinkfill.c -o c_sinkfill.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 c_streamorder.c -o c_streamorder.o
c_streamorder.c: In function ‘c_streamorder’:
c_streamorder.c:73:15: warning: ‘max’ may be used uninitialized [-Wmaybe-uninitialized]
   73 |             if(((dem[i+ii][j+jj] - dem[i][j])/div) > max) {
      |               ^
c_streamorder.c:15:43: note: ‘max’ was declared here
   15 |   double upslope, downslope, div,exclude, max;
      |                                           ^~~
c_streamorder.c:134:39: warning: ‘idown’ may be used uninitialized [-Wmaybe-uninitialized]
  134 |               flowi[flowlength-1] = i + idown;
      |                                     ~~^~~~~~~
c_streamorder.c:12:23: note: ‘idown’ was declared here
   12 |   int i,j,ii,jj,i2,j2,idown,jdown,orig_i,orig_j,flowlength;
      |                       ^~~~~
c_streamorder.c:135:39: warning: ‘jdown’ may be used uninitialized [-Wmaybe-uninitialized]
  135 |               flowj[flowlength-1] = j + jdown;
      |                                     ~~^~~~~~~
c_streamorder.c:12:29: note: ‘jdown’ was declared here
   12 |   int i,j,ii,jj,i2,j2,idown,jdown,orig_i,orig_j,flowlength;
      |                             ^~~~~
c_streamorder.c:175:23: warning: ‘bifurc’ may be used uninitialized [-Wmaybe-uninitialized]
  175 |                     if(bifurc == 0) {
      |                       ^
c_streamorder.c:13:7: note: ‘bifurc’ was declared here
   13 |   int bifurc,order,endflow;
      |       ^~~~~~
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 c_subcatch.c -o c_subcatch.o
c_subcatch.c: In function ‘c_subcatch’:
c_subcatch.c:112:37: warning: ‘idown’ may be used uninitialized [-Wmaybe-uninitialized]
  112 |             flowi[flowlength-1] = i + idown;
      |                                   ~~^~~~~~~
c_subcatch.c:11:7: note: ‘idown’ was declared here
   11 |   int idown,jdown,origin_i,origin_j,flowlength;
      |       ^~~~~
c_subcatch.c:113:37: warning: ‘jdown’ may be used uninitialized [-Wmaybe-uninitialized]
  113 |             flowj[flowlength-1] = j + jdown;
      |                                   ~~^~~~~~~
c_subcatch.c:11:13: note: ‘jdown’ was declared here
   11 |   int idown,jdown,origin_i,origin_j,flowlength;
      |             ^~~~~
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 c_topidx.c -o c_topidx.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 c_topmodel.c -o c_topmodel.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 core_topmodel.c -o core_topmodel.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 get_f.c -o get_f.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 misc.c -o misc.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 output.c -o output.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 param_init.c -o param_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 river.c -o river.o
river.c: In function ‘findrivers’:
river.c:142:28: warning: ‘idown’ may be used uninitialized [-Wmaybe-uninitialized]
  142 |           riveri[nriv] = i + idown;
      |                          ~~^~~~~~~
river.c:24:13: note: ‘idown’ was declared here
   24 |   int i,j,k,idown,jdown,river_origin_i,river_origin_j,endriver,nriv;
      |             ^~~~~
river.c:143:28: warning: ‘jdown’ may be used uninitialized [-Wmaybe-uninitialized]
  143 |           riverj[nriv] = j + jdown;
      |                          ~~^~~~~~~
river.c:24:19: note: ‘jdown’ was declared here
   24 |   int i,j,k,idown,jdown,river_origin_i,river_origin_j,endriver,nriv;
      |                   ^~~~~
river.c:140:22: warning: ‘addist’ may be used uninitialized [-Wmaybe-uninitialized]
  140 |           dist[nriv] = addist;
      |           ~~~~~~~~~~~^~~~~~~~
river.c:28:15: note: ‘addist’ was declared here
   28 |   double max, addist, exclude, dist3;
      |               ^~~~~~
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 startroutines.c -o startroutines.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 topmodel_init.c -o topmodel_init.o
gcc-14 -shared -L/home/hornik/tmp/R.check/r-release-gcc/Work/build/lib -Wl,-O1 -o topmodel.so NS.o c_flowlength.o c_infiltration.o c_sinkfill.o c_streamorder.o c_subcatch.o c_topidx.o c_topmodel.o core_topmodel.o get_f.o misc.o output.o param_init.o river.o startroutines.o topmodel_init.o -L/home/hornik/tmp/R.check/r-release-gcc/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpWQS1Al/R.INSTALL208db718e4ebde/topmodel/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpWQS1Al/R.INSTALL208db718e4ebde/topmodel/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpWQS1Al/R.INSTALL208db718e4ebde/topmodel/src'
installing to /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/00LOCK-topmodel/00new/topmodel/libs
** R
** data
** 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 (topmodel)