Last updated on 2025-06-02 11:51:31 CEST.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 0.1.14 | 5.04 | 49.39 | 54.43 | OK | |
r-devel-linux-x86_64-debian-gcc | 0.1.14 | 3.67 | 36.23 | 39.90 | OK | |
r-devel-linux-x86_64-fedora-clang | 0.1.14 | 83.25 | OK | |||
r-devel-linux-x86_64-fedora-gcc | 0.1.14 | 80.86 | OK | |||
r-devel-windows-x86_64 | 0.1.14 | 9.00 | 80.00 | 89.00 | ERROR | |
r-patched-linux-x86_64 | 0.1.14 | 5.92 | 46.00 | 51.92 | OK | |
r-release-linux-x86_64 | 0.1.14 | 4.95 | 46.63 | 51.58 | OK | |
r-release-macos-arm64 | 0.1.14 | 54.00 | OK | |||
r-release-macos-x86_64 | 0.1.14 | 66.00 | OK | |||
r-release-windows-x86_64 | 0.1.14 | 7.00 | 77.00 | 84.00 | OK | |
r-oldrel-macos-arm64 | 0.1.14 | 48.00 | OK | |||
r-oldrel-macos-x86_64 | 0.1.14 | 72.00 | OK | |||
r-oldrel-windows-x86_64 | 0.1.14 | 10.00 | 91.00 | 101.00 | OK |
Version: 0.1.14
Check: examples
Result: ERROR
Running examples in 'wikkitidy-Ex.R' failed
The error most likely occurred in:
> ### Name: wikipedia_rest_apis
> ### Title: Build a REST request to one of Wikipedia's specific REST APIs
> ### Aliases: wikipedia_rest_apis core_rest_request wikimedia_rest_request
>
> ### ** Examples
>
> # Get the html of the 'Earth' article on English Wikipedia
> response <- core_rest_request("page", "Earth", "html") %>%
+ httr2::req_perform()
>
> response <- wikimedia_rest_request("page", "html", "Earth") %>%
+ httr2::req_perform()
>
> # Some REST requests take query parameters. Pass these as named arguments.
> # To search German Wikipedia for articles about Goethe
> response <- core_rest_request("search/page", q = "Goethe", limit = 2, language = "de") %>%
+ httr2::req_perform() %>%
+ httr2::resp_body_json()
Error in `httr2::req_perform()`:
! HTTP 500 Internal Server Error.
Backtrace:
▆
1. ├─... %>% httr2::resp_body_json()
2. ├─httr2::resp_body_json(.)
3. │ └─httr2:::check_response(resp)
4. │ └─httr2:::is_response(resp)
5. └─httr2::req_perform(.)
6. └─httr2:::handle_resp(req, resp, error_call = error_call)
7. └─httr2:::resp_failure_cnd(req, resp, error_call = error_call)
8. ├─rlang::catch_cnd(...)
9. │ ├─rlang::eval_bare(...)
10. │ ├─base::tryCatch(...)
11. │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
12. │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
13. │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
14. │ └─base::force(expr)
15. └─rlang::abort(...)
Execution halted
Flavor: r-devel-windows-x86_64
Version: 0.1.14
Check: tests
Result: ERROR
Running 'testthat.R' [8s]
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(wikkitidy)
>
> test_check("wikkitidy")
> The query you tried was unsuccessful. See the response below.
<httr2_response>
GET http://127.0.0.1:62073/status/404
Status: 404 Not Found
Content-Type: text/plain
Body: None
[ FAIL 1 | WARN 0 | SKIP 27 | PASS 91 ]
══ Skipped tests (27) ══════════════════════════════════════════════════════════
• On CRAN (27): 'test-get-diff.R:2:3', 'test-get-diff.R:10:3',
'test-get-diff.R:21:3', 'test-get-history-count.R:8:3',
'test-get-page-data.R:2:3', 'test-get-page-data.R:25:3',
'test-get-query-results.R:2:3', 'test-get-query-results.R:11:3',
'test-get-query-results.R:21:3', 'test-get-rest-resource.R:2:3',
'test-get-rest-resource.R:9:3', 'test-get-rest-resource.R:17:3',
'test-get-rest-resource.R:24:3', 'test-get-rest-resource.R:30:3',
'test-prop-query-type.R:60:3', 'test-query-category-members.R:2:3',
'test-query-category-members.R:15:3', 'test-rest-request.R:2:3',
'test-rest-request.R:9:3', 'test-rest-request.R:16:3',
'test-rest-request.R:26:3', 'test-rest-request.R:36:3', 'test-utils.R:8:3',
'test-wiki-action-request.R:15:3', 'test-wiki-action-request.R:22:3',
'test-xtools-page-api.R:2:3', 'test-xtools-page-api.R:18:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-generator-query-type.R:15:3'): `query_generate_pages` returns data for a known request ──
Error in `purrr::list_transpose(.)`: `x` must be a list, not `NULL`.
Backtrace:
▆
1. ├─... %>% next_batch() at test-generator-query-type.R:15:3
2. ├─wikkitidy::next_batch(.)
3. ├─wikkitidy:::next_batch.query(.)
4. │ ├─wikkitidy:::perform_query(x, continue = NULL)
5. │ └─wikkitidy:::perform_query.generator(x, continue = NULL)
6. │ └─result$x %>% purrr::list_transpose() %>% ...
7. ├─tibble::tibble(!!!.)
8. │ └─rlang::quos(...)
9. ├─purrr::list_transpose(.)
10. │ └─vctrs::obj_check_list(x)
11. └─vctrs:::stop_non_list_type(x, y, z)
12. └─cli::cli_abort(...)
13. └─rlang::abort(...)
[ FAIL 1 | WARN 0 | SKIP 27 | PASS 91 ]
Error: Test failures
Execution halted
Flavor: r-devel-windows-x86_64