Last updated on 2025-12-03 05:50:46 CET.
| Package | ERROR | OK |
|---|---|---|
| rcaiman | 1 | 12 |
Current CRAN status: ERROR: 1, OK: 12
Version: 2.0.1
Check: examples
Result: ERROR
Running examples in 'rcaiman-Ex.R' failed
The error most likely occurred in:
> ### Name: compute_canopy_openness
> ### Title: Calculate canopy openness
> ### Aliases: compute_canopy_openness
>
> ### ** Examples
>
> caim <- read_caim()
Warning: PROJ: proj_create_from_database: Cannot find proj.db (GDAL error 1)
Warning: [crs<-] Cannot set raster SRS: empty srs
> z <- zenith_image(ncol(caim), lens())
Warning: PROJ: proj_create_from_database: Cannot find proj.db (GDAL error 1)
Warning: [crs<-] Cannot set raster SRS: empty srs
> a <- azimuth_image(z)
> m <- select_sky_region(z, 0, 70)
> bin <- binarize_with_thr(caim$Blue, thr_isodata(caim$Blue[m]))
The threshold value was computed with a subsample of size 500.
> plot(bin)
> compute_canopy_openness(bin, z, a, m, 10)
Error: `r` and `segmentation` must have the same geometry.
Execution halted
Flavor: r-oldrel-windows-x86_64