Last updated on 2025-08-29 19:50:30 CEST.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 0.1.1 | 4.60 | 46.05 | 50.65 | OK | |
r-devel-linux-x86_64-debian-gcc | 0.1.1 | 3.63 | 35.08 | 38.71 | OK | |
r-devel-linux-x86_64-fedora-clang | 0.1.1 | 83.69 | NOTE | |||
r-devel-linux-x86_64-fedora-gcc | 0.1.1 | 82.00 | NOTE | |||
r-devel-windows-x86_64 | 0.1.1 | 7.00 | 65.00 | 72.00 | OK | |
r-patched-linux-x86_64 | 0.1.1 | 4.17 | 43.66 | 47.83 | ERROR | |
r-release-linux-x86_64 | 0.1.1 | 4.10 | 44.16 | 48.26 | OK | |
r-release-macos-arm64 | 0.1.1 | 46.00 | OK | |||
r-release-macos-x86_64 | 0.1.1 | 104.00 | OK | |||
r-release-windows-x86_64 | 0.1.1 | 7.00 | 66.00 | 73.00 | OK | |
r-oldrel-macos-arm64 | 0.1.1 | 39.00 | OK | |||
r-oldrel-macos-x86_64 | 0.1.1 | 84.00 | OK | |||
r-oldrel-windows-x86_64 | 0.1.1 | 9.00 | 78.00 | 87.00 | OK |
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