Last updated on 2025-12-03 05:50:53 CET.
| Package | ERROR | NOTE | OK |
|---|---|---|---|
| LadderFuelsR | 9 | 4 | |
| OtsuFire | 1 | 12 | |
| OtsuSeg | 13 |
Current CRAN status: NOTE: 9, OK: 4
Version: 0.0.7
Check: DESCRIPTION meta-information
Result: NOTE
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
‘calculate_gaps_perc.Rd’ ‘get_cbh_metrics.Rd’ ‘get_cum_break.Rd’
‘get_depths.Rd’ ‘get_distance.Rd’ ‘get_effective_gap.Rd’
‘get_gaps_fbhs.Rd’ ‘get_layers_lad.Rd’ ‘get_real_depths.Rd’
‘get_real_fbh.Rd’
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-windows-x86_64
Current CRAN status: ERROR: 1, OK: 12
Version: 0.1.4
Check: tests
Result: ERROR
Running 'testthat.R' [14s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(OtsuFire)
>
> test_check("OtsuFire")
Processing: D:\temp\2025_12_01_18_19_37_23003\RtmpUtKnbN\file1052053c2841.geojson
200
Dissolving burned polygons by 'burned_id'
Added column 'regen_ratio_P1' with regeneration ratios for P1
Detected regeneration years: P1
Created 'regenera_flag_P1' using threshold(s) from 'global' (column: regen_ratio_P1)
Created 'regenera_flag_all' combining all defined periods.
Writing the complete shapefile (unfiltered): D:\temp\2025_12_01_18_19_37_23003\RtmpUtKnbN/file1052053c2841_reg_thresh200_P1r0.01_.geojson
Saving filtered shapefile: D:\temp\2025_12_01_18_19_37_23003\RtmpUtKnbN/file1052053c2841_reg_thresh200_P1r0.01__filter.geojson
Number of polygons after filtering: 1 (removed: 0)
Replacing original burned polygons by regenerated polygons in P1:
Saving _problems/test-mask_to_mosaic-9.R
[ FAIL 1 | WARN 1 | SKIP 9 | PASS 1 ]
══ Skipped tests (9) ═══════════════════════════════════════════════════════════
• On CRAN (9): 'test-calculate_doy_flags_basic.R:2:3',
'test-calculate_doy_flags_polygonize.R:4:3',
'test-calculate_polygon_metrics.R:2:3', 'test-generate_burnable_mask.R:2:3',
'test-mosaic_raster.R:3:3', 'test-process_otsu_rasters.R:2:3',
'test-process_otsu_regenera.R:2:3', 'test-validate_fire_map_basic.R:4:3',
'test-validate_fire_map_gdal.R:4:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-mask_to_mosaic.R:9:3'): mask_to_mosaic applies binary mask and optional clip correctly ──
Error: [rast] empty srs
Backtrace:
▆
1. ├─terra::rast(...) at test-mask_to_mosaic.R:9:3
2. └─terra::rast(...)
3. └─terra (local) .local(x = x, ...)
4. └─terra:::new_rast(...)
5. └─terra:::messages(r, "rast")
6. └─terra:::error(f, x@pntr$getError())
[ FAIL 1 | WARN 1 | SKIP 9 | PASS 1 ]
Error:
! Test failures.
Execution halted
Flavor: r-oldrel-windows-x86_64
Current CRAN status: OK: 13