* installing *source* package ‘lidR’ ...
** this is package ‘lidR’ version ‘4.2.1’
** package ‘lidR’ 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/lidR/src'
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/BH/include' -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include   -fopenmp -I../inst/include/ -DRCPP_NO_MODULES -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 C_Gatziolis2019.cpp -o C_Gatziolis2019.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/BH/include' -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include   -fopenmp -I../inst/include/ -DRCPP_NO_MODULES -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 C_chm_prep.cpp -o C_chm_prep.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/BH/include' -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include   -fopenmp -I../inst/include/ -DRCPP_NO_MODULES -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 C_dalponte2016.cpp -o C_dalponte2016.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/BH/include' -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include   -fopenmp -I../inst/include/ -DRCPP_NO_MODULES -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 C_delaunay.cpp -o C_delaunay.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/BH/include' -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include   -fopenmp -I../inst/include/ -DRCPP_NO_MODULES -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 LAS.cpp -o LAS.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/BH/include' -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include   -fopenmp -I../inst/include/ -DRCPP_NO_MODULES -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 Progress.cpp -o Progress.o
In file included from ../inst/include/SpatialIndex.h:6,
                 from LAS.cpp:4:
../inst/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> >&)’:
../inst/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)
      |                            ~~~~~~~~~~~^~~~~~~~~
../inst/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> >&)’:
../inst/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) {
      |                              ~~~~~~~~~~~^~~~~~~~~
../inst/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> >&)’:
../inst/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) {
      |                            ~~~~~~~~~~~^~~~~~~~~
../inst/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> >&)’:
../inst/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)
      |                              ~~~~~~~~~~~^~~~~~~~~
LAS.cpp: In member function ‘void LAS::filter_local_maxima(Rcpp::NumericVector, double, bool)’:
LAS.cpp:388:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  388 |   for (int i = 0 ; i < npoints ; i++) { if (Z[i] < min_height) state[i] = NLM; }
      |                    ~~^~~~~~~~~
LAS.cpp:376:8: warning: unused variable ‘UKN’ [-Wunused-variable]
  376 |   char UKN = 0;
      |        ^~~
LAS.cpp:378:8: warning: unused variable ‘LMX’ [-Wunused-variable]
  378 |   char LMX = 2;
      |        ^~~
LAS.cpp: In member function ‘void LAS::filter_local_maxima(Rcpp::NumericVector)’:
LAS.cpp:464:10: warning: variable ‘orientation’ set but not used [-Wunused-but-set-variable]
  464 |   double orientation = 0;
      |          ^~~~~~~~~~~
LAS.cpp: In member function ‘SEXPREC* LAS::find_polygon_ids(Rcpp::List, bool)’:
LAS.cpp:622:10: warning: unused variable ‘is_in_polygon’ [-Wunused-variable]
  622 |     bool is_in_polygon = false;
      |          ^~~~~~~~~~~~~
LAS.cpp: In member function ‘void LAS::filter_isolated_voxel(double, unsigned int)’:
LAS.cpp:785:10: warning: unused variable ‘zmax’ [-Wunused-variable]
  785 |   double zmax = max(Z);
      |          ^~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/BH/include' -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include   -fopenmp -I../inst/include/ -DRCPP_NO_MODULES -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
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/BH/include' -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include   -fopenmp -I../inst/include/ -DRCPP_NO_MODULES -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 RcppFunction.cpp -o RcppFunction.o
In file included from ../inst/include/SpatialIndex.h:6,
                 from RcppFunction.cpp:464:
../inst/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> >&)’:
../inst/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)
      |                            ~~~~~~~~~~~^~~~~~~~~
../inst/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> >&)’:
../inst/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) {
      |                              ~~~~~~~~~~~^~~~~~~~~
../inst/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> >&)’:
../inst/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) {
      |                            ~~~~~~~~~~~^~~~~~~~~
../inst/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> >&)’:
../inst/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 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/BH/include' -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include   -fopenmp -I../inst/include/ -DRCPP_NO_MODULES -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 UnitTests.cpp -o UnitTests.o
In file included from ../inst/include/SpatialIndex.h:6,
                 from UnitTests.cpp:2:
../inst/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> >&)’:
../inst/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)
      |                            ~~~~~~~~~~~^~~~~~~~~
../inst/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> >&)’:
../inst/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) {
      |                              ~~~~~~~~~~~^~~~~~~~~
../inst/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> >&)’:
../inst/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) {
      |                            ~~~~~~~~~~~^~~~~~~~~
../inst/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> >&)’:
../inst/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 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/BH/include' -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include   -fopenmp -I../inst/include/ -DRCPP_NO_MODULES -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 altrep.cpp -o altrep.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/BH/include' -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include   -fopenmp -I../inst/include/ -DRCPP_NO_MODULES -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 convaveman.cpp -o convaveman.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/BH/include' -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include   -fopenmp -I../inst/include/ -DRCPP_NO_MODULES -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 knn.cpp -o knn.o
In file included from ../inst/include/SpatialIndex.h:6,
                 from knn.cpp:1:
../inst/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> >&)’:
../inst/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)
      |                            ~~~~~~~~~~~^~~~~~~~~
../inst/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> >&)’:
../inst/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) {
      |                              ~~~~~~~~~~~^~~~~~~~~
../inst/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> >&)’:
../inst/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) {
      |                            ~~~~~~~~~~~^~~~~~~~~
../inst/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> >&)’:
../inst/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)
      |                              ~~~~~~~~~~~^~~~~~~~~
knn.cpp: In function ‘Rcpp::List cpp_knn(Rcpp::S4, int, int)’:
knn.cpp:33:30: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
   33 |   for (unsigned int i = 0; i < npoints; i++)
      |                            ~~^~~~~~~~~
knn.cpp: In function ‘Rcpp::List cpp_knnx(Rcpp::S4, Rcpp::S4, int, int)’:
knn.cpp:81:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
   81 |   for (unsigned int i = 0 ; i < npoints ; i++)
      |                             ~~^~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/BH/include' -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include   -fopenmp -I../inst/include/ -DRCPP_NO_MODULES -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 openmputils.cpp -o openmputils.o
g++ -std=gnu++17 -shared -L/usr/local/lib64 -o lidR.so C_Gatziolis2019.o C_chm_prep.o C_dalponte2016.o C_delaunay.o LAS.o Progress.o RcppExports.o RcppFunction.o UnitTests.o altrep.o convaveman.o knn.o openmputils.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/lidR/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/lidR/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/lidR/src'
installing to /data/gannet/ripley/R/packages/tests-devel/lidR.Rcheck/00LOCK-lidR/00new/lidR/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** 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 (lidR)