Running 'testthat.R' [28s]
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