Last updated on 2026-04-13 09:54:51 CEST.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 0.2.1 | 1.79 | 32.78 | 34.57 | OK | |
| r-devel-linux-x86_64-debian-gcc | 0.2.1 | 1.46 | 26.45 | 27.91 | OK | |
| r-devel-linux-x86_64-fedora-clang | 0.2.1 | 50.88 | OK | |||
| r-devel-linux-x86_64-fedora-gcc | 0.2.1 | 61.22 | OK | |||
| r-devel-macos-arm64 | 0.2.1 | 1.00 | 23.00 | 24.00 | OK | |
| r-devel-windows-x86_64 | 0.2.1 | 4.00 | 50.00 | 54.00 | OK | |
| r-patched-linux-x86_64 | 0.2.1 | 1.79 | 28.42 | 30.21 | OK | |
| r-release-linux-x86_64 | 0.2.1 | 1.75 | 27.39 | 29.14 | ERROR | |
| r-release-macos-arm64 | 0.2.1 | 1.00 | 19.00 | 20.00 | OK | |
| r-release-macos-x86_64 | 0.2.1 | 2.00 | 49.00 | 51.00 | OK | |
| r-release-windows-x86_64 | 0.2.1 | 4.00 | 0.00 | 4.00 | OK | |
| r-oldrel-macos-arm64 | 0.2.1 | 1.00 | 27.00 | 28.00 | OK | |
| r-oldrel-macos-x86_64 | 0.2.1 | 2.00 | 55.00 | 57.00 | OK | |
| r-oldrel-windows-x86_64 | 0.2.1 | 5.00 | 58.00 | 63.00 | OK |
Version: 0.2.1
Check: tests
Result: ERROR
Running ‘spelling.R’ [0s/0s]
Running ‘testthat.R’ [3s/5s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(trud)
>
> test_check("trud")
\ Downloading archive file for TRUD item 394...
v Successfully downloaded `download_file.txt` to '/home/hornik/tmp/scratch/Rt...
\ Downloading archive file for TRUD item 394...
v Successfully downloaded `file24313a764a5e30` to '/home/hornik/tmp/scratch/R...
Saving _problems/test-get_subscribed_metadata-16.R
[ FAIL 1 | WARN 0 | SKIP 6 | PASS 28 ]
══ Skipped tests (6) ═══════════════════════════════════════════════════════════
• On CRAN (6): 'test-download_item.R:101:3', 'test-get_item_metadata.R:31:3',
'test-get_item_metadata.R:56:3', 'test-get_item_metadata.R:111:3',
'test-get_subscribed_metadata.R:29:3', 'test-trud_items.R:107:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-get_subscribed_metadata.R:16:7'): get_subscribed_metadata() returns formatted metadata with correct structure ──
Error in `open.connection(x, "rb")`: cannot open the connection
Backtrace:
▆
1. ├─testthat::with_mocked_bindings(...) at test-get_subscribed_metadata.R:2:3
2. └─trud::get_subscribed_metadata() at test-get_subscribed_metadata.R:16:7
3. └─trud::trud_items()
4. └─trud:::get_trud_items_html()
5. ├─rvest::read_html("https://isd.digital.nhs.uk/trud/users/guest/filters/0/categories/1")
6. └─xml2:::read_html.default("https://isd.digital.nhs.uk/trud/users/guest/filters/0/categories/1")
7. ├─base::suppressWarnings(...)
8. │ └─base::withCallingHandlers(...)
9. ├─xml2::read_xml(x, encoding = encoding, ..., as_html = TRUE, options = options)
10. └─xml2:::read_xml.character(...)
11. └─xml2:::read_xml.connection(...)
12. ├─base::open(x, "rb")
13. └─base::open.connection(x, "rb")
[ FAIL 1 | WARN 0 | SKIP 6 | PASS 28 ]
Error:
! Test failures.
Execution halted
Flavor: r-release-linux-x86_64