Last updated on 2024-12-23 12:49:52 CET.
Package | ERROR | OK |
---|---|---|
mregions2 | 1 | 12 |
sdmpredictors | 1 | 12 |
Current CRAN status: ERROR: 1, OK: 12
Version: 1.1.1
Check: tests
Result: ERROR
Running ‘testthat.R’ [7s/10s]
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 v<01><c6>rU - { ... } is not allowed in Turtle
librdf error - The namespace prefix in ":" was not declared.
librdf error v<01><c6>rU - Failed to convert qname : to URI
librdf error ^yW<05> - { ... } is not allowed in Turtle
librdf error - The namespace prefix in ":" was not declared.
librdf error ^yW<05> - Failed to convert qname : to URI
(Last Modified: 2024-12-22 16:04:10.855351)
Cache is fresh. Reading: './prod/ok/geo/ecs-6413d9a2/ecs.shp'
(Last Modified: 2024-12-22 16:04:10.855351)
Cache is fresh. Reading: './prod/ok/geo/ecs-6413d9a2/ecs.shp'
(Last Modified: 2024-12-22 16:04:10.855351)
(Last Modified: 2024-12-22 16:04:10.911351)
Cache is fresh. Reading:
'./prod/ok/geo/ecs_boundaries-641d920c/ecs_boundaries.shp'
(Last Modified: 2024-12-22 16:04:10.911351)
Cache is fresh. Reading:
'./prod/ok/geo/ecs_boundaries-641d920c/ecs_boundaries.shp'
(Last Modified: 2024-12-22 16:04:10.911351)
[ 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
Flavor: r-devel-linux-x86_64-debian-gcc
Current CRAN status: ERROR: 1, OK: 12
Version: 0.2.15
Check: package dependencies
Result: ERROR
Packages required but not available: 'raster', 'terra'
See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
Flavor: r-devel-linux-x86_64-debian-gcc