* using log directory ‘/srv/hornik/tmp/CRAN_pretest/OtsuFire.Rcheck’ * using R Under development (unstable) (2025-05-03 r88188) * using platform: x86_64-pc-linux-gnu * R was compiled by Debian clang version 19.1.7 (3) Debian flang-new version 19.1.7 (3) * running under: Debian GNU/Linux trixie/sid * using session charset: UTF-8 * checking for file ‘OtsuFire/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘OtsuFire’ version ‘0.1.0’ * package encoding: UTF-8 * checking CRAN incoming feasibility ... [3s/3s] NOTE Maintainer: ‘Olga Viedma ’ New submission Possibly misspelled words in DESCRIPTION: DOY (14:56) Otsu (3:60, 13:5) RBR (13:26) dNBR (13:30) Suggests or Enhances not in mainstream repositories: otsuSeg * checking package namespace information ... OK * checking package dependencies ... INFO Package suggested but not available for checking: ‘otsuSeg’ * 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 serialization versions ... OK * checking whether package ‘OtsuFire’ can be installed ... [15s/15s] OK * checking package directory ... OK * checking for future file timestamps ... OK * checking DESCRIPTION meta-information ... 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: ‘0_create_burneable_mask_corine.R’ ‘5.flag_otsu_regenera.R’ ‘7_validate_fire_maps.R’ * 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 ... [4s/4s] OK * checking whether the package can be loaded with stated dependencies ... [4s/4s] OK * checking whether the package can be unloaded cleanly ... [4s/4s] OK * checking whether the namespace can be loaded with stated dependencies ... [4s/4s] OK * checking whether the namespace can be unloaded cleanly ... [4s/4s] OK * checking loading without being on the library search path ... [5s/5s] OK * checking use of S3 registration ... 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 ... [21s/21s] OK * checking Rd files ... [0s/0s] OK * checking Rd metadata ... OK * checking Rd line widths ... 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 examples ... [6s/6s] OK * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... [5s/5s] ERROR Running ‘testthat.R’ [5s/5s] 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") [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... [Done] Masked mosaic saved at: /tmp/RtmpnsSsxU/working_dir/RtmpJSbuaE/mask_test/synthetic_mosaic.tif [ FAIL 1 | WARN 0 | SKIP 9 | PASS 5 ] ══ 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-flag_otsu_regenera.R:2:3', 'test-generate_burnable_mask.R:2: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-mosaic_raster.R:18:5'): mosaic_reproject_resample works with synthetic rasters ── Error in `ncell(r1)`: could not find function "ncell" Backtrace: ▆ 1. └─OtsuFire (local) make_raster_tile("tile1", offset_x = 0) at test-mosaic_raster.R:31:3 2. └─stats::runif(ncell(r1), 0, 100) at test-mosaic_raster.R:18:5 [ FAIL 1 | WARN 0 | SKIP 9 | PASS 5 ] Error: Test failures Execution halted * checking PDF version of manual ... [3s/2s] OK * checking HTML version of manual ... [0s/0s] OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR, 2 NOTEs