- using R version 4.5.2 Patched (2026-01-31 r89382)
- using platform: aarch64-apple-darwin20
- R was compiled by
Apple clang version 16.0.0 (clang-1600.0.26.6)
GNU Fortran (GCC) 14.2.0
- running under: macOS Ventura 13.7.8
- using session charset: UTF-8
- checking for file ‘ICESat2VegR/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘ICESat2VegR’ version ‘0.0.1’
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘ICESat2VegR’ can be installed ... [40s/52s] OK
See the install log for details.
- used C compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’
- used C++ compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’
- used SDK: ‘MacOSX11.3.1.sdk’
- checking installed package size ... INFO
installed size is 76.7Mb
sub-directories of 1Mb or more:
extdata 6.0Mb
libs 60.1Mb
proj 9.0Mb
- checking package directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [6s/3s] OK
- checking whether the package can be loaded with stated dependencies ... [6s/3s] OK
- checking whether the package can be unloaded cleanly ... [6s/3s] OK
- checking whether the namespace can be loaded with stated dependencies ... [6s/3s] OK
- checking whether the namespace can be unloaded cleanly ... [7s/3s] OK
- checking loading without being on the library search path ... [6s/3s] OK
- checking whether startup messages can be suppressed ... [6s/3s] OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [16s/9s] OK
- checking Rd files ... [0s/1s] OK
- checking Rd metadata ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking line endings in shell scripts ... OK
- checking line endings in C/C++/Fortran sources/headers ... OK
- checking line endings in Makefiles ... OK
- checking compilation flags in Makevars ... OK
- checking for GNU extensions in Makefiles ... OK
- checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK
- checking use of PKG_*FLAGS in Makefiles ... OK
- checking compiled code ... OK
- checking examples ... [9s/6s] ERROR
Running examples in ‘ICESat2VegR-Ex.R’ failed
The error most likely occurred in:
> ### Name: ATL03_ATL08_photons_attributes_dt_join
> ### Title: Join ATL03 and ATL08 photons attributes
> ### Aliases: ATL03_ATL08_photons_attributes_dt_join
>
> ### ** Examples
>
> if (requireNamespace("hdf5r", quietly = TRUE)) {
+ # Specifying the path to ATL03 file
+ atl03_path <- system.file("extdata",
+ "atl03_clip.h5",
+ package = "ICESat2VegR"
+ )
+
+ # Specifying the path to ATL08 file
+ atl08_path <- system.file("extdata",
+ "atl08_clip.h5",
+ package = "ICESat2VegR"
+ )
+
+ # Reading ATL03 data (h5 file)
+ atl03_h5 <- ATL03_read(atl03_path = atl03_path)
+
+ # Reading ATL08 data (h5 file)
+ atl08_h5 <- ATL08_read(atl08_path = atl08_path)
+
+ # # Extracting ATL03 and ATL08 photons and heights
+ atl03_atl08_dt <- ATL03_ATL08_photons_attributes_dt_join(atl03_h5, atl08_h5)
+ head(atl03_atl08_dt)
+
+ close(atl03_h5)
+ close(atl08_h5)
+
+ }
Error in (function () : id is invalid
Calls: ATL08_read ... initialize -> <Anonymous> -> <Anonymous> -> <Anonymous>
Execution halted
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [10s/6s] OK
Running ‘testthat.R’ [10s/6s]
- checking PDF version of manual ... [6s/6s] OK
- DONE
Status: 1 ERROR