* installing *source* package ‘lidR’ ... ** this is package ‘lidR’ version ‘4.2.1’ ** using staged installation ** libs using C++ compiler: ‘g++-14 (Debian 14.2.0-19) 14.2.0’ using C++17 g++-14 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/BH/include' -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppArmadillo/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fopenmp -I../inst/include/ -DRCPP_NO_MODULES -fpic -g -O2 -Wall -pedantic -mtune=native -c C_Gatziolis2019.cpp -o C_Gatziolis2019.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/BH/include' -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppArmadillo/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fopenmp -I../inst/include/ -DRCPP_NO_MODULES -fpic -g -O2 -Wall -pedantic -mtune=native -c C_chm_prep.cpp -o C_chm_prep.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/BH/include' -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppArmadillo/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fopenmp -I../inst/include/ -DRCPP_NO_MODULES -fpic -g -O2 -Wall -pedantic -mtune=native -c C_dalponte2016.cpp -o C_dalponte2016.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/BH/include' -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppArmadillo/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fopenmp -I../inst/include/ -DRCPP_NO_MODULES -fpic -g -O2 -Wall -pedantic -mtune=native -c C_delaunay.cpp -o C_delaunay.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/BH/include' -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppArmadillo/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fopenmp -I../inst/include/ -DRCPP_NO_MODULES -fpic -g -O2 -Wall -pedantic -mtune=native -c LAS.cpp -o LAS.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 >&)’: ../inst/include/lidR/SparsePartition.h:166:39: warning: comparison of integer expressions of different signedness: ‘std::vector >::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 >&)’: ../inst/include/lidR/SparsePartition.h:193:41: warning: comparison of integer expressions of different signedness: ‘std::vector >::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 >&)’: ../inst/include/lidR/SparsePartition.h:223:39: warning: comparison of integer expressions of different signedness: ‘std::vector >::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 >&)’: ../inst/include/lidR/SparsePartition.h:248:41: warning: comparison of integer expressions of different signedness: ‘std::vector >::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++-14 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/BH/include' -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppArmadillo/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fopenmp -I../inst/include/ -DRCPP_NO_MODULES -fpic -g -O2 -Wall -pedantic -mtune=native -c Progress.cpp -o Progress.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/BH/include' -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppArmadillo/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fopenmp -I../inst/include/ -DRCPP_NO_MODULES -fpic -g -O2 -Wall -pedantic -mtune=native -c RcppExports.cpp -o RcppExports.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/BH/include' -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppArmadillo/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fopenmp -I../inst/include/ -DRCPP_NO_MODULES -fpic -g -O2 -Wall -pedantic -mtune=native -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 >&)’: ../inst/include/lidR/SparsePartition.h:166:39: warning: comparison of integer expressions of different signedness: ‘std::vector >::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 >&)’: ../inst/include/lidR/SparsePartition.h:193:41: warning: comparison of integer expressions of different signedness: ‘std::vector >::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 >&)’: ../inst/include/lidR/SparsePartition.h:223:39: warning: comparison of integer expressions of different signedness: ‘std::vector >::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 >&)’: ../inst/include/lidR/SparsePartition.h:248:41: warning: comparison of integer expressions of different signedness: ‘std::vector >::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/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/BH/include' -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppArmadillo/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fopenmp -I../inst/include/ -DRCPP_NO_MODULES -fpic -g -O2 -Wall -pedantic -mtune=native -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 >&)’: ../inst/include/lidR/SparsePartition.h:166:39: warning: comparison of integer expressions of different signedness: ‘std::vector >::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 >&)’: ../inst/include/lidR/SparsePartition.h:193:41: warning: comparison of integer expressions of different signedness: ‘std::vector >::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 >&)’: ../inst/include/lidR/SparsePartition.h:223:39: warning: comparison of integer expressions of different signedness: ‘std::vector >::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 >&)’: ../inst/include/lidR/SparsePartition.h:248:41: warning: comparison of integer expressions of different signedness: ‘std::vector >::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/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/BH/include' -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppArmadillo/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fopenmp -I../inst/include/ -DRCPP_NO_MODULES -fpic -g -O2 -Wall -pedantic -mtune=native -c altrep.cpp -o altrep.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/BH/include' -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppArmadillo/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fopenmp -I../inst/include/ -DRCPP_NO_MODULES -fpic -g -O2 -Wall -pedantic -mtune=native -c convaveman.cpp -o convaveman.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/BH/include' -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppArmadillo/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fopenmp -I../inst/include/ -DRCPP_NO_MODULES -fpic -g -O2 -Wall -pedantic -mtune=native -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 >&)’: ../inst/include/lidR/SparsePartition.h:166:39: warning: comparison of integer expressions of different signedness: ‘std::vector >::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 >&)’: ../inst/include/lidR/SparsePartition.h:193:41: warning: comparison of integer expressions of different signedness: ‘std::vector >::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 >&)’: ../inst/include/lidR/SparsePartition.h:223:39: warning: comparison of integer expressions of different signedness: ‘std::vector >::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 >&)’: ../inst/include/lidR/SparsePartition.h:248:41: warning: comparison of integer expressions of different signedness: ‘std::vector >::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++-14 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/BH/include' -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppArmadillo/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fopenmp -I../inst/include/ -DRCPP_NO_MODULES -fpic -g -O2 -Wall -pedantic -mtune=native -c openmputils.cpp -o openmputils.o g++-14 -std=gnu++17 -shared -L/home/hornik/tmp/R/lib -Wl,-O1 -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/home/hornik/tmp/R/lib -lRblas -lgfortran -lm -lquadmath -fopenmp -L/home/hornik/tmp/R/lib -lR installing to /home/hornik/tmp/CRAN_recheck/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)