Last updated on 2026-01-04 07:49:59 CET.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 1.0.1 | 2.24 | 34.81 | 37.05 | OK | |
| r-devel-linux-x86_64-debian-gcc | 1.0.1 | 1.59 | 26.58 | 28.17 | OK | |
| r-devel-linux-x86_64-fedora-clang | 1.0.1 | 53.10 | OK | |||
| r-devel-linux-x86_64-fedora-gcc | 1.0.1 | 55.75 | OK | |||
| r-devel-windows-x86_64 | 1.0.1 | 4.00 | 53.00 | 57.00 | OK | |
| r-patched-linux-x86_64 | 1.0.1 | 2.38 | 29.98 | 32.36 | OK | |
| r-release-linux-x86_64 | 1.0.1 | 2.18 | 27.89 | 30.07 | ERROR | |
| r-release-macos-arm64 | 1.0.1 | OK | ||||
| r-release-macos-x86_64 | 1.0.1 | 2.00 | 50.00 | 52.00 | OK | |
| r-release-windows-x86_64 | 1.0.1 | 5.00 | 52.00 | 57.00 | OK | |
| r-oldrel-macos-arm64 | 1.0.1 | OK | ||||
| r-oldrel-macos-x86_64 | 1.0.1 | 2.00 | 44.00 | 46.00 | OK | |
| r-oldrel-windows-x86_64 | 1.0.1 | 4.00 | 60.00 | 64.00 | OK |
Version: 1.0.1
Check: examples
Result: ERROR
Running examples in ‘phsopendata-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: get_dataset
> ### Title: Get Open Data resources from a dataset
> ### Aliases: get_dataset
>
> ### ** Examples
>
> get_dataset("gp-practice-populations", max_resources = 2, rows = 10)
Error in curl::curl_fetch_memory(url, handle = handle): Failure when receiving data from the peer [www.opendata.nhs.scot]:
Recv failure: Connection reset by peer
Request failed [ERROR]. Retrying in 1 seconds...
Error in curl::curl_fetch_memory(url, handle = handle): Failure when receiving data from the peer [www.opendata.nhs.scot]:
Recv failure: Connection reset by peer
Request failed [ERROR]. Retrying in 1.5 seconds...
Error in content$result : $ operator is invalid for atomic vectors
Calls: get_dataset -> <Anonymous> -> map_ -> vctrs_vec_compat
Execution halted
Flavor: r-release-linux-x86_64
Version: 1.0.1
Check: tests
Result: ERROR
Running ‘testthat.R’ [8s/8s]
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(phsopendata)
>
> test_check("phsopendata")
Starting 2 test processes.
> test-get_latest_resource_id.R: Error in curl::curl_fetch_memory(url, handle = handle): Failure when receiving data from the peer [www.opendata.nhs.scot]:
> test-get_latest_resource_id.R: Recv failure: Connection reset by peer
> test-get_latest_resource_id.R: Request failed [ERROR]. Retrying in 1.6 seconds...
> test-get_latest_resource_id.R: Error in curl::curl_fetch_memory(url, handle = handle): Failure when receiving data from the peer [www.opendata.nhs.scot]:
> test-get_latest_resource_id.R: Recv failure: Connection reset by peer
> test-get_latest_resource_id.R: Request failed [ERROR]. Retrying in 1.5 seconds...
Saving _problems/test-get_latest_resource_id-2.R
[ FAIL 1 | WARN 0 | SKIP 16 | PASS 51 ]
══ Skipped tests (16) ══════════════════════════════════════════════════════════
• On CRAN (16): 'test-add_context.R:1:1', 'test-dump_download.R:1:1',
'test-error_check.R:1:1', 'test-get_dataset.R:1:1',
'test-get_dataset_additional_info.R:1:1', 'test-get_latest_resource.R:1:1',
'test-get_dataset_context.R:1:1', 'test-get_resource.R:1:1',
'test-get_resource_context.R:1:1', 'test-get_resource_dump.R:1:1',
'test-get_resource_sql.R:1:1', 'test-list_datasets.R:1:1',
'test-list_resources.R:1:1', 'test-parse_error.R:1:1', 'test-phs_GET.R:1:1',
'test-suggest_dataset_names.R:1:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-get_latest_resource_id.R:2:3'): returns data for a dataset that is listed ──
Expected `get_latest_resource("gp-practice-populations")` not to throw any errors.
Actually got a <curl_error_recv_error> with message:
Failure when receiving data from the peer [www.opendata.nhs.scot]:
Recv failure: Connection reset by peer
[ FAIL 1 | WARN 0 | SKIP 16 | PASS 51 ]
Error:
! Test failures.
Execution halted
Flavor: r-release-linux-x86_64