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