* installing *source* package ‘rGEDI’ ...
** package ‘rGEDI’ successfully unpacked and MD5 sums checked
** using staged installation
checking for gcc... clang -arch arm64
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 we are using the GNU C compiler... yes
checking whether clang -arch arm64 accepts -g... yes
checking for clang -arch arm64 option to accept ISO C89... none needed
checking for gsl-config... /opt/R/arm64/bin/gsl-config
checking for GSL - version >= 0.1... yes
checking for a sed that does not truncate output... /usr/bin/sed
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking for grep that handles long lines and -e... /usr/bin/grep
checking how to run the C preprocessor... clang -arch arm64 -E
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for h5cc... /opt/R/arm64/bin/h5cc
checking for HDF5 type... serial
checking for HDF5 libraries... yes (version 1.12.0)
checking hdf5.h usability... yes
checking hdf5.h presence... yes
checking for hdf5.h... yes
checking for H5Fcreate in -lhdf5... yes
checking for main in -lhdf5_hl... yes
checking for matching HDF5 Fortran wrapper... no
checking geotiff.h usability... no
checking geotiff.h presence... no
checking for geotiff.h... no
configure: error: could not find geotiff.h:
                         Debian: sudo apt install libgeotiff-dev
                         RPM-based: sudo dnf install libgeotiff-devel
                         MacOS: brew install libgeotiff
ERROR: configuration failed for package ‘rGEDI’
* removing ‘/Volumes/Builds/packages/big-sur-arm64/results/4.1/rGEDI.Rcheck/rGEDI’