CRAN Package Check Results for Maintainer ‘Yannik Buhl <ybuhl at posteo.de>’

Last updated on 2025-08-28 01:53:03 CEST.

Package ERROR NOTE OK
gie 13
newsanchor 1 2 10
restatis 13

Package gie

Current CRAN status: OK: 13

Package newsanchor

Current CRAN status: ERROR: 1, NOTE: 2, OK: 10

Version: 0.1.1
Check: dependencies in R code
Result: NOTE Namespaces in Imports field not imported from: ‘devtools’ ‘xml2’ All declared Imports should be used. Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 0.1.1
Check: tests
Result: ERROR Running ‘testthat.R’ [3s/69s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(newsanchor) > library(askpass) > test_check("newsanchor") [ FAIL 1 | WARN 0 | SKIP 10 | PASS 22 ] ══ Skipped tests (10) ══════════════════════════════════════════════════════════ • NEWS_API_TEST_KEY not available in environment. Skipping test. (10): 'test_get_everything.R:95:3', 'test_get_everything.R:104:3', 'test_get_everything.R:114:3', 'test_get_headlines.R:54:3', 'test_get_headlines.R:62:3', 'test_get_headlines.R:72:3', 'test_get_headlines.R:86:3', 'test_get_sources.R:30:3', 'test_get_sources.R:40:3', 'test_get_sources.R:50:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_get_everything.R:88:3'): test that function raises warning if API key invalid. ── Error: lexical error: invalid char in json text. <!DOCTYPE html> <!--[if lt IE 7 (right here) ------^ Backtrace: ▆ 1. ├─testthat::expect_warning(...) at test_get_everything.R:88:3 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. └─newsanchor::get_everything(api_key = "thisisnotanapikey", query = "sports") 7. └─newsanchor:::parse_newsanchor_content(response) 8. └─jsonlite::fromJSON(content_text) 9. └─jsonlite:::parse_and_simplify(...) 10. └─jsonlite:::parseJSON(txt, bigint_as_char) 11. └─jsonlite:::parse_string(txt, bigint_as_char) [ FAIL 1 | WARN 0 | SKIP 10 | PASS 22 ] Error: Test failures Execution halted Flavor: r-patched-linux-x86_64

Package restatis

Current CRAN status: OK: 13