* installing to library ‘/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages’
* installing *source* package ‘rsdepth’ ...
** package ‘rsdepth’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++-14 (Debian 14.2.0-8) 14.2.0’
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpVyYeCB/R.INSTALL1b564e12f41ca8/rsdepth/src'
g++-14 -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 pointline.cpp -o pointline.o
g++-14 -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 polygon.cpp -o polygon.o
g++-14 -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 rsdepth.cpp -o rsdepth.o
rsdepth.cpp: In function ‘int FillBag(double*, double, double*, int*)’:
rsdepth.cpp:283:20: warning: variable ‘max’ set but not used [-Wunused-but-set-variable]
  283 |             double max = 0;
      |                    ^~~
rsdepth.cpp: In function ‘void GetCenter(double*, int*)’:
rsdepth.cpp:349:20: warning: variable ‘max’ set but not used [-Wunused-but-set-variable]
  349 |             double max = 0;
      |                    ^~~
rsdepth.cpp: In function ‘double RSDepth(MyPoint)’:
rsdepth.cpp:106:33: warning: ‘*total’ may be used uninitialized [-Wmaybe-uninitialized]
  106 |     for (int i = 0; i <= total[0]; i++)
      |                          ~~~~~~~^
g++-14 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-release-gcc/Work/build/lib -Wl,-O1 -o rsdepth.so pointline.o polygon.o rsdepth.o -L/home/hornik/tmp/R.check/r-release-gcc/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpVyYeCB/R.INSTALL1b564e12f41ca8/rsdepth/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpVyYeCB/R.INSTALL1b564e12f41ca8/rsdepth/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpVyYeCB/R.INSTALL1b564e12f41ca8/rsdepth/src'
installing to /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/00LOCK-rsdepth/00new/rsdepth/libs
** R
** 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 (rsdepth)