- using R Under development (unstable) (2026-02-02 r89367)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-15 (Debian 15.2.0-12) 15.2.0
GNU Fortran (Debian 15.2.0-12) 15.2.0
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
* current time: 2026-02-03 14:25:29Z
- checking for file ‘cohortBuilder/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘cohortBuilder’ version ‘0.3.0’
- package encoding: UTF-8
- checking CRAN incoming feasibility ... [2s/3s] OK
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘cohortBuilder’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... OK
- checking ‘build’ directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [1s/1s] OK
- checking whether the package can be loaded with stated dependencies ... [0s/1s] OK
- checking whether the package can be unloaded cleanly ... [0s/1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the namespace can be unloaded cleanly ... [1s/1s] OK
- checking loading without being on the library search path ... [1s/1s] OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [7s/11s] OK
- checking Rd files ... [0s/1s] OK
- checking Rd metadata ... OK
- checking Rd line widths ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking contents of ‘data’ directory ... OK
- checking data for non-ASCII characters ... [0s/0s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [1s/1s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [4s/6s] ERROR
Running ‘testthat.R’ [4s/6s]
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
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [16s/23s] OK
- checking PDF version of manual ... [5s/8s] OK
- checking HTML version of manual ... [3s/5s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR