Running ‘testthat.R’ [3s/19s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(WikidataR)
  > 
  > test_check("WikidataR")
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test_search.R:8:3): 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(...) test_search.R:8:2
   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") test_search.R:8:15
   5.   └─WikidataR::searcher(search_term, language, limit, "item")
   6.     └─WikipediR::query(...)
  ── Error (test_search.R:12:3): 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(...) test_search.R:12:2
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─WikidataR::find_property("Music", "en") test_search.R:12:15
   5.   └─WikidataR::searcher(search_term, language, limit, "property")
   6.     └─WikipediR::query(...)
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 8 ]
  Error: Test failures
  Execution halted