- using R version 4.5.1 Patched (2025-09-22 r88868)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-14 (Debian 14.3.0-8) 14.3.0
GNU Fortran (Debian 14.3.0-8) 14.3.0
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
- checking for file ‘WikidataR/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘WikidataR’ version ‘2.3.3’
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... INFO
Package suggested but not available for checking: ‘pageviews’
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘WikidataR’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [1s/2s] OK
- checking whether the package can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the package can be unloaded cleanly ... [1s/1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the namespace can be unloaded cleanly ... [1s/1s] OK
- checking loading without being on the library search path ... [1s/2s] OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [10s/13s] OK
- checking Rd files ... [0s/1s] NOTE
checkRd: (-1) get_geo_box.Rd:37-38: Lost braces in \itemize; \value handles \item{}{} directly
checkRd: (-1) get_geo_box.Rd:39-40: Lost braces in \itemize; \value handles \item{}{} directly
checkRd: (-1) get_geo_box.Rd:41: Lost braces in \itemize; \value handles \item{}{} directly
checkRd: (-1) get_geo_box.Rd:42: Lost braces in \itemize; \value handles \item{}{} directly
checkRd: (-1) get_geo_box.Rd:43-44: Lost braces in \itemize; \value handles \item{}{} directly
checkRd: (-1) get_geo_entity.Rd:27-28: Lost braces in \itemize; \value handles \item{}{} directly
checkRd: (-1) get_geo_entity.Rd:29-30: Lost braces in \itemize; \value handles \item{}{} directly
checkRd: (-1) get_geo_entity.Rd:31: Lost braces in \itemize; \value handles \item{}{} directly
checkRd: (-1) get_geo_entity.Rd:32: Lost braces in \itemize; \value handles \item{}{} directly
checkRd: (-1) get_geo_entity.Rd:33-34: Lost braces in \itemize; \value handles \item{}{} directly
- checking Rd metadata ... OK
- checking Rd line widths ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking R/sysdata.rda ... OK
- checking examples ... [2s/4s] ERROR
Running examples in ‘WikidataR-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: as_qid
> ### Title: Convert an input to a item QID
> ### Aliases: as_qid
>
> ### ** Examples
>
> # if input string is a valid QID
> as_qid("Q42")
# A tibble: 1 × 1
x
<chr>
1 Q42
> # if input string matches multiple item labels
> as_qid("Douglas Adams")
Error in WikipediR::query(url = "https://www.wikidata.org/w/api.php", :
The API returned an error: cirrussearch-too-busy-error - Search is currently too busy. Please try again later.
Calls: as_qid ... lapply -> FUN -> find_item -> searcher -> <Anonymous>
Execution halted
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [4s/14s] ERROR
Running ‘testthat.R’ [4s/13s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(WikidataR)
>
> test_check("WikidataR")
[ FAIL 3 | WARN 0 | SKIP 0 | PASS 7 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test_search.R:4:16'): English-language search works ─────────────────
Error in `WikipediR::query(url = "https://www.wikidata.org/w/api.php",
out_class = "list", clean_response = FALSE, query_param = list(action = "wbsearchentities",
type = type, language = language, limit = limit, search = search_term),
...)`: The API returned an error: cirrussearch-too-busy-error - Search is currently too busy. Please try again later.
Backtrace:
▆
1. ├─testthat::expect_true(...) at test_search.R:4:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─WikidataR::find_item("Wonder Girls", "en") at test_search.R:4:16
5. └─WikidataR::searcher(search_term, language, limit, "item")
6. └─WikipediR::query(...)
── Error ('test_search.R:8:16'): Non-English-language search works ─────────────
Error in `WikipediR::query(url = "https://www.wikidata.org/w/api.php",
out_class = "list", clean_response = FALSE, query_param = list(action = "wbsearchentities",
type = type, language = language, limit = limit, search = search_term),
...)`: The API returned an error: cirrussearch-too-busy-error - Search is currently too busy. Please try again later.
Backtrace:
▆
1. ├─testthat::expect_true(...) at test_search.R:8:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─WikidataR::find_item("Wonder Girls", "es") at test_search.R:8:16
5. └─WikidataR::searcher(search_term, language, limit, "item")
6. └─WikipediR::query(...)
── Error ('test_search.R:12:16'): Property search works ────────────────────────
Error in `WikipediR::query(url = "https://www.wikidata.org/w/api.php",
out_class = "list", clean_response = FALSE, query_param = list(action = "wbsearchentities",
type = type, language = language, limit = limit, search = search_term),
...)`: The API returned an error: cirrussearch-too-busy-error - Search is currently too busy. Please try again later.
Backtrace:
▆
1. ├─testthat::expect_true(...) at test_search.R:12:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─WikidataR::find_property("Music", "en") at test_search.R:12:16
5. └─WikidataR::searcher(search_term, language, limit, "property")
6. └─WikipediR::query(...)
[ FAIL 3 | WARN 0 | SKIP 0 | PASS 7 ]
Error: Test failures
Execution halted
- checking PDF version of manual ... [6s/8s] OK
- checking HTML version of manual ... [1s/2s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 2 ERRORs, 1 NOTE