* installing *source* package ‘ICESat2VegR’ ...
** this is package ‘ICESat2VegR’ version ‘0.0.1’
** package ‘ICESat2VegR’ successfully unpacked and MD5 sums checked
** using staged installation
checking for pkg-config... /opt/R/x86_64/bin/pkg-config
checking pkg-config is at least version 0.15.0... yes
checking the operating system name... Darwin
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C++... yes
checking whether clang++ -arch x86_64 -std=gnu++20 accepts -g... yes
checking for clang++ -arch x86_64 -std=gnu++20 option to enable C++11 features... none needed
checking for gdal... yes
checking for gdal... yes
checking for gdal-config... /opt/R/x86_64/bin/gdal-config
configure: Using gdal-config at /opt/R/x86_64/bin/gdal-config
checking for gcc... clang -arch x86_64
checking whether the compiler supports GNU C... yes
checking whether clang -arch x86_64 accepts -g... yes
checking for clang -arch x86_64 option to enable C11 features... none needed
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for gdal.h... yes
checking whether GDAL can be linked using only `gdal-config --libs`... yes
checking for proj... yes
checking proj datadir path... /opt/R/x86_64/share/proj
checking whether PROJ can be ran using the datadir... yes
configure: creating ./config.status
config.status: creating src/Makevars
** libs
using C compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’
using C++ compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’
using SDK: ‘MacOSX11.3.1.sdk’
if [ -n "/opt/R/x86_64/share/proj" ]; then \
		mkdir -p ../inst/proj;\
		cp -R "/opt/R/x86_64/share/proj" ../inst/;\
	else \
		echo "PROJ_DATADIR is empty. Skipping file copy.";\
	fi;
clang++ -arch x86_64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -I/opt/R/x86_64/include/webp -I/opt/R/x86_64/include -I/opt/R/x86_64/include -I/opt/R/x86_64/include/webp -I/opt/R/x86_64/include -I/opt/R/x86_64/include -I/opt/R/x86_64/include -I/opt/R/x86_64/include/webp -I/opt/R/x86_64/include -I. -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c ANN.cpp -o ANN.o
clang++ -arch x86_64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -I/opt/R/x86_64/include/webp -I/opt/R/x86_64/include -I/opt/R/x86_64/include -I/opt/R/x86_64/include/webp -I/opt/R/x86_64/include -I/opt/R/x86_64/include -I/opt/R/x86_64/include -I/opt/R/x86_64/include/webp -I/opt/R/x86_64/include -I. -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c ANNIndex.cpp -o ANNIndex.o
clang++ -arch x86_64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -I/opt/R/x86_64/include/webp -I/opt/R/x86_64/include -I/opt/R/x86_64/include -I/opt/R/x86_64/include/webp -I/opt/R/x86_64/include -I/opt/R/x86_64/include -I/opt/R/x86_64/include -I/opt/R/x86_64/include/webp -I/opt/R/x86_64/include -I. -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c IndexInterface.cpp -o IndexInterface.o
clang++ -arch x86_64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -I/opt/R/x86_64/include/webp -I/opt/R/x86_64/include -I/opt/R/x86_64/include -I/opt/R/x86_64/include/webp -I/opt/R/x86_64/include -I/opt/R/x86_64/include -I/opt/R/x86_64/include -I/opt/R/x86_64/include/webp -I/opt/R/x86_64/include -I. -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c RcppExports.cpp -o RcppExports.o
clang++ -arch x86_64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -I/opt/R/x86_64/include/webp -I/opt/R/x86_64/include -I/opt/R/x86_64/include -I/opt/R/x86_64/include/webp -I/opt/R/x86_64/include -I/opt/R/x86_64/include -I/opt/R/x86_64/include -I/opt/R/x86_64/include/webp -I/opt/R/x86_64/include -I. -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c bd_fix_rad_search.cpp -o bd_fix_rad_search.o
clang++ -arch x86_64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -I/opt/R/x86_64/include/webp -I/opt/R/x86_64/include -I/opt/R/x86_64/include -I/opt/R/x86_64/include/webp -I/opt/R/x86_64/include -I/opt/R/x86_64/include -I/opt/R/x86_64/include -I/opt/R/x86_64/include/webp -I/opt/R/x86_64/include -I. -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c bd_pr_search.cpp -o bd_pr_search.o
clang++ -arch x86_64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -I/opt/R/x86_64/include/webp -I/opt/R/x86_64/include -I/opt/R/x86_64/include -I/opt/R/x86_64/include/webp -I/opt/R/x86_64/include -I/opt/R/x86_64/include -I/opt/R/x86_64/include -I/opt/R/x86_64/include/webp -I/opt/R/x86_64/include -I. -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c bd_search.cpp -o bd_search.o
clang++ -arch x86_64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -I/opt/R/x86_64/include/webp -I/opt/R/x86_64/include -I/opt/R/x86_64/include -I/opt/R/x86_64/include/webp -I/opt/R/x86_64/include -I/opt/R/x86_64/include -I/opt/R/x86_64/include -I/opt/R/x86_64/include/webp -I/opt/R/x86_64/include -I. -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c bd_tree.cpp -o bd_tree.o
clang++ -arch x86_64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -I/opt/R/x86_64/include/webp -I/opt/R/x86_64/include -I/opt/R/x86_64/include -I/opt/R/x86_64/include/webp -I/opt/R/x86_64/include -I/opt/R/x86_64/include -I/opt/R/x86_64/include -I/opt/R/x86_64/include/webp -I/opt/R/x86_64/include -I. -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c brute.cpp -o brute.o
clang++ -arch x86_64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -I/opt/R/x86_64/include/webp -I/opt/R/x86_64/include -I/opt/R/x86_64/include -I/opt/R/x86_64/include/webp -I/opt/R/x86_64/include -I/opt/R/x86_64/include -I/opt/R/x86_64/include -I/opt/R/x86_64/include/webp -I/opt/R/x86_64/include -I. -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c kd_dump.cpp -o kd_dump.o
clang++ -arch x86_64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -I/opt/R/x86_64/include/webp -I/opt/R/x86_64/include -I/opt/R/x86_64/include -I/opt/R/x86_64/include/webp -I/opt/R/x86_64/include -I/opt/R/x86_64/include -I/opt/R/x86_64/include -I/opt/R/x86_64/include/webp -I/opt/R/x86_64/include -I. -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c kd_fix_rad_search.cpp -o kd_fix_rad_search.o
clang++ -arch x86_64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -I/opt/R/x86_64/include/webp -I/opt/R/x86_64/include -I/opt/R/x86_64/include -I/opt/R/x86_64/include/webp -I/opt/R/x86_64/include -I/opt/R/x86_64/include -I/opt/R/x86_64/include -I/opt/R/x86_64/include/webp -I/opt/R/x86_64/include -I. -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c kd_pr_search.cpp -o kd_pr_search.o
clang++ -arch x86_64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -I/opt/R/x86_64/include/webp -I/opt/R/x86_64/include -I/opt/R/x86_64/include -I/opt/R/x86_64/include/webp -I/opt/R/x86_64/include -I/opt/R/x86_64/include -I/opt/R/x86_64/include -I/opt/R/x86_64/include/webp -I/opt/R/x86_64/include -I. -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c kd_search.cpp -o kd_search.o
kd_dump.cpp:44:14: warning: unused variable 'EPSILON' [-Wunused-const-variable]
const double    EPSILON                 = 1E-5; // small number for float comparison
                ^
1 warning generated.
clang++ -arch x86_64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -I/opt/R/x86_64/include/webp -I/opt/R/x86_64/include -I/opt/R/x86_64/include -I/opt/R/x86_64/include/webp -I/opt/R/x86_64/include -I/opt/R/x86_64/include -I/opt/R/x86_64/include -I/opt/R/x86_64/include/webp -I/opt/R/x86_64/include -I. -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c kd_split.cpp -o kd_split.o
clang++ -arch x86_64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -I/opt/R/x86_64/include/webp -I/opt/R/x86_64/include -I/opt/R/x86_64/include -I/opt/R/x86_64/include/webp -I/opt/R/x86_64/include -I/opt/R/x86_64/include -I/opt/R/x86_64/include -I/opt/R/x86_64/include/webp -I/opt/R/x86_64/include -I. -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c kd_tree.cpp -o kd_tree.o
clang++ -arch x86_64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -I/opt/R/x86_64/include/webp -I/opt/R/x86_64/include -I/opt/R/x86_64/include -I/opt/R/x86_64/include/webp -I/opt/R/x86_64/include -I/opt/R/x86_64/include -I/opt/R/x86_64/include -I/opt/R/x86_64/include/webp -I/opt/R/x86_64/include -I. -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c kd_util.cpp -o kd_util.o
clang++ -arch x86_64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -I/opt/R/x86_64/include/webp -I/opt/R/x86_64/include -I/opt/R/x86_64/include -I/opt/R/x86_64/include/webp -I/opt/R/x86_64/include -I/opt/R/x86_64/include -I/opt/R/x86_64/include -I/opt/R/x86_64/include/webp -I/opt/R/x86_64/include -I. -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c perf.cpp -o perf.o
clang++ -arch x86_64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -I/opt/R/x86_64/include/webp -I/opt/R/x86_64/include -I/opt/R/x86_64/include -I/opt/R/x86_64/include/webp -I/opt/R/x86_64/include -I/opt/R/x86_64/include -I/opt/R/x86_64/include -I/opt/R/x86_64/include/webp -I/opt/R/x86_64/include -I. -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c random_forest_to_strings.cpp -o random_forest_to_strings.o
clang++ -arch x86_64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -I/opt/R/x86_64/include/webp -I/opt/R/x86_64/include -I/opt/R/x86_64/include -I/opt/R/x86_64/include/webp -I/opt/R/x86_64/include -I/opt/R/x86_64/include -I/opt/R/x86_64/include -I/opt/R/x86_64/include/webp -I/opt/R/x86_64/include -I. -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c rasterizeHDF.cpp -o rasterizeHDF.o
In file included from random_forest_to_strings.cpp:2:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include/Rcpp.h:27:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include/RcppCommon.h:29:
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include/Rcpp/r/check_r_headers.h:27:13: warning: R.h has been included before any Rcpp headers. This can lead to hard-to-debug errors, and is not necessary. See https://github.com/RcppCore/Rcpp/issues/1410 [-W#pragma-messages]
    #pragma message "R.h has been included before any Rcpp headers. This can lead to hard-to-debug errors, and is not necessary. See https://github.com/RcppCore/Rcpp/issues/1410"
            ^
clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -I/opt/R/x86_64/include/webp -I/opt/R/x86_64/include -I/opt/R/x86_64/include -I/opt/R/x86_64/include/webp -I/opt/R/x86_64/include -I/opt/R/x86_64/include -I/opt/R/x86_64/include -I/opt/R/x86_64/include/webp -I/opt/R/x86_64/include -I. -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c registerDynamicSymbol.c -o registerDynamicSymbol.o
clang++ -arch x86_64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -I/opt/R/x86_64/include/webp -I/opt/R/x86_64/include -I/opt/R/x86_64/include -I/opt/R/x86_64/include/webp -I/opt/R/x86_64/include -I/opt/R/x86_64/include -I/opt/R/x86_64/include -I/opt/R/x86_64/include/webp -I/opt/R/x86_64/include -I. -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c sampling.cpp -o sampling.o
clang++ -arch x86_64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -I/opt/R/x86_64/include/webp -I/opt/R/x86_64/include -I/opt/R/x86_64/include -I/opt/R/x86_64/include/webp -I/opt/R/x86_64/include -I/opt/R/x86_64/include -I/opt/R/x86_64/include -I/opt/R/x86_64/include/webp -I/opt/R/x86_64/include -I. -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c seq_lens_simplify.cpp -o seq_lens_simplify.o
In file included from rasterizeHDF.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include/Rcpp.h:70:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include/Rcpp/Module.h:510:
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include/Rcpp/module/class.h:507:42: warning: delete called on non-final 'Rcpp::CppFinalizer<GDALDatasetR>' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
            if( ptr->finalizer_pointer ) delete ptr->finalizer_pointer ;
                                         ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include/Rcpp/module/class.h:497:13: note: in instantiation of member function 'Rcpp::class_<GDALDatasetR>::SetFinalizer' requested here
            SetFinalizer( new FunctionFinalizer<Class>( f ) ) ;
            ^
./gdal_bindings.h:349:8: note: in instantiation of member function 'Rcpp::class_<GDALDatasetR>::finalizer' requested here
      .finalizer(&GDALDatasetFinalizer);
       ^
1 warning generated.
1 warning generated.
clang++ -arch x86_64 -std=gnu++20 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/x86_64/lib -o ICESat2VegR.so ANN.o ANNIndex.o IndexInterface.o RcppExports.o bd_fix_rad_search.o bd_pr_search.o bd_search.o bd_tree.o brute.o kd_dump.o kd_fix_rad_search.o kd_pr_search.o kd_search.o kd_split.o kd_tree.o kd_util.o perf.o random_forest_to_strings.o rasterizeHDF.o registerDynamicSymbol.o sampling.o seq_lens_simplify.o -L/opt/R/x86_64/lib -lgdal -liconv -lodbcinst -lssl -lcrypto -llzma -ldeflate -llz4 -lgeotiff -lzstd -ljpeg -lpng -lnetcdf -lblosc -lwebp -ldf -lmfhdf -lz -lopenjp2 -lpcre2-8 -lpq -lodbc -lfreexl -lexpat -lxml2 -lgeos_c -lgeos -lproj -lm -ldl -lsqlite3 -ltiff -lcurl -lc++ -lpq -lpgcommon -lpgport -lm -ltiff -lwebp -lzstd -llzma -ljpeg -ldeflate -lz -lwebp -lm -D_THREAD_SAFE -pthread -lsharpyuv -lm -D_THREAD_SAFE -pthread -lzstd -pthread -llzma -pthread -lpthread -ljpeg -ldeflate -lz -lnetcdf -lhdf5_hl -lhdf5 -lm -lz -lbz2 -lzstd -lxml2 -lcurl -lsz -lhdf5_hl -lhdf5 -lm -lz -lbz2 -lzstd -lxml2 -lcurl -lsz -L/opt/R/x86_64/lib -lproj -lc++ -lm -ldl -lsqlite3 -lz -ltiff -lwebp -lzstd -llzma -ljpeg -ldeflate -lz -lwebp -lm -D_THREAD_SAFE -pthread -lsharpyuv -lm -D_THREAD_SAFE -pthread -lzstd -pthread -llzma -pthread -lpthread -ljpeg -ldeflate -lz -lcurl -F/Library/Frameworks/R.framework/.. -framework R
installing to /Volumes/Builds/packages/big-sur-x86_64/results/4.6/ICESat2VegR.Rcheck/00LOCK-ICESat2VegR/00new/ICESat2VegR/libs
** generating debug symbols (dSYM)
** R
** inst
** byte-compile and prepare package for lazy loading
Creating a new generic function for ‘clip’ in package ‘ICESat2VegR’
** help
*** installing help indices
** 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 (ICESat2VegR)