CRAN Package Check Results for Package OtsuFire

Last updated on 2025-12-04 07:51:09 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.4 37.92 273.21 311.13 OK
r-devel-linux-x86_64-debian-gcc 0.1.4 21.60 176.48 198.08 OK
r-devel-linux-x86_64-fedora-clang 0.1.4 74.00 422.29 496.29 OK
r-devel-linux-x86_64-fedora-gcc 0.1.4 69.00 400.62 469.62 OK
r-devel-windows-x86_64 0.1.4 32.00 214.00 246.00 OK
r-patched-linux-x86_64 0.1.4 32.13 265.85 297.98 OK
r-release-linux-x86_64 0.1.4 29.54 264.20 293.74 OK
r-release-macos-arm64 0.1.4 OK
r-release-macos-x86_64 0.1.4 38.00 212.00 250.00 OK
r-release-windows-x86_64 0.1.4 33.00 214.00 247.00 OK
r-oldrel-macos-arm64 0.1.4 OK
r-oldrel-macos-x86_64 0.1.4 25.00 212.00 237.00 OK
r-oldrel-windows-x86_64 0.1.4 44.00 304.00 348.00 ERROR

Check Details

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_03_01_50_00_178\Rtmp6x0NMK\file3bc42ce74ea0.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_03_01_50_00_178\Rtmp6x0NMK/file3bc42ce74ea0_reg_thresh200_P1r0.01_.geojson Saving filtered shapefile: D:\temp\2025_12_03_01_50_00_178\Rtmp6x0NMK/file3bc42ce74ea0_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

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.