* using log directory 'd:/Rcompile/CRANpkg/local/4.5/cohortBuilder.Rcheck' * using R version 4.5.2 (2025-10-31 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.3.0 GNU Fortran (GCC) 14.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'cohortBuilder/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'cohortBuilder' version '0.3.0' * package encoding: UTF-8 * 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 hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'cohortBuilder' can be installed ... OK * checking installed package size ... OK * checking package directory ... 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] OK * checking whether the package can be loaded with stated dependencies ... [1s] OK * checking whether the package can be unloaded cleanly ... [1s] OK * checking whether the namespace can be loaded with stated dependencies ... [1s] OK * checking whether the namespace can be unloaded cleanly ... [1s] OK * checking loading without being on the library search path ... [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 ... [5s] OK * checking Rd files ... [1s] OK * checking Rd metadata ... 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] 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 ... [2s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [6s] ERROR Running 'testthat.R' [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 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) ``(``) 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 ... [21s] OK * checking PDF version of manual ... [21s] OK * checking HTML version of manual ... [9s] OK * DONE Status: 1 ERROR