Last updated on 2026-04-24 11:24:35 CEST.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 1.2.4 | 9.05 | 96.34 | 105.39 | OK | |
| r-devel-linux-x86_64-debian-gcc | 1.2.4 | 7.25 | 70.14 | 77.39 | OK | |
| r-devel-linux-x86_64-fedora-clang | 1.2.4 | 17.00 | 151.78 | 168.78 | OK | |
| r-devel-linux-x86_64-fedora-gcc | 1.2.4 | 14.00 | 143.85 | 157.85 | OK | |
| r-devel-macos-arm64 | 1.2.4 | 2.00 | 28.00 | 30.00 | OK | |
| r-devel-windows-x86_64 | 1.2.4 | 14.00 | 117.00 | 131.00 | OK | |
| r-patched-linux-x86_64 | 1.2.4 | 8.63 | 86.54 | 95.17 | OK | |
| r-release-linux-x86_64 | 1.2.4 | 8.52 | 82.81 | 91.33 | OK | |
| r-release-macos-arm64 | 1.2.4 | OK | ||||
| r-release-macos-x86_64 | 1.2.4 | 6.00 | 94.00 | 100.00 | ERROR | |
| r-release-windows-x86_64 | 1.2.4 | 14.00 | 117.00 | 131.00 | OK | |
| r-oldrel-macos-arm64 | 1.2.4 | OK | ||||
| r-oldrel-macos-x86_64 | 1.2.4 | 6.00 | 81.00 | 87.00 | OK | |
| r-oldrel-windows-x86_64 | 1.2.4 | 14.00 | 106.00 | 120.00 | OK |
Version: 1.2.4
Check: examples
Result: ERROR
Running examples in ‘REDCapTidieR-Ex.R’ failed
The error most likely occurred in:
> ### Name: format-helpers
> ### Title: Format REDCap variable labels
> ### Aliases: format-helpers fmt_strip_whitespace fmt_strip_trailing_colon
> ### fmt_strip_trailing_punct fmt_strip_html fmt_strip_field_embedding
>
> ### ** Examples
>
>
> fmt_strip_whitespace("Poorly Spaced Label ")
[1] "Poorly Spaced Label"
>
> fmt_strip_trailing_colon("Label:")
[1] "Label"
>
> fmt_strip_trailing_punct("Label-")
[1] "Label"
>
> fmt_strip_html("<b>Bold Label</b>")
[1] "Bold Label"
>
> fmt_strip_field_embedding("Label{another_field}")
[1] "Label"
>
> superheroes_supertbl
# A REDCapTidieR Supertibble with 2 instruments
redcap_form_name redcap_form_label redcap_data redcap_metadata structure
<chr> <chr> <list> <list> <chr>
1 heroes_information Heroes Information <tibble> <tibble [11 × 17]> nonrepea…
2 super_hero_powers Super Hero Powers <tibble> <tibble [2 × 17]> repeating
# ℹ 4 more variables: data_rows <int>, data_cols <int>, data_size <lbstr_by>,
# data_na_pct <formttbl>
>
> make_labelled(superheroes_supertbl, format_labels = fmt_strip_trailing_colon)
Error in make_labelled(superheroes_supertbl, format_labels = fmt_strip_trailing_colon) :
The package "labelled" is required to use `make_labelled()`
Calls: make_labelled -> check_installed
Execution halted
Flavor: r-release-macos-x86_64
Version: 1.2.4
Check: tests
Result: ERROR
Running ‘testthat.R’ [10s/20s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/tests.html
> # * https://testthat.r-lib.org/reference/test_package.html#special-files
>
> library(testthat)
> library(REDCapTidieR)
>
> test_check("REDCapTidieR")
Saving _problems/test-labelled-210.R
Saving _problems/test-labelled-310.R
Saving _problems/test-labelled-323.R
Saving _problems/test-write-54.R
Saving _problems/test-write-210.R
Saving _problems/test-write-236.R
[ FAIL 8 | WARN 9 | SKIP 14 | PASS 268 ]
══ Skipped tests (14) ══════════════════════════════════════════════════════════
• On CRAN (5): 'test-lint-free.R:2:3', 'test-read_redcap.R:1:1',
'test-supertibble.R:1:1', 'test-utils.R:214:3', 'test-write.R:341:3'
• {labelled} is not installed (8): 'test-labelled.R:2:3',
'test-labelled.R:52:3', 'test-labelled.R:180:3', 'test-labelled.R:231:3',
'test-labelled.R:258:3', 'test-labelled.R:329:3', 'test-utils.R:74:3',
'test-utils.R:482:3'
• {labelled} is not installed. (1): 'test-utils.R:461:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-labelled.R:210:3'): make_labelled handles redcap_metadata tibbles of different sizes ──
<rlib_error_package_not_found/rlang_error/error/condition>
Error in `make_labelled(supertbl)`: The package "labelled" is required to use `make_labelled()`
Backtrace:
▆
1. └─REDCapTidieR::make_labelled(supertbl) at test-labelled.R:210:3
2. └─rlang::check_installed("labelled", reason = "to use `make_labelled()`")
── Error ('test-labelled.R:310:3'): make_labelled errors with bad inputs ───────
<rlib_error_package_not_found/rlang_error/error/condition>
Error in `make_labelled(123)`: The package "labelled" is required to use `make_labelled()`
Backtrace:
▆
1. ├─testthat::expect_error(make_labelled(123), class = "check_supertbl") at test-labelled.R:310:3
2. │ └─testthat:::expect_condition_matching_(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. └─REDCapTidieR::make_labelled(123)
8. └─rlang::check_installed("labelled", reason = "to use `make_labelled()`")
── Error ('test-labelled.R:323:3'): make_labelled preserves S3 class ───────────
<rlib_error_package_not_found/rlang_error/error/condition>
Error in `make_labelled(superheroes_supertbl)`: The package "labelled" is required to use `make_labelled()`
Backtrace:
▆
1. └─REDCapTidieR::make_labelled(superheroes_supertbl) at test-labelled.R:323:3
2. └─rlang::check_installed("labelled", reason = "to use `make_labelled()`")
── Error ('test-write.R:54:3'): write_redcap_xlsx with labels works ────────────
<rlib_error_package_not_found/rlang_error/error/condition>
Error in `make_labelled(supertbl)`: The package "labelled" is required to use `make_labelled()`
Backtrace:
▆
1. └─REDCapTidieR::make_labelled(supertbl) at test-write.R:54:3
2. └─rlang::check_installed("labelled", reason = "to use `make_labelled()`")
── Error ('test-write.R:135:5'): write_redcap_xlsx has expected supertibble and metadata outputs ──
<rlib_error_package_not_found/rlang_error/error/condition>
Error in `make_labelled(.)`: The package "labelled" is required to use `make_labelled()`
Backtrace:
▆
1. ├─withr::with_tempdir(...) at test-write.R:134:3
2. │ └─withr::with_dir(tmp, code)
3. │ └─base::force(code)
4. ├─REDCapTidieR::write_redcap_xlsx(...) at test-write.R:135:5
5. │ └─REDCapTidieR:::check_arg_is_supertbl(supertbl)
6. ├─supertbl %>% make_labelled()
7. └─REDCapTidieR::make_labelled(.)
8. └─rlang::check_installed("labelled", reason = "to use `make_labelled()`")
── Failure ('test-write.R:166:5'): write_redcap_xlsx checks work ───────────────
Expected `.` not to throw any errors.
Actually got a <rlib_error_package_not_found> with message:
The package "labelled" is required to use `make_labelled()`
Backtrace:
▆
1. ├─withr::with_tempdir(...) at test-write.R:157:3
2. │ └─withr::with_dir(tmp, code)
3. │ └─base::force(code)
4. ├─... %>% expect_no_error() at test-write.R:166:5
5. └─testthat::expect_no_error(.)
── Error ('test-write.R:205:3'): supertbl_recode works ─────────────────────────
<rlib_error_package_not_found/rlang_error/error/condition>
Error in `make_labelled(.)`: The package "labelled" is required to use `make_labelled()`
Backtrace:
▆
1. ├─... %>% make_labelled() at test-write.R:205:3
2. └─REDCapTidieR::make_labelled(.)
3. └─rlang::check_installed("labelled", reason = "to use `make_labelled()`")
── Error ('test-write.R:235:3'): check_labelled works ──────────────────────────
<rlib_error_package_not_found/rlang_error/error/condition>
Error in `make_labelled(.)`: The package "labelled" is required to use `make_labelled()`
Backtrace:
▆
1. ├─supertbl %>% make_labelled() at test-write.R:235:3
2. └─REDCapTidieR::make_labelled(.)
3. └─rlang::check_installed("labelled", reason = "to use `make_labelled()`")
[ FAIL 8 | WARN 9 | SKIP 14 | PASS 268 ]
Error:
! Test failures.
Execution halted
Flavor: r-release-macos-x86_64