* installing to library ‘/home/hornik/tmp/R.check/r-patched-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++-14 (Debian 14.3.0-8) 14.3.0’
using C++17
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpaXLlwT/R.INSTALL1f01316ddc1a8/CspStandSegmentation/src'
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/lidR/include' -I'/home/hornik/tmp/R.check/r-patched-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-patched-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-patched-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-patched-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-patched-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-patched-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-patched-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-patched-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-patched-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-patched-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++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/lidR/include' -I'/home/hornik/tmp/R.check/r-patched-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++-14 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-patched-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-patched-gcc/Work/build/lib -lRblas -lgfortran -lm -lquadmath -fopenmp -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpaXLlwT/R.INSTALL1f01316ddc1a8/CspStandSegmentation/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpaXLlwT/R.INSTALL1f01316ddc1a8/CspStandSegmentation/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpaXLlwT/R.INSTALL1f01316ddc1a8/CspStandSegmentation/src'
installing to /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/00LOCK-CspStandSegmentation/00new/CspStandSegmentation/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
  converting help for package ‘CspStandSegmentation’
    finding HTML links ... done
    add_geometry                            html  
    add_las_attributes                      html  
    add_voxel_coordinates                   html  
    comparative_shortest_path               html  
    csp_cost_segmentation                   html  
    eigen_decomposition                     html  
    fast_unlist                             html  
    fast_unlist_dist                        html  
    fds                                     html  
    find_base_coordinates_geom              html  
    find_base_coordinates_raster            html  
    forest_inventory                        html  
    forest_inventory_simple                 html  
    las_merge                               html  
    p_dist                                  html  
    p_mat_dist                              html  
    plot_inventory                          html  
    point_center_angle                      html  
    point_circle_distance                   html  
    ransac_circle_fit                       html  
    suppress_cat                            html  
    voxelize_points_mean_attributes         html  
** 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)