Last updated on 2025-12-20 21:49:33 CET.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 1.2.0 | 4.16 | 172.96 | 177.12 | ERROR | |
| r-devel-linux-x86_64-debian-gcc | 1.2.0 | 3.06 | 123.16 | 126.22 | ERROR | |
| r-devel-linux-x86_64-fedora-clang | 1.2.0 | 8.00 | 281.98 | 289.98 | ERROR | |
| r-devel-linux-x86_64-fedora-gcc | 1.2.0 | 7.00 | 400.36 | 407.36 | OK | |
| r-devel-windows-x86_64 | 1.2.0 | 7.00 | 251.00 | 258.00 | OK | |
| r-patched-linux-x86_64 | 1.2.0 | 5.22 | 231.63 | 236.85 | OK | |
| r-release-linux-x86_64 | 1.2.0 | 4.39 | 231.04 | 235.43 | OK | |
| r-release-macos-arm64 | 1.2.0 | OK | ||||
| r-release-macos-x86_64 | 1.2.0 | 3.00 | 284.00 | 287.00 | OK | |
| r-release-windows-x86_64 | 1.2.0 | 6.00 | 239.00 | 245.00 | OK | |
| r-oldrel-macos-arm64 | 1.2.0 | OK | ||||
| r-oldrel-macos-x86_64 | 1.2.0 | 3.00 | 285.00 | 288.00 | OK | |
| r-oldrel-windows-x86_64 | 1.2.0 | 11.00 | 146.00 | 157.00 | ERROR |
Version: 1.2.0
Check: examples
Result: ERROR
Running examples in ‘fireexposuR-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: fire_exp_extract_map
> ### Title: Visualize exposure to values in a map
> ### Aliases: fire_exp_extract_map
>
> ### ** Examples
>
> # read example hazard data
> hazard_file_path <- "extdata/hazard.tif"
> hazard <- terra::rast(system.file(hazard_file_path, package = "fireexposuR"))
>
> # read example area of interest
> polygon_path <- system.file("extdata", "polygon.shp", package ="fireexposuR")
> aoi <- terra::vect(polygon_path)
>
> # generate random points within the aoi polygon
> points <- terra::spatSample(aoi, 20)
>
> # compute exposure
> exposure <- fire_exp(hazard)
>
> values_exp <- fire_exp_extract(exposure, points)
>
> # visualize example points in standardized map
> fire_exp_extract_map(values_exp)
Error in `[.data.table`(d, , `:=`(bbox, do.call(get_bbox, as.list(.SD))), :
attempt access index 4/4 in VECTOR_ELT
Calls: <Anonymous> -> print.tmap -> step4_plot -> [ -> [.data.table
Execution halted
Examples with CPU (user + system) or elapsed time > 5s
user system elapsed
fire_exp 10.822 0.374 13.087
fire_exp_dir_multi_plot 6.276 0.290 8.497
fire_exp_dir_multi 5.710 0.289 6.480
Flavor: r-devel-linux-x86_64-debian-clang
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:133-138 [example1c]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `[.data.table`:
! attempt access index 4/4 in VECTOR_ELT
---
Backtrace:
▆
1. └─tools:::.buildOneVignette(...)
2. ├─base::tryCatch(...)
3. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
4. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
5. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
6. └─engine$weave(file, quiet = quiet, encoding = enc)
7. └─knitr:::vweave_rmarkdown(...)
8. └─rmarkdown::render(...)
9. └─knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet)
10. └─knitr:::process_file(text, output)
11. ├─xfun:::handle_error(...)
12. ├─base::withCallingHandlers(...)
13. └─knitr:::process_group(group)
14. └─knitr:::call_block(x)
15. └─knitr:::block_exec(params)
16. └─knitr:::eng_r(options)
17. ├─knitr:::in_input_dir(...)
18. │ └─knitr:::in_dir(input_dir(), expr)
19. └─knitr (local) evaluate(...)
20. └─evaluate::evaluate(...)
21. ├─base::withRestarts(...)
22. │ └─base (local) withRestartList(expr, restarts)
23. │ ├─base (local) withOneRestart(withRestartList(expr, restarts[-nr]), restarts[[nr]])
24. │ │ └─base (local) doWithOneRestart(return(expr), restart)
25. │ └─base (local) withRestartList(expr, restarts[-nr])
26. │ └─base (local) withOneRestart(expr, restarts[[1L]])
27. │ └─base (local) doWithOneRestart(return(expr), restart)
28. ├─evaluate:::with_handlers(...)
29. │ ├─base::eval(call)
30. │ │ └─base::eval(call)
31. │ └─base::withCallingHandlers(...)
32. └─watcher$print_value(ev$value, ev$visible, envir)
33. ├─base::withVisible(handle_value(handler, value, visible, envir))
34. └─evaluate:::handle_value(handler, value, visible, envir)
35. └─handler$value(value, visible)
36. └─knitr (local) fun(x, options = options)
37. ├─base::withVisible(knit_print(x, ...))
38. ├─knitr::knit_print(x, ...)
39. └─tmap:::knit_print.tmap(x, ...)
40. └─tmap:::print.tmap(x, knit = TRUE, options = options, ...)
41. └─tmap:::step4_plot(...)
42. ├─...[]
43. └─data.table:::`[.data.table`(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'fireexposuR.Rmd' failed with diagnostics:
attempt access index 4/4 in VECTOR_ELT
--- failed re-building ‘fireexposuR.Rmd’
--- re-building ‘prep-input-data.Rmd’ using rmarkdown
[WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead.
--- finished re-building ‘prep-input-data.Rmd’
--- re-building ‘prometheus.Rmd’ using rmarkdown
[WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead.
--- finished re-building ‘prometheus.Rmd’
--- re-building ‘resources.Rmd’ using rmarkdown
[WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead.
--- finished re-building ‘resources.Rmd’
SUMMARY: processing the following file failed:
‘fireexposuR.Rmd’
Error: Vignette re-building failed.
Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Version: 1.2.0
Check: examples
Result: ERROR
Running examples in ‘fireexposuR-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: fire_exp_extract_map
> ### Title: Visualize exposure to values in a map
> ### Aliases: fire_exp_extract_map
>
> ### ** Examples
>
> # read example hazard data
> hazard_file_path <- "extdata/hazard.tif"
> hazard <- terra::rast(system.file(hazard_file_path, package = "fireexposuR"))
>
> # read example area of interest
> polygon_path <- system.file("extdata", "polygon.shp", package ="fireexposuR")
> aoi <- terra::vect(polygon_path)
>
> # generate random points within the aoi polygon
> points <- terra::spatSample(aoi, 20)
>
> # compute exposure
> exposure <- fire_exp(hazard)
>
> values_exp <- fire_exp_extract(exposure, points)
>
> # visualize example points in standardized map
> fire_exp_extract_map(values_exp)
Error in `[.data.table`(d, , `:=`(bbox, do.call(get_bbox, as.list(.SD))), :
attempt access index 4/4 in VECTOR_ELT
Calls: <Anonymous> -> print.tmap -> step4_plot -> [ -> [.data.table
Execution halted
Examples with CPU (user + system) or elapsed time > 5s
user system elapsed
fire_exp 6.635 0.358 8.692
fire_exp_dir_multi_plot 4.337 0.292 5.283
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 1.2.0
Check: examples
Result: ERROR
Running examples in ‘fireexposuR-Ex.R’ failed
The error most likely occurred in:
> ### Name: fire_exp_extract_map
> ### Title: Visualize exposure to values in a map
> ### Aliases: fire_exp_extract_map
>
> ### ** Examples
>
> # read example hazard data
> hazard_file_path <- "extdata/hazard.tif"
> hazard <- terra::rast(system.file(hazard_file_path, package = "fireexposuR"))
>
> # read example area of interest
> polygon_path <- system.file("extdata", "polygon.shp", package ="fireexposuR")
> aoi <- terra::vect(polygon_path)
>
> # generate random points within the aoi polygon
> points <- terra::spatSample(aoi, 20)
>
> # compute exposure
> exposure <- fire_exp(hazard)
>
> values_exp <- fire_exp_extract(exposure, points)
>
> # visualize example points in standardized map
> fire_exp_extract_map(values_exp)
Error in `[.data.table`(d, , `:=`(bbox, do.call(get_bbox, as.list(.SD))), :
attempt access index 4/4 in VECTOR_ELT
Calls: <Anonymous> -> print.tmap -> step4_plot -> [ -> [.data.table
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang
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:133-138 [example1c]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `[.data.table`:
! attempt access index 4/4 in VECTOR_ELT
---
Backtrace:
▆
1. └─tools:::.buildOneVignette(...)
2. ├─base::tryCatch(...)
3. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
4. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
5. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
6. └─engine$weave(file, quiet = quiet, encoding = enc)
7. └─knitr:::vweave_rmarkdown(...)
8. └─rmarkdown::render(...)
9. └─knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet)
10. └─knitr:::process_file(text, output)
11. ├─xfun:::handle_error(...)
12. ├─base::withCallingHandlers(...)
13. └─knitr:::process_group(group)
14. └─knitr:::call_block(x)
15. └─knitr:::block_exec(params)
16. └─knitr:::eng_r(options)
17. ├─knitr:::in_input_dir(...)
18. │ └─knitr:::in_dir(input_dir(), expr)
19. └─knitr (local) evaluate(...)
20. └─evaluate::evaluate(...)
21. ├─base::withRestarts(...)
22. │ └─base (local) withRestartList(expr, restarts)
23. │ ├─base (local) withOneRestart(withRestartList(expr, restarts[-nr]), restarts[[nr]])
24. │ │ └─base (local) doWithOneRestart(return(expr), restart)
25. │ └─base (local) withRestartList(expr, restarts[-nr])
26. │ └─base (local) withOneRestart(expr, restarts[[1L]])
27. │ └─base (local) doWithOneRestart(return(expr), restart)
28. ├─evaluate:::with_handlers(...)
29. │ ├─base::eval(call)
30. │ │ └─base::eval(call)
31. │ └─base::withCallingHandlers(...)
32. └─watcher$print_value(ev$value, ev$visible, envir)
33. ├─base::withVisible(handle_value(handler, value, visible, envir))
34. └─evaluate:::handle_value(handler, value, visible, envir)
35. └─handler$value(value, visible)
36. └─knitr (local) fun(x, options = options)
37. ├─base::withVisible(knit_print(x, ...))
38. ├─knitr::knit_print(x, ...)
39. └─tmap:::knit_print.tmap(x, ...)
40. └─tmap:::print.tmap(x, knit = TRUE, options = options, ...)
41. └─tmap:::step4_plot(...)
42. ├─...[]
43. └─data.table:::`[.data.table`(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'fireexposuR.Rmd' failed with diagnostics:
attempt access index 4/4 in VECTOR_ELT
--- failed re-building ‘fireexposuR.Rmd’
--- re-building ‘prep-input-data.Rmd’ using rmarkdown
[WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead.
--- finished re-building ‘prep-input-data.Rmd’
--- re-building ‘prometheus.Rmd’ using rmarkdown
[WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead.
--- finished re-building ‘prometheus.Rmd’
--- re-building ‘resources.Rmd’ using rmarkdown
[WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead.
--- finished re-building ‘resources.Rmd’
SUMMARY: processing the following file failed:
‘fireexposuR.Rmd’
Error: Vignette re-building failed.
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang
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' [31s]
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