Last updated on 2025-10-31 13:51:16 CET.
| Package | ERROR | OK | 
|---|---|---|
| cvdprevent | 9 | 4 | 
| plotor | 13 | 
Current CRAN status: ERROR: 9, OK: 4
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-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-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: 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
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
Current CRAN status: OK: 13