* using log directory 'd:/Rcompile/CRANpkg/local/4.7/tidywikidatar.Rcheck' * using R Under development (unstable) (2026-05-01 r89993 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.3.0 GNU Fortran (GCC) 14.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * current time: 2026-05-03 19:46:25 UTC * checking for file 'tidywikidatar/DESCRIPTION' ... OK * this is package 'tidywikidatar' version '0.6.1' * 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 hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'tidywikidatar' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking 'build' 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 ... [1s] OK * checking whether the package can be loaded with stated dependencies ... [0s] OK * checking whether the package can be unloaded cleanly ... [1s] OK * checking whether the namespace can be loaded with stated dependencies ... [1s] OK * checking whether the namespace can be unloaded cleanly ... [1s] OK * checking loading without being on the library search path ... [1s] 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 ... [7s] OK * checking Rd files ... [2s] OK * checking Rd metadata ... 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 contents of 'data' directory ... OK * checking data for non-ASCII characters ... [1s] OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [12s] ERROR Running examples in 'tidywikidatar-Ex.R' failed The error most likely occurred in: > ### 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") 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 Checked-out object deleted before being returned. Make sure to `poolReturn()` all objects retrieved with `poolCheckout().` Checked-out object deleted before being returned. Make sure to `poolReturn()` all objects retrieved with `poolCheckout().` * checking for unstated dependencies in 'tests' ... OK * checking tests ... [7s] OK Running 'spelling.R' [0s] Running 'testthat.R' [7s] * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [5s] OK * checking PDF version of manual ... [25s] OK * checking HTML version of manual ... [27s] OK * DONE Status: 1 ERROR