* using log directory ‘/data/gannet/ripley/R/packages/tests-noLD/WikidataQueryServiceR.Rcheck’ * using R Under development (unstable) (2026-01-07 r89288) * using platform: x86_64-pc-linux-gnu * R was compiled by gcc (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2) GNU Fortran (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2) * running under: Fedora Linux 42 (Workstation Edition) * using session charset: UTF-8 * using option ‘--no-stop-on-test-error’ * checking for file ‘WikidataQueryServiceR/DESCRIPTION’ ... OK * this is package ‘WikidataQueryServiceR’ version ‘1.0.0’ * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... OK * 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 ‘WikidataQueryServiceR’ can be installed ... OK * checking package directory ... 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 ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking whether startup messages can be suppressed ... 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 ... OK * checking Rd files ... OK * 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 LazyData ... INFO 'LazyData' is specified without a 'data' directory * checking examples ... ERROR Running examples in ‘WikidataQueryServiceR-Ex.R’ failed The error most likely occurred in: > ### Name: query_wikidata > ### Title: Send one or more SPARQL queries to WDQS > ### Aliases: query_wikidata > > ### ** Examples > > sparql_query <- "SELECT + ?softwareVersion ?publicationDate + WHERE { + BIND(wd:Q206904 AS ?R) + ?R p:P348 [ + ps:P348 ?softwareVersion; + pq:P577 ?publicationDate + ] . + }" > query_wikidata(sparql_query) Error in FUN(X[[i]], ...) : Service Unavailable (HTTP 503). Calls: query_wikidata -> lapply -> FUN -> Execution halted * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... Running ‘testthat.R’ ERROR 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") Saving _problems/test-query-14.R [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-query.R:14:3'): (code run outside of `test_that()`) ──────────── 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 * checking PDF version of manual ... [6s/14s] OK * checking HTML version of manual ... OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 2 ERRORs See ‘/data/gannet/ripley/R/packages/tests-noLD/WikidataQueryServiceR.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 1:04.83, 28.57 + 6.56