* installing *source* package 'lidR' ... ** this is package 'lidR' version '4.2.0' ** using staged installation ** libs using C++ compiler: 'g++.exe (GCC) 14.2.0' using C++17 g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/BH/include' -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -I../inst/include/ -DRCPP_NO_MODULES -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c C_Gatziolis2019.cpp -o C_Gatziolis2019.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/BH/include' -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -I../inst/include/ -DRCPP_NO_MODULES -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c C_chm_prep.cpp -o C_chm_prep.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/BH/include' -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -I../inst/include/ -DRCPP_NO_MODULES -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c C_dalponte2016.cpp -o C_dalponte2016.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/BH/include' -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -I../inst/include/ -DRCPP_NO_MODULES -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c C_delaunay.cpp -o C_delaunay.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/BH/include' -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -I../inst/include/ -DRCPP_NO_MODULES -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -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 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 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 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 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"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/BH/include' -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -I../inst/include/ -DRCPP_NO_MODULES -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c Progress.cpp -o Progress.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/BH/include' -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -I../inst/include/ -DRCPP_NO_MODULES -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c RcppExports.cpp -o RcppExports.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/BH/include' -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -I../inst/include/ -DRCPP_NO_MODULES -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -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 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 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 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 long unsigned int'} and 'int' [-Wsign-compare] 248 | while (pts.size() < k && pts.size() < npoints && radius <= maxradius) | ~~~~~~~~~~~^~~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/BH/include' -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -I../inst/include/ -DRCPP_NO_MODULES -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -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 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 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 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 long unsigned int'} and 'int' [-Wsign-compare] 248 | while (pts.size() < k && pts.size() < npoints && radius <= maxradius) | ~~~~~~~~~~~^~~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/BH/include' -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -I../inst/include/ -DRCPP_NO_MODULES -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c altrep.cpp -o altrep.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/BH/include' -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -I../inst/include/ -DRCPP_NO_MODULES -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c convaveman.cpp -o convaveman.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/BH/include' -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -I../inst/include/ -DRCPP_NO_MODULES -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -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 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 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 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 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"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/BH/include' -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -I../inst/include/ -DRCPP_NO_MODULES -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c openmputils.cpp -o openmputils.o g++ -shared -s -static-libgcc -o lidR.dll tmp.def 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 -LD:/RCompile/recent/R/bin/x64 -lRlapack -LD:/RCompile/recent/R/bin/x64 -lRblas -lgfortran -lquadmath -fopenmp -Ld:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools45/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R/bin/x64 -lR installing to d:/RCompile/CRANincoming/R-devel/lib/00LOCK-lidR/00new/lidR/libs/x64 ** 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 ** testing if installed package can be loaded from final location ** testing if installed package keeps a record of temporary installation path * DONE (lidR)