Last updated on 2025-05-19 19:51:01 CEST.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 1.0.0 | 4.62 | 59.57 | 64.19 | OK | |
r-devel-linux-x86_64-debian-gcc | 1.0.0 | 3.23 | 42.82 | 46.05 | OK | |
r-devel-linux-x86_64-fedora-clang | 1.0.0 | 98.35 | OK | |||
r-devel-linux-x86_64-fedora-gcc | 1.0.0 | 110.29 | OK | |||
r-devel-windows-x86_64 | 1.0.0 | 7.00 | 99.00 | 106.00 | OK | |
r-patched-linux-x86_64 | 1.0.0 | 4.34 | 55.17 | 59.51 | OK | |
r-release-linux-x86_64 | 1.0.0 | 4.78 | 55.91 | 60.69 | ERROR | |
r-release-macos-arm64 | 1.0.0 | 45.00 | OK | |||
r-release-macos-x86_64 | 1.0.0 | 109.00 | OK | |||
r-release-windows-x86_64 | 1.0.0 | 8.00 | 93.00 | 101.00 | ERROR | |
r-oldrel-macos-arm64 | 1.0.0 | 58.00 | OK | |||
r-oldrel-macos-x86_64 | 1.0.0 | 97.00 | OK | |||
r-oldrel-windows-x86_64 | 1.0.0 | 8.00 | 98.00 | 106.00 | OK |
Version: 1.0.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [11s/23s]
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(wbids)
>
> test_check("wbids")
Downloading file to: /home/hornik/tmp/scratch/RtmpjXQu4r/file3ec64549f319a0.xlsx
[ FAIL 1 | WARN 0 | SKIP 7 | PASS 147 ]
══ Skipped tests (7) ═══════════════════════════════════════════════════════════
• On CRAN (7): 'test-ids_bulk.R:5:3', 'test-ids_bulk.R:75:3',
'test-ids_bulk.R:158:3', 'test-ids_bulk.R:204:3', 'test-ids_bulk.R:237:3',
'test-ids_bulk.R:288:3', 'test-ids_bulk.R:344:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-perform_request.R:15:7'): perform_request handles error responses ──
<httr2_http_400/httr2_http/httr2_error/rlang_error/rlang_error/error/condition>
Error in `httr2::req_perform(req)`: HTTP 400 Bad Request.
Backtrace:
▆
1. ├─testthat::with_mocked_bindings(...) at test-perform_request.R:10:3
2. ├─testthat::expect_error(perform_request("indicators"), "API error: Invalid indicator") at test-perform_request.R:15:7
3. │ └─testthat:::expect_condition_matching(...)
4. │ └─testthat:::quasi_capture(...)
5. │ ├─testthat (local) .capture(...)
6. │ │ └─base::withCallingHandlers(...)
7. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
8. └─wbids:::perform_request("indicators")
9. └─httr2::req_perform(req)
10. └─httr2:::handle_resp(req, resp, error_call = error_call)
11. └─httr2:::resp_failure_cnd(req, resp, error_call = error_call)
12. ├─rlang::catch_cnd(...)
13. │ ├─rlang::eval_bare(...)
14. │ ├─base::tryCatch(...)
15. │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
16. │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
17. │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
18. │ └─base::force(expr)
19. └─rlang::abort(...)
[ FAIL 1 | WARN 0 | SKIP 7 | PASS 147 ]
Error: Test failures
Execution halted
Flavor: r-release-linux-x86_64
Version: 1.0.0
Check: tests
Result: ERROR
Running 'testthat.R' [20s]
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(wbids)
>
> test_check("wbids")
Downloading file to: D:\temp\2025_05_17_01_50_01_18477\Rtmp0cKW2M\file31b6032...
[ FAIL 1 | WARN 0 | SKIP 7 | PASS 147 ]
══ Skipped tests (7) ═══════════════════════════════════════════════════════════
• On CRAN (7): 'test-ids_bulk.R:5:3', 'test-ids_bulk.R:75:3',
'test-ids_bulk.R:158:3', 'test-ids_bulk.R:204:3', 'test-ids_bulk.R:237:3',
'test-ids_bulk.R:288:3', 'test-ids_bulk.R:344:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-perform_request.R:15:7'): perform_request handles error responses ──
<httr2_http_400/httr2_http/httr2_error/rlang_error/rlang_error/error/condition>
Error in `httr2::req_perform(req)`: HTTP 400 Bad Request.
Backtrace:
▆
1. ├─testthat::with_mocked_bindings(...) at test-perform_request.R:10:3
2. ├─testthat::expect_error(perform_request("indicators"), "API error: Invalid indicator") at test-perform_request.R:15:7
3. │ └─testthat:::expect_condition_matching(...)
4. │ └─testthat:::quasi_capture(...)
5. │ ├─testthat (local) .capture(...)
6. │ │ └─base::withCallingHandlers(...)
7. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
8. └─wbids:::perform_request("indicators")
9. └─httr2::req_perform(req)
10. └─httr2:::handle_resp(req, resp, error_call = error_call)
11. └─httr2:::resp_failure_cnd(req, resp, error_call = error_call)
12. ├─rlang::catch_cnd(...)
13. │ ├─rlang::eval_bare(...)
14. │ ├─base::tryCatch(...)
15. │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
16. │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
17. │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
18. │ └─base::force(expr)
19. └─rlang::abort(...)
[ FAIL 1 | WARN 0 | SKIP 7 | PASS 147 ]
Error: Test failures
Execution halted
Flavor: r-release-windows-x86_64