* installing to library ‘/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages’
* installing *source* package ‘CspStandSegmentation’ ...
** this is package ‘CspStandSegmentation’ version ‘0.1.2’
** package ‘CspStandSegmentation’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++-15 (Debian 15.2.0-4) 15.2.0’
using C++17
make[1]: Entering directory '/tmp/Rtmp2Y2Evn/R.INSTALL8bb2c3f9dbf89/CspStandSegmentation/src'
g++-15 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/lidR/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -I../inst/include/ -DRCPP_NO_MODULES -DWITHSETLENGTH -fpic  -g -O2 -Wall -pedantic -mtune=native   -c 2021-11-12_A1_JF_csp_cost_cpp_functions.cpp -o 2021-11-12_A1_JF_csp_cost_cpp_functions.o
In file included from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/lidR/include/SpatialIndex.h:6,
                 from 2021-11-12_A1_JF_csp_cost_cpp_functions.cpp:6:
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/lidR/include/lidR/SparsePartition.h: In member function ‘void lidR::SparsePartition3D::knn(const lidR::PointXY&, unsigned int, std::vector<lidR::Point3D<double, double, double, unsigned int> >&)’:
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/lidR/include/lidR/SparsePartition.h:166:39: warning: comparison of integer expressions of different signedness: ‘std::vector<lidR::Point3D<double, double, double, unsigned int> >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
  166 |   while (pts.size() < k && pts.size() < npoints)
      |                            ~~~~~~~~~~~^~~~~~~~~
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/lidR/include/lidR/SparsePartition.h: In member function ‘void lidR::SparsePartition3D::knn(const lidR::PointXY&, unsigned int, double, std::vector<lidR::Point3D<double, double, double, unsigned int> >&)’:
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/lidR/include/lidR/SparsePartition.h:193:41: warning: comparison of integer expressions of different signedness: ‘std::vector<lidR::Point3D<double, double, double, unsigned int> >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
  193 |     while (pts.size() < k && pts.size() < npoints && radius <= maxradius) {
      |                              ~~~~~~~~~~~^~~~~~~~~
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/lidR/include/lidR/SparsePartition.h: In member function ‘void lidR::SparsePartition3D::knn(const lidR::PointXYZ&, unsigned int, std::vector<lidR::Point3D<double, double, double, unsigned int> >&)’:
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/lidR/include/lidR/SparsePartition.h:223:39: warning: comparison of integer expressions of different signedness: ‘std::vector<lidR::Point3D<double, double, double, unsigned int> >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
  223 |   while (pts.size() < k && pts.size() < npoints) {
      |                            ~~~~~~~~~~~^~~~~~~~~
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/lidR/include/lidR/SparsePartition.h: In member function ‘void lidR::SparsePartition3D::knn(const lidR::PointXYZ&, unsigned int, double, std::vector<lidR::Point3D<double, double, double, unsigned int> >&)’:
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/lidR/include/lidR/SparsePartition.h:248:41: warning: comparison of integer expressions of different signedness: ‘std::vector<lidR::Point3D<double, double, double, unsigned int> >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
  248 |     while (pts.size() < k && pts.size() < npoints && radius <= maxradius)
      |                              ~~~~~~~~~~~^~~~~~~~~
g++-15 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/lidR/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -I../inst/include/ -DRCPP_NO_MODULES -DWITHSETLENGTH -fpic  -g -O2 -Wall -pedantic -mtune=native   -c RcppExports.cpp -o RcppExports.o
g++-15 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib -Wl,-O1 -o CspStandSegmentation.so 2021-11-12_A1_JF_csp_cost_cpp_functions.o RcppExports.o -llapack -L/home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib -lRblas -lgfortran -lm -lquadmath -fopenmp -L/home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib -lR
make[1]: Leaving directory '/tmp/Rtmp2Y2Evn/R.INSTALL8bb2c3f9dbf89/CspStandSegmentation/src'
make[1]: Entering directory '/tmp/Rtmp2Y2Evn/R.INSTALL8bb2c3f9dbf89/CspStandSegmentation/src'
make[1]: Leaving directory '/tmp/Rtmp2Y2Evn/R.INSTALL8bb2c3f9dbf89/CspStandSegmentation/src'
installing to /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/00LOCK-CspStandSegmentation/00new/CspStandSegmentation/libs
** R
** inst
** 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 (CspStandSegmentation)