Running ‘testthat.R’ [6s/9s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(mregions2)
  > 
  > test_check("mregions2")
  
  Attaching package: 'magrittr'
  
  The following objects are masked from 'package:testthat':
  
      equals, is_less_than, not
  
  librdf error <8b><b7><db>ZU - { ... } is not allowed in Turtle
  librdf error - The namespace prefix in ":" was not declared.
  librdf error <8b><b7><db>ZU - Failed to convert qname : to URI
  librdf error <d6><d1><c4>ZU - { ... } is not allowed in Turtle
  librdf error - The namespace prefix in ":" was not declared.
  librdf error <d6><d1><c4>ZU - Failed to convert qname : to URI
  (Last Modified: 2024-12-23 16:03:52.656718)
  Cache is fresh. Reading: './prod/ok/geo/ecs-6413d9a2/ecs.shp'
  (Last Modified: 2024-12-23 16:03:52.656718)
  Cache is fresh. Reading: './prod/ok/geo/ecs-6413d9a2/ecs.shp'
  (Last Modified: 2024-12-23 16:03:52.656718)
  (Last Modified: 2024-12-23 16:03:52.724718)
  Cache is fresh. Reading:
  './prod/ok/geo/ecs_boundaries-641d920c/ecs_boundaries.shp'
  (Last Modified: 2024-12-23 16:03:52.724718)
  Cache is fresh. Reading:
  './prod/ok/geo/ecs_boundaries-641d920c/ecs_boundaries.shp'
  (Last Modified: 2024-12-23 16:03:52.724718)
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 250 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-mrp_view_helpers.R:2:3'): mrp_view_* are identicals ────────────
  Error in `assert_deps(c("leaflet", "leaflet.extras2"))`: ! `mrp_view()` requires the leaflet and leaflet.extras2 packages but are not installed
  Backtrace:
      ▆
   1. ├─testthat::expect_identical(mrp_view("eez"), mrp_view_eez()) at test-mrp_view_helpers.R:2:3
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─mregions2::mrp_view("eez")
   5.   └─mregions2:::assert_deps(c("leaflet", "leaflet.extras2"))
   6.     └─cli::cli_abort(c(`!` = "{.fun mrp_view} requires the {.pkg {missing_pkgs}} package{?s} but {?is/are} not installed"))
   7.       └─rlang::abort(...)
  ── Error ('test-prod.R:23:3'): mrp_view() leaflet output works ─────────────────
  Error in `assert_deps(c("leaflet", "leaflet.extras2"))`: ! `mrp_view()` requires the leaflet and leaflet.extras2 packages but are not installed
  Backtrace:
      ▆
   1. └─mregions2::mrp_view("eez") at test-prod.R:23:3
   2.   └─mregions2:::assert_deps(c("leaflet", "leaflet.extras2"))
   3.     └─cli::cli_abort(c(`!` = "{.fun mrp_view} requires the {.pkg {missing_pkgs}} package{?s} but {?is/are} not installed"))
   4.       └─rlang::abort(...)
  ── Error ('test-prod.R:97:3'): mrp_view() filters can be passed ────────────────
  Error in `assert_deps(c("leaflet", "leaflet.extras2"))`: ! `mrp_view()` requires the leaflet and leaflet.extras2 packages but are not installed
  Backtrace:
      ▆
   1. └─mregions2::mrp_view("eez", filter = filter) at test-prod.R:97:3
   2.   └─mregions2:::assert_deps(c("leaflet", "leaflet.extras2"))
   3.     └─cli::cli_abort(c(`!` = "{.fun mrp_view} requires the {.pkg {missing_pkgs}} package{?s} but {?is/are} not installed"))
   4.       └─rlang::abort(...)
  ── Error ('test-prod.R:154:5'): mrp_view() assertions work ─────────────────────
  Error in `assert_deps(c("leaflet", "leaflet.extras2"))`: ! `mrp_view()` requires the leaflet and leaflet.extras2 packages but are not installed
  Backtrace:
       ▆
    1. ├─testthat::expect_error(.f(), regexp = "500") at test-prod.R:158: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. └─mregions2 (local) .f()
    8.   ├─httr2::with_mocked_responses(mock_500, mrp_view("eez")) at test-prod.R:154:5
    9.   │ └─withr::with_options(list(httr2_mock = mock), code)
   10.   │   └─base::force(code)
   11.   └─mregions2::mrp_view("eez")
   12.     └─mregions2:::assert_deps(c("leaflet", "leaflet.extras2"))
   13.       └─cli::cli_abort(c(`!` = "{.fun mrp_view} requires the {.pkg {missing_pkgs}} package{?s} but {?is/are} not installed"))
   14.         └─rlang::abort(...)
  
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 250 ]
  Error: Test failures
  Execution halted