Last updated on 2025-04-01 09:55:31 CEST.
Package | ERROR | NOTE | OK |
---|---|---|---|
WikidataQueryServiceR | 1 | 7 | 7 |
Current CRAN status: ERROR: 1, NOTE: 7, OK: 7
Version: 1.0.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [1s/2s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(WikidataQueryServiceR)
See ?WDQS for resources on Wikidata Query Service and SPARQL
>
> test_check("WikidataQueryServiceR")
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-query.R:14:3'): (code run outside of `test_that()`) ────────────
<http_503/http_500/http_error/error/condition>
Error in `FUN(X[[i]], ...)`: Service Unavailable (HTTP 503).
Backtrace:
▆
1. ├─base::suppressMessages(...) at test-query.R:13:1
2. │ └─base::withCallingHandlers(...)
3. └─WikidataQueryServiceR::query_wikidata(query, format = "simple") at test-query.R:14:3
4. └─base::lapply(...)
5. └─WikidataQueryServiceR (local) FUN(X[[i]], ...)
6. └─httr::stop_for_status(response)
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang
Version: 1.0.0
Check: LazyData
Result: NOTE
'LazyData' is specified without a 'data' directory
Flavors: r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64