CRAN Package Check Results for Package fireexposuR

Last updated on 2025-12-03 05:50:07 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.2.0 4.46 240.52 244.98 OK
r-devel-linux-x86_64-debian-gcc 1.2.0 2.95 173.10 176.05 OK
r-devel-linux-x86_64-fedora-clang 1.2.0 383.24 OK
r-devel-linux-x86_64-fedora-gcc 1.2.0 21.00 389.12 410.12 OK
r-devel-windows-x86_64 1.2.0 10.00 248.00 258.00 OK
r-patched-linux-x86_64 1.2.0 0.26 2.06 2.32 ERROR
r-release-linux-x86_64 1.2.0 4.05 230.14 234.19 OK
r-release-macos-arm64 1.2.0 OK
r-release-macos-x86_64 1.2.0 4.00 283.00 287.00 OK
r-release-windows-x86_64 1.2.0 7.00 242.00 249.00 OK
r-oldrel-macos-arm64 1.2.0 OK
r-oldrel-macos-x86_64 1.2.0 4.00 284.00 288.00 OK
r-oldrel-windows-x86_64 1.2.0 8.00 145.00 153.00 ERROR

Check Details

Version: 1.2.0
Check: package dependencies
Result: ERROR Package required but not available: ‘tmap’ See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’ manual. Flavor: r-patched-linux-x86_64

Version: 1.2.0
Check: examples
Result: ERROR Running examples in 'fireexposuR-Ex.R' failed The error most likely occurred in: > ### Name: fire_exp_dir > ### Title: Conduct a directional exposure assessment > ### Aliases: fire_exp_dir > > ### ** Examples > > # read example hazard data > hazard_file_path <- "extdata/hazard.tif" > hazard <- terra::rast(system.file(hazard_file_path, package = "fireexposuR")) > > # generate an example point > point_wkt <- "POINT (345000 5876000)" > point <- terra::vect(point_wkt, crs = hazard) > > # compute exposure metric > exposure <- fire_exp(hazard) > > # assess directional exposure > fire_exp_dir(exposure, point) Warning: PROJ: proj_create_from_database: Cannot find proj.db (GDAL error 1) Error: [project] output crs is not valid Execution halted Flavor: r-oldrel-windows-x86_64

Version: 1.2.0
Check: tests
Result: ERROR Running 'testthat.R' [30s] 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") Saving _problems/test-fire_exp_dir-10.R Saving _problems/test-fire_exp_dir-27.R Saving _problems/test-fire_exp_dir-35.R Saving _problems/test-fire_exp_dir-36.R Saving _problems/test-fire_exp_dir-37.R Saving _problems/test-fire_exp_dir-38.R Saving _problems/test-fire_exp_dir-39.R Saving _problems/test-fire_exp_dir-40.R Saving _problems/test-fire_exp_dir-41.R Saving _problems/test-fire_exp_dir-42.R Saving _problems/test-fire_exp_dir_map-6.R Saving _problems/test-fire_exp_dir_map-25.R Saving _problems/test-fire_exp_dir_map-35.R Saving _problems/test-fire_exp_dir_multi-13.R Saving _problems/test-fire_exp_dir_multi_plot-9.R Saving _problems/test-fire_exp_dir_multi_plot-16.R Saving _problems/test-fire_exp_dir_plot-6.R Saving _problems/test-fire_exp_dir_plot-22.R Saving _problems/test-fire_exp_dir_plot-31.R Saving _problems/test-fire_exp_extract-15.R Saving _problems/test-fire_exp_extract-23.R Saving _problems/test-fire_exp_extract-24.R Saving _problems/test-fire_exp_extract_map-5.R Saving _problems/test-fire_exp_extract_map-32.R Saving _problems/test-fire_exp_extract_map-40.R Saving _problems/test-fire_exp_extract_summary-5.R Saving _problems/test-fire_exp_extract_summary-31.R Saving _problems/test-fire_exp_extract_summary-39.R Saving _problems/test-fire_exp_extract_vis-5.R Saving _problems/test-fire_exp_extract_vis-25.R Saving _problems/test-fire_exp_extract_vis-35.R Saving _problems/test-fire_exp_map-21.R Saving _problems/test-fire_exp_map-37.R Saving _problems/test-fire_exp_map-43.R Saving _problems/test-fire_exp_map-45.R Saving _problems/test-fire_exp_map_class-31.R Saving _problems/test-fire_exp_map_class-37.R Saving _problems/test-fire_exp_map_class-38.R Saving _problems/test-fire_exp_map_cont-38.R [ FAIL 39 | WARN 98 | SKIP 0 | PASS 73 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-fire_exp_dir.R:9:3'): fire_exp_dir() input checks and function messages work ── Error in `fire_exp_dir(exp, pts)`: `exposure` and `value` must have the same CRS Backtrace: ▆ 1. ├─testthat::expect_message(fire_exp_dir(exp, pts), "Value object provided has more than one feature") at test-fire_exp_dir.R:9:3 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─fireexposuR::fire_exp_dir(exp, pts) 8. └─base::stopifnot(...) ── Error ('test-fire_exp_dir.R:27:3'): fire_exp_dir() returns object with correct class ── Error in `fire_exp_dir(exp, pt)`: `exposure` and `value` must have the same CRS Backtrace: ▆ 1. ├─testthat::expect_s4_class(fire_exp_dir(exp, pt), "SpatVector") at test-fire_exp_dir.R:27:3 2. │ └─testthat::quasi_label(enquo(object)) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─fireexposuR::fire_exp_dir(exp, pt) 5. └─base::stopifnot(...) ── Failure ('test-fire_exp_dir.R:35:3'): fire_exp_dir() runs when input conditions are met ── Expected `fire_exp_dir(exp, pt)` not to throw any errors. Actually got a <simpleError> with message: `exposure` and `value` must have the same CRS ── Failure ('test-fire_exp_dir.R:36:3'): fire_exp_dir() runs when input conditions are met ── Expected `fire_exp_dir(exp, v)` not to throw any errors. Actually got a <simpleError> with message: `exposure` and `value` must have the same CRS ── Failure ('test-fire_exp_dir.R:37:3'): fire_exp_dir() runs when input conditions are met ── Expected `fire_exp_dir(exp, pt, table = TRUE)` not to throw any errors. Actually got a <simpleError> with message: `exposure` and `value` must have the same CRS ── Failure ('test-fire_exp_dir.R:38:3'): fire_exp_dir() runs when input conditions are met ── Expected `fire_exp_dir(exp, v, table = TRUE)` not to throw any errors. Actually got a <simpleError> with message: `exposure` and `value` must have the same CRS ── Failure ('test-fire_exp_dir.R:39:3'): fire_exp_dir() runs when input conditions are met ── Expected `fire_exp_dir(exp, v, t_lengths = c(2000, 2000, 2000))` not to throw any errors. Actually got a <simpleError> with message: `exposure` and `value` must have the same CRS ── Failure ('test-fire_exp_dir.R:40:3'): fire_exp_dir() runs when input conditions are met ── Expected `fire_exp_dir(exp, v, interval = 5)` not to throw any errors. Actually got a <simpleError> with message: `exposure` and `value` must have the same CRS ── Failure ('test-fire_exp_dir.R:41:3'): fire_exp_dir() runs when input conditions are met ── Expected `fire_exp_dir(exp, pt, thresh_exp = 0.5)` not to throw any errors. Actually got a <simpleError> with message: `exposure` and `value` must have the same CRS ── Failure ('test-fire_exp_dir.R:42:3'): fire_exp_dir() runs when input conditions are met ── Expected `fire_exp_dir(exp, pt, thresh_viable = 0.5)` not to throw any errors. Actually got a <simpleError> with message: `exposure` and `value` must have the same CRS ── Error ('test-fire_exp_dir_map.R:6:3'): fire_exp_dir_map() input checks work ── Error in `fire_exp_dir(exp, pt)`: `exposure` and `value` must have the same CRS Backtrace: ▆ 1. └─fireexposuR::fire_exp_dir(exp, pt) at test-fire_exp_dir_map.R:6:3 2. └─base::stopifnot(...) ── Error ('test-fire_exp_dir_map.R:25:3'): fire_exp_dir_map() returns objects with correct class ── Error in `fire_exp_dir(exp, pt)`: `exposure` and `value` must have the same CRS Backtrace: ▆ 1. └─fireexposuR::fire_exp_dir(exp, pt) at test-fire_exp_dir_map.R:25:3 2. └─base::stopifnot(...) ── Error ('test-fire_exp_dir_map.R:35:3'): fire_exp_dir_map() runs when input conditions are met ── Error in `fire_exp_dir(exp, pt)`: `exposure` and `value` must have the same CRS Backtrace: ▆ 1. └─fireexposuR::fire_exp_dir(exp, pt) at test-fire_exp_dir_map.R:35:3 2. └─base::stopifnot(...) ── Failure ('test-fire_exp_dir_multi.R:13:3'): fire_exp_dir_multi() runs when input conditions are met ── Expected `fire_exp_dir_multi(exp, pts, interval = 10)` not to throw any errors. Actually got a <simpleError> with message: `values` and `exposure` must have the same crs ── Error ('test-fire_exp_dir_multi_plot.R:9:3'): fire_exp_dir_multi_plot() returns object with correct class ── Error in `fire_exp_dir_multi(exp, pts)`: `values` and `exposure` must have the same crs Backtrace: ▆ 1. └─fireexposuR::fire_exp_dir_multi(exp, pts) at test-fire_exp_dir_multi_plot.R:9:3 2. └─base::stopifnot(...) ── Error ('test-fire_exp_dir_multi_plot.R:16:3'): fire_exp_dir_multi_plot() runs when input conditions are met ── Error in `fire_exp_dir_multi(exp, pts)`: `values` and `exposure` must have the same crs Backtrace: ▆ 1. └─fireexposuR::fire_exp_dir_multi(exp, pts) at test-fire_exp_dir_multi_plot.R:16:3 2. └─base::stopifnot(...) ── Error ('test-fire_exp_dir_plot.R:6:3'): fire_exp_dir_plot() input checks work ── Error in `fire_exp_dir(exp, pt)`: `exposure` and `value` must have the same CRS Backtrace: ▆ 1. └─fireexposuR::fire_exp_dir(exp, pt) at test-fire_exp_dir_plot.R:6:3 2. └─base::stopifnot(...) ── Error ('test-fire_exp_dir_plot.R:22:3'): fire_exp_dir_plot() returns objects with correct class ── Error in `fire_exp_dir(exp, pt)`: `exposure` and `value` must have the same CRS Backtrace: ▆ 1. └─fireexposuR::fire_exp_dir(exp, pt) at test-fire_exp_dir_plot.R:22:3 2. └─base::stopifnot(...) ── Error ('test-fire_exp_dir_plot.R:31:3'): fire_exp_dir_plot() runs when input conditions are met ── Error in `fire_exp_dir(exp, pt)`: `exposure` and `value` must have the same CRS Backtrace: ▆ 1. └─fireexposuR::fire_exp_dir(exp, pt) at test-fire_exp_dir_plot.R:31:3 2. └─base::stopifnot(...) ── Error ('test-fire_exp_extract.R:15:3'): fire_exp_extract() returns objects with correct class ── Error in `fire_exp_extract(exp, pts)`: `exposure` and `values` must have the same CRS Backtrace: ▆ 1. ├─testthat::expect_s4_class(fire_exp_extract(exp, pts), "SpatVector") at test-fire_exp_extract.R:15:3 2. │ └─testthat::quasi_label(enquo(object)) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─fireexposuR::fire_exp_extract(exp, pts) 5. └─base::stopifnot(...) ── Failure ('test-fire_exp_extract.R:23:3'): fire_exp_extract() runs when input conditions are met ── Expected `fire_exp_extract(exp, pols)` not to throw any errors. Actually got a <simpleError> with message: `exposure` and `values` must have the same CRS ── Failure ('test-fire_exp_extract.R:24:3'): fire_exp_extract() runs when input conditions are met ── Expected `fire_exp_extract(exp, pts)` not to throw any errors. Actually got a <simpleError> with message: `exposure` and `values` must have the same CRS ── Error ('test-fire_exp_extract_map.R:5:3'): fire_exp_extract_map() input checks work ── Error in `fire_exp_extract(exp, pts)`: `exposure` and `values` must have the same CRS Backtrace: ▆ 1. └─fireexposuR::fire_exp_extract(exp, pts) at test-fire_exp_extract_map.R:5:3 2. └─base::stopifnot(...) ── Error ('test-fire_exp_extract_map.R:32:3'): fire_exp_extract_map() returns objects with correct class ── Error in `fire_exp_extract(exp, pts)`: `exposure` and `values` must have the same CRS Backtrace: ▆ 1. └─fireexposuR::fire_exp_extract(exp, pts) at test-fire_exp_extract_map.R:32:3 2. └─base::stopifnot(...) ── Error ('test-fire_exp_extract_map.R:40:3'): fire_exp_extract_map() runs when input conditions are met ── Error in `fire_exp_extract(exp, pts)`: `exposure` and `values` must have the same CRS Backtrace: ▆ 1. └─fireexposuR::fire_exp_extract(exp, pts) at test-fire_exp_extract_map.R:40:3 2. └─base::stopifnot(...) ── Error ('test-fire_exp_extract_summary.R:5:3'): fire_exp_extract_summary() input checks work ── Error in `fire_exp_extract(exp, pts)`: `exposure` and `values` must have the same CRS Backtrace: ▆ 1. └─fireexposuR::fire_exp_extract(exp, pts) at test-fire_exp_extract_summary.R:5:3 2. └─base::stopifnot(...) ── Error ('test-fire_exp_extract_summary.R:31:3'): fire_exp_extract_summary() returns objects with correct class ── Error in `fire_exp_extract(exp, pts)`: `exposure` and `values` must have the same CRS Backtrace: ▆ 1. └─fireexposuR::fire_exp_extract(exp, pts) at test-fire_exp_extract_summary.R:31:3 2. └─base::stopifnot(...) ── Error ('test-fire_exp_extract_summary.R:39:3'): fire_exp_extract_summary() runs when input conditions are met ── Error in `fire_exp_extract(exp, pts)`: `exposure` and `values` must have the same CRS Backtrace: ▆ 1. └─fireexposuR::fire_exp_extract(exp, pts) at test-fire_exp_extract_summary.R:39:3 2. └─base::stopifnot(...) ── Error ('test-fire_exp_extract_vis.R:5:3'): fire_exp_extract_vis() input checks work ── Error in `fire_exp_extract(exp, pts)`: `exposure` and `values` must have the same CRS Backtrace: ▆ 1. └─fireexposuR::fire_exp_extract(exp, pts) at test-fire_exp_extract_vis.R:5:3 2. └─base::stopifnot(...) ── Error ('test-fire_exp_extract_vis.R:25:3'): fire_exp_extract_vis() returns objects with correct class ── Error in `fire_exp_extract(exp, pts)`: `exposure` and `values` must have the same CRS Backtrace: ▆ 1. └─fireexposuR::fire_exp_extract(exp, pts) at test-fire_exp_extract_vis.R:25:3 2. └─base::stopifnot(...) ── Error ('test-fire_exp_extract_vis.R:35:3'): fire_exp_extract_vis() runs when input conditions are met ── Error in `fire_exp_extract(exp, pts)`: `exposure` and `values` must have the same CRS Backtrace: ▆ 1. └─fireexposuR::fire_exp_extract(exp, pts) at test-fire_exp_extract_vis.R:35:3 2. └─base::stopifnot(...) ── Error ('test-fire_exp_map.R:20:3'): fire_exp_map() input checks and function messages work ── Error in `fire_exp_map(exp, v, classify = "blah")`: `exposure` and `aoi` must have same CRS Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-fire_exp_map.R:20:3 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─fireexposuR::fire_exp_map(exp, v, classify = "blah") 8. └─base::stopifnot(...) ── Error ('test-fire_exp_map.R:37:3'): fire_exp_map() returns object with correct class ── Error in `fire_exp_map(exp, aoi = v)`: `exposure` and `aoi` must have same CRS Backtrace: ▆ 1. ├─testthat::expect_s3_class(...) at test-fire_exp_map.R:37:3 2. │ └─testthat::quasi_label(enquo(object)) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::suppressMessages(fire_exp_map(exp, aoi = v)) 5. │ └─base::withCallingHandlers(...) 6. └─fireexposuR::fire_exp_map(exp, aoi = v) 7. └─base::stopifnot(...) ── Failure ('test-fire_exp_map.R:43:3'): fire_exp_map() runs when input conditions are met ── Expected `suppressMessages(fire_exp_map(exp, v, "landscape"))` not to throw any errors. Actually got a <simpleError> with message: `exposure` and `aoi` must have same CRS ── Failure ('test-fire_exp_map.R:44:3'): fire_exp_map() runs when input conditions are met ── Expected `fire_exp_map(...)` not to throw any errors. Actually got a <simpleError> with message: `exposure` and `aoi` must have same CRS ── Error ('test-fire_exp_map_class.R:31:3'): fire_exp_map_class() returns object with correct class ── Error in `fire_exp_map_class(exp, aoi = v)`: `exposure` and `aoi` must have same CRS Backtrace: ▆ 1. ├─testthat::expect_s3_class(...) at test-fire_exp_map_class.R:31:3 2. │ └─testthat::quasi_label(enquo(object)) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::suppressWarnings(fire_exp_map_class(exp, aoi = v)) 5. │ └─base::withCallingHandlers(...) 6. └─fireexposuR::fire_exp_map_class(exp, aoi = v) 7. └─base::stopifnot(...) ── Failure ('test-fire_exp_map_class.R:37:3'): fire_exp_map_class() runs when input conditions are met ── Expected `suppressWarnings(fire_exp_map_class(exp, v, "lan"))` not to throw any errors. Actually got a <simpleError> with message: `exposure` and `aoi` must have same CRS ── Failure ('test-fire_exp_map_class.R:38:3'): fire_exp_map_class() runs when input conditions are met ── Expected `fire_exp_map_class(exp, v, "cus", class_breaks = c(0.2, 1))` not to throw any errors. Actually got a <simpleError> with message: `exposure` and `aoi` must have same CRS ── Failure ('test-fire_exp_map_cont.R:38:3'): fire_exp_map_cont() runs when input conditions are met ── Expected `suppressMessages(fire_exp_map_cont(exp, v))` not to throw any errors. Actually got a <simpleError> with message: `exposure` and `aoi` must have same CRS [ FAIL 39 | WARN 98 | SKIP 0 | PASS 73 ] Error: ! Test failures. Execution halted Flavor: r-oldrel-windows-x86_64

Version: 1.2.0
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building 'fireexposuR.Rmd' using rmarkdown Quitting from fireexposuR.Rmd:178-189 [example2] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `fire_exp_dir()`: ! `exposure` and `value` must have the same CRS --- Backtrace: ▆ 1. └─fireexposuR::fire_exp_dir(exposure, aoi) 2. └─base::stopifnot(...) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'fireexposuR.Rmd' failed with diagnostics: `exposure` and `value` must have the same CRS --- failed re-building 'fireexposuR.Rmd' --- re-building 'prep-input-data.Rmd' using rmarkdown --- finished re-building 'prep-input-data.Rmd' --- re-building 'prometheus.Rmd' using rmarkdown --- finished re-building 'prometheus.Rmd' --- re-building 'resources.Rmd' using rmarkdown --- finished re-building 'resources.Rmd' SUMMARY: processing the following file failed: 'fireexposuR.Rmd' Error: Vignette re-building failed. Execution halted Flavor: r-oldrel-windows-x86_64

mirror server hosted at Truenetwork, Russian Federation.