CRAN Package Check Results for Package cvdprevent

Last updated on 2025-05-24 01:51:17 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.1 2.74 42.59 45.33 ERROR
r-devel-linux-x86_64-debian-gcc 0.2.1 1.80 33.30 35.10 ERROR
r-devel-linux-x86_64-fedora-clang 0.2.1 77.19 OK
r-devel-linux-x86_64-fedora-gcc 0.2.1 87.49 OK
r-devel-windows-x86_64 0.2.1 6.00 103.00 109.00 OK
r-patched-linux-x86_64 0.2.1 2.82 44.25 47.07 OK
r-release-linux-x86_64 0.2.1 2.41 43.90 46.31 OK
r-release-macos-arm64 0.2.1 108.00 OK
r-release-macos-x86_64 0.2.1 122.00 OK
r-release-windows-x86_64 0.2.1 5.00 100.00 105.00 ERROR
r-oldrel-macos-arm64 0.2.1 108.00 OK
r-oldrel-macos-x86_64 0.2.1 131.00 OK
r-oldrel-windows-x86_64 0.2.1 5.00 107.00 112.00 OK

Check Details

Version: 0.2.1
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_indicator_nationalarea_metric_data > ### Title: Indicator national vs area metric data > ### Aliases: cvd_indicator_nationalarea_metric_data > > ### ** Examples > > # Compare performance against metric 150 (AF: treatment with anticoagulants > # - all people) in 'Chester South PCN' (area ID 553) with national > # performance: > cvd_indicator_nationalarea_metric_data(metric_id = 150, time_period_id = 17, area_id = 553) |> + dplyr::slice_head(n=5) Error in `recycle_columns()`: ! Tibble columns must have compatible sizes. • Size 2: Column `AreaData`. • Size 3: Column `TargetData`. ℹ Only values of size one are recycled. Backtrace: ▆ 1. ├─dplyr::slice_head(...) 2. └─cvdprevent::cvd_indicator_nationalarea_metric_data(...) 3. ├─base::tryCatch(...) 4. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 5. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 6. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 7. ├─tidyr::unnest(dplyr::as_tibble(purrr::compact(data)), cols = AreaData) 8. ├─dplyr::as_tibble(purrr::compact(data)) 9. └─tibble:::as_tibble.list(purrr::compact(data)) 10. └─tibble:::lst_to_tibble(x, .rows, .name_repair, col_lengths(x)) 11. └─tibble:::recycle_columns(x, .rows, lengths) 12. └─tibble:::abort_incompatible_size(.rows, names(x), lengths, "Requested with `.rows` argument") 13. └─tibble:::tibble_abort(...) 14. └─rlang::abort(x, class, ..., call = call, parent = parent, use_cli_format = TRUE) Execution halted Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 0.2.1
Check: tests
Result: ERROR Running ‘testthat.R’ [3s/13s] 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:168:3'): cvd_indicator_nationalarea_metric_data works ── Expected `test <- cvd_indicator_nationalarea_metric_data()` to run without any errors. i Actually got a <tibble_error_incompatible_size> with text: Tibble columns must have compatible sizes. * Size 2: Column `AreaData`. * Size 3: Column `TargetData`. i Only values of size one are recycled. [ FAIL 1 | WARN 0 | SKIP 0 | PASS 34 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.2.1
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘using_cvdprevent.Rmd’ using rmarkdown ** Processing: /home/hornik/tmp/R.check/r-devel-clang/Work/PKGS/cvdprevent.Rcheck/vign_test/cvdprevent/vignettes/using_cvdprevent_files/figure-html/unnamed-chunk-25-1.png 288x288 pixels, 3x8 bits/pixel, RGB Input IDAT size = 16676 bytes Input file size = 16778 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 14283 zc = 9 zm = 8 zs = 1 f = 0 zc = 1 zm = 8 zs = 2 f = 0 zc = 9 zm = 8 zs = 3 f = 0 zc = 9 zm = 8 zs = 0 f = 5 zc = 9 zm = 8 zs = 1 f = 5 zc = 1 zm = 8 zs = 2 f = 5 zc = 9 zm = 8 zs = 3 f = 5 Selecting parameters: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 14283 Output IDAT size = 14283 bytes (2393 bytes decrease) Output file size = 14361 bytes (2417 bytes = 14.41% decrease) Quitting from using_cvdprevent.Rmd:425-428 [unnamed-chunk-34] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ NULL ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'using_cvdprevent.Rmd' failed with diagnostics: Tibble columns must have compatible sizes. • Size 2: Column `AreaData`. • Size 3: Column `TargetData`. ℹ Only values of size one are recycled. --- failed re-building ‘using_cvdprevent.Rmd’ SUMMARY: processing the following file failed: ‘using_cvdprevent.Rmd’ Error: Vignette re-building failed. Execution halted Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.2.1
Check: tests
Result: ERROR Running ‘testthat.R’ [3s/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:168:3'): cvd_indicator_nationalarea_metric_data works ── Expected `test <- cvd_indicator_nationalarea_metric_data()` to run without any errors. i Actually got a <tibble_error_incompatible_size> with text: Tibble columns must have compatible sizes. * Size 2: Column `AreaData`. * Size 3: Column `TargetData`. i Only values of size one are recycled. [ FAIL 1 | WARN 0 | SKIP 0 | PASS 34 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.2.1
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘using_cvdprevent.Rmd’ using rmarkdown ** Processing: /home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/cvdprevent.Rcheck/vign_test/cvdprevent/vignettes/using_cvdprevent_files/figure-html/unnamed-chunk-25-1.png 288x288 pixels, 3x8 bits/pixel, RGB Input IDAT size = 16676 bytes Input file size = 16778 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 14283 zc = 9 zm = 8 zs = 1 f = 0 zc = 1 zm = 8 zs = 2 f = 0 zc = 9 zm = 8 zs = 3 f = 0 zc = 9 zm = 8 zs = 0 f = 5 zc = 9 zm = 8 zs = 1 f = 5 zc = 1 zm = 8 zs = 2 f = 5 zc = 9 zm = 8 zs = 3 f = 5 Selecting parameters: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 14283 Output IDAT size = 14283 bytes (2393 bytes decrease) Output file size = 14361 bytes (2417 bytes = 14.41% decrease) Quitting from using_cvdprevent.Rmd:425-428 [unnamed-chunk-34] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ NULL ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'using_cvdprevent.Rmd' failed with diagnostics: Tibble columns must have compatible sizes. • Size 2: Column `AreaData`. • Size 3: Column `TargetData`. ℹ Only values of size one are recycled. --- failed re-building ‘using_cvdprevent.Rmd’ SUMMARY: processing the following file failed: ‘using_cvdprevent.Rmd’ Error: Vignette re-building failed. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.2.1
Check: examples
Result: ERROR Running examples in 'cvdprevent-Ex.R' failed The error most likely occurred in: > ### Name: cvd_indicator_nationalarea_metric_data > ### Title: Indicator national vs area metric data > ### Aliases: cvd_indicator_nationalarea_metric_data > > ### ** Examples > > # Compare performance against metric 150 (AF: treatment with anticoagulants > # - all people) in 'Chester South PCN' (area ID 553) with national > # performance: > cvd_indicator_nationalarea_metric_data(metric_id = 150, time_period_id = 17, area_id = 553) |> + dplyr::slice_head(n=5) Error in `recycle_columns()`: ! Tibble columns must have compatible sizes. • Size 2: Column `AreaData`. • Size 3: Column `TargetData`. ℹ Only values of size one are recycled. Backtrace: ▆ 1. ├─dplyr::slice_head(...) 2. └─cvdprevent::cvd_indicator_nationalarea_metric_data(...) 3. ├─base::tryCatch(...) 4. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 5. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 6. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 7. ├─tidyr::unnest(dplyr::as_tibble(purrr::compact(data)), cols = AreaData) 8. ├─dplyr::as_tibble(purrr::compact(data)) 9. └─tibble:::as_tibble.list(purrr::compact(data)) 10. └─tibble:::lst_to_tibble(x, .rows, .name_repair, col_lengths(x)) 11. └─tibble:::recycle_columns(x, .rows, lengths) 12. └─tibble:::abort_incompatible_size(.rows, names(x), lengths, "Requested with `.rows` argument") 13. └─tibble:::tibble_abort(...) 14. └─rlang::abort(x, class, ..., call = call, parent = parent, use_cli_format = TRUE) Execution halted Flavor: r-release-windows-x86_64

Version: 0.2.1
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:168:3'): cvd_indicator_nationalarea_metric_data works ── Expected `test <- cvd_indicator_nationalarea_metric_data()` to run without any errors. i Actually got a <tibble_error_incompatible_size> with text: Tibble columns must have compatible sizes. * Size 2: Column `AreaData`. * Size 3: Column `TargetData`. i Only values of size one are recycled. [ FAIL 1 | WARN 0 | SKIP 0 | PASS 34 ] Error: Test failures Execution halted Flavor: r-release-windows-x86_64

Version: 0.2.1
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:425-428 [unnamed-chunk-34] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ NULL ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'using_cvdprevent.Rmd' failed with diagnostics: Tibble columns must have compatible sizes. • Size 2: Column `AreaData`. • Size 3: Column `TargetData`. ℹ Only values of size one are recycled. --- 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