CRAN Package Check Results for Package cvdprevent

Last updated on 2025-10-30 01:49:57 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.2 2.31 41.13 43.44 ERROR
r-devel-linux-x86_64-debian-gcc 0.2.2 1.99 32.29 34.28 ERROR
r-devel-linux-x86_64-fedora-clang 0.2.2 58.50 ERROR
r-devel-linux-x86_64-fedora-gcc 0.2.2 71.09 ERROR
r-devel-windows-x86_64 0.2.2 4.00 99.00 103.00 ERROR
r-patched-linux-x86_64 0.2.2 3.02 37.93 40.95 ERROR
r-release-linux-x86_64 0.2.2 2.55 34.54 37.09 ERROR
r-release-macos-arm64 0.2.2 1.00 89.00 90.00 OK
r-release-macos-x86_64 0.2.2 2.00 123.00 125.00 OK
r-release-windows-x86_64 0.2.2 5.00 71.00 76.00 ERROR
r-oldrel-macos-arm64 0.2.2 1.00 95.00 96.00 OK
r-oldrel-macos-x86_64 0.2.2 2.00 127.00 129.00 OK
r-oldrel-windows-x86_64 0.2.2 6.00 80.00 86.00 ERROR

Check Details

Version: 0.2.2
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘using_cvdprevent.Rmd’ using rmarkdown Quitting from using_cvdprevent.Rmd:182-185 [unnamed-chunk-17] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `UseMethod()`: ! no applicable method for 'group_vars' applied to an object of class "NULL" --- Backtrace: ▆ 1. └─gt::gt(return_list$level_2) 2. └─dplyr::group_vars(data) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'using_cvdprevent.Rmd' failed with diagnostics: no applicable method for 'group_vars' applied to an object of class "NULL" --- failed re-building ‘using_cvdprevent.Rmd’ SUMMARY: processing the following file failed: ‘using_cvdprevent.Rmd’ Error: Vignette re-building failed. Execution halted Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64

Version: 0.2.2
Check: examples
Result: ERROR Running examples in ‘cvdprevent-Ex.R’ failed The error most likely occurred in: > ### 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) > > # view area details > returned_list$area_details |> + dplyr::select(AreaCode, AreaName) # A tibble: 1 × 2 AreaCode AreaName <chr> <chr> 1 U60176 3 Centres PCN > > # view details for the parent of this area > returned_list$area_parent_details |> + dplyr::select(AreaID, AreaName, SystemLevelID) # A tibble: 1 × 3 AreaID AreaName SystemLevelID <int> <chr> <int> 1 7959 NHS West Yorkshire ICB - X2C4Y 8 > > # view details for the children of this area > returned_list$area_child_details |> + dplyr::select(AreaID, AreaName, SystemLevelID) Error in UseMethod("select") : no applicable method for 'select' applied to an object of class "NULL" Calls: <Anonymous> Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-release-windows-x86_64, r-oldrel-windows-x86_64

Version: 0.2.2
Check: tests
Result: ERROR Running ‘testthat.R’ [5s/15s] 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 1 | WARN 0 | SKIP 0 | PASS 34 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-cvd_api_functions.R:73:3'): cvd_area_nested_subsystems works ── Names of `test` ('level_1', 'level_2', 'level_3') don't match 'level_1', 'level_2', 'level_3', 'level_4' [ FAIL 1 | WARN 0 | SKIP 0 | PASS 34 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.2.2
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building ‘using_cvdprevent.Rmd’ using rmarkdown Quitting from using_cvdprevent.Rmd:125-129 [unnamed-chunk-11] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `UseMethod()`: ! no applicable method for 'select' applied to an object of class "NULL" --- Backtrace: ▆ 1. ├─gt::gt(...) 2. │ └─"rowname" %in% names(data) 3. └─dplyr::select(...) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'using_cvdprevent.Rmd' failed with diagnostics: no applicable method for 'select' applied to an object of class "NULL" --- failed re-building ‘using_cvdprevent.Rmd’ SUMMARY: processing the following file failed: ‘using_cvdprevent.Rmd’ Error: Vignette re-building failed. Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-release-windows-x86_64, r-oldrel-windows-x86_64

Version: 0.2.2
Check: tests
Result: ERROR Running ‘testthat.R’ [5s/14s] 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 1 | WARN 0 | SKIP 0 | PASS 34 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-cvd_api_functions.R:73:3'): cvd_area_nested_subsystems works ── Names of `test` ('level_1', 'level_2', 'level_3') don't match 'level_1', 'level_2', 'level_3', 'level_4' [ FAIL 1 | WARN 0 | SKIP 0 | PASS 34 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 0.2.2
Check: examples
Result: ERROR Running examples in 'cvdprevent-Ex.R' failed The error most likely occurred in: > ### Name: cvd_indicator_raw_data > ### Title: Indicator raw data (JSON) > ### Aliases: cvd_indicator_raw_data > > ### ** Examples > > # return all metric data for indicator 'AF: treatment with anticoagulants' > # (indicator ID 7) in time period 17 at GP practice level (system level ID 5): > cvd_indicator_raw_data(indicator_id = 7, time_period_id = 17, system_level_id = 5) |> + dplyr::slice_head(n = 5) |> + dplyr::select(AreaCode, AreaName, Value) ✖ Metric ID is invalid Error in `dplyr::select()`: ! Can't select columns that don't exist. ✖ Column `AreaCode` doesn't exist. Backtrace: ▆ 1. ├─dplyr::select(...) 2. ├─dplyr:::select.data.frame(...) 3. │ └─tidyselect::eval_select(expr(c(...)), data = .data, error_call = error_call) 4. │ └─tidyselect:::eval_select_impl(...) 5. │ ├─tidyselect:::with_subscript_errors(...) 6. │ │ └─base::withCallingHandlers(...) 7. │ └─tidyselect:::vars_select_eval(...) 8. │ └─tidyselect:::walk_data_tree(expr, data_mask, context_mask) 9. │ └─tidyselect:::eval_c(expr, data_mask, context_mask) 10. │ └─tidyselect:::reduce_sels(node, data_mask, context_mask, init = init) 11. │ └─tidyselect:::walk_data_tree(new, data_mask, context_mask) 12. │ └─tidyselect:::as_indices_sel_impl(...) 13. │ └─tidyselect:::as_indices_impl(...) 14. │ └─tidyselect:::chr_as_locations(x, vars, call = call, arg = arg) 15. │ └─vctrs::vec_as_location(...) 16. └─vctrs (local) `<fn>`() 17. └─vctrs:::stop_subscript_oob(...) 18. └─vctrs:::stop_subscript(...) 19. └─rlang::abort(...) Execution halted Flavor: r-devel-windows-x86_64

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) > > # view area details > returned_list$area_details |> + dplyr::select(AreaCode, AreaName) # A tibble: 1 × 2 AreaCode AreaName <chr> <chr> 1 U60176 3 Centres PCN > > # view details for the parent of this area > returned_list$area_parent_details |> + dplyr::select(AreaID, AreaName, SystemLevelID) # A tibble: 1 × 3 AreaID AreaName SystemLevelID <int> <chr> <int> 1 7959 NHS West Yorkshire ICB - X2C4Y 8 > > # view details for the children of this area > returned_list$area_child_details |> + dplyr::select(AreaID, AreaName, SystemLevelID) Error in UseMethod("select") : no applicable method for 'select' applied to an object of class "NULL" Calls: <Anonymous> Execution halted Flavor: r-release-linux-x86_64

Version: 0.2.2
Check: tests
Result: ERROR Running ‘testthat.R’ [3s/12s] 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 1 | WARN 0 | SKIP 0 | PASS 34 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-cvd_api_functions.R:73:3'): cvd_area_nested_subsystems works ── Names of `test` ('level_1', 'level_2', 'level_3') don't match 'level_1', 'level_2', 'level_3', 'level_4' [ FAIL 1 | WARN 0 | SKIP 0 | PASS 34 ] Error: Test failures Execution halted Flavor: r-release-linux-x86_64

Version: 0.2.2
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘using_cvdprevent.Rmd’ using rmarkdown Quitting from using_cvdprevent.Rmd:125-129 [unnamed-chunk-11] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `UseMethod()`: ! no applicable method for 'select' applied to an object of class "NULL" --- Backtrace: ▆ 1. ├─gt::gt(...) 2. │ └─"rowname" %in% names(data) 3. └─dplyr::select(...) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'using_cvdprevent.Rmd' failed with diagnostics: no applicable method for 'select' applied to an object of class "NULL" --- failed re-building ‘using_cvdprevent.Rmd’ SUMMARY: processing the following file failed: ‘using_cvdprevent.Rmd’ Error: Vignette re-building failed. Execution halted Flavor: r-release-linux-x86_64

Version: 0.2.2
Check: tests
Result: ERROR Running 'testthat.R' [11s] 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 1 | WARN 0 | SKIP 0 | PASS 34 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-cvd_api_functions.R:73:3'): cvd_area_nested_subsystems works ── Names of `test` ('level_1', 'level_2', 'level_3') don't match 'level_1', 'level_2', 'level_3', 'level_4' [ FAIL 1 | WARN 0 | SKIP 0 | PASS 34 ] Error: Test failures Execution halted Flavor: r-release-windows-x86_64

Version: 0.2.2
Check: tests
Result: ERROR Running 'testthat.R' [12s] 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 1 | WARN 0 | SKIP 0 | PASS 34 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-cvd_api_functions.R:73:3'): cvd_area_nested_subsystems works ── Names of `test` ('level_1', 'level_2', 'level_3') don't match 'level_1', 'level_2', 'level_3', 'level_4' [ FAIL 1 | WARN 0 | SKIP 0 | PASS 34 ] Error: Test failures Execution halted Flavor: r-oldrel-windows-x86_64

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.