Last updated on 2025-02-07 08:52:07 CET.
Package | ERROR | NOTE | OK |
---|---|---|---|
wikkitidy | 2 | 3 | 8 |
Current CRAN status: ERROR: 2, NOTE: 3, OK: 8
Version: 0.1.13
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:
‘append-query-result.R’ ‘blame.R’ ‘get-rest-resource.R’
‘perform-query.R’ ‘utils.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-windows-x86_64
Version: 0.1.13
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: page_vector_functions
> ### Title: Get data about pages from their titles
> ### Aliases: page_vector_functions get_latest_revision get_page_html
> ### get_page_summary get_page_related get_page_talk get_page_langlinks
>
> ### ** Examples
>
> # Get language links for a known page on English Wikipedia
> get_page_langlinks("Charles Harpur")
# A tibble: 2 × 4
code name key title
<chr> <chr> <chr> <chr>
1 de Deutsch Charles_Harpur Charles Harpur
2 fr français Charles_Harpur Charles Harpur
>
> # Many of these functions return a list of data frames. Tidyr can be useful.
> # Get 20 related pages for German City
> cities <- tibble::tribble(
+ ~city,
+ "Berlin",
+ "Darmstadt",
+ ) %>%
+ dplyr::mutate(related = get_page_related(city))
Error in `dplyr::mutate()`:
ℹ In argument: `related = get_page_related(city)`.
Caused by error in `purrr::pmap()`:
ℹ In index: 1.
Caused by error in `_fn`:
! HTTP 403 Forbidden.
Backtrace:
▆
1. ├─tibble::tribble(~city, "Berlin", "Darmstadt", ) %>% ...
2. ├─dplyr::mutate(., related = get_page_related(city))
3. ├─dplyr:::mutate.data.frame(., related = get_page_related(city))
4. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), by)
5. │ ├─base::withCallingHandlers(...)
6. │ └─dplyr:::mutate_col(dots[[i]], data, mask, new_columns)
7. │ └─mask$eval_all_mutate(quo)
8. │ └─dplyr (local) eval()
9. ├─wikkitidy::get_page_related(city)
10. │ └─wikkitidy:::get_rest_resource(...)
11. │ └─purrr::pmap(params, get_one, .progress = T)
12. │ └─purrr:::pmap_("list", .l, .f, ..., .progress = .progress)
13. │ ├─purrr:::with_indexed_errors(...)
14. │ │ └─base::withCallingHandlers(...)
15. │ ├─purrr:::call_with_cleanup(...)
16. │ └─purrr (local) .f(...)
17. └─httr2 (local) `_fn`(`_out`)
18. └─httr2:::handle_resp(req, resp, error_call = error_call)
19. └─httr2:::resp_abort(resp, req, body, call = error_call)
20. └─rlang::abort(...)
Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Version: 0.1.13
Check: dependencies in R code
Result: NOTE
Namespace in Imports field not imported from: ‘webfakes’
All declared Imports should be used.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc