Last updated on 2024-09-20 00:49:55 CEST.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 1.1.1 | 5.42 | 69.55 | 74.97 | ERROR | |
r-devel-linux-x86_64-debian-gcc | 1.1.2 | 3.80 | 52.29 | 56.09 | OK | |
r-devel-linux-x86_64-fedora-clang | 1.1.2 | 128.75 | OK | |||
r-devel-linux-x86_64-fedora-gcc | 1.1.2 | 139.61 | OK | |||
r-devel-windows-x86_64 | 1.1.2 | 8.00 | 90.00 | 98.00 | OK | |
r-patched-linux-x86_64 | 1.1.2 | 4.79 | 65.24 | 70.03 | OK | |
r-release-linux-x86_64 | 1.1.2 | 5.05 | 65.64 | 70.69 | OK | |
r-release-macos-arm64 | 1.1.2 | 56.00 | OK | |||
r-release-macos-x86_64 | 1.1.1 | 101.00 | OK | |||
r-release-windows-x86_64 | 1.1.2 | 7.00 | 91.00 | 98.00 | OK | |
r-oldrel-macos-arm64 | 1.1.2 | 64.00 | OK | |||
r-oldrel-macos-x86_64 | 1.1.1 | 96.00 | OK | |||
r-oldrel-windows-x86_64 | 1.1.2 | 9.00 | 90.00 | 99.00 | OK |
Version: 1.1.1
Check: tests
Result: ERROR
Running ‘testthat.R’ [4s/11s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(tidyREDCap)
>
> test_check("tidyREDCap")
Reading metadata about your project....
Reading variable labels for your variables....
Reading your data....
ℹ This may take a while if your dataset is large.
[ FAIL 1 | WARN 8 | SKIP 0 | PASS 13 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-import_instruments.R:72:1'): (code run outside of `test_that()`) ──
<vctrs_error_names_must_be_unique/vctrs_error_names/vctrs_error/rlang_error/error/condition>
Error in `select(., -ends_with(".1"))`: Names must be unique.
✖ These names are duplicated:
* "record_id" at locations 1 and 2.
Backtrace:
▆
1. ├─tidyREDCap::import_instruments(...) at test-import_instruments.R:72:1
2. │ └─redcap[, c(meta, curr_instr_idx)] %>% ...
3. ├─dplyr::select(., -ends_with(".1"))
4. └─dplyr:::select.data.frame(., -ends_with(".1"))
5. └─tidyselect::eval_select(expr(c(...)), data = .data, error_call = error_call)
6. └─tidyselect:::eval_select_impl(...)
7. ├─tidyselect:::with_subscript_errors(...)
8. │ └─base::withCallingHandlers(...)
9. └─tidyselect:::vars_select_eval(...)
10. └─tidyselect:::ensure_named(...)
11. └─vctrs::vec_as_names(names(pos), repair = "check_unique", call = call)
12. └─vctrs (local) `<fn>`()
13. └─vctrs:::validate_unique(names = names, arg = arg, call = call)
14. └─vctrs:::stop_names_must_be_unique(names, arg, call = call)
15. └─vctrs:::stop_names(...)
16. └─vctrs:::stop_vctrs(...)
17. └─rlang::abort(message, class = c(class, "vctrs_error"), ..., call = call)
[ FAIL 1 | WARN 8 | SKIP 0 | PASS 13 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang