CRAN Package Check Results for Package cvdprevent

Last updated on 2025-07-27 06:49:24 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.2 2.62 48.16 50.78 OK
r-devel-linux-x86_64-debian-gcc 0.2.2 1.62 35.92 37.54 ERROR
r-devel-linux-x86_64-fedora-clang 0.2.2 85.64 OK
r-devel-linux-x86_64-fedora-gcc 0.2.2 94.41 OK
r-devel-windows-x86_64 0.2.2 5.00 99.00 104.00 OK
r-patched-linux-x86_64 0.2.2 2.75 44.80 47.55 OK
r-release-linux-x86_64 0.2.2 2.36 45.14 47.50 OK
r-release-macos-arm64 0.2.2 90.00 OK
r-release-macos-x86_64 0.2.2 125.00 OK
r-release-windows-x86_64 0.2.2 5.00 138.00 143.00 OK
r-oldrel-macos-arm64 0.2.2 96.00 OK
r-oldrel-macos-x86_64 0.2.2 129.00 OK
r-oldrel-windows-x86_64 0.2.2 5.00 111.00 116.00 OK

Check Details

Version: 0.2.2
Check: examples
Result: ERROR Running examples in ‘cvdprevent-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: cvd_area_details > ### Title: Area details > ### Aliases: cvd_area_details > > ### ** Examples > > # to see details for '3 Centres PCN' (area_id = 1103) use the following: > # get the list of tibbles from the function > returned_list <- cvd_area_details(time_period_id = 17, area_id = 1103) Error in `httr2::req_perform()`: ! Failed to perform HTTP request. Caused by error in `curl::curl_fetch_memory()`: ! Timeout was reached [api.cvdprevent.nhs.uk]: Connection timed out after 10002 milliseconds Backtrace: ▆ 1. └─cvdprevent::cvd_area_details(time_period_id = 17, area_id = 1103) 2. ├─httr2::resp_body_string(httr2::req_perform(req)) 3. │ └─httr2:::check_response(resp) 4. │ └─httr2:::is_response(resp) 5. └─httr2::req_perform(req) 6. └─httr2:::handle_resp(req, resp, error_call = error_call) 7. └─rlang::cnd_signal(resp) Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.2.2
Check: tests
Result: ERROR Running ‘testthat.R’ [3s/70s] 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(cvdprevent) > > test_check("cvdprevent") [ FAIL 8 | WARN 0 | SKIP 0 | PASS 27 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-cvd_api_functions.R:8:3'): cvd_time_period_list works ──────── Expected `test <- cvd_time_period_list()` to run without any errors. i Actually got a <httr2_failure> with text: Failed to perform HTTP request. Caused by error in `curl::curl_fetch_memory()`: ! Timeout was reached [api.cvdprevent.nhs.uk]: Connection timed out after 10001 milliseconds ── Error ('test-cvd_api_functions.R:11:3'): cvd_time_period_list works ───────── Error in `eval(code, test_env)`: object 'test' not found Backtrace: ▆ 1. └─testthat::expect_gte(max(test$TimePeriodID), 17) at test-cvd_api_functions.R:11:3 2. └─testthat::quasi_label(enquo(object), label, arg = "object") 3. └─rlang::eval_bare(expr, quo_get_env(quo)) ── Failure ('test-cvd_api_functions.R:17:3'): cvd_time_period_system_levels works ── Expected `test <- cvd_time_period_system_levels()` to run without any errors. i Actually got a <httr2_failure> with text: Failed to perform HTTP request. Caused by error in `curl::curl_fetch_memory()`: ! Timeout was reached [api.cvdprevent.nhs.uk]: Connection timed out after 10002 milliseconds ── Failure ('test-cvd_api_functions.R:24:3'): cvd_area_system_level works ────── Expected `test <- cvd_area_system_level()` to run without any errors. i Actually got a <httr2_failure> with text: Failed to perform HTTP request. Caused by error in `curl::curl_fetch_memory()`: ! Timeout was reached [api.cvdprevent.nhs.uk]: Connection timed out after 10002 milliseconds ── Failure ('test-cvd_api_functions.R:32:3'): cvd_area_system_level_time_periods works ── Expected `test <- cvd_area_system_level_time_periods()` to run without any errors. i Actually got a <httr2_failure> with text: Failed to perform HTTP request. Caused by error in `curl::curl_fetch_memory()`: ! Timeout was reached [api.cvdprevent.nhs.uk]: Connection timed out after 10002 milliseconds ── Failure ('test-cvd_api_functions.R:39:3'): cvd_area_list works ────────────── Expected `test <- cvd_area_list(system_level_id = 2)` to run without any errors. i Actually got a <httr2_failure> with text: Failed to perform HTTP request. Caused by error in `curl::curl_fetch_memory()`: ! Timeout was reached [api.cvdprevent.nhs.uk]: Connection timed out after 10004 milliseconds ── Failure ('test-cvd_api_functions.R:46:3'): cvd_area_details works ─────────── Expected `test <- cvd_area_details()` to run without any errors. i Actually got a <httr2_failure> with text: Failed to perform HTTP request. Caused by error in `curl::curl_fetch_memory()`: ! Timeout was reached [api.cvdprevent.nhs.uk]: Connection timed out after 10001 milliseconds ── Error ('test-cvd_api_functions.R:49:3'): cvd_area_details works ───────────── Error in `eval(code, test_env)`: object 'test' not found Backtrace: ▆ 1. └─testthat::expect_named(test, c("area_details")) at test-cvd_api_functions.R:49:3 2. └─testthat::quasi_label(enquo(object), label, arg = "object") 3. └─rlang::eval_bare(expr, quo_get_env(quo)) [ FAIL 8 | WARN 0 | SKIP 0 | PASS 27 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-gcc