Last updated on 2025-06-12 05:50:18 CEST.
Package | ERROR | OK |
---|---|---|
fireexposuR | 1 | 12 |
Current CRAN status: ERROR: 1, OK: 12
Version: 1.1.0
Check: tests
Result: ERROR
Running 'testthat.R' [69s]
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(fireexposuR)
>
> test_check("fireexposuR")
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 121 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-fire_exp_validate.R:23:3'): fire_exp_validate() runs when input conditions are met ──
Expected `fire_exp_validate(expnb, fires, aoi, samplesize = 0.1)` to run without any errors.
i Actually got a <simpleError> with text:
[spatSample] sample size must be a positive integer
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 121 ]
Error: Test failures
Execution halted
Flavor: r-oldrel-windows-x86_64