* installing to library ‘/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages’
* installing *source* package ‘rsdepth’ ...
** package ‘rsdepth’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++-13 (Debian 13.2.0-23) 13.2.0’
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmplVI2k8/R.INSTALL11ea82406980da/rsdepth/src'
g++-13 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-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++-13 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-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++-13 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-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++-13 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib -Wl,-O1 -o rsdepth.so pointline.o polygon.o rsdepth.o -L/home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmplVI2k8/R.INSTALL11ea82406980da/rsdepth/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmplVI2k8/R.INSTALL11ea82406980da/rsdepth/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmplVI2k8/R.INSTALL11ea82406980da/rsdepth/src'
installing to /home/hornik/tmp/R.check/r-devel-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
* creating tarball
packaged installation of ‘rsdepth’ as ‘rsdepth_0.1-22_R_x86_64-pc-linux-gnu.tar.gz’
* DONE (rsdepth)