Last updated on 2025-07-19 19:49:54 CEST.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 0.2.3 | 6.30 | 192.64 | 198.94 | ERROR | |
r-devel-linux-x86_64-debian-gcc | 0.2.3 | 3.81 | 156.17 | 159.98 | ERROR | |
r-devel-linux-x86_64-fedora-clang | 0.2.3 | 334.41 | ERROR | |||
r-devel-linux-x86_64-fedora-gcc | 0.2.3 | 341.16 | ERROR | |||
r-devel-windows-x86_64 | 0.2.3 | 8.00 | 189.00 | 197.00 | ERROR | |
r-patched-linux-x86_64 | 0.2.3 | 7.95 | 181.25 | 189.20 | ERROR | |
r-release-linux-x86_64 | 0.2.3 | 5.37 | 174.68 | 180.05 | OK | |
r-release-macos-arm64 | 0.2.3 | 118.00 | OK | |||
r-release-macos-x86_64 | 0.2.3 | 184.00 | OK | |||
r-release-windows-x86_64 | 0.2.3 | 7.00 | 193.00 | 200.00 | ERROR | |
r-oldrel-macos-arm64 | 0.2.3 | 118.00 | OK | |||
r-oldrel-macos-x86_64 | 0.2.3 | 187.00 | OK | |||
r-oldrel-windows-x86_64 | 0.2.3 | 11.00 | 245.00 | 256.00 | ERROR |
Version: 0.2.3
Check: examples
Result: ERROR
Running examples in ‘osmapiR-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: osm_get_changesets
> ### Title: Get changesets
> ### Aliases: osm_get_changesets
>
> ### ** Examples
>
> chaset <- osm_get_changesets(changeset_id = 137595351, include_discussion = TRUE)
Error in `httr2::req_perform()`:
! HTTP 404 Not Found.
Couldn't find a file/directory/API operation by that name on the OpenStreetMap
server (HTTP 404)
Feel free to contact the OpenStreetMap community if you have found a broken
link / bug. Make a note of the exact URL of your request.
Please, open an issue at `https://github.com/ropensci/osmapiR/issues` and
report a reproducible example and the output of `httr2::last_response()`.
Backtrace:
▆
1. └─osmapiR::osm_get_changesets(changeset_id = 137595351, include_discussion = TRUE)
2. └─osmapiR:::osm_read_changeset(...)
3. └─httr2::req_perform(req)
4. └─httr2:::handle_resp(req, resp, error_call = error_call)
5. └─httr2:::resp_failure_cnd(req, resp, error_call = error_call)
6. ├─rlang::catch_cnd(...)
7. │ ├─rlang::eval_bare(...)
8. │ ├─base::tryCatch(...)
9. │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. │ └─base::force(expr)
13. └─rlang::abort(...)
Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64
Version: 0.2.3
Check: tests
Result: ERROR
Running ‘testthat.R’ [140s/165s]
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/tests.html
> # * https://testthat.r-lib.org/reference/test_package.html#special-files
>
> library(testthat)
> library(osmapiR)
Data (c) OpenStreetMap contributors, ODbL 1.0. https://www.openstreetmap.org/copyright
>
> test_check("osmapiR")
Logged out from https://api.openstreetmap.org
TODO: fix added namespaces in the 2on node R/osm_get_notes.R/osm_get_notes()
TODO: fix added namespaces in the 2on node R/osm_get_notes.R/osm_get_notes()
[ FAIL 3 | WARN 0 | SKIP 13 | PASS 1821 ]
══ Skipped tests (13) ══════════════════════════════════════════════════════════
• On CRAN (13): 'test-changesets.R:243:3', 'test-changesets.R:335:18',
'test-elements.R:88:16', 'test-elements.R:246:19', 'test-elements.R:295:19',
'test-elements.R:482:17', 'test-elements.R:515:16', 'test-elements.R:548:3',
'test-elements.R:595:16', 'test-map_notes.R:59:3', 'test-map_notes.R:126:3',
'test-map_notes.R:248:3', 'test-miscellaneous.R:56:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-changeset_discussion.R:41:5'): osm_hide_comment_changeset_discussion works ──
<httptest2_request/rlang_error/error/condition>
Error in `stop_request(req)`: An unexpected request was made:
GET https://master.apis.dev.openstreetmap.org/api/0.6/changeset/265646%3Finclude_discussion%3D%27true%27
Expected mock file: osm.org/api/0.6/changeset/265646%3Finclude_discussion%3D%27true%27.*
Backtrace:
▆
1. ├─httptest2::with_mock_dir(...) at test-changeset_discussion.R:40:3
2. │ ├─httptest2:::with_mock_path(...)
3. │ │ └─base::eval.parent(expr)
4. │ │ └─base::eval(expr, p)
5. │ └─httptest2::with_mock_api(expr)
6. │ └─base::eval.parent(expr)
7. │ └─base::eval(expr, p)
8. └─osmapiR::osm_get_changesets("265646", include_discussion = TRUE) at test-changeset_discussion.R:41:5
9. └─osmapiR:::osm_read_changeset(...)
10. └─httr2::req_perform(req)
11. └─httptest2 (local) mock(req)
12. └─httptest2:::stop_request(req)
13. └─rlang::abort(out, mockfile = req$mockfile, class = "httptest2_request")
── Error ('test-changesets.R:125:5'): osm_read_changeset works ─────────────────
<httptest2_request/rlang_error/error/condition>
Error in `stop_request(req)`: An unexpected request was made:
GET https://master.apis.dev.openstreetmap.org/api/0.6/changeset/137595351%3Finclude_discussion%3D%27true%27
Expected mock file: osm.org/api/0.6/changeset/137595351%3Finclude_discussion%3D%27true%27.*
Backtrace:
▆
1. ├─httptest2::with_mock_dir(...) at test-changesets.R:123:3
2. │ ├─httptest2:::with_mock_path(...)
3. │ │ └─base::eval.parent(expr)
4. │ │ └─base::eval(expr, p)
5. │ └─httptest2::with_mock_api(expr)
6. │ └─base::eval.parent(expr)
7. │ └─base::eval(expr, p)
8. └─osmapiR::osm_get_changesets(changeset_id = 137595351, include_discussion = TRUE) at test-changesets.R:125:5
9. └─osmapiR:::osm_read_changeset(...)
10. └─httr2::req_perform(req)
11. └─httptest2 (local) mock(req)
12. └─httptest2:::stop_request(req)
13. └─rlang::abort(out, mockfile = req$mockfile, class = "httptest2_request")
── Error ('test-osmapiR_request.R:35:5'): error handling works ─────────────────
<httr2_http_414/httr2_http/httr2_error/rlang_error/rlang_error/error/condition>
Error in `httr2::req_perform(httr2::req_url_query(httr2::req_url_path_append(osmapi_request(),
"nodes"), nodes = paste(1:2000, collapse = ",")))`: HTTP 414 URI Too Long.
The requested URL's length exceeds the capacity limit for this server.
Additionally, a 400 Bad Request error was encountered while trying to use an ErrorDocument to handle the request.
Please, open an issue at `https://github.com/ropensci/osmapiR/issues` and report a reproducible example and the output of `httr2::last_response()`.
Backtrace:
▆
1. ├─httptest2::with_mock_dir(...) at test-osmapiR_request.R:2:3
2. │ ├─httptest2:::with_mock_path(...)
3. │ │ └─base::eval.parent(expr)
4. │ │ └─base::eval(expr, p)
5. │ └─httptest2::with_mock_api(expr)
6. │ └─base::eval.parent(expr)
7. │ └─base::eval(expr, p)
8. ├─testthat::expect_error(...) at test-osmapiR_request.R:35:5
9. │ └─testthat:::expect_condition_matching(...)
10. │ └─testthat:::quasi_capture(...)
11. │ ├─testthat (local) .capture(...)
12. │ │ └─base::withCallingHandlers(...)
13. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
14. └─httr2::req_perform(...)
15. └─httr2:::handle_resp(req, mock_resp, error_call = error_call)
16. └─httr2:::resp_failure_cnd(req, resp, error_call = error_call)
17. ├─rlang::catch_cnd(...)
18. │ ├─rlang::eval_bare(...)
19. │ ├─base::tryCatch(...)
20. │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
21. │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
22. │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
23. │ └─base::force(expr)
24. └─rlang::abort(...)
[ FAIL 3 | WARN 0 | SKIP 13 | PASS 1821 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang
Version: 0.2.3
Check: tests
Result: ERROR
Running ‘testthat.R’ [117s/153s]
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/tests.html
> # * https://testthat.r-lib.org/reference/test_package.html#special-files
>
> library(testthat)
> library(osmapiR)
Data (c) OpenStreetMap contributors, ODbL 1.0. https://www.openstreetmap.org/copyright
>
> test_check("osmapiR")
Logged out from https://api.openstreetmap.org
TODO: fix added namespaces in the 2on node R/osm_get_notes.R/osm_get_notes()
TODO: fix added namespaces in the 2on node R/osm_get_notes.R/osm_get_notes()
[ FAIL 3 | WARN 0 | SKIP 13 | PASS 1821 ]
══ Skipped tests (13) ══════════════════════════════════════════════════════════
• On CRAN (13): 'test-changesets.R:243:3', 'test-changesets.R:335:18',
'test-elements.R:88:16', 'test-elements.R:246:19', 'test-elements.R:295:19',
'test-elements.R:482:17', 'test-elements.R:515:16', 'test-elements.R:548:3',
'test-elements.R:595:16', 'test-map_notes.R:59:3', 'test-map_notes.R:126:3',
'test-map_notes.R:248:3', 'test-miscellaneous.R:56:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-changeset_discussion.R:41:5'): osm_hide_comment_changeset_discussion works ──
<httptest2_request/rlang_error/error/condition>
Error in `stop_request(req)`: An unexpected request was made:
GET https://master.apis.dev.openstreetmap.org/api/0.6/changeset/265646%3Finclude_discussion%3D%27true%27
Expected mock file: osm.org/api/0.6/changeset/265646%3Finclude_discussion%3D%27true%27.*
Backtrace:
▆
1. ├─httptest2::with_mock_dir(...) at test-changeset_discussion.R:40:3
2. │ ├─httptest2:::with_mock_path(...)
3. │ │ └─base::eval.parent(expr)
4. │ │ └─base::eval(expr, p)
5. │ └─httptest2::with_mock_api(expr)
6. │ └─base::eval.parent(expr)
7. │ └─base::eval(expr, p)
8. └─osmapiR::osm_get_changesets("265646", include_discussion = TRUE) at test-changeset_discussion.R:41:5
9. └─osmapiR:::osm_read_changeset(...)
10. └─httr2::req_perform(req)
11. └─httptest2 (local) mock(req)
12. └─httptest2:::stop_request(req)
13. └─rlang::abort(out, mockfile = req$mockfile, class = "httptest2_request")
── Error ('test-changesets.R:125:5'): osm_read_changeset works ─────────────────
<httptest2_request/rlang_error/error/condition>
Error in `stop_request(req)`: An unexpected request was made:
GET https://master.apis.dev.openstreetmap.org/api/0.6/changeset/137595351%3Finclude_discussion%3D%27true%27
Expected mock file: osm.org/api/0.6/changeset/137595351%3Finclude_discussion%3D%27true%27.*
Backtrace:
▆
1. ├─httptest2::with_mock_dir(...) at test-changesets.R:123:3
2. │ ├─httptest2:::with_mock_path(...)
3. │ │ └─base::eval.parent(expr)
4. │ │ └─base::eval(expr, p)
5. │ └─httptest2::with_mock_api(expr)
6. │ └─base::eval.parent(expr)
7. │ └─base::eval(expr, p)
8. └─osmapiR::osm_get_changesets(changeset_id = 137595351, include_discussion = TRUE) at test-changesets.R:125:5
9. └─osmapiR:::osm_read_changeset(...)
10. └─httr2::req_perform(req)
11. └─httptest2 (local) mock(req)
12. └─httptest2:::stop_request(req)
13. └─rlang::abort(out, mockfile = req$mockfile, class = "httptest2_request")
── Error ('test-osmapiR_request.R:35:5'): error handling works ─────────────────
<httr2_http_414/httr2_http/httr2_error/rlang_error/rlang_error/error/condition>
Error in `httr2::req_perform(httr2::req_url_query(httr2::req_url_path_append(osmapi_request(),
"nodes"), nodes = paste(1:2000, collapse = ",")))`: HTTP 414 URI Too Long.
The requested URL's length exceeds the capacity limit for this server.
Additionally, a 400 Bad Request error was encountered while trying to use an ErrorDocument to handle the request.
Please, open an issue at `https://github.com/ropensci/osmapiR/issues` and report a reproducible example and the output of `httr2::last_response()`.
Backtrace:
▆
1. ├─httptest2::with_mock_dir(...) at test-osmapiR_request.R:2:3
2. │ ├─httptest2:::with_mock_path(...)
3. │ │ └─base::eval.parent(expr)
4. │ │ └─base::eval(expr, p)
5. │ └─httptest2::with_mock_api(expr)
6. │ └─base::eval.parent(expr)
7. │ └─base::eval(expr, p)
8. ├─testthat::expect_error(...) at test-osmapiR_request.R:35:5
9. │ └─testthat:::expect_condition_matching(...)
10. │ └─testthat:::quasi_capture(...)
11. │ ├─testthat (local) .capture(...)
12. │ │ └─base::withCallingHandlers(...)
13. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
14. └─httr2::req_perform(...)
15. └─httr2:::handle_resp(req, mock_resp, error_call = error_call)
16. └─httr2:::resp_failure_cnd(req, resp, error_call = error_call)
17. ├─rlang::catch_cnd(...)
18. │ ├─rlang::eval_bare(...)
19. │ ├─base::tryCatch(...)
20. │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
21. │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
22. │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
23. │ └─base::force(expr)
24. └─rlang::abort(...)
[ FAIL 3 | WARN 0 | SKIP 13 | PASS 1821 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.2.3
Check: examples
Result: ERROR
Running examples in ‘osmapiR-Ex.R’ failed
The error most likely occurred in:
> ### Name: osm_get_changesets
> ### Title: Get changesets
> ### Aliases: osm_get_changesets
>
> ### ** Examples
>
> chaset <- osm_get_changesets(changeset_id = 137595351, include_discussion = TRUE)
Error in `httr2::req_perform()`:
! HTTP 404 Not Found.
Couldn't find a file/directory/API operation by that name on the OpenStreetMap
server (HTTP 404)
Feel free to contact the OpenStreetMap community if you have found a broken
link / bug. Make a note of the exact URL of your request.
Please, open an issue at `https://github.com/ropensci/osmapiR/issues` and
report a reproducible example and the output of `httr2::last_response()`.
Backtrace:
▆
1. └─osmapiR::osm_get_changesets(changeset_id = 137595351, include_discussion = TRUE)
2. └─osmapiR:::osm_read_changeset(...)
3. └─httr2::req_perform(req)
4. └─httr2:::handle_resp(req, resp, error_call = error_call)
5. └─httr2:::resp_failure_cnd(req, resp, error_call = error_call)
6. ├─rlang::catch_cnd(...)
7. │ ├─rlang::eval_bare(...)
8. │ ├─base::tryCatch(...)
9. │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. │ └─base::force(expr)
13. └─rlang::abort(...)
Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-release-windows-x86_64, r-oldrel-windows-x86_64
Version: 0.2.3
Check: tests
Result: ERROR
Running ‘testthat.R’ [239s/589s]
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/tests.html
> # * https://testthat.r-lib.org/reference/test_package.html#special-files
>
> library(testthat)
> library(osmapiR)
Data (c) OpenStreetMap contributors, ODbL 1.0. https://www.openstreetmap.org/copyright
>
> test_check("osmapiR")
Logged out from https://api.openstreetmap.org
TODO: fix added namespaces in the 2on node R/osm_get_notes.R/osm_get_notes()
TODO: fix added namespaces in the 2on node R/osm_get_notes.R/osm_get_notes()
[ FAIL 3 | WARN 0 | SKIP 13 | PASS 1821 ]
══ Skipped tests (13) ══════════════════════════════════════════════════════════
• On CRAN (13): 'test-changesets.R:243:3', 'test-changesets.R:335:18',
'test-elements.R:88:16', 'test-elements.R:246:19', 'test-elements.R:295:19',
'test-elements.R:482:17', 'test-elements.R:515:16', 'test-elements.R:548:3',
'test-elements.R:595:16', 'test-map_notes.R:59:3', 'test-map_notes.R:126:3',
'test-map_notes.R:248:3', 'test-miscellaneous.R:56:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-changeset_discussion.R:41:5'): osm_hide_comment_changeset_discussion works ──
<httptest2_request/rlang_error/error/condition>
Error in `stop_request(req)`: An unexpected request was made:
GET https://master.apis.dev.openstreetmap.org/api/0.6/changeset/265646%3Finclude_discussion%3D%27true%27
Expected mock file: osm.org/api/0.6/changeset/265646%3Finclude_discussion%3D%27true%27.*
Backtrace:
▆
1. ├─httptest2::with_mock_dir(...) at test-changeset_discussion.R:40:3
2. │ ├─httptest2:::with_mock_path(...)
3. │ │ └─base::eval.parent(expr)
4. │ │ └─base::eval(expr, p)
5. │ └─httptest2::with_mock_api(expr)
6. │ └─base::eval.parent(expr)
7. │ └─base::eval(expr, p)
8. └─osmapiR::osm_get_changesets("265646", include_discussion = TRUE) at test-changeset_discussion.R:41:5
9. └─osmapiR:::osm_read_changeset(...)
10. └─httr2::req_perform(req)
11. └─httptest2 (local) mock(req)
12. └─httptest2:::stop_request(req)
13. └─rlang::abort(out, mockfile = req$mockfile, class = "httptest2_request")
── Error ('test-changesets.R:125:5'): osm_read_changeset works ─────────────────
<httptest2_request/rlang_error/error/condition>
Error in `stop_request(req)`: An unexpected request was made:
GET https://master.apis.dev.openstreetmap.org/api/0.6/changeset/137595351%3Finclude_discussion%3D%27true%27
Expected mock file: osm.org/api/0.6/changeset/137595351%3Finclude_discussion%3D%27true%27.*
Backtrace:
▆
1. ├─httptest2::with_mock_dir(...) at test-changesets.R:123:3
2. │ ├─httptest2:::with_mock_path(...)
3. │ │ └─base::eval.parent(expr)
4. │ │ └─base::eval(expr, p)
5. │ └─httptest2::with_mock_api(expr)
6. │ └─base::eval.parent(expr)
7. │ └─base::eval(expr, p)
8. └─osmapiR::osm_get_changesets(changeset_id = 137595351, include_discussion = TRUE) at test-changesets.R:125:5
9. └─osmapiR:::osm_read_changeset(...)
10. └─httr2::req_perform(req)
11. └─httptest2 (local) mock(req)
12. └─httptest2:::stop_request(req)
13. └─rlang::abort(out, mockfile = req$mockfile, class = "httptest2_request")
── Error ('test-osmapiR_request.R:35:5'): error handling works ─────────────────
<httr2_http_414/httr2_http/httr2_error/rlang_error/rlang_error/error/condition>
Error in `httr2::req_perform(httr2::req_url_query(httr2::req_url_path_append(osmapi_request(),
"nodes"), nodes = paste(1:2000, collapse = ",")))`: HTTP 414 URI Too Long.
The requested URL's length exceeds the capacity limit for this server.
Additionally, a 400 Bad Request error was encountered while trying to use an ErrorDocument to handle the request.
Please, open an issue at `https://github.com/ropensci/osmapiR/issues` and report a reproducible example and the output of `httr2::last_response()`.
Backtrace:
▆
1. ├─httptest2::with_mock_dir(...) at test-osmapiR_request.R:2:3
2. │ ├─httptest2:::with_mock_path(...)
3. │ │ └─base::eval.parent(expr)
4. │ │ └─base::eval(expr, p)
5. │ └─httptest2::with_mock_api(expr)
6. │ └─base::eval.parent(expr)
7. │ └─base::eval(expr, p)
8. ├─testthat::expect_error(...) at test-osmapiR_request.R:35:5
9. │ └─testthat:::expect_condition_matching(...)
10. │ └─testthat:::quasi_capture(...)
11. │ ├─testthat (local) .capture(...)
12. │ │ └─base::withCallingHandlers(...)
13. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
14. └─httr2::req_perform(...)
15. └─httr2:::handle_resp(req, mock_resp, error_call = error_call)
16. └─httr2:::resp_failure_cnd(req, resp, error_call = error_call)
17. ├─rlang::catch_cnd(...)
18. │ ├─rlang::eval_bare(...)
19. │ ├─base::tryCatch(...)
20. │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
21. │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
22. │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
23. │ └─base::force(expr)
24. └─rlang::abort(...)
[ FAIL 3 | WARN 0 | SKIP 13 | PASS 1821 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 0.2.3
Check: tests
Result: ERROR
Running ‘testthat.R’ [235s/534s]
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/tests.html
> # * https://testthat.r-lib.org/reference/test_package.html#special-files
>
> library(testthat)
> library(osmapiR)
Data (c) OpenStreetMap contributors, ODbL 1.0. https://www.openstreetmap.org/copyright
>
> test_check("osmapiR")
Logged out from https://api.openstreetmap.org
TODO: fix added namespaces in the 2on node R/osm_get_notes.R/osm_get_notes()
TODO: fix added namespaces in the 2on node R/osm_get_notes.R/osm_get_notes()
[ FAIL 3 | WARN 0 | SKIP 13 | PASS 1821 ]
══ Skipped tests (13) ══════════════════════════════════════════════════════════
• On CRAN (13): 'test-changesets.R:243:3', 'test-changesets.R:335:18',
'test-elements.R:88:16', 'test-elements.R:246:19', 'test-elements.R:295:19',
'test-elements.R:482:17', 'test-elements.R:515:16', 'test-elements.R:548:3',
'test-elements.R:595:16', 'test-map_notes.R:59:3', 'test-map_notes.R:126:3',
'test-map_notes.R:248:3', 'test-miscellaneous.R:56:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-changeset_discussion.R:41:5'): osm_hide_comment_changeset_discussion works ──
<httptest2_request/rlang_error/error/condition>
Error in `stop_request(req)`: An unexpected request was made:
GET https://master.apis.dev.openstreetmap.org/api/0.6/changeset/265646%3Finclude_discussion%3D%27true%27
Expected mock file: osm.org/api/0.6/changeset/265646%3Finclude_discussion%3D%27true%27.*
Backtrace:
▆
1. ├─httptest2::with_mock_dir(...) at test-changeset_discussion.R:40:3
2. │ ├─httptest2:::with_mock_path(...)
3. │ │ └─base::eval.parent(expr)
4. │ │ └─base::eval(expr, p)
5. │ └─httptest2::with_mock_api(expr)
6. │ └─base::eval.parent(expr)
7. │ └─base::eval(expr, p)
8. └─osmapiR::osm_get_changesets("265646", include_discussion = TRUE) at test-changeset_discussion.R:41:5
9. └─osmapiR:::osm_read_changeset(...)
10. └─httr2::req_perform(req)
11. └─httptest2 (local) mock(req)
12. └─httptest2:::stop_request(req)
13. └─rlang::abort(out, mockfile = req$mockfile, class = "httptest2_request")
── Error ('test-changesets.R:125:5'): osm_read_changeset works ─────────────────
<httptest2_request/rlang_error/error/condition>
Error in `stop_request(req)`: An unexpected request was made:
GET https://master.apis.dev.openstreetmap.org/api/0.6/changeset/137595351%3Finclude_discussion%3D%27true%27
Expected mock file: osm.org/api/0.6/changeset/137595351%3Finclude_discussion%3D%27true%27.*
Backtrace:
▆
1. ├─httptest2::with_mock_dir(...) at test-changesets.R:123:3
2. │ ├─httptest2:::with_mock_path(...)
3. │ │ └─base::eval.parent(expr)
4. │ │ └─base::eval(expr, p)
5. │ └─httptest2::with_mock_api(expr)
6. │ └─base::eval.parent(expr)
7. │ └─base::eval(expr, p)
8. └─osmapiR::osm_get_changesets(changeset_id = 137595351, include_discussion = TRUE) at test-changesets.R:125:5
9. └─osmapiR:::osm_read_changeset(...)
10. └─httr2::req_perform(req)
11. └─httptest2 (local) mock(req)
12. └─httptest2:::stop_request(req)
13. └─rlang::abort(out, mockfile = req$mockfile, class = "httptest2_request")
── Error ('test-osmapiR_request.R:35:5'): error handling works ─────────────────
<httr2_http_414/httr2_http/httr2_error/rlang_error/rlang_error/error/condition>
Error in `httr2::req_perform(httr2::req_url_query(httr2::req_url_path_append(osmapi_request(),
"nodes"), nodes = paste(1:2000, collapse = ",")))`: HTTP 414 URI Too Long.
The requested URL's length exceeds the capacity limit for this server.
Additionally, a 400 Bad Request error was encountered while trying to use an ErrorDocument to handle the request.
Please, open an issue at `https://github.com/ropensci/osmapiR/issues` and report a reproducible example and the output of `httr2::last_response()`.
Backtrace:
▆
1. ├─httptest2::with_mock_dir(...) at test-osmapiR_request.R:2:3
2. │ ├─httptest2:::with_mock_path(...)
3. │ │ └─base::eval.parent(expr)
4. │ │ └─base::eval(expr, p)
5. │ └─httptest2::with_mock_api(expr)
6. │ └─base::eval.parent(expr)
7. │ └─base::eval(expr, p)
8. ├─testthat::expect_error(...) at test-osmapiR_request.R:35:5
9. │ └─testthat:::expect_condition_matching(...)
10. │ └─testthat:::quasi_capture(...)
11. │ ├─testthat (local) .capture(...)
12. │ │ └─base::withCallingHandlers(...)
13. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
14. └─httr2::req_perform(...)
15. └─httr2:::handle_resp(req, mock_resp, error_call = error_call)
16. └─httr2:::resp_failure_cnd(req, resp, error_call = error_call)
17. ├─rlang::catch_cnd(...)
18. │ ├─rlang::eval_bare(...)
19. │ ├─base::tryCatch(...)
20. │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
21. │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
22. │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
23. │ └─base::force(expr)
24. └─rlang::abort(...)
[ FAIL 3 | WARN 0 | SKIP 13 | PASS 1821 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc
Version: 0.2.3
Check: tests
Result: ERROR
Running 'testthat.R' [111s]
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/tests.html
> # * https://testthat.r-lib.org/reference/test_package.html#special-files
>
> library(testthat)
> library(osmapiR)
Data (c) OpenStreetMap contributors, ODbL 1.0. https://www.openstreetmap.org/copyright
>
> test_check("osmapiR")
Logged out from https://api.openstreetmap.org
TODO: fix added namespaces in the 2on node R/osm_get_notes.R/osm_get_notes()
TODO: fix added namespaces in the 2on node R/osm_get_notes.R/osm_get_notes()
[ FAIL 3 | WARN 0 | SKIP 13 | PASS 1821 ]
══ Skipped tests (13) ══════════════════════════════════════════════════════════
• On CRAN (13): 'test-changesets.R:243:3', 'test-changesets.R:335:18',
'test-elements.R:88:16', 'test-elements.R:246:19', 'test-elements.R:295:19',
'test-elements.R:482:17', 'test-elements.R:515:16', 'test-elements.R:548:3',
'test-elements.R:595:16', 'test-map_notes.R:59:3', 'test-map_notes.R:126:3',
'test-map_notes.R:248:3', 'test-miscellaneous.R:56:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-changeset_discussion.R:41:5'): osm_hide_comment_changeset_discussion works ──
<httptest2_request/rlang_error/error/condition>
Error in `stop_request(req)`: An unexpected request was made:
GET https://master.apis.dev.openstreetmap.org/api/0.6/changeset/265646%3Finclude_discussion%3D%27true%27
Expected mock file: osm.org/api/0.6/changeset/265646%3Finclude_discussion%3D%27true%27.*
Backtrace:
▆
1. ├─httptest2::with_mock_dir(...) at test-changeset_discussion.R:40:3
2. │ ├─httptest2:::with_mock_path(...)
3. │ │ └─base::eval.parent(expr)
4. │ │ └─base::eval(expr, p)
5. │ └─httptest2::with_mock_api(expr)
6. │ └─base::eval.parent(expr)
7. │ └─base::eval(expr, p)
8. └─osmapiR::osm_get_changesets("265646", include_discussion = TRUE) at test-changeset_discussion.R:41:5
9. └─osmapiR:::osm_read_changeset(...)
10. └─httr2::req_perform(req)
11. └─httptest2 (local) mock(req)
12. └─httptest2:::stop_request(req)
13. └─rlang::abort(out, mockfile = req$mockfile, class = "httptest2_request")
── Error ('test-changesets.R:125:5'): osm_read_changeset works ─────────────────
<httptest2_request/rlang_error/error/condition>
Error in `stop_request(req)`: An unexpected request was made:
GET https://master.apis.dev.openstreetmap.org/api/0.6/changeset/137595351%3Finclude_discussion%3D%27true%27
Expected mock file: osm.org/api/0.6/changeset/137595351%3Finclude_discussion%3D%27true%27.*
Backtrace:
▆
1. ├─httptest2::with_mock_dir(...) at test-changesets.R:123:3
2. │ ├─httptest2:::with_mock_path(...)
3. │ │ └─base::eval.parent(expr)
4. │ │ └─base::eval(expr, p)
5. │ └─httptest2::with_mock_api(expr)
6. │ └─base::eval.parent(expr)
7. │ └─base::eval(expr, p)
8. └─osmapiR::osm_get_changesets(changeset_id = 137595351, include_discussion = TRUE) at test-changesets.R:125:5
9. └─osmapiR:::osm_read_changeset(...)
10. └─httr2::req_perform(req)
11. └─httptest2 (local) mock(req)
12. └─httptest2:::stop_request(req)
13. └─rlang::abort(out, mockfile = req$mockfile, class = "httptest2_request")
── Error ('test-osmapiR_request.R:35:5'): error handling works ─────────────────
<httr2_http_414/httr2_http/httr2_error/rlang_error/rlang_error/error/condition>
Error in `httr2::req_perform(httr2::req_url_query(httr2::req_url_path_append(osmapi_request(),
"nodes"), nodes = paste(1:2000, collapse = ",")))`: HTTP 414 URI Too Long.
The requested URL's length exceeds the capacity limit for this server.
Additionally, a 400 Bad Request error was encountered while trying to use an ErrorDocument to handle the request.
Please, open an issue at `https://github.com/ropensci/osmapiR/issues` and report a reproducible example and the output of `httr2::last_response()`.
Backtrace:
▆
1. ├─httptest2::with_mock_dir(...) at test-osmapiR_request.R:2:3
2. │ ├─httptest2:::with_mock_path(...)
3. │ │ └─base::eval.parent(expr)
4. │ │ └─base::eval(expr, p)
5. │ └─httptest2::with_mock_api(expr)
6. │ └─base::eval.parent(expr)
7. │ └─base::eval(expr, p)
8. ├─testthat::expect_error(...) at test-osmapiR_request.R:35:5
9. │ └─testthat:::expect_condition_matching(...)
10. │ └─testthat:::quasi_capture(...)
11. │ ├─testthat (local) .capture(...)
12. │ │ └─base::withCallingHandlers(...)
13. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
14. └─httr2::req_perform(...)
15. └─httr2:::handle_resp(req, mock_resp, error_call = error_call)
16. └─httr2:::resp_failure_cnd(req, resp, error_call = error_call)
17. ├─rlang::catch_cnd(...)
18. │ ├─rlang::eval_bare(...)
19. │ ├─base::tryCatch(...)
20. │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
21. │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
22. │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
23. │ └─base::force(expr)
24. └─rlang::abort(...)
[ FAIL 3 | WARN 0 | SKIP 13 | PASS 1821 ]
Error: Test failures
Execution halted
Flavor: r-devel-windows-x86_64
Version: 0.2.3
Check: tests
Result: ERROR
Running ‘testthat.R’ [133s/154s]
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/tests.html
> # * https://testthat.r-lib.org/reference/test_package.html#special-files
>
> library(testthat)
> library(osmapiR)
Data (c) OpenStreetMap contributors, ODbL 1.0. https://www.openstreetmap.org/copyright
>
> test_check("osmapiR")
Logged out from https://api.openstreetmap.org
TODO: fix added namespaces in the 2on node R/osm_get_notes.R/osm_get_notes()
TODO: fix added namespaces in the 2on node R/osm_get_notes.R/osm_get_notes()
[ FAIL 3 | WARN 0 | SKIP 13 | PASS 1821 ]
══ Skipped tests (13) ══════════════════════════════════════════════════════════
• On CRAN (13): 'test-changesets.R:243:3', 'test-changesets.R:335:18',
'test-elements.R:88:16', 'test-elements.R:246:19', 'test-elements.R:295:19',
'test-elements.R:482:17', 'test-elements.R:515:16', 'test-elements.R:548:3',
'test-elements.R:595:16', 'test-map_notes.R:59:3', 'test-map_notes.R:126:3',
'test-map_notes.R:248:3', 'test-miscellaneous.R:56:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-changeset_discussion.R:41:5'): osm_hide_comment_changeset_discussion works ──
<httptest2_request/rlang_error/error/condition>
Error in `stop_request(req)`: An unexpected request was made:
GET https://master.apis.dev.openstreetmap.org/api/0.6/changeset/265646%3Finclude_discussion%3D%27true%27
Expected mock file: osm.org/api/0.6/changeset/265646%3Finclude_discussion%3D%27true%27.*
Backtrace:
▆
1. ├─httptest2::with_mock_dir(...) at test-changeset_discussion.R:40:3
2. │ ├─httptest2:::with_mock_path(...)
3. │ │ └─base::eval.parent(expr)
4. │ │ └─base::eval(expr, p)
5. │ └─httptest2::with_mock_api(expr)
6. │ └─base::eval.parent(expr)
7. │ └─base::eval(expr, p)
8. └─osmapiR::osm_get_changesets("265646", include_discussion = TRUE) at test-changeset_discussion.R:41:5
9. └─osmapiR:::osm_read_changeset(...)
10. └─httr2::req_perform(req)
11. └─httptest2 (local) mock(req)
12. └─httptest2:::stop_request(req)
13. └─rlang::abort(out, mockfile = req$mockfile, class = "httptest2_request")
── Error ('test-changesets.R:125:5'): osm_read_changeset works ─────────────────
<httptest2_request/rlang_error/error/condition>
Error in `stop_request(req)`: An unexpected request was made:
GET https://master.apis.dev.openstreetmap.org/api/0.6/changeset/137595351%3Finclude_discussion%3D%27true%27
Expected mock file: osm.org/api/0.6/changeset/137595351%3Finclude_discussion%3D%27true%27.*
Backtrace:
▆
1. ├─httptest2::with_mock_dir(...) at test-changesets.R:123:3
2. │ ├─httptest2:::with_mock_path(...)
3. │ │ └─base::eval.parent(expr)
4. │ │ └─base::eval(expr, p)
5. │ └─httptest2::with_mock_api(expr)
6. │ └─base::eval.parent(expr)
7. │ └─base::eval(expr, p)
8. └─osmapiR::osm_get_changesets(changeset_id = 137595351, include_discussion = TRUE) at test-changesets.R:125:5
9. └─osmapiR:::osm_read_changeset(...)
10. └─httr2::req_perform(req)
11. └─httptest2 (local) mock(req)
12. └─httptest2:::stop_request(req)
13. └─rlang::abort(out, mockfile = req$mockfile, class = "httptest2_request")
── Error ('test-osmapiR_request.R:35:5'): error handling works ─────────────────
<httr2_http_414/httr2_http/httr2_error/rlang_error/rlang_error/error/condition>
Error in `httr2::req_perform(httr2::req_url_query(httr2::req_url_path_append(osmapi_request(),
"nodes"), nodes = paste(1:2000, collapse = ",")))`: HTTP 414 URI Too Long.
The requested URL's length exceeds the capacity limit for this server.
Additionally, a 400 Bad Request error was encountered while trying to use an ErrorDocument to handle the request.
Please, open an issue at `https://github.com/ropensci/osmapiR/issues` and report a reproducible example and the output of `httr2::last_response()`.
Backtrace:
▆
1. ├─httptest2::with_mock_dir(...) at test-osmapiR_request.R:2:3
2. │ ├─httptest2:::with_mock_path(...)
3. │ │ └─base::eval.parent(expr)
4. │ │ └─base::eval(expr, p)
5. │ └─httptest2::with_mock_api(expr)
6. │ └─base::eval.parent(expr)
7. │ └─base::eval(expr, p)
8. ├─testthat::expect_error(...) at test-osmapiR_request.R:35:5
9. │ └─testthat:::expect_condition_matching(...)
10. │ └─testthat:::quasi_capture(...)
11. │ ├─testthat (local) .capture(...)
12. │ │ └─base::withCallingHandlers(...)
13. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
14. └─httr2::req_perform(...)
15. └─httr2:::handle_resp(req, mock_resp, error_call = error_call)
16. └─httr2:::resp_failure_cnd(req, resp, error_call = error_call)
17. ├─rlang::catch_cnd(...)
18. │ ├─rlang::eval_bare(...)
19. │ ├─base::tryCatch(...)
20. │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
21. │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
22. │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
23. │ └─base::force(expr)
24. └─rlang::abort(...)
[ FAIL 3 | WARN 0 | SKIP 13 | PASS 1821 ]
Error: Test failures
Execution halted
Flavor: r-patched-linux-x86_64
Version: 0.2.3
Check: tests
Result: ERROR
Running 'testthat.R' [117s]
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/tests.html
> # * https://testthat.r-lib.org/reference/test_package.html#special-files
>
> library(testthat)
> library(osmapiR)
Data (c) OpenStreetMap contributors, ODbL 1.0. https://www.openstreetmap.org/copyright
>
> test_check("osmapiR")
Logged out from https://api.openstreetmap.org
TODO: fix added namespaces in the 2on node R/osm_get_notes.R/osm_get_notes()
TODO: fix added namespaces in the 2on node R/osm_get_notes.R/osm_get_notes()
[ FAIL 3 | WARN 0 | SKIP 13 | PASS 1821 ]
══ Skipped tests (13) ══════════════════════════════════════════════════════════
• On CRAN (13): 'test-changesets.R:243:3', 'test-changesets.R:335:18',
'test-elements.R:88:16', 'test-elements.R:246:19', 'test-elements.R:295:19',
'test-elements.R:482:17', 'test-elements.R:515:16', 'test-elements.R:548:3',
'test-elements.R:595:16', 'test-map_notes.R:59:3', 'test-map_notes.R:126:3',
'test-map_notes.R:248:3', 'test-miscellaneous.R:56:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-changeset_discussion.R:41:5'): osm_hide_comment_changeset_discussion works ──
<httptest2_request/rlang_error/error/condition>
Error in `stop_request(req)`: An unexpected request was made:
GET https://master.apis.dev.openstreetmap.org/api/0.6/changeset/265646%3Finclude_discussion%3D%27true%27
Expected mock file: osm.org/api/0.6/changeset/265646%3Finclude_discussion%3D%27true%27.*
Backtrace:
▆
1. ├─httptest2::with_mock_dir(...) at test-changeset_discussion.R:40:3
2. │ ├─httptest2:::with_mock_path(...)
3. │ │ └─base::eval.parent(expr)
4. │ │ └─base::eval(expr, p)
5. │ └─httptest2::with_mock_api(expr)
6. │ └─base::eval.parent(expr)
7. │ └─base::eval(expr, p)
8. └─osmapiR::osm_get_changesets("265646", include_discussion = TRUE) at test-changeset_discussion.R:41:5
9. └─osmapiR:::osm_read_changeset(...)
10. └─httr2::req_perform(req)
11. └─httptest2 (local) mock(req)
12. └─httptest2:::stop_request(req)
13. └─rlang::abort(out, mockfile = req$mockfile, class = "httptest2_request")
── Error ('test-changesets.R:125:5'): osm_read_changeset works ─────────────────
<httptest2_request/rlang_error/error/condition>
Error in `stop_request(req)`: An unexpected request was made:
GET https://master.apis.dev.openstreetmap.org/api/0.6/changeset/137595351%3Finclude_discussion%3D%27true%27
Expected mock file: osm.org/api/0.6/changeset/137595351%3Finclude_discussion%3D%27true%27.*
Backtrace:
▆
1. ├─httptest2::with_mock_dir(...) at test-changesets.R:123:3
2. │ ├─httptest2:::with_mock_path(...)
3. │ │ └─base::eval.parent(expr)
4. │ │ └─base::eval(expr, p)
5. │ └─httptest2::with_mock_api(expr)
6. │ └─base::eval.parent(expr)
7. │ └─base::eval(expr, p)
8. └─osmapiR::osm_get_changesets(changeset_id = 137595351, include_discussion = TRUE) at test-changesets.R:125:5
9. └─osmapiR:::osm_read_changeset(...)
10. └─httr2::req_perform(req)
11. └─httptest2 (local) mock(req)
12. └─httptest2:::stop_request(req)
13. └─rlang::abort(out, mockfile = req$mockfile, class = "httptest2_request")
── Error ('test-osmapiR_request.R:35:5'): error handling works ─────────────────
<httr2_http_414/httr2_http/httr2_error/rlang_error/rlang_error/error/condition>
Error in `httr2::req_perform(httr2::req_url_query(httr2::req_url_path_append(osmapi_request(),
"nodes"), nodes = paste(1:2000, collapse = ",")))`: HTTP 414 URI Too Long.
The requested URL's length exceeds the capacity limit for this server.
Additionally, a 400 Bad Request error was encountered while trying to use an ErrorDocument to handle the request.
Please, open an issue at `https://github.com/ropensci/osmapiR/issues` and report a reproducible example and the output of `httr2::last_response()`.
Backtrace:
▆
1. ├─httptest2::with_mock_dir(...) at test-osmapiR_request.R:2:3
2. │ ├─httptest2:::with_mock_path(...)
3. │ │ └─base::eval.parent(expr)
4. │ │ └─base::eval(expr, p)
5. │ └─httptest2::with_mock_api(expr)
6. │ └─base::eval.parent(expr)
7. │ └─base::eval(expr, p)
8. ├─testthat::expect_error(...) at test-osmapiR_request.R:35:5
9. │ └─testthat:::expect_condition_matching(...)
10. │ └─testthat:::quasi_capture(...)
11. │ ├─testthat (local) .capture(...)
12. │ │ └─base::withCallingHandlers(...)
13. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
14. └─httr2::req_perform(...)
15. └─httr2:::handle_resp(req, mock_resp, error_call = error_call)
16. └─httr2:::resp_failure_cnd(req, resp, error_call = error_call)
17. ├─rlang::catch_cnd(...)
18. │ ├─rlang::eval_bare(...)
19. │ ├─base::tryCatch(...)
20. │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
21. │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
22. │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
23. │ └─base::force(expr)
24. └─rlang::abort(...)
[ FAIL 3 | WARN 0 | SKIP 13 | PASS 1821 ]
Error: Test failures
Execution halted
Flavor: r-release-windows-x86_64
Version: 0.2.3
Check: tests
Result: ERROR
Running 'testthat.R' [157s]
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/tests.html
> # * https://testthat.r-lib.org/reference/test_package.html#special-files
>
> library(testthat)
> library(osmapiR)
Data (c) OpenStreetMap contributors, ODbL 1.0. https://www.openstreetmap.org/copyright
>
> test_check("osmapiR")
Logged out from https://api.openstreetmap.org
TODO: fix added namespaces in the 2on node R/osm_get_notes.R/osm_get_notes()
TODO: fix added namespaces in the 2on node R/osm_get_notes.R/osm_get_notes()
[ FAIL 3 | WARN 0 | SKIP 13 | PASS 1821 ]
══ Skipped tests (13) ══════════════════════════════════════════════════════════
• On CRAN (13): 'test-changesets.R:243:3', 'test-changesets.R:335:18',
'test-elements.R:88:16', 'test-elements.R:246:19', 'test-elements.R:295:19',
'test-elements.R:482:17', 'test-elements.R:515:16', 'test-elements.R:548:3',
'test-elements.R:595:16', 'test-map_notes.R:59:3', 'test-map_notes.R:126:3',
'test-map_notes.R:248:3', 'test-miscellaneous.R:56:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-changeset_discussion.R:41:5'): osm_hide_comment_changeset_discussion works ──
<httptest2_request/rlang_error/error/condition>
Error in `stop_request(req)`: An unexpected request was made:
GET https://master.apis.dev.openstreetmap.org/api/0.6/changeset/265646%3Finclude_discussion%3D%27true%27
Expected mock file: osm.org/api/0.6/changeset/265646%3Finclude_discussion%3D%27true%27.*
Backtrace:
▆
1. ├─httptest2::with_mock_dir(...) at test-changeset_discussion.R:40:3
2. │ ├─httptest2:::with_mock_path(...)
3. │ │ └─base::eval.parent(expr)
4. │ │ └─base::eval(expr, p)
5. │ └─httptest2::with_mock_api(expr)
6. │ └─base::eval.parent(expr)
7. │ └─base::eval(expr, p)
8. └─osmapiR::osm_get_changesets("265646", include_discussion = TRUE) at test-changeset_discussion.R:41:5
9. └─osmapiR:::osm_read_changeset(...)
10. └─httr2::req_perform(req)
11. └─httptest2 (local) mock(req)
12. └─httptest2:::stop_request(req)
13. └─rlang::abort(out, mockfile = req$mockfile, class = "httptest2_request")
── Error ('test-changesets.R:125:5'): osm_read_changeset works ─────────────────
<httptest2_request/rlang_error/error/condition>
Error in `stop_request(req)`: An unexpected request was made:
GET https://master.apis.dev.openstreetmap.org/api/0.6/changeset/137595351%3Finclude_discussion%3D%27true%27
Expected mock file: osm.org/api/0.6/changeset/137595351%3Finclude_discussion%3D%27true%27.*
Backtrace:
▆
1. ├─httptest2::with_mock_dir(...) at test-changesets.R:123:3
2. │ ├─httptest2:::with_mock_path(...)
3. │ │ └─base::eval.parent(expr)
4. │ │ └─base::eval(expr, p)
5. │ └─httptest2::with_mock_api(expr)
6. │ └─base::eval.parent(expr)
7. │ └─base::eval(expr, p)
8. └─osmapiR::osm_get_changesets(changeset_id = 137595351, include_discussion = TRUE) at test-changesets.R:125:5
9. └─osmapiR:::osm_read_changeset(...)
10. └─httr2::req_perform(req)
11. └─httptest2 (local) mock(req)
12. └─httptest2:::stop_request(req)
13. └─rlang::abort(out, mockfile = req$mockfile, class = "httptest2_request")
── Error ('test-osmapiR_request.R:35:5'): error handling works ─────────────────
<httr2_http_414/httr2_http/httr2_error/rlang_error/rlang_error/error/condition>
Error in `httr2::req_perform(httr2::req_url_query(httr2::req_url_path_append(osmapi_request(),
"nodes"), nodes = paste(1:2000, collapse = ",")))`: HTTP 414 URI Too Long.
The requested URL's length exceeds the capacity limit for this server.
Additionally, a 400 Bad Request error was encountered while trying to use an ErrorDocument to handle the request.
Please, open an issue at `https://github.com/ropensci/osmapiR/issues` and report a reproducible example and the output of `httr2::last_response()`.
Backtrace:
▆
1. ├─httptest2::with_mock_dir(...) at test-osmapiR_request.R:2:3
2. │ ├─httptest2:::with_mock_path(...)
3. │ │ └─base::eval.parent(expr)
4. │ │ └─base::eval(expr, p)
5. │ └─httptest2::with_mock_api(expr)
6. │ └─base::eval.parent(expr)
7. │ └─base::eval(expr, p)
8. ├─testthat::expect_error(...) at test-osmapiR_request.R:35:5
9. │ └─testthat:::expect_condition_matching(...)
10. │ └─testthat:::quasi_capture(...)
11. │ ├─testthat (local) .capture(...)
12. │ │ └─base::withCallingHandlers(...)
13. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
14. └─httr2::req_perform(...)
15. └─httr2:::handle_resp(req, mock_resp, error_call = error_call)
16. └─httr2:::resp_failure_cnd(req, resp, error_call = error_call)
17. ├─rlang::catch_cnd(...)
18. │ ├─rlang::eval_bare(...)
19. │ ├─base::tryCatch(...)
20. │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
21. │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
22. │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
23. │ └─base::force(expr)
24. └─rlang::abort(...)
[ FAIL 3 | WARN 0 | SKIP 13 | PASS 1821 ]
Error: Test failures
Execution halted
Flavor: r-oldrel-windows-x86_64
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.