R Under development (unstable) (2025-06-11 r88304 ucrt) -- "Unsuffered Consequences" Copyright (C) 2025 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > # 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_06_12_20_20_17_2410\RtmpKInZlF\file2d6cc3b9068c9.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_06_12_20_20_17_2410\RtmpKInZlF/file2d6cc3b9068c9_reg_thresh200_P1r0.01_.geojson Saving filtered shapefile: D:\temp\2025_06_12_20_20_17_2410\RtmpKInZlF/file2d6cc3b9068c9_reg_thresh200_P1r0.01__filter.geojson Number of polygons after filtering: 1 (removed: 0) Replacing original burned polygons by regenerated polygons in P1: [Step 1] Reading mosaic and mask... [Step 2] Aligning CRS and resolution of mask if needed... [Step 3] Applying mask to each band... [Step 4] Cropping to Iberian Peninsula shape... [Step 5] Writing output raster... [Warning] Output file already exists. Deleting... [Done] Masked mosaic saved at: D:/temp/2025_06_12_20_20_17_2410/RtmpKInZlF/mask_test/synthetic_mosaic.tif [ FAIL 0 | WARN 0 | SKIP 9 | PASS 6 ] ══ 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' [ FAIL 0 | WARN 0 | SKIP 9 | PASS 6 ] > > proc.time() user system elapsed 5.76 0.42 6.17