* installing *source* package 'rsdepth' ...
** package 'rsdepth' successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: 'g++.exe (GCC) 13.3.0'
make[1]: Entering directory '/d/temp/2024_12_18_01_50_01_11818/RtmpeSgdC9/R.INSTALL13e0ca3666de/rsdepth/src'
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"      -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c pointline.cpp -o pointline.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"      -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -c polygon.cpp -o polygon.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG     -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"      -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -DR_NO_REMAP -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++ -std=gnu++17 -shared -s -static-libgcc -o rsdepth.dll tmp.def pointline.o polygon.o rsdepth.o -Ld:/rtools44/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools44/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R/bin/x64 -lR
make[1]: Leaving directory '/d/temp/2024_12_18_01_50_01_11818/RtmpeSgdC9/R.INSTALL13e0ca3666de/rsdepth/src'
make[1]: Entering directory '/d/temp/2024_12_18_01_50_01_11818/RtmpeSgdC9/R.INSTALL13e0ca3666de/rsdepth/src'
make[1]: Leaving directory '/d/temp/2024_12_18_01_50_01_11818/RtmpeSgdC9/R.INSTALL13e0ca3666de/rsdepth/src'
installing to d:/Rcompile/CRANpkg/lib/4.5/00LOCK-rsdepth/00new/rsdepth/libs/x64
** 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
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* MD5 sums
packaged installation of 'rsdepth' as rsdepth_0.1-22.zip
* DONE (rsdepth)