Running ‘testthat.R’ [18s/49s]
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(ggalign)
  Loading required package: ggplot2
  > 
  > test_check("ggalign")
  Saving 7 x 7 in image
  `geom_subrect()` subdivide tile into a maximal of 5 rectangles
  `geom_subtile()` subdivide tile into a maximal of 5 rectangles
  Saving 7 x 7 in image
  Saving 7 x 7 in image
  Formal class 'StackLayout' [package "ggalign"] with 13 slots
    ..@ direction : chr "horizontal"
    ..@ heatmap   :List of 3
    .. ..$ position   : NULL
    .. ..$ free_guides: list()
    .. .. ..- attr(*, "class")= chr "waiver"
    .. ..$ quad_matrix: logi FALSE
    ..@ sizes     : simplUnt [1:1] NAnull
     .. ..- attr(*, "unit"): int 5
    ..@ data      : int [1:10, 1] 1 2 3 4 5 6 7 8 9 10
    ..@ name      : chr "stack_discrete"
    ..@ plot_list : list()
    ..@ design    :List of 3
    .. ..$ panel: NULL
    .. ..$ index: NULL
    .. ..$ nobs : int 10
    .. ..- attr(*, "class")= chr [1:2] "discrete_design" "layout_design"
    ..@ active    : NULL
    ..@ schemes   :List of 3
    .. ..$ scheme_data :List of 2
    .. .. ..$ data   : NULL
    .. .. ..$ inherit: logi FALSE
    .. .. ..- attr(*, "__ggalign.scheme_name__")= chr "scheme_data"
    .. .. ..- attr(*, "class")= chr [1:2] "scheme_data" "ggalign_scheme"
    .. ..$ scheme_align:List of 3
    .. .. ..$ free_spaces: list()
    .. .. .. ..- attr(*, "class")= chr "waiver"
    .. .. ..$ free_labs  : list()
    .. .. .. ..- attr(*, "class")= chr "waiver"
    .. .. ..$ guides     : list()
    .. .. .. ..- attr(*, "class")= chr "waiver"
    .. .. ..- attr(*, "__ggalign.scheme_name__")= chr "scheme_align"
    .. .. ..- attr(*, "class")= chr [1:2] "scheme_align" "ggalign_scheme"
    .. ..$ scheme_theme: Named list()
    .. .. ..- attr(*, "class")= chr [1:4] "scheme_theme" "theme" "gg" "ggalign_scheme"
    .. .. ..- attr(*, "complete")= logi FALSE
    .. .. ..- attr(*, "validate")= logi TRUE
    .. .. ..- attr(*, "__ggalign.scheme_name__")= chr "scheme_theme"
    ..@ titles    : list()
    ..@ annotation: list()
    ..@ theme     : NULL
    ..@ _namespace:function ()  
  Formal class 'StackLayout' [package "ggalign"] with 13 slots
    ..@ direction : chr "horizontal"
    ..@ heatmap   :List of 3
    .. ..$ position   : NULL
    .. ..$ free_guides: list()
    .. .. ..- attr(*, "class")= chr "waiver"
    .. ..$ quad_matrix: logi FALSE
    ..@ sizes     : simplUnt [1:1] NAnull
     .. ..- attr(*, "unit"): int 5
    ..@ data      : chr [1:26, 1] "a" "b" "c" "d" ...
    ..@ name      : chr "stack_discrete"
    ..@ plot_list : list()
    ..@ design    :List of 3
    .. ..$ panel: NULL
    .. ..$ index: NULL
    .. ..$ nobs : int 26
    .. ..- attr(*, "class")= chr [1:2] "discrete_design" "layout_design"
    ..@ active    : NULL
    ..@ schemes   :List of 3
    .. ..$ scheme_data :List of 2
    .. .. ..$ data   : NULL
    .. .. ..$ inherit: logi FALSE
    .. .. ..- attr(*, "__ggalign.scheme_name__")= chr "scheme_data"
    .. .. ..- attr(*, "class")= chr [1:2] "scheme_data" "ggalign_scheme"
    .. ..$ scheme_align:List of 3
    .. .. ..$ free_spaces: list()
    .. .. .. ..- attr(*, "class")= chr "waiver"
    .. .. ..$ free_labs  : list()
    .. .. .. ..- attr(*, "class")= chr "waiver"
    .. .. ..$ guides     : list()
    .. .. .. ..- attr(*, "class")= chr "waiver"
    .. .. ..- attr(*, "__ggalign.scheme_name__")= chr "scheme_align"
    .. .. ..- attr(*, "class")= chr [1:2] "scheme_align" "ggalign_scheme"
    .. ..$ scheme_theme: Named list()
    .. .. ..- attr(*, "class")= chr [1:4] "scheme_theme" "theme" "gg" "ggalign_scheme"
    .. .. ..- attr(*, "complete")= logi FALSE
    .. .. ..- attr(*, "validate")= logi TRUE
    .. .. ..- attr(*, "__ggalign.scheme_name__")= chr "scheme_theme"
    ..@ titles    : list()
    ..@ annotation: list()
    ..@ theme     : NULL
    ..@ _namespace:function ()  
  Formal class 'StackLayout' [package "ggalign"] with 13 slots
    ..@ direction : chr "horizontal"
    ..@ heatmap   :List of 3
    .. ..$ position   : NULL
    .. ..$ free_guides: list()
    .. .. ..- attr(*, "class")= chr "waiver"
    .. ..$ quad_matrix: logi FALSE
    ..@ sizes     : simplUnt [1:1] NAnull
     .. ..- attr(*, "unit"): int 5
    ..@ data      : NULL
    ..@ name      : chr "stack_discrete"
    ..@ plot_list : list()
    ..@ design    :List of 3
    .. ..$ panel: NULL
    .. ..$ index: NULL
    .. ..$ nobs : NULL
    .. ..- attr(*, "class")= chr [1:2] "discrete_design" "layout_design"
    ..@ active    : NULL
    ..@ schemes   :List of 3
    .. ..$ scheme_data :List of 2
    .. .. ..$ data   : NULL
    .. .. ..$ inherit: logi FALSE
    .. .. ..- attr(*, "__ggalign.scheme_name__")= chr "scheme_data"
    .. .. ..- attr(*, "class")= chr [1:2] "scheme_data" "ggalign_scheme"
    .. ..$ scheme_align:List of 3
    .. .. ..$ free_spaces: list()
    .. .. .. ..- attr(*, "class")= chr "waiver"
    .. .. ..$ free_labs  : list()
    .. .. .. ..- attr(*, "class")= chr "waiver"
    .. .. ..$ guides     : list()
    .. .. .. ..- attr(*, "class")= chr "waiver"
    .. .. ..- attr(*, "__ggalign.scheme_name__")= chr "scheme_align"
    .. .. ..- attr(*, "class")= chr [1:2] "scheme_align" "ggalign_scheme"
    .. ..$ scheme_theme: Named list()
    .. .. ..- attr(*, "class")= chr [1:4] "scheme_theme" "theme" "gg" "ggalign_scheme"
    .. .. ..- attr(*, "complete")= logi FALSE
    .. .. ..- attr(*, "validate")= logi TRUE
    .. .. ..- attr(*, "__ggalign.scheme_name__")= chr "scheme_theme"
    ..@ titles    : list()
    ..@ annotation: list()
    ..@ theme     : NULL
    ..@ _namespace:function ()  
  Formal class 'StackLayout' [package "ggalign"] with 13 slots
    ..@ direction : chr "horizontal"
    ..@ heatmap   :List of 3
    .. ..$ position   : NULL
    .. ..$ free_guides: list()
    .. .. ..- attr(*, "class")= chr "waiver"
    .. ..$ quad_matrix: logi FALSE
    ..@ sizes     : simplUnt [1:1] NAnull
     .. ..- attr(*, "unit"): int 5
    ..@ data      :'data.frame':	10 obs. of  1 variable:
    .. ..$ value: int [1:10] 1 2 3 4 5 6 7 8 9 10
    ..@ name      : chr "stack_continuous"
    ..@ plot_list : list()
    ..@ design    : NULL
    ..@ active    : NULL
    ..@ schemes   :List of 3
    .. ..$ scheme_data :List of 2
    .. .. ..$ data   : NULL
    .. .. ..$ inherit: logi FALSE
    .. .. ..- attr(*, "__ggalign.scheme_name__")= chr "scheme_data"
    .. .. ..- attr(*, "class")= chr [1:2] "scheme_data" "ggalign_scheme"
    .. ..$ scheme_align:List of 3
    .. .. ..$ free_spaces: list()
    .. .. .. ..- attr(*, "class")= chr "waiver"
    .. .. ..$ free_labs  : list()
    .. .. .. ..- attr(*, "class")= chr "waiver"
    .. .. ..$ guides     : list()
    .. .. .. ..- attr(*, "class")= chr "waiver"
    .. .. ..- attr(*, "__ggalign.scheme_name__")= chr "scheme_align"
    .. .. ..- attr(*, "class")= chr [1:2] "scheme_align" "ggalign_scheme"
    .. ..$ scheme_theme: Named list()
    .. .. ..- attr(*, "class")= chr [1:4] "scheme_theme" "theme" "gg" "ggalign_scheme"
    .. .. ..- attr(*, "complete")= logi FALSE
    .. .. ..- attr(*, "validate")= logi TRUE
    .. .. ..- attr(*, "__ggalign.scheme_name__")= chr "scheme_theme"
    ..@ titles    : list()
    ..@ annotation: list()
    ..@ theme     : NULL
    ..@ _namespace:function ()  
  Formal class 'StackLayout' [package "ggalign"] with 13 slots
    ..@ direction : chr "horizontal"
    ..@ heatmap   :List of 3
    .. ..$ position   : NULL
    .. ..$ free_guides: list()
    .. .. ..- attr(*, "class")= chr "waiver"
    .. ..$ quad_matrix: logi FALSE
    ..@ sizes     : simplUnt [1:1] NAnull
     .. ..- attr(*, "unit"): int 5
    ..@ data      :'data.frame':	26 obs. of  1 variable:
    .. ..$ value: chr [1:26] "a" "b" "c" "d" ...
    ..@ name      : chr "stack_continuous"
    ..@ plot_list : list()
    ..@ design    : NULL
    ..@ active    : NULL
    ..@ schemes   :List of 3
    .. ..$ scheme_data :List of 2
    .. .. ..$ data   : NULL
    .. .. ..$ inherit: logi FALSE
    .. .. ..- attr(*, "__ggalign.scheme_name__")= chr "scheme_data"
    .. .. ..- attr(*, "class")= chr [1:2] "scheme_data" "ggalign_scheme"
    .. ..$ scheme_align:List of 3
    .. .. ..$ free_spaces: list()
    .. .. .. ..- attr(*, "class")= chr "waiver"
    .. .. ..$ free_labs  : list()
    .. .. .. ..- attr(*, "class")= chr "waiver"
    .. .. ..$ guides     : list()
    .. .. .. ..- attr(*, "class")= chr "waiver"
    .. .. ..- attr(*, "__ggalign.scheme_name__")= chr "scheme_align"
    .. .. ..- attr(*, "class")= chr [1:2] "scheme_align" "ggalign_scheme"
    .. ..$ scheme_theme: Named list()
    .. .. ..- attr(*, "class")= chr [1:4] "scheme_theme" "theme" "gg" "ggalign_scheme"
    .. .. ..- attr(*, "complete")= logi FALSE
    .. .. ..- attr(*, "validate")= logi TRUE
    .. .. ..- attr(*, "__ggalign.scheme_name__")= chr "scheme_theme"
    ..@ titles    : list()
    ..@ annotation: list()
    ..@ theme     : NULL
    ..@ _namespace:function ()  
  Formal class 'StackLayout' [package "ggalign"] with 13 slots
    ..@ direction : chr "horizontal"
    ..@ heatmap   :List of 3
    .. ..$ position   : NULL
    .. ..$ free_guides: list()
    .. .. ..- attr(*, "class")= chr "waiver"
    .. ..$ quad_matrix: logi FALSE
    ..@ sizes     : simplUnt [1:1] NAnull
     .. ..- attr(*, "unit"): int 5
    ..@ data      : NULL
    ..@ name      : chr "stack_continuous"
    ..@ plot_list : list()
    ..@ design    : NULL
    ..@ active    : NULL
    ..@ schemes   :List of 3
    .. ..$ scheme_data :List of 2
    .. .. ..$ data   : NULL
    .. .. ..$ inherit: logi FALSE
    .. .. ..- attr(*, "__ggalign.scheme_name__")= chr "scheme_data"
    .. .. ..- attr(*, "class")= chr [1:2] "scheme_data" "ggalign_scheme"
    .. ..$ scheme_align:List of 3
    .. .. ..$ free_spaces: list()
    .. .. .. ..- attr(*, "class")= chr "waiver"
    .. .. ..$ free_labs  : list()
    .. .. .. ..- attr(*, "class")= chr "waiver"
    .. .. ..$ guides     : list()
    .. .. .. ..- attr(*, "class")= chr "waiver"
    .. .. ..- attr(*, "__ggalign.scheme_name__")= chr "scheme_align"
    .. .. ..- attr(*, "class")= chr [1:2] "scheme_align" "ggalign_scheme"
    .. ..$ scheme_theme: Named list()
    .. .. ..- attr(*, "class")= chr [1:4] "scheme_theme" "theme" "gg" "ggalign_scheme"
    .. .. ..- attr(*, "complete")= logi FALSE
    .. .. ..- attr(*, "validate")= logi TRUE
    .. .. ..- attr(*, "__ggalign.scheme_name__")= chr "scheme_theme"
    ..@ titles    : list()
    ..@ annotation: list()
    ..@ theme     : NULL
    ..@ _namespace:function ()  
  Saving 7 x 7 in image
  [ FAIL 26 | WARN 1 | SKIP 22 | PASS 78 ]
  
  ══ Skipped tests (22) ══════════════════════════════════════════════════════════
  • On CRAN (19): 'test-active.R:3:5', 'test-ggplot.R:2:5', 'test-ggplot.R:21:5',
    'test-ggplot.R:54:5', 'test-ggplot.R:77:5', 'test-ggplot.R:96:5',
    'test-ggplot.R:164:5', 'test-layout-chain.R:37:5',
    'test-layout-chain.R:99:5', 'test-layout-chain.R:272:5',
    'test-layout-quad.R:67:5', 'test-layout-quad.R:200:5',
    'test-layout-quad.R:425:5', 'test-layout-stack.R:188:5',
    'test-plot-align.R:6:5', 'test-plot-align.R:47:5', 'test-plot-align.R:106:5',
    'test-plot-align.R:145:5', 'test-plot-align.R:182:5'
  • empty test (3): 'test-layout-chain.R:277:1', 'test-layout-chain.R:280:1',
    'test-layout-chain.R:284:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-alignpatch.R:29:5'): The grid can be controlled ────────────────
  Error in `get(name, envir = namespace, inherits = FALSE, mode = mode)`: object 'complete_theme' not found
  Backtrace:
       ▆
    1. ├─vdiffr::expect_doppelganger(...) at test-alignpatch.R:29:5
    2. │ └─vdiffr (local) writer(fig, testcase, title)
    3. │   ├─vdiffr:::print_plot(plot, title)
    4. │   └─vdiffr:::print_plot.default(plot, title)
    5. │     ├─base::print(p)
    6. │     └─ggalign:::print.alignpatches(p)
    7. │       ├─rlang::try_fetch(...)
    8. │       │ ├─base::tryCatch(...)
    9. │       │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   10. │       │ │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   11. │       │ │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   12. │       │ └─base::withCallingHandlers(...)
   13. │       ├─grid::grid.draw(x, ...)
   14. │       └─ggalign:::grid.draw.alignpatches(x, ...)
   15. │         ├─grid::grid.draw(ggalignGrob(x), recording = recording)
   16. │         └─ggalign::ggalignGrob(x)
   17. │           ├─ggalign:::ggalign_gtable(ggalign_build(x))
   18. │           └─ggalign:::ggalign_gtable.alignpatches(ggalign_build(x))
   19. │             └─ggalign:::complete_theme(theme)
   20. │               └─ggalign:::ggfun("complete_theme")
   21. │                 └─ggalign:::from_namespace("ggplot2", ..., mode = mode)
   22. │                   └─base::get(name, envir = namespace, inherits = FALSE, mode = mode)
   23. └─base::.handleSimpleError(...)
   24.   └─rlang (local) h(simpleError(msg, call))
   25.     └─handlers[[1L]](cnd)
   26.       └─rlang::cnd_signal(e)
  ── Failure ('test-alignpatch.R:113:5'): `ggsave()` works well ──────────────────
  Expected `ggplot2::ggsave(tempfile(fileext = ".png"), plot = p)` to run without any errors.
  i Actually got a <simpleError> with text:
    object 'complete_theme' not found
  ── Error ('test-alignpatch.R:117:5'): collect guides works well ────────────────
  Error in `get(name, envir = namespace, inherits = FALSE, mode = mode)`: object 'complete_theme' not found
  Backtrace:
       ▆
    1. ├─vdiffr::expect_doppelganger(...) at test-alignpatch.R:117:5
    2. │ └─vdiffr (local) writer(fig, testcase, title)
    3. │   ├─vdiffr:::print_plot(plot, title)
    4. │   └─vdiffr:::print_plot.default(plot, title)
    5. │     ├─base::print(p)
    6. │     └─ggalign:::print.alignpatches(p)
    7. │       ├─rlang::try_fetch(...)
    8. │       │ ├─base::tryCatch(...)
    9. │       │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   10. │       │ │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   11. │       │ │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   12. │       │ └─base::withCallingHandlers(...)
   13. │       ├─grid::grid.draw(x, ...)
   14. │       └─ggalign:::grid.draw.alignpatches(x, ...)
   15. │         ├─grid::grid.draw(ggalignGrob(x), recording = recording)
   16. │         └─ggalign::ggalignGrob(x)
   17. │           ├─ggalign:::ggalign_gtable(ggalign_build(x))
   18. │           └─ggalign:::ggalign_gtable.alignpatches(ggalign_build(x))
   19. │             └─ggalign:::complete_theme(theme)
   20. │               └─ggalign:::ggfun("complete_theme")
   21. │                 └─ggalign:::from_namespace("ggplot2", ..., mode = mode)
   22. │                   └─base::get(name, envir = namespace, inherits = FALSE, mode = mode)
   23. └─base::.handleSimpleError(...)
   24.   └─rlang (local) h(simpleError(msg, call))
   25.     └─handlers[[1L]](cnd)
   26.       └─rlang::cnd_signal(e)
  ── Error ('test-alignpatch.R:138:5'): Fixed aspect plots behave ────────────────
  Error in `get(name, envir = namespace, inherits = FALSE, mode = mode)`: object 'complete_theme' not found
  Backtrace:
       ▆
    1. ├─vdiffr::expect_doppelganger(...) at test-alignpatch.R:138:5
    2. │ └─vdiffr (local) writer(fig, testcase, title)
    3. │   ├─vdiffr:::print_plot(plot, title)
    4. │   └─vdiffr:::print_plot.default(plot, title)
    5. │     ├─base::print(p)
    6. │     └─ggalign:::print.alignpatches(p)
    7. │       ├─rlang::try_fetch(...)
    8. │       │ ├─base::tryCatch(...)
    9. │       │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   10. │       │ │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   11. │       │ │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   12. │       │ └─base::withCallingHandlers(...)
   13. │       ├─grid::grid.draw(x, ...)
   14. │       └─ggalign:::grid.draw.alignpatches(x, ...)
   15. │         ├─grid::grid.draw(ggalignGrob(x), recording = recording)
   16. │         └─ggalign::ggalignGrob(x)
   17. │           ├─ggalign:::ggalign_gtable(ggalign_build(x))
   18. │           └─ggalign:::ggalign_gtable.alignpatches(ggalign_build(x))
   19. │             └─ggalign:::complete_theme(theme)
   20. │               └─ggalign:::ggfun("complete_theme")
   21. │                 └─ggalign:::from_namespace("ggplot2", ..., mode = mode)
   22. │                   └─base::get(name, envir = namespace, inherits = FALSE, mode = mode)
   23. └─base::.handleSimpleError(...)
   24.   └─rlang (local) h(simpleError(msg, call))
   25.     └─handlers[[1L]](cnd)
   26.       └─rlang::cnd_signal(e)
  ── Error ('test-alignpatch.R:176:5'): `free_align()` works well ────────────────
  Error in `get(name, envir = namespace, inherits = FALSE, mode = mode)`: object 'complete_theme' not found
  Backtrace:
       ▆
    1. ├─vdiffr::expect_doppelganger(...) at test-alignpatch.R:176:5
    2. │ └─vdiffr (local) writer(fig, testcase, title)
    3. │   ├─vdiffr:::print_plot(plot, title)
    4. │   └─vdiffr:::print_plot.default(plot, title)
    5. │     ├─base::print(p)
    6. │     └─ggalign:::print.alignpatches(p)
    7. │       ├─rlang::try_fetch(...)
    8. │       │ ├─base::tryCatch(...)
    9. │       │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   10. │       │ │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   11. │       │ │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   12. │       │ └─base::withCallingHandlers(...)
   13. │       ├─grid::grid.draw(x, ...)
   14. │       └─ggalign:::grid.draw.alignpatches(x, ...)
   15. │         ├─grid::grid.draw(ggalignGrob(x), recording = recording)
   16. │         └─ggalign::ggalignGrob(x)
   17. │           ├─ggalign:::ggalign_gtable(ggalign_build(x))
   18. │           └─ggalign:::ggalign_gtable.alignpatches(ggalign_build(x))
   19. │             └─ggalign:::complete_theme(theme)
   20. │               └─ggalign:::ggfun("complete_theme")
   21. │                 └─ggalign:::from_namespace("ggplot2", ..., mode = mode)
   22. │                   └─base::get(name, envir = namespace, inherits = FALSE, mode = mode)
   23. └─base::.handleSimpleError(...)
   24.   └─rlang (local) h(simpleError(msg, call))
   25.     └─handlers[[1L]](cnd)
   26.       └─rlang::cnd_signal(e)
  ── Error ('test-alignpatch.R:194:5'): `free_border()` works well ───────────────
  Error in `get(name, envir = namespace, inherits = FALSE, mode = mode)`: object 'complete_theme' not found
  Backtrace:
       ▆
    1. ├─vdiffr::expect_doppelganger(...) at test-alignpatch.R:194:5
    2. │ └─vdiffr (local) writer(fig, testcase, title)
    3. │   ├─vdiffr:::print_plot(plot, title)
    4. │   └─vdiffr:::print_plot.default(plot, title)
    5. │     ├─base::print(p)
    6. │     └─ggalign:::print.alignpatches(p)
    7. │       ├─rlang::try_fetch(...)
    8. │       │ ├─base::tryCatch(...)
    9. │       │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   10. │       │ │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   11. │       │ │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   12. │       │ └─base::withCallingHandlers(...)
   13. │       ├─grid::grid.draw(x, ...)
   14. │       └─ggalign:::grid.draw.alignpatches(x, ...)
   15. │         ├─grid::grid.draw(ggalignGrob(x), recording = recording)
   16. │         └─ggalign::ggalignGrob(x)
   17. │           ├─ggalign:::ggalign_gtable(ggalign_build(x))
   18. │           └─ggalign:::ggalign_gtable.alignpatches(ggalign_build(x))
   19. │             └─ggalign:::complete_theme(theme)
   20. │               └─ggalign:::ggfun("complete_theme")
   21. │                 └─ggalign:::from_namespace("ggplot2", ..., mode = mode)
   22. │                   └─base::get(name, envir = namespace, inherits = FALSE, mode = mode)
   23. └─base::.handleSimpleError(...)
   24.   └─rlang (local) h(simpleError(msg, call))
   25.     └─handlers[[1L]](cnd)
   26.       └─rlang::cnd_signal(e)
  ── Error ('test-alignpatch.R:237:5'): `free_space()` works well ────────────────
  Error in `get(name, envir = namespace, inherits = FALSE, mode = mode)`: object 'complete_theme' not found
  Backtrace:
       ▆
    1. ├─vdiffr::expect_doppelganger(...) at test-alignpatch.R:237:5
    2. │ └─vdiffr (local) writer(fig, testcase, title)
    3. │   ├─vdiffr:::print_plot(plot, title)
    4. │   └─vdiffr:::print_plot.default(plot, title)
    5. │     ├─base::print(p)
    6. │     └─ggalign:::print.alignpatches(p)
    7. │       ├─rlang::try_fetch(...)
    8. │       │ ├─base::tryCatch(...)
    9. │       │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   10. │       │ │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   11. │       │ │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   12. │       │ └─base::withCallingHandlers(...)
   13. │       ├─grid::grid.draw(x, ...)
   14. │       └─ggalign:::grid.draw.alignpatches(x, ...)
   15. │         ├─grid::grid.draw(ggalignGrob(x), recording = recording)
   16. │         └─ggalign::ggalignGrob(x)
   17. │           ├─ggalign:::ggalign_gtable(ggalign_build(x))
   18. │           └─ggalign:::ggalign_gtable.alignpatches(ggalign_build(x))
   19. │             └─ggalign:::complete_theme(theme)
   20. │               └─ggalign:::ggfun("complete_theme")
   21. │                 └─ggalign:::from_namespace("ggplot2", ..., mode = mode)
   22. │                   └─base::get(name, envir = namespace, inherits = FALSE, mode = mode)
   23. └─base::.handleSimpleError(...)
   24.   └─rlang (local) h(simpleError(msg, call))
   25.     └─handlers[[1L]](cnd)
   26.       └─rlang::cnd_signal(e)
  ── Error ('test-alignpatch.R:278:5'): `free_guide()` works well ────────────────
  Error in `get(name, envir = namespace, inherits = FALSE, mode = mode)`: object 'complete_theme' not found
  Backtrace:
       ▆
    1. ├─vdiffr::expect_doppelganger(...) at test-alignpatch.R:278:5
    2. │ └─vdiffr (local) writer(fig, testcase, title)
    3. │   ├─vdiffr:::print_plot(plot, title)
    4. │   └─vdiffr:::print_plot.default(plot, title)
    5. │     ├─base::print(p)
    6. │     └─ggalign:::print.alignpatches(p)
    7. │       ├─rlang::try_fetch(...)
    8. │       │ ├─base::tryCatch(...)
    9. │       │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   10. │       │ │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   11. │       │ │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   12. │       │ └─base::withCallingHandlers(...)
   13. │       ├─grid::grid.draw(x, ...)
   14. │       └─ggalign:::grid.draw.alignpatches(x, ...)
   15. │         ├─grid::grid.draw(ggalignGrob(x), recording = recording)
   16. │         └─ggalign::ggalignGrob(x)
   17. │           ├─ggalign:::ggalign_gtable(ggalign_build(x))
   18. │           └─ggalign:::ggalign_gtable.alignpatches(ggalign_build(x))
   19. │             └─ggalign:::complete_theme(theme)
   20. │               └─ggalign:::ggfun("complete_theme")
   21. │                 └─ggalign:::from_namespace("ggplot2", ..., mode = mode)
   22. │                   └─base::get(name, envir = namespace, inherits = FALSE, mode = mode)
   23. └─base::.handleSimpleError(...)
   24.   └─rlang (local) h(simpleError(msg, call))
   25.     └─handlers[[1L]](cnd)
   26.       └─rlang::cnd_signal(e)
  ── Error ('test-ggplot.R:185:5'): `facet_sector()` works well ──────────────────
  <tibble_error_column_names_cannot_be_empty/tibble_error/rlang_error/error/condition>
  Error in `tibble::as_tibble(vars)`: Column 1 must be named.
  Use `.name_repair` to specify repair.
  Caused by error in `repaired_names()`:
  ! Names can't be empty.
  x Empty name found at location 1.
  ── Error ('test-layout-heatmap.R:16:5'): `ggheatmap` works well ────────────────
  Error in `get(name, envir = namespace, inherits = FALSE, mode = mode)`: object 'complete_theme' not found
  Backtrace:
       ▆
    1. ├─vdiffr::expect_doppelganger("heatmap-numeric", ggheatmap(1:10)) at test-layout-heatmap.R:16:5
    2. │ └─vdiffr (local) writer(fig, testcase, title)
    3. │   ├─vdiffr:::print_plot(plot, title)
    4. │   └─vdiffr:::print_plot.default(plot, title)
    5. │     ├─base::print(p)
    6. │     └─ggalign:::print.LayoutProto(p)
    7. │       ├─rlang::try_fetch(...)
    8. │       │ ├─base::tryCatch(...)
    9. │       │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   10. │       │ │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   11. │       │ │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   12. │       │ └─base::withCallingHandlers(...)
   13. │       ├─grid::grid.draw(x, ...)
   14. │       └─ggalign:::grid.draw.LayoutProto(x, ...)
   15. │         ├─grid::grid.draw(ggalignGrob(x), recording = recording)
   16. │         └─ggalign::ggalignGrob(x)
   17. │           ├─ggalign:::ggalign_gtable(ggalign_build(x))
   18. │           ├─ggalign:::ggalign_build(x)
   19. │           └─ggalign:::ggalign_build.QuadLayout(x)
   20. │             └─ggalign:::default_layout(x)
   21. │               └─ggalign:::complete_theme(default_theme() + layout@theme)
   22. │                 └─ggalign:::ggfun("complete_theme")
   23. │                   └─ggalign:::from_namespace("ggplot2", ..., mode = mode)
   24. │                     └─base::get(name, envir = namespace, inherits = FALSE, mode = mode)
   25. └─base::.handleSimpleError(...)
   26.   └─rlang (local) h(simpleError(msg, call))
   27.     └─handlers[[1L]](cnd)
   28.       └─rlang::cnd_signal(e)
  ── Error ('test-layout-heatmap.R:28:5'): `ggheatmap` add `quad_switch()` works well ──
  Error in `get(name, envir = namespace, inherits = FALSE, mode = mode)`: object 'complete_theme' not found
  Backtrace:
       ▆
    1. ├─vdiffr::expect_doppelganger(...) at test-layout-heatmap.R:28:5
    2. │ └─vdiffr (local) writer(fig, testcase, title)
    3. │   ├─vdiffr:::print_plot(plot, title)
    4. │   └─vdiffr:::print_plot.default(plot, title)
    5. │     ├─base::print(p)
    6. │     └─ggalign:::print.LayoutProto(p)
    7. │       ├─rlang::try_fetch(...)
    8. │       │ ├─base::tryCatch(...)
    9. │       │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   10. │       │ │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   11. │       │ │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   12. │       │ └─base::withCallingHandlers(...)
   13. │       ├─grid::grid.draw(x, ...)
   14. │       └─ggalign:::grid.draw.LayoutProto(x, ...)
   15. │         ├─grid::grid.draw(ggalignGrob(x), recording = recording)
   16. │         └─ggalign::ggalignGrob(x)
   17. │           ├─ggalign:::ggalign_gtable(ggalign_build(x))
   18. │           ├─ggalign:::ggalign_build(x)
   19. │           └─ggalign:::ggalign_build.QuadLayout(x)
   20. │             └─ggalign:::default_layout(x)
   21. │               └─ggalign:::complete_theme(default_theme() + layout@theme)
   22. │                 └─ggalign:::ggfun("complete_theme")
   23. │                   └─ggalign:::from_namespace("ggplot2", ..., mode = mode)
   24. │                     └─base::get(name, envir = namespace, inherits = FALSE, mode = mode)
   25. └─base::.handleSimpleError(...)
   26.   └─rlang (local) h(simpleError(msg, call))
   27.     └─handlers[[1L]](cnd)
   28.       └─rlang::cnd_signal(e)
  ── Error ('test-layout-heatmap.R:69:5'): `ggoncoplot` works well ───────────────
  Error in `get(name, envir = namespace, inherits = FALSE, mode = mode)`: object 'complete_theme' not found
  Backtrace:
       ▆
    1. ├─vdiffr::expect_doppelganger(...) at test-layout-heatmap.R:69:5
    2. │ └─vdiffr (local) writer(fig, testcase, title)
    3. │   ├─vdiffr:::print_plot(plot, title)
    4. │   └─vdiffr:::print_plot.default(plot, title)
    5. │     ├─base::print(p)
    6. │     └─ggalign:::print.LayoutProto(p)
    7. │       ├─rlang::try_fetch(...)
    8. │       │ ├─base::tryCatch(...)
    9. │       │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   10. │       │ │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   11. │       │ │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   12. │       │ └─base::withCallingHandlers(...)
   13. │       ├─grid::grid.draw(x, ...)
   14. │       └─ggalign:::grid.draw.LayoutProto(x, ...)
   15. │         ├─grid::grid.draw(ggalignGrob(x), recording = recording)
   16. │         └─ggalign::ggalignGrob(x)
   17. │           ├─ggalign:::ggalign_gtable(ggalign_build(x))
   18. │           ├─ggalign:::ggalign_build(x)
   19. │           └─ggalign:::ggalign_build.QuadLayout(x)
   20. │             └─ggalign:::default_layout(x)
   21. │               └─ggalign:::complete_theme(default_theme() + layout@theme)
   22. │                 └─ggalign:::ggfun("complete_theme")
   23. │                   └─ggalign:::from_namespace("ggplot2", ..., mode = mode)
   24. │                     └─base::get(name, envir = namespace, inherits = FALSE, mode = mode)
   25. └─base::.handleSimpleError(...)
   26.   └─rlang (local) h(simpleError(msg, call))
   27.     └─handlers[[1L]](cnd)
   28.       └─rlang::cnd_signal(e)
  ── Error ('test-layout-heatmap.R:101:5'): `breaks` of `scale_*_()` works well ──
  Error in `get(name, envir = namespace, inherits = FALSE, mode = mode)`: object 'complete_theme' not found
  Backtrace:
       ▆
    1. ├─vdiffr::expect_doppelganger(...) at test-layout-heatmap.R:101:5
    2. │ └─vdiffr (local) writer(fig, testcase, title)
    3. │   ├─vdiffr:::print_plot(plot, title)
    4. │   └─vdiffr:::print_plot.default(plot, title)
    5. │     ├─base::print(p)
    6. │     └─ggalign:::print.LayoutProto(p)
    7. │       ├─rlang::try_fetch(...)
    8. │       │ ├─base::tryCatch(...)
    9. │       │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   10. │       │ │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   11. │       │ │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   12. │       │ └─base::withCallingHandlers(...)
   13. │       ├─grid::grid.draw(x, ...)
   14. │       └─ggalign:::grid.draw.LayoutProto(x, ...)
   15. │         ├─grid::grid.draw(ggalignGrob(x), recording = recording)
   16. │         └─ggalign::ggalignGrob(x)
   17. │           ├─ggalign:::ggalign_gtable(ggalign_build(x))
   18. │           ├─ggalign:::ggalign_build(x)
   19. │           └─ggalign:::ggalign_build.QuadLayout(x)
   20. │             └─ggalign:::default_layout(x)
   21. │               └─ggalign:::complete_theme(default_theme() + layout@theme)
   22. │                 └─ggalign:::ggfun("complete_theme")
   23. │                   └─ggalign:::from_namespace("ggplot2", ..., mode = mode)
   24. │                     └─base::get(name, envir = namespace, inherits = FALSE, mode = mode)
   25. └─base::.handleSimpleError(...)
   26.   └─rlang (local) h(simpleError(msg, call))
   27.     └─handlers[[1L]](cnd)
   28.       └─rlang::cnd_signal(e)
  ── Error ('test-layout-heatmap.R:179:5'): `labels` of `scale_*_()` works well ──
  Error in `get(name, envir = namespace, inherits = FALSE, mode = mode)`: object 'complete_theme' not found
  Backtrace:
       ▆
    1. ├─vdiffr::expect_doppelganger(...) at test-layout-heatmap.R:179:5
    2. │ └─vdiffr (local) writer(fig, testcase, title)
    3. │   ├─vdiffr:::print_plot(plot, title)
    4. │   └─vdiffr:::print_plot.default(plot, title)
    5. │     ├─base::print(p)
    6. │     └─ggalign:::print.LayoutProto(p)
    7. │       ├─rlang::try_fetch(...)
    8. │       │ ├─base::tryCatch(...)
    9. │       │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   10. │       │ │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   11. │       │ │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   12. │       │ └─base::withCallingHandlers(...)
   13. │       ├─grid::grid.draw(x, ...)
   14. │       └─ggalign:::grid.draw.LayoutProto(x, ...)
   15. │         ├─grid::grid.draw(ggalignGrob(x), recording = recording)
   16. │         └─ggalign::ggalignGrob(x)
   17. │           ├─ggalign:::ggalign_gtable(ggalign_build(x))
   18. │           ├─ggalign:::ggalign_build(x)
   19. │           └─ggalign:::ggalign_build.QuadLayout(x)
   20. │             └─ggalign:::default_layout(x)
   21. │               └─ggalign:::complete_theme(default_theme() + layout@theme)
   22. │                 └─ggalign:::ggfun("complete_theme")
   23. │                   └─ggalign:::from_namespace("ggplot2", ..., mode = mode)
   24. │                     └─base::get(name, envir = namespace, inherits = FALSE, mode = mode)
   25. └─base::.handleSimpleError(...)
   26.   └─rlang (local) h(simpleError(msg, call))
   27.     └─handlers[[1L]](cnd)
   28.       └─rlang::cnd_signal(e)
  ── Error ('test-layout-quad.R:2:5'): add `layout_annotation()` works well ──────
  Error in `get(name, envir = namespace, inherits = FALSE, mode = mode)`: object 'complete_theme' not found
  Backtrace:
       ▆
    1. ├─vdiffr::expect_doppelganger(...) at test-layout-quad.R:2:5
    2. │ └─vdiffr (local) writer(fig, testcase, title)
    3. │   ├─vdiffr:::print_plot(plot, title)
    4. │   └─vdiffr:::print_plot.default(plot, title)
    5. │     ├─base::print(p)
    6. │     └─ggalign:::print.LayoutProto(p)
    7. │       ├─rlang::try_fetch(...)
    8. │       │ ├─base::tryCatch(...)
    9. │       │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   10. │       │ │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   11. │       │ │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   12. │       │ └─base::withCallingHandlers(...)
   13. │       ├─grid::grid.draw(x, ...)
   14. │       └─ggalign:::grid.draw.LayoutProto(x, ...)
   15. │         ├─grid::grid.draw(ggalignGrob(x), recording = recording)
   16. │         └─ggalign::ggalignGrob(x)
   17. │           ├─ggalign:::ggalign_gtable(ggalign_build(x))
   18. │           ├─ggalign:::ggalign_build(x)
   19. │           └─ggalign:::ggalign_build.QuadLayout(x)
   20. │             └─ggalign:::default_layout(x)
   21. │               └─ggalign:::complete_theme(default_theme() + layout@theme)
   22. │                 └─ggalign:::ggfun("complete_theme")
   23. │                   └─ggalign:::from_namespace("ggplot2", ..., mode = mode)
   24. │                     └─base::get(name, envir = namespace, inherits = FALSE, mode = mode)
   25. └─base::.handleSimpleError(...)
   26.   └─rlang (local) h(simpleError(msg, call))
   27.     └─handlers[[1L]](cnd)
   28.       └─rlang::cnd_signal(e)
  ── Error ('test-layout-quad.R:12:5'): add `layout_title()` works well ──────────
  Error in `get(name, envir = namespace, inherits = FALSE, mode = mode)`: object 'complete_theme' not found
  Backtrace:
       ▆
    1. ├─vdiffr::expect_doppelganger(...) at test-layout-quad.R:12:5
    2. │ └─vdiffr (local) writer(fig, testcase, title)
    3. │   ├─vdiffr:::print_plot(plot, title)
    4. │   └─vdiffr:::print_plot.default(plot, title)
    5. │     ├─base::print(p)
    6. │     └─ggalign:::print.LayoutProto(p)
    7. │       ├─rlang::try_fetch(...)
    8. │       │ ├─base::tryCatch(...)
    9. │       │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   10. │       │ │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   11. │       │ │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   12. │       │ └─base::withCallingHandlers(...)
   13. │       ├─grid::grid.draw(x, ...)
   14. │       └─ggalign:::grid.draw.LayoutProto(x, ...)
   15. │         ├─grid::grid.draw(ggalignGrob(x), recording = recording)
   16. │         └─ggalign::ggalignGrob(x)
   17. │           ├─ggalign:::ggalign_gtable(ggalign_build(x))
   18. │           ├─ggalign:::ggalign_build(x)
   19. │           └─ggalign:::ggalign_build.QuadLayout(x)
   20. │             └─ggalign:::default_layout(x)
   21. │               └─ggalign:::complete_theme(default_theme() + layout@theme)
   22. │                 └─ggalign:::ggfun("complete_theme")
   23. │                   └─ggalign:::from_namespace("ggplot2", ..., mode = mode)
   24. │                     └─base::get(name, envir = namespace, inherits = FALSE, mode = mode)
   25. └─base::.handleSimpleError(...)
   26.   └─rlang (local) h(simpleError(msg, call))
   27.     └─handlers[[1L]](cnd)
   28.       └─rlang::cnd_signal(e)
  ── Error ('test-layout-quad.R:109:5'): add `align` object builds well ──────────
  Error in `get(name, envir = namespace, inherits = FALSE, mode = mode)`: object 'complete_theme' not found
  Backtrace:
       ▆
    1. ├─vdiffr::expect_doppelganger(...) at test-layout-quad.R:109:5
    2. │ └─vdiffr (local) writer(fig, testcase, title)
    3. │   ├─vdiffr:::print_plot(plot, title)
    4. │   └─vdiffr:::print_plot.default(plot, title)
    5. │     ├─base::print(p)
    6. │     └─ggalign:::print.LayoutProto(p)
    7. │       ├─rlang::try_fetch(...)
    8. │       │ ├─base::tryCatch(...)
    9. │       │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   10. │       │ │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   11. │       │ │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   12. │       │ └─base::withCallingHandlers(...)
   13. │       ├─grid::grid.draw(x, ...)
   14. │       └─ggalign:::grid.draw.LayoutProto(x, ...)
   15. │         ├─grid::grid.draw(ggalignGrob(x), recording = recording)
   16. │         └─ggalign::ggalignGrob(x)
   17. │           ├─ggalign:::ggalign_gtable(ggalign_build(x))
   18. │           ├─ggalign:::ggalign_build(x)
   19. │           └─ggalign:::ggalign_build.QuadLayout(x)
   20. │             └─ggalign:::default_layout(x)
   21. │               └─ggalign:::complete_theme(default_theme() + layout@theme)
   22. │                 └─ggalign:::ggfun("complete_theme")
   23. │                   └─ggalign:::from_namespace("ggplot2", ..., mode = mode)
   24. │                     └─base::get(name, envir = namespace, inherits = FALSE, mode = mode)
   25. └─base::.handleSimpleError(...)
   26.   └─rlang (local) h(simpleError(msg, call))
   27.     └─handlers[[1L]](cnd)
   28.       └─rlang::cnd_signal(e)
  ── Error ('test-layout-quad.R:138:5'): add `with_quad()` works as expected ─────
  Error in `get(name, envir = namespace, inherits = FALSE, mode = mode)`: object 'complete_theme' not found
  Backtrace:
       ▆
    1. ├─vdiffr::expect_doppelganger(...) at test-layout-quad.R:138:5
    2. │ └─vdiffr (local) writer(fig, testcase, title)
    3. │   ├─vdiffr:::print_plot(plot, title)
    4. │   └─vdiffr:::print_plot.default(plot, title)
    5. │     ├─base::print(p)
    6. │     └─ggalign:::print.LayoutProto(p)
    7. │       ├─rlang::try_fetch(...)
    8. │       │ ├─base::tryCatch(...)
    9. │       │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   10. │       │ │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   11. │       │ │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   12. │       │ └─base::withCallingHandlers(...)
   13. │       ├─grid::grid.draw(x, ...)
   14. │       └─ggalign:::grid.draw.LayoutProto(x, ...)
   15. │         ├─grid::grid.draw(ggalignGrob(x), recording = recording)
   16. │         └─ggalign::ggalignGrob(x)
   17. │           ├─ggalign:::ggalign_gtable(ggalign_build(x))
   18. │           ├─ggalign:::ggalign_build(x)
   19. │           └─ggalign:::ggalign_build.QuadLayout(x)
   20. │             └─ggalign:::default_layout(x)
   21. │               └─ggalign:::complete_theme(default_theme() + layout@theme)
   22. │                 └─ggalign:::ggfun("complete_theme")
   23. │                   └─ggalign:::from_namespace("ggplot2", ..., mode = mode)
   24. │                     └─base::get(name, envir = namespace, inherits = FALSE, mode = mode)
   25. └─base::.handleSimpleError(...)
   26.   └─rlang (local) h(simpleError(msg, call))
   27.     └─handlers[[1L]](cnd)
   28.       └─rlang::cnd_signal(e)
  ── Error ('test-layout-quad.R:331:5'): add `stack_layout()` builds well ────────
  Error in `get(name, envir = namespace, inherits = FALSE, mode = mode)`: object 'complete_theme' not found
  Backtrace:
       ▆
    1. ├─vdiffr::expect_doppelganger(...) at test-layout-quad.R:331:5
    2. │ └─vdiffr (local) writer(fig, testcase, title)
    3. │   ├─vdiffr:::print_plot(plot, title)
    4. │   └─vdiffr:::print_plot.default(plot, title)
    5. │     ├─base::print(p)
    6. │     └─ggalign:::print.LayoutProto(p)
    7. │       ├─rlang::try_fetch(...)
    8. │       │ ├─base::tryCatch(...)
    9. │       │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   10. │       │ │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   11. │       │ │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   12. │       │ └─base::withCallingHandlers(...)
   13. │       ├─grid::grid.draw(x, ...)
   14. │       └─ggalign:::grid.draw.LayoutProto(x, ...)
   15. │         ├─grid::grid.draw(ggalignGrob(x), recording = recording)
   16. │         └─ggalign::ggalignGrob(x)
   17. │           ├─ggalign:::ggalign_gtable(ggalign_build(x))
   18. │           ├─ggalign:::ggalign_build(x)
   19. │           └─ggalign:::ggalign_build.QuadLayout(x)
   20. │             └─ggalign:::default_layout(x)
   21. │               └─ggalign:::complete_theme(default_theme() + layout@theme)
   22. │                 └─ggalign:::ggfun("complete_theme")
   23. │                   └─ggalign:::from_namespace("ggplot2", ..., mode = mode)
   24. │                     └─base::get(name, envir = namespace, inherits = FALSE, mode = mode)
   25. └─base::.handleSimpleError(...)
   26.   └─rlang (local) h(simpleError(msg, call))
   27.     └─handlers[[1L]](cnd)
   28.       └─rlang::cnd_signal(e)
  ── Failure ('test-layout-quad.R:520:5'): `ggsave()` works well ─────────────────
  Expected `ggplot2::ggsave(tempfile(fileext = ".png"), plot = p)` to run without any errors.
  i Actually got a <simpleError> with text:
    object 'complete_theme' not found
  ── Error ('test-layout-stack.R:55:5'): `stack_align` add `align-` object builds well ──
  Error in `get(name, envir = namespace, inherits = FALSE, mode = mode)`: object 'complete_theme' not found
  Backtrace:
       ▆
    1. ├─vdiffr::expect_doppelganger(...) at test-layout-stack.R:55:5
    2. │ └─vdiffr (local) writer(fig, testcase, title)
    3. │   ├─vdiffr:::print_plot(plot, title)
    4. │   └─vdiffr:::print_plot.default(plot, title)
    5. │     ├─base::print(p)
    6. │     └─ggalign:::print.LayoutProto(p)
    7. │       ├─rlang::try_fetch(...)
    8. │       │ ├─base::tryCatch(...)
    9. │       │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   10. │       │ │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   11. │       │ │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   12. │       │ └─base::withCallingHandlers(...)
   13. │       ├─grid::grid.draw(x, ...)
   14. │       └─ggalign:::grid.draw.LayoutProto(x, ...)
   15. │         ├─grid::grid.draw(ggalignGrob(x), recording = recording)
   16. │         └─ggalign::ggalignGrob(x)
   17. │           ├─ggalign:::ggalign_gtable(ggalign_build(x))
   18. │           ├─ggalign:::ggalign_build(x)
   19. │           └─ggalign:::ggalign_build.StackLayout(x)
   20. │             └─ggalign:::default_layout(x)
   21. │               └─ggalign:::complete_theme(default_theme() + layout@theme)
   22. │                 └─ggalign:::ggfun("complete_theme")
   23. │                   └─ggalign:::from_namespace("ggplot2", ..., mode = mode)
   24. │                     └─base::get(name, envir = namespace, inherits = FALSE, mode = mode)
   25. └─base::.handleSimpleError(...)
   26.   └─rlang (local) h(simpleError(msg, call))
   27.     └─handlers[[1L]](cnd)
   28.       └─rlang::cnd_signal(e)
  ── Error ('test-layout-stack.R:85:5'): `stack_align` add `quad_layout()` object builds well ──
  Error in `get(name, envir = namespace, inherits = FALSE, mode = mode)`: object 'complete_theme' not found
  Backtrace:
       ▆
    1. ├─vdiffr::expect_doppelganger(...) at test-layout-stack.R:85:5
    2. │ └─vdiffr (local) writer(fig, testcase, title)
    3. │   ├─vdiffr:::print_plot(plot, title)
    4. │   └─vdiffr:::print_plot.default(plot, title)
    5. │     ├─base::print(p)
    6. │     └─ggalign:::print.LayoutProto(p)
    7. │       ├─rlang::try_fetch(...)
    8. │       │ ├─base::tryCatch(...)
    9. │       │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   10. │       │ │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   11. │       │ │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   12. │       │ └─base::withCallingHandlers(...)
   13. │       ├─grid::grid.draw(x, ...)
   14. │       └─ggalign:::grid.draw.LayoutProto(x, ...)
   15. │         ├─grid::grid.draw(ggalignGrob(x), recording = recording)
   16. │         └─ggalign::ggalignGrob(x)
   17. │           ├─ggalign:::ggalign_gtable(ggalign_build(x))
   18. │           ├─ggalign:::ggalign_build(x)
   19. │           └─ggalign:::ggalign_build.StackLayout(x)
   20. │             └─ggalign:::default_layout(x)
   21. │               └─ggalign:::complete_theme(default_theme() + layout@theme)
   22. │                 └─ggalign:::ggfun("complete_theme")
   23. │                   └─ggalign:::from_namespace("ggplot2", ..., mode = mode)
   24. │                     └─base::get(name, envir = namespace, inherits = FALSE, mode = mode)
   25. └─base::.handleSimpleError(...)
   26.   └─rlang (local) h(simpleError(msg, call))
   27.     └─handlers[[1L]](cnd)
   28.       └─rlang::cnd_signal(e)
  ── Error ('test-layout-stack.R:130:5'): add `with_quad()` works as expected ────
  Error in `get(name, envir = namespace, inherits = FALSE, mode = mode)`: object 'complete_theme' not found
  Backtrace:
       ▆
    1. ├─vdiffr::expect_doppelganger(...) at test-layout-stack.R:130:5
    2. │ └─vdiffr (local) writer(fig, testcase, title)
    3. │   ├─vdiffr:::print_plot(plot, title)
    4. │   └─vdiffr:::print_plot.default(plot, title)
    5. │     ├─base::print(p)
    6. │     └─ggalign:::print.LayoutProto(p)
    7. │       ├─rlang::try_fetch(...)
    8. │       │ ├─base::tryCatch(...)
    9. │       │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   10. │       │ │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   11. │       │ │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   12. │       │ └─base::withCallingHandlers(...)
   13. │       ├─grid::grid.draw(x, ...)
   14. │       └─ggalign:::grid.draw.LayoutProto(x, ...)
   15. │         ├─grid::grid.draw(ggalignGrob(x), recording = recording)
   16. │         └─ggalign::ggalignGrob(x)
   17. │           ├─ggalign:::ggalign_gtable(ggalign_build(x))
   18. │           ├─ggalign:::ggalign_build(x)
   19. │           └─ggalign:::ggalign_build.StackLayout(x)
   20. │             └─ggalign:::default_layout(x)
   21. │               └─ggalign:::complete_theme(default_theme() + layout@theme)
   22. │                 └─ggalign:::ggfun("complete_theme")
   23. │                   └─ggalign:::from_namespace("ggplot2", ..., mode = mode)
   24. │                     └─base::get(name, envir = namespace, inherits = FALSE, mode = mode)
   25. └─base::.handleSimpleError(...)
   26.   └─rlang (local) h(simpleError(msg, call))
   27.     └─handlers[[1L]](cnd)
   28.       └─rlang::cnd_signal(e)
  ── Failure ('test-layout-stack.R:200:5'): `ggsave()` works well ────────────────
  Expected `ggplot2::ggsave(tempfile(fileext = ".png"), plot = p)` to run without any errors.
  i Actually got a <simpleError> with text:
    object 'complete_theme' not found
  ── Error ('test-layout-stack.R:208:5'): `stack_align` add `quad_switch()` works well ──
  Error in `get(name, envir = namespace, inherits = FALSE, mode = mode)`: object 'complete_theme' not found
  Backtrace:
       ▆
    1. ├─vdiffr::expect_doppelganger(...) at test-layout-stack.R:208:5
    2. │ └─vdiffr (local) writer(fig, testcase, title)
    3. │   ├─vdiffr:::print_plot(plot, title)
    4. │   └─vdiffr:::print_plot.default(plot, title)
    5. │     ├─base::print(p)
    6. │     └─ggalign:::print.LayoutProto(p)
    7. │       ├─rlang::try_fetch(...)
    8. │       │ ├─base::tryCatch(...)
    9. │       │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   10. │       │ │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   11. │       │ │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   12. │       │ └─base::withCallingHandlers(...)
   13. │       ├─grid::grid.draw(x, ...)
   14. │       └─ggalign:::grid.draw.LayoutProto(x, ...)
   15. │         ├─grid::grid.draw(ggalignGrob(x), recording = recording)
   16. │         └─ggalign::ggalignGrob(x)
   17. │           ├─ggalign:::ggalign_gtable(ggalign_build(x))
   18. │           ├─ggalign:::ggalign_build(x)
   19. │           └─ggalign:::ggalign_build.StackLayout(x)
   20. │             └─ggalign:::default_layout(x)
   21. │               └─ggalign:::complete_theme(default_theme() + layout@theme)
   22. │                 └─ggalign:::ggfun("complete_theme")
   23. │                   └─ggalign:::from_namespace("ggplot2", ..., mode = mode)
   24. │                     └─base::get(name, envir = namespace, inherits = FALSE, mode = mode)
   25. └─base::.handleSimpleError(...)
   26.   └─rlang (local) h(simpleError(msg, call))
   27.     └─handlers[[1L]](cnd)
   28.       └─rlang::cnd_signal(e)
  ── Error ('test-plot-align.R:274:9'): `ggalign()` works well ───────────────────
  Error in `get(name, envir = namespace, inherits = FALSE, mode = mode)`: object 'complete_theme' not found
  Backtrace:
       ▆
    1. ├─testthat::expect_snapshot_warning(...) at test-plot-align.R:272:5
    2. │ └─testthat:::expect_snapshot_condition(...)
    3. │   ├─testthat:::with_is_snapshotting(...)
    4. │   └─testthat:::capture_matching_condition(x, cnd_matcher(class))
    5. │     └─base::withCallingHandlers(...)
    6. ├─base::print(...) at test-plot-align.R:274:9
    7. ├─ggalign:::print.LayoutProto(...)
    8. │ ├─rlang::try_fetch(...)
    9. │ │ ├─base::tryCatch(...)
   10. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   11. │ │ │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   12. │ │ │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   13. │ │ └─base::withCallingHandlers(...)
   14. │ ├─grid::grid.draw(x, ...)
   15. │ └─ggalign:::grid.draw.LayoutProto(x, ...)
   16. │   ├─grid::grid.draw(ggalignGrob(x), recording = recording)
   17. │   └─ggalign::ggalignGrob(x)
   18. │     ├─ggalign:::ggalign_gtable(ggalign_build(x))
   19. │     ├─ggalign:::ggalign_build(x)
   20. │     └─ggalign:::ggalign_build.QuadLayout(x)
   21. │       └─ggalign:::default_layout(x)
   22. │         └─ggalign:::complete_theme(default_theme() + layout@theme)
   23. │           └─ggalign:::ggfun("complete_theme")
   24. │             └─ggalign:::from_namespace("ggplot2", ..., mode = mode)
   25. │               └─base::get(name, envir = namespace, inherits = FALSE, mode = mode)
   26. └─base::.handleSimpleError(...)
   27.   └─rlang (local) h(simpleError(msg, call))
   28.     └─handlers[[1L]](cnd)
   29.       └─rlang::cnd_signal(e)
  
  [ FAIL 26 | WARN 1 | SKIP 22 | PASS 78 ]
  Deleting unused snapshots:
  • alignpatch/background-and-panel-border.svg
  • alignpatch/collect-guides-from-multiple-plots-with-null-unit.svg
  • alignpatch/collect-guides-with-null-unit.svg
  • alignpatch/far-dimensions-can-be-set-with-units.svg
  • alignpatch/far-legend-justification.svg
  • alignpatch/far-optimise-space-by-default-2.svg
  • alignpatch/far-optimise-space-by-default-3.svg
  • alignpatch/far-optimise-space-by-default-4.svg
  • alignpatch/far-optimise-space-by-default-5.svg
  • alignpatch/far-space-optimisation-can-be-turned-off.svg
  • alignpatch/free-align-with-facet-ggplot.svg
  • alignpatch/free-align-with-far.svg
  • alignpatch/free-align-with-nested-alignpatches.svg
  • alignpatch/free-border-mix-with-free-align.svg
  • alignpatch/free-border-with-facet-ggplot.svg
  • alignpatch/free-border-with-far.svg
  • alignpatch/free-border-with-nested-alignpatches.svg
  • alignpatch/free-guide-with-alignpatches.svg
  • alignpatch/free-space-with-alignpatches.svg
  • alignpatch/patch-titles-theme.svg
  • alignpatch/patch-titles.svg
  • alignpatch/setting-heights-as-units.svg
  • alignpatch/setting-heights.svg
  • alignpatch/setting-nrow.svg
  • alignpatch/setting-title.svg
  • alignpatch/setting-widths-as-units.svg
  • alignpatch/setting-widths.svg
  • ggplot/coord-circle-inner-radius-and-outer-radius.svg
  • ggplot/coord-circle-start-and-end.svg
  • ggplot/facet-sector-spacing-theta-rel.svg
  • ggplot/geom-gshape-order.svg
  • ggplot/geom-gshape.svg
  • ggplot/geom-pie-angle0.svg
  • ggplot/geom-pie-no-clockwise.svg
  • ggplot/geom-subrect-by-column.svg
  • ggplot/geom-subrect-horizontal.svg
  • ggplot/geom-subrect-vertical.svg
  • ggplot/geom-subtile-by-column.svg
  • ggplot/geom-subtile-horizontal.svg
  • ggplot/geom-subtile-vertical.svg
  • ggplot/layer-order-add-in-the-beginning.svg
  • ggplot/layer-order-add-in-the-end.svg
  • layout-heatmap/continuous-character-breaks.svg
  • layout-heatmap/continuous-integer-as-is-breaks.svg
  • layout-heatmap/continuous-integer-breaks.svg
  • layout-heatmap/continuous-labels-as-is-match-breaks.svg
  • layout-heatmap/continuous-labels-as-is.svg
  • layout-heatmap/continuous-labels-match-breaks.svg
  • layout-heatmap/continuous-labels.svg
  • layout-heatmap/continuous-no-breaks.svg
  • layout-heatmap/discrete-character-breaks.svg
  • layout-heatmap/discrete-integer-as-is-breaks.svg
  • layout-heatmap/discrete-integer-breaks.svg
  • layout-heatmap/discrete-labels-as-is-match-breaks.svg
  • layout-heatmap/discrete-labels-as-is.svg
  • layout-heatmap/discrete-labels-match-breaks.svg
  • layout-heatmap/discrete-labels.svg
  • layout-heatmap/discrete-no-breaks.svg
  • layout-heatmap/discrete-no-labels.svg
  • layout-heatmap/heatmap-character.svg
  • layout-heatmap/heatmap-data-frame.svg
  • layout-heatmap/heatmap-hmanno-align-action-guides.svg
  • layout-heatmap/heatmap-hmanno-height.svg
  • layout-heatmap/heatmap-hmanno-null-guides.svg
  • layout-heatmap/heatmap-hmanno-stack-action-guides.svg
  • layout-heatmap/heatmap-matrix.svg
  • layout-heatmap/heatmap-numeric-to-factor.svg
  • layout-heatmap/oncoplot-with-annotation.svg
  • layout-quad/add-with-quad-set-position-null.svg
  • layout-quad/alignv-layout-annotation.svg
  • layout-quad/quad-alignb-release-spaces-works-well.svg
  • layout-quad/quad-alignv-add-stack-alignv-in-the-top.svg
  • layout-quad/subtract-with-quad-default.svg
  • layout-quad/subtract-with-quad-set-position-null.svg
  • layout-quad/subtract-with-quad-set-position.svg
  • layout-stack/stack-align-add-align-dendro-k-3.svg
  • layout-stack/stack-align-add-align-kmeans.svg
  • layout-stack/stack-align-add-ggalign.svg
  • layout-stack/stack-alignh-add-ggheatmap-with-name-as-mapping.svg
  • layout-stack/stack-alignh-add-ggheatmap.svg
  • layout-stack/stack-alignh-add-quad-alignb.svg
  • layout-stack/stack-alignv-add-ggheatmap-with-name-as-mapping.svg
  • layout-stack/stack-alignv-add-ggheatmap.svg
  • layout-stack/stack-alignv-add-quad-alignb.svg
  • layout-stack/stack-alignv-add-quad-alignv.svg
  • layout-stack/stack-with-absolute-size-1.svg
  • layout-stack/stack-with-absolute-size-2.svg
  • layout-stack/stack-with-mix-absolute-and-null-size-1.svg
  • layout-stack/stack-with-mix-absolute-and-null-size-2.svg
  • layout-stack/subtract-with-quad-set-position-null.svg
  • layout-stack/subtract-with-quad-set-position.svg
  • plot-align/dendro-between-group.svg
  • plot-align/dendro-cutree.svg
  • plot-align/dendro-merge-group.svg
  • plot-align/dendro-reorder-and-merge-group.svg
  • plot-align/dendro-reorder-dendro-and-cutree.svg
  • plot-align/dendro-reorder-dendro-in-and-between-group-and-merge.svg
  • plot-align/dendro-reorder-dendro-in-and-between-group.svg
  • plot-align/dendro-reorder-dendro-in-group-and-merge-group.svg
  • plot-align/dendro-reorder-dendro.svg
  • plot-align/dendro-reorder-group.svg
  • plot-align/dendrogram-bottom.svg
  • plot-align/dendrogram-left.svg
  • plot-align/dendrogram-right.svg
  • plot-align/dendrogram-top.svg
  • plot-align/ggalign-set-size.svg
  • plot-align/ggalign.svg
  • plot-align/group-bottom.svg
  • plot-align/group-left.svg
  • plot-align/group-right.svg
  • plot-align/group-top.svg
  • plot-align/heatmap-no-data-dendrogram-input.svg
  • plot-align/heatmap-no-data-hclust-input.svg
  • plot-align/kmeans-bottom.svg
  • plot-align/kmeans-left.svg
  • plot-align/kmeans-right.svg
  • plot-align/kmeans-top.svg
  • plot-align/order-bottom.svg
  • plot-align/order-left.svg
  • plot-align/order-right.svg
  • plot-align/order-top-within-group.svg
  • plot-align/order-top.svg
  • plot-align/reorder-bottom.svg
  • plot-align/reorder-left-character-index.svg
  • plot-align/reorder-left-integer-index.svg
  • plot-align/reorder-left-reverse.svg
  • plot-align/reorder-left.svg
  • plot-align/reorder-right.svg
  • plot-align/reorder-top-reverse.svg
  • plot-align/reorder-top-within-group.svg
  • plot-align/reorder-top.svg
  • plot-align/stack-no-data-dendrogram-input.svg
  • plot-align/stack-no-data-hclust-input.svg
  Error: Test failures
  Execution halted