Last updated on 2024-05-08 00:50:23 CEST.
Package | ERROR | OK |
---|---|---|
wikkitidy | 1 | 12 |
Current CRAN status: ERROR: 1, OK: 12
Version: 0.1.12
Check: examples
Result: ERROR
Running examples in ‘wikkitidy-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: get_diff
> ### Title: Search for insertions, deletions or relocations of text between
> ### two versions of a Wikipedia page
> ### Aliases: get_diff
>
> ### ** Examples
>
> # Compare revision 847170467 to 851733941 on English Wikipedia
> get_diff(847170467, 851733941)
Error in `purrr::pmap()`:
ℹ In index: 1.
Caused by error in `_fn`:
! Failed to perform HTTP request.
Caused by error in `curl::curl_fetch_memory()`:
! Timeout was reached: [en.wikipedia.org] Failed to connect to en.wikipedia.org port 443 after 10002 ms: Timeout was reached
Backtrace:
▆
1. ├─wikkitidy::get_diff(847170467, 851733941)
2. │ └─wikkitidy:::get_rest_resource(...)
3. │ └─purrr::pmap(params, get_one, .progress = T)
4. │ └─purrr:::pmap_("list", .l, .f, ..., .progress = .progress)
5. │ ├─purrr:::with_indexed_errors(...)
6. │ │ └─base::withCallingHandlers(...)
7. │ ├─purrr:::call_with_cleanup(...)
8. │ └─purrr (local) .f(...)
9. └─httr2 (local) `_fn`(`_out`)
10. └─base::tryCatch(...)
11. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
12. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
13. └─value[[3L]](cond)
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.1.12
Check: tests
Result: ERROR
Running ‘testthat.R’ [5s/38s]
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")
[ FAIL 2 | WARN 0 | SKIP 27 | PASS 83 ]
══ 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:29: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 ──
<httr2_failure/httr2_error/rlang_error/error/condition>
Error in `httr2::req_perform(.)`: Failed to perform HTTP request.
Caused by error in `curl::curl_fetch_memory()`:
! Timeout was reached: [en.wikipedia.org] Failed to connect to en.wikipedia.org port 443 after 10002 ms: Timeout was reached
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. │ └─wikkitidy:::get_result(request, continue, c("query", "pages"))
7. │ └─request %>% httr2::req_url_query(!!!continue) %>% httr2::req_perform()
8. └─httr2::req_perform(.)
9. └─base::tryCatch(...)
10. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
11. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
12. └─value[[3L]](cond)
── Error ('test-list-query-type.R:2:3'): `query_list_pages` returns data for a known request ──
<httr2_failure/httr2_error/rlang_error/error/condition>
Error in `httr2::req_perform(.)`: Failed to perform HTTP request.
Caused by error in `curl::curl_fetch_memory()`:
! Timeout was reached: [en.wikipedia.org] Failed to connect to en.wikipedia.org port 443 after 10001 ms: Timeout was reached
Backtrace:
▆
1. ├─... %>% next_batch() at test-list-query-type.R:2:3
2. ├─wikkitidy::next_batch(.)
3. ├─wikkitidy:::next_batch.query(.)
4. │ ├─wikkitidy:::perform_query(x, continue = NULL)
5. │ └─wikkitidy:::perform_query.list(x, continue = NULL)
6. │ └─wikkitidy:::get_result(request, continue, c("query"))
7. │ └─request %>% httr2::req_url_query(!!!continue) %>% httr2::req_perform()
8. └─httr2::req_perform(.)
9. └─base::tryCatch(...)
10. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
11. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
12. └─value[[3L]](cond)
[ FAIL 2 | WARN 0 | SKIP 27 | PASS 83 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc