CRAN Package Check Results for Package hypothesisr

Last updated on 2026-06-13 09:51:44 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.1 1.89 24.36 26.25 ERROR
r-devel-linux-x86_64-debian-gcc 0.1.1 1.55 20.83 22.38 OK
r-devel-linux-x86_64-fedora-clang 0.1.1 39.86 OK
r-devel-linux-x86_64-fedora-gcc 0.1.1 38.42 OK
r-devel-windows-x86_64 0.1.1 5.00 47.00 52.00 OK
r-patched-linux-x86_64 0.1.1 2.18 22.53 24.71 OK
r-release-linux-x86_64 0.1.1 1.19 22.71 23.90 OK
r-release-macos-arm64 0.1.1 1.00 16.00 17.00 OK
r-release-macos-x86_64 0.1.1 2.00 30.00 32.00 OK
r-release-windows-x86_64 0.1.1 4.00 48.00 52.00 OK
r-oldrel-macos-arm64 0.1.1 OK
r-oldrel-macos-x86_64 0.1.1 2.00 26.00 28.00 OK
r-oldrel-windows-x86_64 0.1.1 6.00 52.00 58.00 OK

Check Details

Version: 0.1.1
Check: examples
Result: ERROR Running examples in ‘hypothesisr-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: hs_read > ### Title: Retrieve a single annotation by ID > ### Aliases: hs_read > > ### ** Examples > > hs_read("WFMnSC3FEeaNvLeGkQeJbg") Error in read_action(hs_read_response, status_code) : Hypothes.is sent an undocumented response code. Sorry! Calls: hs_read -> hs_read_results -> read_action Execution halted Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.1.1
Check: tests
Result: ERROR Running ‘testthat.R’ [2s/2s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(hypothesisr) > > test_check("hypothesisr") Saving _problems/test_search-17.R Saving _problems/test_search-31.R Saving _problems/test_search-36.R [ FAIL 3 | WARN 0 | SKIP 1 | PASS 7 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • On CRAN (1): 'test_crud.R:5:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_search.R:17:3'): hs_search returns a list of the expected format. ── Error: lexical error: invalid char in json text. <!DOCTYPE html><html lang="en-U (right here) ------^ Backtrace: ▆ 1. └─hypothesisr::hs_search(text = "ulysses", limit = 5) at test_search.R:17:3 2. └─hypothesisr:::hs_search_results(query_response) 3. └─hypothesisr:::list_results(hs_search_response) 4. └─jsonlite::fromJSON(hs_content(hs_response), flatten = TRUE) 5. └─jsonlite:::parse_and_simplify(...) 6. └─jsonlite:::parseJSON(txt, bigint_as_char) 7. └─jsonlite:::parse_string(txt, bigint_as_char) ── Error ('test_search.R:31:3'): custom fields in hs_search are correctly added to URL. ── Error: lexical error: invalid char in json text. <!DOCTYPE html><html lang="en-U (right here) ------^ Backtrace: ▆ 1. └─hypothesisr::hs_search(limit = 5, custom = list(tags = "todo")) at test_search.R:31:3 2. └─hypothesisr:::hs_search_results(query_response) 3. └─hypothesisr:::list_results(hs_search_response) 4. └─jsonlite::fromJSON(hs_content(hs_response), flatten = TRUE) 5. └─jsonlite:::parse_and_simplify(...) 6. └─jsonlite:::parseJSON(txt, bigint_as_char) 7. └─jsonlite:::parse_string(txt, bigint_as_char) ── Error ('test_search.R:36:3'): Truncated results generate a message and table attribute. ── Error: lexical error: invalid char in json text. <!DOCTYPE html><html lang="en-U (right here) ------^ Backtrace: ▆ 1. ├─testthat::expect_message(hs_todo <- hs_search(text = "todo")) at test_search.R:36:3 2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. └─hypothesisr::hs_search(text = "todo") 7. └─hypothesisr:::hs_search_results(query_response) 8. └─hypothesisr:::list_results(hs_search_response) 9. └─jsonlite::fromJSON(hs_content(hs_response), flatten = TRUE) 10. └─jsonlite:::parse_and_simplify(...) 11. └─jsonlite:::parseJSON(txt, bigint_as_char) 12. └─jsonlite:::parse_string(txt, bigint_as_char) [ FAIL 3 | WARN 0 | SKIP 1 | PASS 7 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-clang