CRAN Package Check Results for Package cohortBuilder

Last updated on 2026-02-03 14:51:24 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.3.0 8.49 84.41 92.90 OK
r-devel-linux-x86_64-debian-gcc 0.3.0 5.08 60.47 65.55 OK
r-devel-linux-x86_64-fedora-clang 0.3.0 13.00 126.11 139.11 ERROR
r-devel-linux-x86_64-fedora-gcc 0.3.0 13.00 139.27 152.27 ERROR
r-devel-windows-x86_64 0.3.0 11.00 100.00 111.00 OK
r-patched-linux-x86_64 0.3.0 8.25 73.55 81.80 OK
r-release-linux-x86_64 0.3.0 7.72 73.22 80.94 OK
r-release-macos-arm64 0.3.0 OK
r-release-macos-x86_64 0.3.0 5.00 92.00 97.00 OK
r-release-windows-x86_64 0.3.0 11.00 96.00 107.00 OK
r-oldrel-macos-arm64 0.3.0 OK
r-oldrel-macos-x86_64 0.3.0 5.00 76.00 81.00 OK
r-oldrel-windows-x86_64 0.3.0 14.00 115.00 129.00 OK

Check Details

Version: 0.3.0
Check: tests
Result: ERROR Running ‘testthat.R’ [9s/11s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(cohortBuilder) Attaching package: 'cohortBuilder' The following objects are masked from 'package:stats': filter, step > > test_check("cohortBuilder") Saving _problems/test-filter-63.R [ FAIL 1 | WARN 0 | SKIP 0 | PASS 270 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-filter.R:63:3'): Multi discrete filter works fine ────────────── Error in `dplyr::filter(., dplyr::across(!!names(values), ~col_in_val(.x, values[[dplyr::cur_column()]], !!keep_na)))`: i In argument: `dplyr::across(...)`. Caused by error: ! `..1` must be a logical vector, not a <tbl_df/tbl/data.frame> object. i If you used `across()` to generate this data frame, please use `if_any()` or `if_all()` instead. Backtrace: ▆ 1. ├─coh$run_flow() at test-filter.R:63:3 2. │ └─self$run_step(data_idx) at cohortBuilder/R/cohort_methods.R:633:9 3. │ └─temp_data_object %>% data_filter$filter_data() at cohortBuilder/R/cohort_methods.R:656:9 4. ├─data_filter$filter_data(.) 5. │ └─data_object[[dataset]] %>% ... at cohortBuilder/R/source_tblist.R:587:7 6. ├─dplyr::filter(...) 7. ├─dplyr:::filter.data.frame(...) 8. │ └─dplyr:::filter_impl(...) 9. │ └─dplyr:::filter_rows(...) 10. │ └─dplyr:::filter_eval(...) 11. │ ├─base::withCallingHandlers(...) 12. │ └─mask$eval_all_filter(dots_expanded, invert, env_filter) 13. │ └─dplyr (local) eval() 14. ├─dplyr:::dplyr_internal_error(...) 15. │ └─rlang::abort(class = c(class, "dplyr:::internal_error"), dplyr_error_data = data) 16. │ └─rlang:::signal_abort(cnd, .file) 17. │ └─base::signalCondition(cnd) 18. └─dplyr (local) `<fn>`(`<dpl:::__>`) 19. └─rlang::abort(message, class = error_class, parent = parent, call = error_call) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 270 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.3.0
Check: tests
Result: ERROR Running ‘testthat.R’ [9s/24s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(cohortBuilder) Attaching package: 'cohortBuilder' The following objects are masked from 'package:stats': filter, step > > test_check("cohortBuilder") Saving _problems/test-filter-63.R [ FAIL 1 | WARN 0 | SKIP 0 | PASS 270 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-filter.R:63:3'): Multi discrete filter works fine ────────────── Error in `dplyr::filter(., dplyr::across(!!names(values), ~col_in_val(.x, values[[dplyr::cur_column()]], !!keep_na)))`: i In argument: `dplyr::across(...)`. Caused by error: ! `..1` must be a logical vector, not a <tbl_df/tbl/data.frame> object. i If you used `across()` to generate this data frame, please use `if_any()` or `if_all()` instead. Backtrace: ▆ 1. ├─coh$run_flow() at test-filter.R:63:3 2. │ └─self$run_step(data_idx) at cohortBuilder/R/cohort_methods.R:633:9 3. │ └─temp_data_object %>% data_filter$filter_data() at cohortBuilder/R/cohort_methods.R:656:9 4. ├─data_filter$filter_data(.) 5. │ └─data_object[[dataset]] %>% ... at cohortBuilder/R/source_tblist.R:587:7 6. ├─dplyr::filter(...) 7. ├─dplyr:::filter.data.frame(...) 8. │ └─dplyr:::filter_impl(...) 9. │ └─dplyr:::filter_rows(...) 10. │ └─dplyr:::filter_eval(...) 11. │ ├─base::withCallingHandlers(...) 12. │ └─mask$eval_all_filter(dots_expanded, invert, env_filter) 13. │ └─dplyr (local) eval() 14. ├─dplyr:::dplyr_internal_error(...) 15. │ └─rlang::abort(class = c(class, "dplyr:::internal_error"), dplyr_error_data = data) 16. │ └─rlang:::signal_abort(cnd, .file) 17. │ └─base::signalCondition(cnd) 18. └─dplyr (local) `<fn>`(`<dpl:::__>`) 19. └─rlang::abort(message, class = error_class, parent = parent, call = error_call) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 270 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc