Last updated on 2025-03-29 08:53:05 CET.
Package | ERROR | NOTE | OK |
---|---|---|---|
DOPE | 15 | ||
public.ctn0094data | 15 | ||
rUM | 15 | ||
tidyREDCap | 1 | 7 | 7 |
Current CRAN status: OK: 15
Current CRAN status: OK: 15
Current CRAN status: OK: 15
Current CRAN status: ERROR: 1, NOTE: 7, OK: 7
Version: 1.1.2
Check: DESCRIPTION meta-information
Result: NOTE
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
‘import_instruments.R’ ‘make_choose_all_table.R’
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-macos-x86_64, r-devel-windows-x86_64, r-patched-linux-x86_64
Version: 1.1.2
Check: tests
Result: ERROR
Running 'testthat.R' [64s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(tidyREDCap)
>
> test_check("tidyREDCap")
Reading metadata about your project....
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 13 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-import_instruments.R:77:1'): (code run outside of `test_that()`) ──
Error in `pull(ds_instrument, form_name)`: `!!enquo(var)` must select exactly one column.
Backtrace:
▆
1. └─tidyREDCap::import_instruments(...) at test-import_instruments.R:77:1
2. ├─base::unique(pull(ds_instrument, form_name))
3. ├─dplyr::pull(ds_instrument, form_name)
4. └─dplyr:::pull.data.frame(ds_instrument, form_name)
5. └─tidyselect::vars_pull(names(.data), !!enquo(var))
6. └─tidyselect:::pull_as_location2(...)
7. ├─tidyselect:::with_subscript_errors(...)
8. │ └─base::withCallingHandlers(...)
9. └─cli::cli_abort(...)
10. └─rlang::abort(...)
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 13 ]
Error: Test failures
Execution halted
Flavor: r-oldrel-windows-x86_64