Last updated on 2025-04-03 09:56:46 CEST.
Package | ERROR | NOTE | OK |
---|---|---|---|
cartographr | 1 | 7 | 7 |
Current CRAN status: ERROR: 1, NOTE: 7, OK: 7
Version: 0.2.2
Check: DESCRIPTION meta-information
Result: NOTE
Missing dependency on R >= 4.2.0 because package code uses the pipe
placeholder syntax added in R 4.2.0.
File(s) using such syntax:
‘cartographr.R’
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-macos-arm64, r-devel-windows-x86_64, r-patched-linux-x86_64
Version: 0.2.2
Check: tests
Result: ERROR
Running ‘testthat.R’ [13s/37s]
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(cartographr)
cartographr ready.
>
> test_check("cartographr")
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 105 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-cartographr.R:103:3'): get_osmdata calculates x_distance and y_distance correctly ──
<httr2_failure/httr2_error/rlang_error/error/condition>
Error in `httr2::req_perform(req)`: Failed to perform HTTP request.
Caused by error in `curl::curl_fetch_memory()`:
! Timeout was reached [overpass.kumi.systems]: Resolving timed out after 10002 milliseconds
Backtrace:
▆
1. └─cartographr::get_osmdata(...) at test-cartographr.R:103:3
2. └─osmdata::osmdata_sf(query, quiet = TRUE)
3. └─osmdata:::fill_overpass_data(obj, doc, quiet = quiet)
4. └─osmdata:::overpass_query(...)
5. └─osmdata::overpass_status(quiet)
6. └─httr2::req_perform(req)
7. └─httr2:::handle_resp(req, resp, error_call = error_call)
8. └─rlang::cnd_signal(resp)
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 105 ]
Error: Test failures
Execution halted
Flavor: r-devel-macos-arm64
Version: 0.2.2
Check: DESCRIPTION meta-information
Result: NOTE
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
‘cartographr.R’ ‘utils.R’
Flavor: r-devel-macos-x86_64