Last updated on 2025-12-28 01:48:39 CET.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 1.0.0 | 4.65 | 76.91 | 81.56 | ERROR | |
| r-devel-linux-x86_64-debian-gcc | 1.0.0 | 3.71 | 56.11 | 59.82 | ERROR | |
| r-devel-linux-x86_64-fedora-clang | 1.0.0 | 131.62 | OK | |||
| r-devel-linux-x86_64-fedora-gcc | 1.0.0 | 125.48 | OK | |||
| r-devel-windows-x86_64 | 1.0.0 | 7.00 | 103.00 | 110.00 | OK | |
| r-patched-linux-x86_64 | 1.0.0 | 4.95 | 79.05 | 84.00 | OK | |
| r-release-linux-x86_64 | 1.0.0 | 4.42 | 81.17 | 85.59 | OK | |
| r-release-macos-arm64 | 1.0.0 | 1.00 | 26.00 | 27.00 | OK | |
| r-release-macos-x86_64 | 1.0.0 | 4.00 | 145.00 | 149.00 | OK | |
| r-release-windows-x86_64 | 1.0.0 | 7.00 | 99.00 | 106.00 | OK | |
| r-oldrel-macos-arm64 | 1.0.0 | 1.00 | 30.00 | 31.00 | OK | |
| r-oldrel-macos-x86_64 | 1.0.0 | 4.00 | 154.00 | 158.00 | OK | |
| r-oldrel-windows-x86_64 | 1.0.0 | 9.00 | 122.00 | 131.00 | OK |
Version: 1.0.0
Check: examples
Result: ERROR
Running examples in ‘flowchart-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: fc_draw
> ### Title: fc_draw
> ### Aliases: fc_draw
>
> ### ** Examples
>
> safo |>
+ as_fc(label = "Patients assessed for eligibility") |>
+ fc_filter(!is.na(group), label = "Randomized", show_exc = TRUE) |>
+ fc_split(group) |>
+ fc_filter(itt == "Yes", label = "Included in ITT") |>
+ fc_filter(pp == "Yes", label = "Included in PP") |>
+ fc_draw()
Error in `dplyr::mutate()`:
ℹ In argument: `y = update_y(.data$y, .data$type, .data$x,
.data$group)`.
ℹ In row 1.
Caused by error in `dplyr::mutate()`:
ℹ In argument: `nmax = as.numeric(...)`.
ℹ In row 1.
Caused by error in `xtfrm.data.frame()`:
! cannot xtfrm data frames
Backtrace:
▆
1. ├─flowchart::fc_draw(...)
2. │ └─flowchart:::is_class(object, "fc")
3. ├─flowchart::fc_filter(...)
4. │ └─flowchart:::is_class(object, "fc")
5. ├─flowchart::fc_filter(...)
6. │ └─flowchart:::is_class(object, "fc")
7. ├─flowchart::fc_split(...)
8. │ └─flowchart:::is_class(object, "fc")
9. ├─flowchart::fc_filter(...)
10. ├─flowchart:::fc_filter.fc(...)
11. │ ├─dplyr::mutate(...)
12. │ └─dplyr:::mutate.data.frame(...)
13. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), by)
14. │ ├─base::withCallingHandlers(...)
15. │ └─dplyr:::mutate_col(dots[[i]], data, mask, new_columns)
16. │ └─mask$eval_all_mutate(quo)
17. │ └─dplyr (local) eval()
18. ├─flowchart:::update_y(.data$y, .data$type, .data$x, .data$group)
19. │ ├─dplyr::mutate(...)
20. │ └─dplyr:::mutate.data.frame(...)
21. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), by)
22. │ ├─base::withCallingHandlers(...)
23. │ └─dplyr:::mutate_col(dots[[i]], data, mask, new_columns)
24. │ └─mask$eval_all_mutate(quo)
25. │ └─dplyr (local) eval()
26. ├─base::which.max(...)
27. │ ├─base::xtfrm(`<tibble[,1]>`)
28. │ └─base::xtfrm.data.frame(`<tibble[,1]>`)
29. │ └─base::stop("cannot xtfrm data frames")
30. └─base::.handleSimpleError(...)
31. └─dplyr (local) h(simpleError(msg, call))
32. └─rlang::abort(message, class = error_class, parent = parent, call = error_call)
Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Version: 1.0.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [25s/29s]
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/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(flowchart)
>
> test_check("flowchart")
Saving _problems/test-fc_draw-31.R
The function `ragg::agg_png()` is used to export the flowchart.
The function `ragg::agg_png()` is used to export the flowchart.
Saving _problems/test-fc_filter-44.R
Saving _problems/test-fc_filter-55.R
Saving _problems/test-fc_filter-63.R
Saving _problems/test-fc_filter-76.R
Saving _problems/test-fc_filter-98.R
Saving _problems/test-fc_filter-110.R
Saving _problems/test-fc_filter-127.R
Saving _problems/test-fc_split-32.R
Saving _problems/test-fc_split-43.R
Saving _problems/test-fc_split-57.R
Saving _problems/test-fc_split-65.R
Saving _problems/test-fc_split-72.R
Saving _problems/test-fc_split-79.R
Saving _problems/test-fc_split-86.R
Saving _problems/test-fc_split-97.R
Saving _problems/test-fc_split-109.R
Saving _problems/test-fc_split-125.R
Saving _problems/test-fc_stack-32.R
Saving _problems/test-fc_stack-41.R
Saving _problems/test-fc_theme-18.R
Saving _problems/test-fc_theme-27.R
Saving _problems/test-fc_theme-37.R
Saving _problems/test-fc_theme-55.R
Saving _problems/test-fc_theme-73.R
[ FAIL 25 | WARN 0 | SKIP 29 | PASS 104 ]
══ Skipped tests (29) ══════════════════════════════════════════════════════════
• On CRAN (29): 'test-as_fc.R:2:1', 'test-as_fc.R:6:1', 'test-as_fc.R:10:1',
'test-as_fc.R:43:1', 'test-as_fc.R:47:1', 'test-fc_draw.R:2:1',
'test-fc_export.R:2:1', 'test-fc_export.R:7:1', 'test-fc_export.R:12:1',
'test-fc_export.R:17:1', 'test-fc_export.R:22:1', 'test-fc_export.R:27:1',
'test-fc_export.R:32:1', 'test-fc_export.R:37:1', 'test-fc_filter.R:2:1',
'test-fc_filter.R:7:1', 'test-fc_filter.R:12:1', 'test-fc_filter.R:18:1',
'test-fc_filter.R:23:1', 'test-fc_filter.R:28:1', 'test-fc_filter.R:33:1',
'test-fc_filter.R:84:1', 'test-fc_split.R:2:1', 'test-fc_split.R:7:1',
'test-fc_split.R:12:1', 'test-fc_split.R:17:1', 'test-fc_split.R:22:1',
'test-fc_view.R:2:1', 'test-utils.R:48:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-fc_draw.R:31:3'): works with stack and unite=TRUE ──────────────
<dplyr:::mutate_error/rlang_error/error/condition>
Error in `dplyr::mutate(rbind(object$fc, dplyr::mutate(new_fc, end = TRUE, old = FALSE)), y = update_y(.data$y, .data$type, .data$x, .data$group))`: i In argument: `y = update_y(.data$y, .data$type, .data$x, .data$group)`.
i In row 1.
Caused by error in `dplyr::mutate()`:
i In argument: `nmax = as.numeric(...)`.
i In row 1.
Caused by error in `xtfrm.data.frame()`:
! cannot xtfrm data frames
── Error ('test-fc_filter.R:39:3'): handles filter after a sel_group ───────────
<dplyr:::mutate_error/rlang_error/error/condition>
Error in `dplyr::mutate(rbind(object$fc, dplyr::mutate(tibble::as_tibble(new_fc), end = TRUE, old = FALSE)), y = update_y(.data$y, .data$type, .data$x, .data$group), id = dplyr::row_number())`: i In argument: `y = update_y(.data$y, .data$type, .data$x, .data$group)`.
i In row 1.
Caused by error in `dplyr::mutate()`:
i In argument: `nmax = as.numeric(...)`.
i In row 1.
Caused by error in `xtfrm.data.frame()`:
! cannot xtfrm data frames
── Error ('test-fc_filter.R:55:3'): accepts valid filter expression ────────────
<dplyr:::mutate_error/rlang_error/error/condition>
Error in `dplyr::mutate(rbind(object$fc, dplyr::mutate(new_fc, end = TRUE, old = FALSE)), y = update_y(.data$y, .data$type, .data$x, .data$group))`: i In argument: `y = update_y(.data$y, .data$type, .data$x, .data$group)`.
i In row 1.
Caused by error in `dplyr::mutate()`:
i In argument: `nmax = as.numeric(...)`.
i In row 1.
Caused by error in `xtfrm.data.frame()`:
! cannot xtfrm data frames
── Error ('test-fc_filter.R:63:3'): handles show_exc parameter ─────────────────
<dplyr:::mutate_error/rlang_error/error/condition>
Error in `dplyr::mutate(rbind(object$fc, dplyr::mutate(new_fc, end = TRUE, old = FALSE)), y = update_y(.data$y, .data$type, .data$x, .data$group))`: i In argument: `y = update_y(.data$y, .data$type, .data$x, .data$group)`.
i In row 1.
Caused by error in `dplyr::mutate()`:
i In argument: `nmax = as.numeric(...)`.
i In row 1.
Caused by error in `xtfrm.data.frame()`:
! cannot xtfrm data frames
── Error ('test-fc_filter.R:71:3'): preserves styling parameters ───────────────
<dplyr:::mutate_error/rlang_error/error/condition>
Error in `dplyr::mutate(rbind(object$fc, dplyr::mutate(new_fc, end = TRUE, old = FALSE)), y = update_y(.data$y, .data$type, .data$x, .data$group))`: i In argument: `y = update_y(.data$y, .data$type, .data$x, .data$group)`.
i In row 1.
Caused by error in `dplyr::mutate()`:
i In argument: `nmax = as.numeric(...)`.
i In row 1.
Caused by error in `xtfrm.data.frame()`:
! cannot xtfrm data frames
── Error ('test-fc_filter.R:97:3'): change label of the excluded box ───────────
<dplyr:::mutate_error/rlang_error/error/condition>
Error in `dplyr::mutate(rbind(object$fc, dplyr::mutate(new_fc, end = TRUE, old = FALSE)), y = update_y(.data$y, .data$type, .data$x, .data$group))`: i In argument: `y = update_y(.data$y, .data$type, .data$x, .data$group)`.
i In row 1.
Caused by error in `dplyr::mutate()`:
i In argument: `nmax = as.numeric(...)`.
i In row 1.
Caused by error in `xtfrm.data.frame()`:
! cannot xtfrm data frames
── Error ('test-fc_filter.R:109:3'): trimming trailing zeros ───────────────────
<dplyr:::mutate_error/rlang_error/error/condition>
Error in `dplyr::mutate(rbind(object$fc, dplyr::mutate(new_fc, end = TRUE, old = FALSE)), y = update_y(.data$y, .data$type, .data$x, .data$group))`: i In argument: `y = update_y(.data$y, .data$type, .data$x, .data$group)`.
i In row 1.
Caused by error in `dplyr::mutate()`:
i In argument: `nmax = as.numeric(...)`.
i In row 1.
Caused by error in `xtfrm.data.frame()`:
! cannot xtfrm data frames
── Error ('test-fc_filter.R:123:3'): add title ─────────────────────────────────
<dplyr:::mutate_error/rlang_error/error/condition>
Error in `dplyr::mutate(rbind(object$fc, dplyr::mutate(new_fc, end = TRUE, old = FALSE)), y = update_y(.data$y, .data$type, .data$x, .data$group))`: i In argument: `y = update_y(.data$y, .data$type, .data$x, .data$group)`.
i In row 1.
Caused by error in `dplyr::mutate()`:
i In argument: `nmax = as.numeric(...)`.
i In row 1.
Caused by error in `xtfrm.data.frame()`:
! cannot xtfrm data frames
── Error ('test-fc_split.R:28:3'): handles sel_group in a split ────────────────
<dplyr:::mutate_error/rlang_error/error/condition>
Error in `dplyr::mutate(rbind(object$fc, dplyr::mutate(tibble::as_tibble(new_fc), end = TRUE, old = FALSE)), y = update_y(.data$y, .data$type, .data$x, .data$group), id = dplyr::row_number())`: i In argument: `y = update_y(.data$y, .data$type, .data$x, .data$group)`.
i In row 1.
Caused by error in `dplyr::mutate()`:
i In argument: `nmax = as.numeric(...)`.
i In row 1.
Caused by error in `xtfrm.data.frame()`:
! cannot xtfrm data frames
── Error ('test-fc_split.R:39:3'): handles split after a sel_group ─────────────
<dplyr:::mutate_error/rlang_error/error/condition>
Error in `dplyr::mutate(rbind(object$fc, dplyr::mutate(tibble::as_tibble(new_fc), end = TRUE, old = FALSE)), y = update_y(.data$y, .data$type, .data$x, .data$group), id = dplyr::row_number())`: i In argument: `y = update_y(.data$y, .data$type, .data$x, .data$group)`.
i In row 1.
Caused by error in `dplyr::mutate()`:
i In argument: `nmax = as.numeric(...)`.
i In row 1.
Caused by error in `xtfrm.data.frame()`:
! cannot xtfrm data frames
── Error ('test-fc_split.R:57:3'): handles numeric splits correctly ────────────
<dplyr:::mutate_error/rlang_error/error/condition>
Error in `dplyr::mutate(rbind(object$fc, dplyr::mutate(tibble::as_tibble(new_fc), end = TRUE, old = FALSE)), y = update_y(.data$y, .data$type, .data$x, .data$group), id = dplyr::row_number())`: i In argument: `y = update_y(.data$y, .data$type, .data$x, .data$group)`.
i In row 1.
Caused by error in `dplyr::mutate()`:
i In argument: `nmax = as.numeric(...)`.
i In row 1.
Caused by error in `xtfrm.data.frame()`:
! cannot xtfrm data frames
── Error ('test-fc_split.R:65:3'): handles factor splits correctly ─────────────
<dplyr:::mutate_error/rlang_error/error/condition>
Error in `dplyr::mutate(rbind(object$fc, dplyr::mutate(tibble::as_tibble(new_fc), end = TRUE, old = FALSE)), y = update_y(.data$y, .data$type, .data$x, .data$group), id = dplyr::row_number())`: i In argument: `y = update_y(.data$y, .data$type, .data$x, .data$group)`.
i In row 1.
Caused by error in `dplyr::mutate()`:
i In argument: `nmax = as.numeric(...)`.
i In row 1.
Caused by error in `xtfrm.data.frame()`:
! cannot xtfrm data frames
── Error ('test-fc_split.R:72:3'): handles custom labels ───────────────────────
<dplyr:::mutate_error/rlang_error/error/condition>
Error in `dplyr::mutate(rbind(object$fc, dplyr::mutate(tibble::as_tibble(new_fc), end = TRUE, old = FALSE)), y = update_y(.data$y, .data$type, .data$x, .data$group), id = dplyr::row_number())`: i In argument: `y = update_y(.data$y, .data$type, .data$x, .data$group)`.
i In row 1.
Caused by error in `dplyr::mutate()`:
i In argument: `nmax = as.numeric(...)`.
i In row 1.
Caused by error in `xtfrm.data.frame()`:
! cannot xtfrm data frames
── Error ('test-fc_split.R:79:3'): handles title correctly ─────────────────────
<dplyr:::mutate_error/rlang_error/error/condition>
Error in `dplyr::mutate(rbind(object$fc, dplyr::mutate(tibble::as_tibble(new_fc), end = TRUE, old = FALSE)), y = update_y(.data$y, .data$type, .data$x, .data$group), id = dplyr::row_number())`: i In argument: `y = update_y(.data$y, .data$type, .data$x, .data$group)`.
i In row 1.
Caused by error in `dplyr::mutate()`:
i In argument: `nmax = as.numeric(...)`.
i In row 1.
Caused by error in `xtfrm.data.frame()`:
! cannot xtfrm data frames
── Error ('test-fc_split.R:86:3'): handles hide=TRUE correctly ─────────────────
<dplyr:::mutate_error/rlang_error/error/condition>
Error in `dplyr::mutate(rbind(object$fc, dplyr::mutate(tibble::as_tibble(new_fc), end = TRUE, old = FALSE)), y = update_y(.data$y, .data$type, .data$x, .data$group), id = dplyr::row_number())`: i In argument: `y = update_y(.data$y, .data$type, .data$x, .data$group)`.
i In row 1.
Caused by error in `dplyr::mutate()`:
i In argument: `nmax = as.numeric(...)`.
i In row 1.
Caused by error in `xtfrm.data.frame()`:
! cannot xtfrm data frames
── Error ('test-fc_split.R:93:3'): preserves styling parameters ────────────────
<dplyr:::mutate_error/rlang_error/error/condition>
Error in `dplyr::mutate(rbind(object$fc, dplyr::mutate(tibble::as_tibble(new_fc), end = TRUE, old = FALSE)), y = update_y(.data$y, .data$type, .data$x, .data$group), id = dplyr::row_number())`: i In argument: `y = update_y(.data$y, .data$type, .data$x, .data$group)`.
i In row 1.
Caused by error in `dplyr::mutate()`:
i In argument: `nmax = as.numeric(...)`.
i In row 1.
Caused by error in `xtfrm.data.frame()`:
! cannot xtfrm data frames
── Error ('test-fc_split.R:108:3'): trimming trailing zeros ────────────────────
<dplyr:::mutate_error/rlang_error/error/condition>
Error in `dplyr::mutate(rbind(object$fc, dplyr::mutate(tibble::as_tibble(new_fc), end = TRUE, old = FALSE)), y = update_y(.data$y, .data$type, .data$x, .data$group), id = dplyr::row_number())`: i In argument: `y = update_y(.data$y, .data$type, .data$x, .data$group)`.
i In row 1.
Caused by error in `dplyr::mutate()`:
i In argument: `nmax = as.numeric(...)`.
i In row 1.
Caused by error in `xtfrm.data.frame()`:
! cannot xtfrm data frames
── Error ('test-fc_split.R:124:3'): add title ──────────────────────────────────
<dplyr:::mutate_error/rlang_error/error/condition>
Error in `dplyr::mutate(rbind(object$fc, dplyr::mutate(tibble::as_tibble(new_fc), end = TRUE, old = FALSE)), y = update_y(.data$y, .data$type, .data$x, .data$group), id = dplyr::row_number())`: i In argument: `y = update_y(.data$y, .data$type, .data$x, .data$group)`.
i In row 1.
Caused by error in `dplyr::mutate()`:
i In argument: `nmax = as.numeric(...)`.
i In row 1.
Caused by error in `xtfrm.data.frame()`:
! cannot xtfrm data frames
── Error ('test-fc_stack.R:32:3'): successfully handles stacking when unite = TRUE, in a split ──
<dplyr:::mutate_error/rlang_error/error/condition>
Error in `dplyr::mutate(rbind(object$fc, dplyr::mutate(tibble::as_tibble(new_fc), end = TRUE, old = FALSE)), y = update_y(.data$y, .data$type, .data$x, .data$group), id = dplyr::row_number())`: i In argument: `y = update_y(.data$y, .data$type, .data$x, .data$group)`.
i In row 1.
Caused by error in `dplyr::mutate()`:
i In argument: `nmax = as.numeric(...)`.
i In row 1.
Caused by error in `xtfrm.data.frame()`:
! cannot xtfrm data frames
── Error ('test-fc_stack.R:41:3'): successfully handles stacking when unite = TRUE, in a filter ──
<dplyr:::mutate_error/rlang_error/error/condition>
Error in `dplyr::mutate(rbind(object$fc, dplyr::mutate(new_fc, end = TRUE, old = FALSE)), y = update_y(.data$y, .data$type, .data$x, .data$group))`: i In argument: `y = update_y(.data$y, .data$type, .data$x, .data$group)`.
i In row 1.
Caused by error in `dplyr::mutate()`:
i In argument: `nmax = as.numeric(...)`.
i In row 1.
Caused by error in `xtfrm.data.frame()`:
! cannot xtfrm data frames
── Error ('test-fc_theme.R:17:3'): modifies only excluded boxes ────────────────
<dplyr:::mutate_error/rlang_error/error/condition>
Error in `dplyr::mutate(rbind(object$fc, dplyr::mutate(new_fc, end = TRUE, old = FALSE)), y = update_y(.data$y, .data$type, .data$x, .data$group))`: i In argument: `y = update_y(.data$y, .data$type, .data$x, .data$group)`.
i In row 1.
Caused by error in `dplyr::mutate()`:
i In argument: `nmax = as.numeric(...)`.
i In row 1.
Caused by error in `xtfrm.data.frame()`:
! cannot xtfrm data frames
── Error ('test-fc_theme.R:26:3'): modifies only title boxes ───────────────────
<dplyr:::mutate_error/rlang_error/error/condition>
Error in `dplyr::mutate(rbind(object$fc, dplyr::mutate(tibble::as_tibble(new_fc), end = TRUE, old = FALSE)), y = update_y(.data$y, .data$type, .data$x, .data$group), id = dplyr::row_number())`: i In argument: `y = update_y(.data$y, .data$type, .data$x, .data$group)`.
i In row 1.
Caused by error in `dplyr::mutate()`:
i In argument: `nmax = as.numeric(...)`.
i In row 1.
Caused by error in `xtfrm.data.frame()`:
! cannot xtfrm data frames
── Error ('test-fc_theme.R:35:3'): modify text pattern boxes ───────────────────
<dplyr:::mutate_error/rlang_error/error/condition>
Error in `dplyr::mutate(rbind(object$fc, dplyr::mutate(tibble::as_tibble(new_fc), end = TRUE, old = FALSE)), y = update_y(.data$y, .data$type, .data$x, .data$group), id = dplyr::row_number())`: i In argument: `y = update_y(.data$y, .data$type, .data$x, .data$group)`.
i In row 1.
Caused by error in `dplyr::mutate()`:
i In argument: `nmax = as.numeric(...)`.
i In row 1.
Caused by error in `xtfrm.data.frame()`:
! cannot xtfrm data frames
── Error ('test-fc_theme.R:53:3'): modify text pattern boxes with expression ───
<dplyr:::mutate_error/rlang_error/error/condition>
Error in `dplyr::mutate(rbind(object$fc, dplyr::mutate(tibble::as_tibble(new_fc), end = TRUE, old = FALSE)), y = update_y(.data$y, .data$type, .data$x, .data$group), id = dplyr::row_number())`: i In argument: `y = update_y(.data$y, .data$type, .data$x, .data$group)`.
i In row 1.
Caused by error in `dplyr::mutate()`:
i In argument: `nmax = as.numeric(...)`.
i In row 1.
Caused by error in `xtfrm.data.frame()`:
! cannot xtfrm data frames
── Error ('test-fc_theme.R:71:3'): modify text pattern boxes with expression 2 ──
<dplyr:::mutate_error/rlang_error/error/condition>
Error in `dplyr::mutate(rbind(object$fc, dplyr::mutate(tibble::as_tibble(new_fc), end = TRUE, old = FALSE)), y = update_y(.data$y, .data$type, .data$x, .data$group), id = dplyr::row_number())`: i In argument: `y = update_y(.data$y, .data$type, .data$x, .data$group)`.
i In row 1.
Caused by error in `dplyr::mutate()`:
i In argument: `nmax = as.numeric(...)`.
i In row 1.
Caused by error in `xtfrm.data.frame()`:
! cannot xtfrm data frames
[ FAIL 25 | WARN 0 | SKIP 29 | PASS 104 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang
Version: 1.0.0
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
...
--- re-building ‘flowchart.Rmd’ using rmarkdown
Quitting from flowchart.Rmd:115-120 [unnamed-chunk-9]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/dplyr:::mutate_error>
Error in `dplyr::mutate()`:
ℹ In argument: `y = update_y(.data$y, .data$type, .data$x,
.data$group)`.
ℹ In row 1.
Caused by error in `dplyr::mutate()`:
ℹ In argument: `nmax = as.numeric(...)`.
ℹ In row 1.
Caused by error in `xtfrm.data.frame()`:
! cannot xtfrm data frames
---
Backtrace:
▆
1. ├─flowchart::fc_draw(...)
2. │ └─flowchart:::is_class(object, "fc")
3. ├─flowchart::fc_filter(...)
4. ├─flowchart:::fc_filter.fc(...)
5. │ ├─dplyr::mutate(...)
6. │ └─dplyr:::mutate.data.frame(...)
7. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), by)
8. │ ├─base::withCallingHandlers(...)
9. │ └─dplyr:::mutate_col(dots[[i]], data, mask, new_columns)
10. │ └─mask$eval_all_mutate(quo)
11. │ └─dplyr (local) eval()
12. ├─flowchart:::update_y(.data$y, .data$type, .data$x, .data$group)
13. │ ├─dplyr::mutate(...)
14. │ └─dplyr:::mutate.data.frame(...)
15. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), by)
16. │ ├─base::withCallingHandlers(...)
17. │ └─dplyr:::mutate_col(dots[[i]], data, mask, new_columns)
18. │ └─mask$eval_all_mutate(quo)
19. │ └─dplyr (local) eval()
20. └─base::which.max(...)
21. ├─base::xtfrm(`<tibble[,1]>`)
22. └─base::xtfrm.data.frame(`<tibble[,1]>`)
23. └─base::stop("cannot xtfrm data frames")
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'flowchart.Rmd' failed with diagnostics:
ℹ In argument: `y = update_y(.data$y, .data$type, .data$x,
.data$group)`.
ℹ In row 1.
Caused by error in `dplyr::mutate()`:
ℹ In argument: `nmax = as.numeric(...)`.
ℹ In row 1.
Caused by error in `xtfrm.data.frame()`:
! cannot xtfrm data frames
--- failed re-building ‘flowchart.Rmd’
SUMMARY: processing the following file failed:
‘flowchart.Rmd’
Error: Vignette re-building failed.
Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Version: 1.0.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [18s/27s]
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/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(flowchart)
>
> test_check("flowchart")
Saving _problems/test-fc_draw-31.R
The function `ragg::agg_png()` is used to export the flowchart.
The function `ragg::agg_png()` is used to export the flowchart.
Saving _problems/test-fc_filter-44.R
Saving _problems/test-fc_filter-55.R
Saving _problems/test-fc_filter-63.R
Saving _problems/test-fc_filter-76.R
Saving _problems/test-fc_filter-98.R
Saving _problems/test-fc_filter-110.R
Saving _problems/test-fc_filter-127.R
Saving _problems/test-fc_split-32.R
Saving _problems/test-fc_split-43.R
Saving _problems/test-fc_split-57.R
Saving _problems/test-fc_split-65.R
Saving _problems/test-fc_split-72.R
Saving _problems/test-fc_split-79.R
Saving _problems/test-fc_split-86.R
Saving _problems/test-fc_split-97.R
Saving _problems/test-fc_split-109.R
Saving _problems/test-fc_split-125.R
Saving _problems/test-fc_stack-32.R
Saving _problems/test-fc_stack-41.R
Saving _problems/test-fc_theme-18.R
Saving _problems/test-fc_theme-27.R
Saving _problems/test-fc_theme-37.R
Saving _problems/test-fc_theme-55.R
Saving _problems/test-fc_theme-73.R
[ FAIL 25 | WARN 0 | SKIP 29 | PASS 104 ]
══ Skipped tests (29) ══════════════════════════════════════════════════════════
• On CRAN (29): 'test-as_fc.R:2:1', 'test-as_fc.R:6:1', 'test-as_fc.R:10:1',
'test-as_fc.R:43:1', 'test-as_fc.R:47:1', 'test-fc_draw.R:2:1',
'test-fc_export.R:2:1', 'test-fc_export.R:7:1', 'test-fc_export.R:12:1',
'test-fc_export.R:17:1', 'test-fc_export.R:22:1', 'test-fc_export.R:27:1',
'test-fc_export.R:32:1', 'test-fc_export.R:37:1', 'test-fc_filter.R:2:1',
'test-fc_filter.R:7:1', 'test-fc_filter.R:12:1', 'test-fc_filter.R:18:1',
'test-fc_filter.R:23:1', 'test-fc_filter.R:28:1', 'test-fc_filter.R:33:1',
'test-fc_filter.R:84:1', 'test-fc_split.R:2:1', 'test-fc_split.R:7:1',
'test-fc_split.R:12:1', 'test-fc_split.R:17:1', 'test-fc_split.R:22:1',
'test-fc_view.R:2:1', 'test-utils.R:48:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-fc_draw.R:31:3'): works with stack and unite=TRUE ──────────────
<dplyr:::mutate_error/rlang_error/error/condition>
Error in `dplyr::mutate(rbind(object$fc, dplyr::mutate(new_fc, end = TRUE, old = FALSE)), y = update_y(.data$y, .data$type, .data$x, .data$group))`: i In argument: `y = update_y(.data$y, .data$type, .data$x, .data$group)`.
i In row 1.
Caused by error in `dplyr::mutate()`:
i In argument: `nmax = as.numeric(...)`.
i In row 1.
Caused by error in `xtfrm.data.frame()`:
! cannot xtfrm data frames
── Error ('test-fc_filter.R:39:3'): handles filter after a sel_group ───────────
<dplyr:::mutate_error/rlang_error/error/condition>
Error in `dplyr::mutate(rbind(object$fc, dplyr::mutate(tibble::as_tibble(new_fc), end = TRUE, old = FALSE)), y = update_y(.data$y, .data$type, .data$x, .data$group), id = dplyr::row_number())`: i In argument: `y = update_y(.data$y, .data$type, .data$x, .data$group)`.
i In row 1.
Caused by error in `dplyr::mutate()`:
i In argument: `nmax = as.numeric(...)`.
i In row 1.
Caused by error in `xtfrm.data.frame()`:
! cannot xtfrm data frames
── Error ('test-fc_filter.R:55:3'): accepts valid filter expression ────────────
<dplyr:::mutate_error/rlang_error/error/condition>
Error in `dplyr::mutate(rbind(object$fc, dplyr::mutate(new_fc, end = TRUE, old = FALSE)), y = update_y(.data$y, .data$type, .data$x, .data$group))`: i In argument: `y = update_y(.data$y, .data$type, .data$x, .data$group)`.
i In row 1.
Caused by error in `dplyr::mutate()`:
i In argument: `nmax = as.numeric(...)`.
i In row 1.
Caused by error in `xtfrm.data.frame()`:
! cannot xtfrm data frames
── Error ('test-fc_filter.R:63:3'): handles show_exc parameter ─────────────────
<dplyr:::mutate_error/rlang_error/error/condition>
Error in `dplyr::mutate(rbind(object$fc, dplyr::mutate(new_fc, end = TRUE, old = FALSE)), y = update_y(.data$y, .data$type, .data$x, .data$group))`: i In argument: `y = update_y(.data$y, .data$type, .data$x, .data$group)`.
i In row 1.
Caused by error in `dplyr::mutate()`:
i In argument: `nmax = as.numeric(...)`.
i In row 1.
Caused by error in `xtfrm.data.frame()`:
! cannot xtfrm data frames
── Error ('test-fc_filter.R:71:3'): preserves styling parameters ───────────────
<dplyr:::mutate_error/rlang_error/error/condition>
Error in `dplyr::mutate(rbind(object$fc, dplyr::mutate(new_fc, end = TRUE, old = FALSE)), y = update_y(.data$y, .data$type, .data$x, .data$group))`: i In argument: `y = update_y(.data$y, .data$type, .data$x, .data$group)`.
i In row 1.
Caused by error in `dplyr::mutate()`:
i In argument: `nmax = as.numeric(...)`.
i In row 1.
Caused by error in `xtfrm.data.frame()`:
! cannot xtfrm data frames
── Error ('test-fc_filter.R:97:3'): change label of the excluded box ───────────
<dplyr:::mutate_error/rlang_error/error/condition>
Error in `dplyr::mutate(rbind(object$fc, dplyr::mutate(new_fc, end = TRUE, old = FALSE)), y = update_y(.data$y, .data$type, .data$x, .data$group))`: i In argument: `y = update_y(.data$y, .data$type, .data$x, .data$group)`.
i In row 1.
Caused by error in `dplyr::mutate()`:
i In argument: `nmax = as.numeric(...)`.
i In row 1.
Caused by error in `xtfrm.data.frame()`:
! cannot xtfrm data frames
── Error ('test-fc_filter.R:109:3'): trimming trailing zeros ───────────────────
<dplyr:::mutate_error/rlang_error/error/condition>
Error in `dplyr::mutate(rbind(object$fc, dplyr::mutate(new_fc, end = TRUE, old = FALSE)), y = update_y(.data$y, .data$type, .data$x, .data$group))`: i In argument: `y = update_y(.data$y, .data$type, .data$x, .data$group)`.
i In row 1.
Caused by error in `dplyr::mutate()`:
i In argument: `nmax = as.numeric(...)`.
i In row 1.
Caused by error in `xtfrm.data.frame()`:
! cannot xtfrm data frames
── Error ('test-fc_filter.R:123:3'): add title ─────────────────────────────────
<dplyr:::mutate_error/rlang_error/error/condition>
Error in `dplyr::mutate(rbind(object$fc, dplyr::mutate(new_fc, end = TRUE, old = FALSE)), y = update_y(.data$y, .data$type, .data$x, .data$group))`: i In argument: `y = update_y(.data$y, .data$type, .data$x, .data$group)`.
i In row 1.
Caused by error in `dplyr::mutate()`:
i In argument: `nmax = as.numeric(...)`.
i In row 1.
Caused by error in `xtfrm.data.frame()`:
! cannot xtfrm data frames
── Error ('test-fc_split.R:28:3'): handles sel_group in a split ────────────────
<dplyr:::mutate_error/rlang_error/error/condition>
Error in `dplyr::mutate(rbind(object$fc, dplyr::mutate(tibble::as_tibble(new_fc), end = TRUE, old = FALSE)), y = update_y(.data$y, .data$type, .data$x, .data$group), id = dplyr::row_number())`: i In argument: `y = update_y(.data$y, .data$type, .data$x, .data$group)`.
i In row 1.
Caused by error in `dplyr::mutate()`:
i In argument: `nmax = as.numeric(...)`.
i In row 1.
Caused by error in `xtfrm.data.frame()`:
! cannot xtfrm data frames
── Error ('test-fc_split.R:39:3'): handles split after a sel_group ─────────────
<dplyr:::mutate_error/rlang_error/error/condition>
Error in `dplyr::mutate(rbind(object$fc, dplyr::mutate(tibble::as_tibble(new_fc), end = TRUE, old = FALSE)), y = update_y(.data$y, .data$type, .data$x, .data$group), id = dplyr::row_number())`: i In argument: `y = update_y(.data$y, .data$type, .data$x, .data$group)`.
i In row 1.
Caused by error in `dplyr::mutate()`:
i In argument: `nmax = as.numeric(...)`.
i In row 1.
Caused by error in `xtfrm.data.frame()`:
! cannot xtfrm data frames
── Error ('test-fc_split.R:57:3'): handles numeric splits correctly ────────────
<dplyr:::mutate_error/rlang_error/error/condition>
Error in `dplyr::mutate(rbind(object$fc, dplyr::mutate(tibble::as_tibble(new_fc), end = TRUE, old = FALSE)), y = update_y(.data$y, .data$type, .data$x, .data$group), id = dplyr::row_number())`: i In argument: `y = update_y(.data$y, .data$type, .data$x, .data$group)`.
i In row 1.
Caused by error in `dplyr::mutate()`:
i In argument: `nmax = as.numeric(...)`.
i In row 1.
Caused by error in `xtfrm.data.frame()`:
! cannot xtfrm data frames
── Error ('test-fc_split.R:65:3'): handles factor splits correctly ─────────────
<dplyr:::mutate_error/rlang_error/error/condition>
Error in `dplyr::mutate(rbind(object$fc, dplyr::mutate(tibble::as_tibble(new_fc), end = TRUE, old = FALSE)), y = update_y(.data$y, .data$type, .data$x, .data$group), id = dplyr::row_number())`: i In argument: `y = update_y(.data$y, .data$type, .data$x, .data$group)`.
i In row 1.
Caused by error in `dplyr::mutate()`:
i In argument: `nmax = as.numeric(...)`.
i In row 1.
Caused by error in `xtfrm.data.frame()`:
! cannot xtfrm data frames
── Error ('test-fc_split.R:72:3'): handles custom labels ───────────────────────
<dplyr:::mutate_error/rlang_error/error/condition>
Error in `dplyr::mutate(rbind(object$fc, dplyr::mutate(tibble::as_tibble(new_fc), end = TRUE, old = FALSE)), y = update_y(.data$y, .data$type, .data$x, .data$group), id = dplyr::row_number())`: i In argument: `y = update_y(.data$y, .data$type, .data$x, .data$group)`.
i In row 1.
Caused by error in `dplyr::mutate()`:
i In argument: `nmax = as.numeric(...)`.
i In row 1.
Caused by error in `xtfrm.data.frame()`:
! cannot xtfrm data frames
── Error ('test-fc_split.R:79:3'): handles title correctly ─────────────────────
<dplyr:::mutate_error/rlang_error/error/condition>
Error in `dplyr::mutate(rbind(object$fc, dplyr::mutate(tibble::as_tibble(new_fc), end = TRUE, old = FALSE)), y = update_y(.data$y, .data$type, .data$x, .data$group), id = dplyr::row_number())`: i In argument: `y = update_y(.data$y, .data$type, .data$x, .data$group)`.
i In row 1.
Caused by error in `dplyr::mutate()`:
i In argument: `nmax = as.numeric(...)`.
i In row 1.
Caused by error in `xtfrm.data.frame()`:
! cannot xtfrm data frames
── Error ('test-fc_split.R:86:3'): handles hide=TRUE correctly ─────────────────
<dplyr:::mutate_error/rlang_error/error/condition>
Error in `dplyr::mutate(rbind(object$fc, dplyr::mutate(tibble::as_tibble(new_fc), end = TRUE, old = FALSE)), y = update_y(.data$y, .data$type, .data$x, .data$group), id = dplyr::row_number())`: i In argument: `y = update_y(.data$y, .data$type, .data$x, .data$group)`.
i In row 1.
Caused by error in `dplyr::mutate()`:
i In argument: `nmax = as.numeric(...)`.
i In row 1.
Caused by error in `xtfrm.data.frame()`:
! cannot xtfrm data frames
── Error ('test-fc_split.R:93:3'): preserves styling parameters ────────────────
<dplyr:::mutate_error/rlang_error/error/condition>
Error in `dplyr::mutate(rbind(object$fc, dplyr::mutate(tibble::as_tibble(new_fc), end = TRUE, old = FALSE)), y = update_y(.data$y, .data$type, .data$x, .data$group), id = dplyr::row_number())`: i In argument: `y = update_y(.data$y, .data$type, .data$x, .data$group)`.
i In row 1.
Caused by error in `dplyr::mutate()`:
i In argument: `nmax = as.numeric(...)`.
i In row 1.
Caused by error in `xtfrm.data.frame()`:
! cannot xtfrm data frames
── Error ('test-fc_split.R:108:3'): trimming trailing zeros ────────────────────
<dplyr:::mutate_error/rlang_error/error/condition>
Error in `dplyr::mutate(rbind(object$fc, dplyr::mutate(tibble::as_tibble(new_fc), end = TRUE, old = FALSE)), y = update_y(.data$y, .data$type, .data$x, .data$group), id = dplyr::row_number())`: i In argument: `y = update_y(.data$y, .data$type, .data$x, .data$group)`.
i In row 1.
Caused by error in `dplyr::mutate()`:
i In argument: `nmax = as.numeric(...)`.
i In row 1.
Caused by error in `xtfrm.data.frame()`:
! cannot xtfrm data frames
── Error ('test-fc_split.R:124:3'): add title ──────────────────────────────────
<dplyr:::mutate_error/rlang_error/error/condition>
Error in `dplyr::mutate(rbind(object$fc, dplyr::mutate(tibble::as_tibble(new_fc), end = TRUE, old = FALSE)), y = update_y(.data$y, .data$type, .data$x, .data$group), id = dplyr::row_number())`: i In argument: `y = update_y(.data$y, .data$type, .data$x, .data$group)`.
i In row 1.
Caused by error in `dplyr::mutate()`:
i In argument: `nmax = as.numeric(...)`.
i In row 1.
Caused by error in `xtfrm.data.frame()`:
! cannot xtfrm data frames
── Error ('test-fc_stack.R:32:3'): successfully handles stacking when unite = TRUE, in a split ──
<dplyr:::mutate_error/rlang_error/error/condition>
Error in `dplyr::mutate(rbind(object$fc, dplyr::mutate(tibble::as_tibble(new_fc), end = TRUE, old = FALSE)), y = update_y(.data$y, .data$type, .data$x, .data$group), id = dplyr::row_number())`: i In argument: `y = update_y(.data$y, .data$type, .data$x, .data$group)`.
i In row 1.
Caused by error in `dplyr::mutate()`:
i In argument: `nmax = as.numeric(...)`.
i In row 1.
Caused by error in `xtfrm.data.frame()`:
! cannot xtfrm data frames
── Error ('test-fc_stack.R:41:3'): successfully handles stacking when unite = TRUE, in a filter ──
<dplyr:::mutate_error/rlang_error/error/condition>
Error in `dplyr::mutate(rbind(object$fc, dplyr::mutate(new_fc, end = TRUE, old = FALSE)), y = update_y(.data$y, .data$type, .data$x, .data$group))`: i In argument: `y = update_y(.data$y, .data$type, .data$x, .data$group)`.
i In row 1.
Caused by error in `dplyr::mutate()`:
i In argument: `nmax = as.numeric(...)`.
i In row 1.
Caused by error in `xtfrm.data.frame()`:
! cannot xtfrm data frames
── Error ('test-fc_theme.R:17:3'): modifies only excluded boxes ────────────────
<dplyr:::mutate_error/rlang_error/error/condition>
Error in `dplyr::mutate(rbind(object$fc, dplyr::mutate(new_fc, end = TRUE, old = FALSE)), y = update_y(.data$y, .data$type, .data$x, .data$group))`: i In argument: `y = update_y(.data$y, .data$type, .data$x, .data$group)`.
i In row 1.
Caused by error in `dplyr::mutate()`:
i In argument: `nmax = as.numeric(...)`.
i In row 1.
Caused by error in `xtfrm.data.frame()`:
! cannot xtfrm data frames
── Error ('test-fc_theme.R:26:3'): modifies only title boxes ───────────────────
<dplyr:::mutate_error/rlang_error/error/condition>
Error in `dplyr::mutate(rbind(object$fc, dplyr::mutate(tibble::as_tibble(new_fc), end = TRUE, old = FALSE)), y = update_y(.data$y, .data$type, .data$x, .data$group), id = dplyr::row_number())`: i In argument: `y = update_y(.data$y, .data$type, .data$x, .data$group)`.
i In row 1.
Caused by error in `dplyr::mutate()`:
i In argument: `nmax = as.numeric(...)`.
i In row 1.
Caused by error in `xtfrm.data.frame()`:
! cannot xtfrm data frames
── Error ('test-fc_theme.R:35:3'): modify text pattern boxes ───────────────────
<dplyr:::mutate_error/rlang_error/error/condition>
Error in `dplyr::mutate(rbind(object$fc, dplyr::mutate(tibble::as_tibble(new_fc), end = TRUE, old = FALSE)), y = update_y(.data$y, .data$type, .data$x, .data$group), id = dplyr::row_number())`: i In argument: `y = update_y(.data$y, .data$type, .data$x, .data$group)`.
i In row 1.
Caused by error in `dplyr::mutate()`:
i In argument: `nmax = as.numeric(...)`.
i In row 1.
Caused by error in `xtfrm.data.frame()`:
! cannot xtfrm data frames
── Error ('test-fc_theme.R:53:3'): modify text pattern boxes with expression ───
<dplyr:::mutate_error/rlang_error/error/condition>
Error in `dplyr::mutate(rbind(object$fc, dplyr::mutate(tibble::as_tibble(new_fc), end = TRUE, old = FALSE)), y = update_y(.data$y, .data$type, .data$x, .data$group), id = dplyr::row_number())`: i In argument: `y = update_y(.data$y, .data$type, .data$x, .data$group)`.
i In row 1.
Caused by error in `dplyr::mutate()`:
i In argument: `nmax = as.numeric(...)`.
i In row 1.
Caused by error in `xtfrm.data.frame()`:
! cannot xtfrm data frames
── Error ('test-fc_theme.R:71:3'): modify text pattern boxes with expression 2 ──
<dplyr:::mutate_error/rlang_error/error/condition>
Error in `dplyr::mutate(rbind(object$fc, dplyr::mutate(tibble::as_tibble(new_fc), end = TRUE, old = FALSE)), y = update_y(.data$y, .data$type, .data$x, .data$group), id = dplyr::row_number())`: i In argument: `y = update_y(.data$y, .data$type, .data$x, .data$group)`.
i In row 1.
Caused by error in `dplyr::mutate()`:
i In argument: `nmax = as.numeric(...)`.
i In row 1.
Caused by error in `xtfrm.data.frame()`:
! cannot xtfrm data frames
[ FAIL 25 | WARN 0 | SKIP 29 | PASS 104 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.