Last updated on 2026-04-30 09:53:26 CEST.
| Package | ERROR | OK |
|---|---|---|
| tidywikidatar | 2 | 11 |
Current CRAN status: ERROR: 2, OK: 11
Version: 0.6.1
Check: examples
Result: ERROR
Running examples in ‘tidywikidatar-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: tw_get_property_description
> ### Title: Get description of a Wikidata property in a given language
> ### Aliases: tw_get_property_description
>
> ### ** Examples
>
> tw_get_property_description(property = "P31")
Error in `httr2::resp_body_json()`:
! Unexpected content type "text/plain".
• Expecting type "application/json" or suffix "json".
Backtrace:
▆
1. ├─tidywikidatar::tw_get_property_description(property = "P31")
2. │ └─tidywikidatar:::tw_get_property_description_single(...)
3. │ ├─... %>% dplyr::pull("description")
4. │ └─tidywikidatar::tw_search_property(...)
5. │ └─tidywikidatar::tw_search(...)
6. │ ├─dplyr::left_join(...)
7. │ ├─dplyr:::left_join.data.frame(...)
8. │ │ └─dplyr::auto_copy(x, y, copy = copy)
9. │ │ ├─dplyr::same_src(x, y)
10. │ │ └─dplyr:::same_src.data.frame(x, y)
11. │ │ └─base::is.data.frame(y)
12. │ └─tidywikidatar:::tw_search_single(...)
13. │ └─httr2::req_perform(api_request) %>% httr2::resp_body_json()
14. ├─dplyr::pull(., "description")
15. ├─dplyr::filter(., .data$id == stringr::str_to_upper(property))
16. └─httr2::resp_body_json(.)
17. └─httr2::resp_check_content_type(...)
18. └─httr2:::check_content_type(...)
19. └─cli::cli_abort(...)
20. └─rlang::abort(...)
Execution halted
<pool> Checked-out object deleted before being returned.
<pool> Make sure to `poolReturn()` all objects retrieved with `poolCheckout().`
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.6.1
Check: examples
Result: ERROR
Running examples in ‘tidywikidatar-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: tw_get_cached_search
> ### Title: Retrieve cached search
> ### Aliases: tw_get_cached_search
>
> ### ** Examples
>
>
>
> tw_set_cache_folder(path = tempdir())
> tw_enable_cache()
> tw_create_cache_folder(ask = FALSE)
>
> search_from_api <- tw_search("Sylvia Pankhurst")
Warning: call dbDisconnect() when finished working with a connection
Error in `httr2::resp_body_json()`:
! Unexpected content type "text/plain".
• Expecting type "application/json" or suffix "json".
Backtrace:
▆
1. ├─tidywikidatar::tw_search("Sylvia Pankhurst")
2. │ ├─dplyr::left_join(...)
3. │ ├─dplyr:::left_join.data.frame(...)
4. │ │ └─dplyr::auto_copy(x, y, copy = copy)
5. │ │ ├─dplyr::same_src(x, y)
6. │ │ └─dplyr:::same_src.data.frame(x, y)
7. │ │ └─base::is.data.frame(y)
8. │ └─tidywikidatar:::tw_search_single(...)
9. │ └─httr2::req_perform(api_request) %>% httr2::resp_body_json()
10. └─httr2::resp_body_json(.)
11. └─httr2::resp_check_content_type(...)
12. └─httr2:::check_content_type(...)
13. └─cli::cli_abort(...)
14. └─rlang::abort(...)
Execution halted
<pool> Checked-out object deleted before being returned.
<pool> Make sure to `poolReturn()` all objects retrieved with `poolCheckout().`
<pool> Checked-out object deleted before being returned.
<pool> Make sure to `poolReturn()` all objects retrieved with `poolCheckout().`
Flavor: r-patched-linux-x86_64