* 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++ (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)’
using C++17
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/CspStandSegmentation/src'
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/lidR/include' -I'/data/gannet/ripley/R/test-dev/BH/include' -I/usr/local/include   -fopenmp -I../inst/include/ -DRCPP_NO_MODULES -DWITHSETLENGTH -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection   -c 2021-11-12_A1_JF_csp_cost_cpp_functions.cpp -o 2021-11-12_A1_JF_csp_cost_cpp_functions.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I'/data/gannet/ripley/R/test-dev/lidR/include' -I'/data/gannet/ripley/R/test-dev/BH/include' -I/usr/local/include   -fopenmp -I../inst/include/ -DRCPP_NO_MODULES -DWITHSETLENGTH -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection   -c RcppExports.cpp -o RcppExports.o
In file included from /data/gannet/ripley/R/test-dev/lidR/include/SpatialIndex.h:6,
                 from 2021-11-12_A1_JF_csp_cost_cpp_functions.cpp:6:
/data/gannet/ripley/R/test-dev/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> >&)’:
/data/gannet/ripley/R/test-dev/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)
      |                            ~~~~~~~~~~~^~~~~~~~~
/data/gannet/ripley/R/test-dev/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> >&)’:
/data/gannet/ripley/R/test-dev/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) {
      |                              ~~~~~~~~~~~^~~~~~~~~
/data/gannet/ripley/R/test-dev/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> >&)’:
/data/gannet/ripley/R/test-dev/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) {
      |                            ~~~~~~~~~~~^~~~~~~~~
/data/gannet/ripley/R/test-dev/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> >&)’:
/data/gannet/ripley/R/test-dev/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++ -std=gnu++17 -shared -L/usr/local/lib64 -o CspStandSegmentation.so 2021-11-12_A1_JF_csp_cost_cpp_functions.o RcppExports.o -llapack -L/data/gannet/ripley/R/R-devel/lib -lRblas -lgfortran -lm -lquadmath -fopenmp
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/CspStandSegmentation/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/CspStandSegmentation/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/CspStandSegmentation/src'
installing to /data/gannet/ripley/R/packages/tests-devel/CspStandSegmentation.Rcheck/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)