* installing *source* package ‘lidR’ ...
** package ‘lidR’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’
using SDK: ‘MacOSX11.3.sdk’
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/BH/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/x86_64/include    -I../inst/include/ -DRCPP_NO_MODULES -fPIC  -falign-functions=64 -Wall -g -O2  -c C_Gatziolis2019.cpp -o C_Gatziolis2019.o
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/BH/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/x86_64/include    -I../inst/include/ -DRCPP_NO_MODULES -fPIC  -falign-functions=64 -Wall -g -O2  -c C_chm_prep.cpp -o C_chm_prep.o
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/BH/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/x86_64/include    -I../inst/include/ -DRCPP_NO_MODULES -fPIC  -falign-functions=64 -Wall -g -O2  -c C_dalponte2016.cpp -o C_dalponte2016.o
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/BH/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/x86_64/include    -I../inst/include/ -DRCPP_NO_MODULES -fPIC  -falign-functions=64 -Wall -g -O2  -c C_delaunay.cpp -o C_delaunay.o
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/BH/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/x86_64/include    -I../inst/include/ -DRCPP_NO_MODULES -fPIC  -falign-functions=64 -Wall -g -O2  -c LAS.cpp -o LAS.o
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/BH/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/x86_64/include    -I../inst/include/ -DRCPP_NO_MODULES -fPIC  -falign-functions=64 -Wall -g -O2  -c Progress.cpp -o Progress.o
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/BH/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/x86_64/include    -I../inst/include/ -DRCPP_NO_MODULES -fPIC  -falign-functions=64 -Wall -g -O2  -c RcppExports.cpp -o RcppExports.o
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/BH/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/x86_64/include    -I../inst/include/ -DRCPP_NO_MODULES -fPIC  -falign-functions=64 -Wall -g -O2  -c RcppFunction.cpp -o RcppFunction.o
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/BH/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/x86_64/include    -I../inst/include/ -DRCPP_NO_MODULES -fPIC  -falign-functions=64 -Wall -g -O2  -c UnitTests.cpp -o UnitTests.o
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/BH/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/x86_64/include    -I../inst/include/ -DRCPP_NO_MODULES -fPIC  -falign-functions=64 -Wall -g -O2  -c altrep.cpp -o altrep.o
LAS.cpp:375:8: warning: unused variable 'UKN' [-Wunused-variable]
  char UKN = 0;
       ^
LAS.cpp:377:8: warning: unused variable 'LMX' [-Wunused-variable]
  char LMX = 2;
       ^
LAS.cpp:463:10: warning: variable 'orientation' set but not used [-Wunused-but-set-variable]
  double orientation = 0;
         ^
LAS.cpp:621:10: warning: unused variable 'is_in_polygon' [-Wunused-variable]
    bool is_in_polygon = false;
         ^
LAS.cpp:784:10: warning: unused variable 'zmax' [-Wunused-variable]
  double zmax = max(Z);
         ^
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/BH/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/x86_64/include    -I../inst/include/ -DRCPP_NO_MODULES -fPIC  -falign-functions=64 -Wall -g -O2  -c convaveman.cpp -o convaveman.o
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/BH/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/x86_64/include    -I../inst/include/ -DRCPP_NO_MODULES -fPIC  -falign-functions=64 -Wall -g -O2  -c openmputils.cpp -o openmputils.o
5 warnings generated.
clang++ -arch x86_64 -std=gnu++17 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/x86_64/lib -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 openmputils.o -L/Library/Frameworks/R.framework/Resources/lib -lRlapack -L/Library/Frameworks/R.framework/Resources/lib -lRblas -L/opt/gfortran/lib/gcc/x86_64-apple-darwin20.0/12.2.0 -L/opt/gfortran/lib -lgfortran -lquadmath -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
installing to /Volumes/Builds/packages/big-sur-x86_64/results/4.3/lidR.Rcheck/00LOCK-lidR/00new/lidR/libs
** generating debug symbols (dSYM)
** 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)