Running ‘testthat.R’ [29s/39s]
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
  
  Attaching package: 'ggalign'
  
  The following object is masked from 'package:ggplot2':
  
      element_polygon
  
  > 
  > 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
  Saving 7 x 7 in image
  [ FAIL 17 | WARN 0 | SKIP 33 | PASS 79 ]
  
  ══ Skipped tests (33) ══════════════════════════════════════════════════════════
  • On CRAN (29): 'test-active.R:12:5', 'test-alignpatch.R:18:5',
    'test-alignpatch.R:128:5', 'test-alignpatch.R:192:5',
    'test-alignpatch.R:254:5', 'test-alignpatch.R:296:5',
    'test-alignpatch.R:363:5', 'test-alignpatch.R:415:5', 'test-ggplot.R:2:5',
    'test-ggplot.R:21:5', 'test-ggplot.R:60:5', 'test-ggplot.R:88:5',
    'test-ggplot.R:107:5', 'test-ggplot.R:175:5', 'test-ggplot.R:196:5',
    'test-grid.R:26:5', 'test-grid.R:30: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:176: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'
  • {maftools} is not installed (1): 'test-fortify-matrix.R:2:5'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-layout-heatmap.R:16:5'): `ggheatmap` works well ────────────────
  Error in `.subset2(plot, "coordinates")`: this object class is not subsettable
  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:::quad_build(x)
   21. │             ├─ggalign:::quad_build.HeatmapLayout(x)
   22. │             ├─base::NextMethod()
   23. │             └─ggalign:::quad_build.QuadLayout(x)
   24. │               └─S7:::Ops.S7_object(...)
   25. │                 ├─base::tryCatch(return(base_ops[[.Generic]](e1, e2)), S7_error_method_not_found = function(cnd) cnd)
   26. │                 │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   27. │                 │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   28. │                 │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   29. │                 └─base_ops[[.Generic]](e1, e2)
   30. │                   ├─S7::S7_dispatch()
   31. │                   └─ggplot2 (local) `method(+, list(ggplot2::ggplot, class_any))`(...)
   32. │                     └─ggplot2:::add_ggplot(e1, e2, e2name)
   33. │                       ├─ggplot2::ggplot_add(object, p, objectname)
   34. │                       └─ggalign:::ggplot_add.ggalign_design(object, p, objectname)
   35. └─base::.handleSimpleError(...)
   36.   └─rlang (local) h(simpleError(msg, call))
   37.     └─handlers[[1L]](cnd)
   38.       └─rlang::cnd_signal(e)
  ── Error ('test-layout-heatmap.R:28:5'): `ggheatmap` add `quad_switch()` works well ──
  Error in `.subset2(plot, "coordinates")`: this object class is not subsettable
  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:::quad_build(x)
   21. │             ├─ggalign:::quad_build.HeatmapLayout(x)
   22. │             ├─base::NextMethod()
   23. │             └─ggalign:::quad_build.QuadLayout(x)
   24. │               └─S7:::Ops.S7_object(...)
   25. │                 ├─base::tryCatch(return(base_ops[[.Generic]](e1, e2)), S7_error_method_not_found = function(cnd) cnd)
   26. │                 │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   27. │                 │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   28. │                 │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   29. │                 └─base_ops[[.Generic]](e1, e2)
   30. │                   ├─S7::S7_dispatch()
   31. │                   └─ggplot2 (local) `method(+, list(ggplot2::ggplot, class_any))`(...)
   32. │                     └─ggplot2:::add_ggplot(e1, e2, e2name)
   33. │                       ├─ggplot2::ggplot_add(object, p, objectname)
   34. │                       └─ggalign:::ggplot_add.ggalign_design(object, p, objectname)
   35. └─base::.handleSimpleError(...)
   36.   └─rlang (local) h(simpleError(msg, call))
   37.     └─handlers[[1L]](cnd)
   38.       └─rlang::cnd_signal(e)
  ── Error ('test-layout-heatmap.R:69:5'): `ggoncoplot` works well ───────────────
  Error in `.subset2(plot, "coordinates")`: this object class is not subsettable
  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:::quad_build(x)
   21. │             ├─ggalign:::quad_build.HeatmapLayout(x)
   22. │             ├─base::NextMethod()
   23. │             └─ggalign:::quad_build.QuadLayout(x)
   24. │               └─S7:::Ops.S7_object(...)
   25. │                 ├─base::tryCatch(return(base_ops[[.Generic]](e1, e2)), S7_error_method_not_found = function(cnd) cnd)
   26. │                 │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   27. │                 │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   28. │                 │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   29. │                 └─base_ops[[.Generic]](e1, e2)
   30. │                   ├─S7::S7_dispatch()
   31. │                   └─ggplot2 (local) `method(+, list(ggplot2::ggplot, class_any))`(...)
   32. │                     └─ggplot2:::add_ggplot(e1, e2, e2name)
   33. │                       ├─ggplot2::ggplot_add(object, p, objectname)
   34. │                       └─ggalign:::ggplot_add.ggalign_design(object, p, objectname)
   35. └─base::.handleSimpleError(...)
   36.   └─rlang (local) h(simpleError(msg, call))
   37.     └─handlers[[1L]](cnd)
   38.       └─rlang::cnd_signal(e)
  ── Error ('test-layout-heatmap.R:101:5'): `breaks` of `scale_*_()` works well ──
  Error in `.subset2(plot, "coordinates")`: this object class is not subsettable
  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:::quad_build(x)
   21. │             ├─ggalign:::quad_build.HeatmapLayout(x)
   22. │             ├─base::NextMethod()
   23. │             └─ggalign:::quad_build.QuadLayout(x)
   24. │               └─S7:::Ops.S7_object(...)
   25. │                 ├─base::tryCatch(return(base_ops[[.Generic]](e1, e2)), S7_error_method_not_found = function(cnd) cnd)
   26. │                 │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   27. │                 │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   28. │                 │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   29. │                 └─base_ops[[.Generic]](e1, e2)
   30. │                   ├─S7::S7_dispatch()
   31. │                   └─ggplot2 (local) `method(+, list(ggplot2::ggplot, class_any))`(...)
   32. │                     └─ggplot2:::add_ggplot(e1, e2, e2name)
   33. │                       ├─ggplot2::ggplot_add(object, p, objectname)
   34. │                       └─ggalign:::ggplot_add.ggalign_design(object, p, objectname)
   35. └─base::.handleSimpleError(...)
   36.   └─rlang (local) h(simpleError(msg, call))
   37.     └─handlers[[1L]](cnd)
   38.       └─rlang::cnd_signal(e)
  ── Error ('test-layout-heatmap.R:179:5'): `labels` of `scale_*_()` works well ──
  Error in `.subset2(plot, "coordinates")`: this object class is not subsettable
  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:::quad_build(x)
   21. │             ├─ggalign:::quad_build.HeatmapLayout(x)
   22. │             ├─base::NextMethod()
   23. │             └─ggalign:::quad_build.QuadLayout(x)
   24. │               └─base::lapply(...)
   25. │                 └─ggalign (local) FUN(X[[i]], ...)
   26. │                   └─ggalign:::stack_build(...)
   27. │                     ├─ggalign:::stack_build_composer(stack, schemes, theme, extra_design)
   28. │                     └─ggalign:::stack_build_composer.StackLayout(...)
   29. │                       ├─ggalign:::stack_composer_add(...)
   30. │                       └─ggalign:::stack_composer_add.list(...)
   31. │                         ├─ggalign:::stack_composer_add(plot = p, composer = composer, ...)
   32. │                         └─ggalign:::stack_composer_add.CraftBox(...)
   33. │                           └─S7:::Ops.S7_object(...)
   34. │                             ├─base::tryCatch(return(base_ops[[.Generic]](e1, e2)), S7_error_method_not_found = function(cnd) cnd)
   35. │                             │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   36. │                             │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   37. │                             │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   38. │                             └─base_ops[[.Generic]](e1, e2)
   39. │                               ├─S7::S7_dispatch()
   40. │                               └─ggplot2 (local) `method(+, list(ggplot2::ggplot, class_any))`(...)
   41. │                                 └─ggplot2:::add_ggplot(e1, e2, e2name)
   42. │                                   ├─ggplot2::ggplot_add(object, p, objectname)
   43. │                                   └─ggalign:::ggplot_add.ggalign_design(object, p, objectname)
   44. └─base::.handleSimpleError(...)
   45.   └─rlang (local) h(simpleError(msg, call))
   46.     └─handlers[[1L]](cnd)
   47.       └─rlang::cnd_signal(e)
  ── Error ('test-layout-quad.R:2:5'): add `layout_annotation()` works well ──────
  Error in `.subset2(plot, "coordinates")`: this object class is not subsettable
  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:::quad_build(x)
   21. │             ├─ggalign:::quad_build.HeatmapLayout(x)
   22. │             ├─base::NextMethod()
   23. │             └─ggalign:::quad_build.QuadLayout(x)
   24. │               └─S7:::Ops.S7_object(...)
   25. │                 ├─base::tryCatch(return(base_ops[[.Generic]](e1, e2)), S7_error_method_not_found = function(cnd) cnd)
   26. │                 │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   27. │                 │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   28. │                 │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   29. │                 └─base_ops[[.Generic]](e1, e2)
   30. │                   ├─S7::S7_dispatch()
   31. │                   └─ggplot2 (local) `method(+, list(ggplot2::ggplot, class_any))`(...)
   32. │                     └─ggplot2:::add_ggplot(e1, e2, e2name)
   33. │                       ├─ggplot2::ggplot_add(object, p, objectname)
   34. │                       └─ggalign:::ggplot_add.ggalign_design(object, p, objectname)
   35. └─base::.handleSimpleError(...)
   36.   └─rlang (local) h(simpleError(msg, call))
   37.     └─handlers[[1L]](cnd)
   38.       └─rlang::cnd_signal(e)
  ── Error ('test-layout-quad.R:12:5'): add `layout_title()` works well ──────────
  Error in `.subset2(plot, "coordinates")`: this object class is not subsettable
  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:::quad_build(x)
   21. │             ├─ggalign:::quad_build.HeatmapLayout(x)
   22. │             ├─base::NextMethod()
   23. │             └─ggalign:::quad_build.QuadLayout(x)
   24. │               └─S7:::Ops.S7_object(...)
   25. │                 ├─base::tryCatch(return(base_ops[[.Generic]](e1, e2)), S7_error_method_not_found = function(cnd) cnd)
   26. │                 │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   27. │                 │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   28. │                 │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   29. │                 └─base_ops[[.Generic]](e1, e2)
   30. │                   ├─S7::S7_dispatch()
   31. │                   └─ggplot2 (local) `method(+, list(ggplot2::ggplot, class_any))`(...)
   32. │                     └─ggplot2:::add_ggplot(e1, e2, e2name)
   33. │                       ├─ggplot2::ggplot_add(object, p, objectname)
   34. │                       └─ggalign:::ggplot_add.ggalign_design(object, p, objectname)
   35. └─base::.handleSimpleError(...)
   36.   └─rlang (local) h(simpleError(msg, call))
   37.     └─handlers[[1L]](cnd)
   38.       └─rlang::cnd_signal(e)
  ── Error ('test-layout-quad.R:109:5'): add `align` object builds well ──────────
  Error in `.subset2(plot, "coordinates")`: this object class is not subsettable
  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:::quad_build(x)
   21. │             └─ggalign:::quad_build.QuadLayout(x)
   22. │               └─base::lapply(...)
   23. │                 └─ggalign (local) FUN(X[[i]], ...)
   24. │                   └─ggalign:::stack_build(...)
   25. │                     ├─ggalign:::stack_build_composer(stack, schemes, theme, extra_design)
   26. │                     └─ggalign:::stack_build_composer.StackLayout(...)
   27. │                       ├─ggalign:::stack_composer_add(...)
   28. │                       └─ggalign:::stack_composer_add.list(...)
   29. │                         ├─ggalign:::stack_composer_add(plot = p, composer = composer, ...)
   30. │                         └─ggalign:::stack_composer_add.CraftBox(...)
   31. │                           └─S7:::Ops.S7_object(...)
   32. │                             ├─base::tryCatch(return(base_ops[[.Generic]](e1, e2)), S7_error_method_not_found = function(cnd) cnd)
   33. │                             │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   34. │                             │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   35. │                             │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   36. │                             └─base_ops[[.Generic]](e1, e2)
   37. │                               ├─S7::S7_dispatch()
   38. │                               └─ggplot2 (local) `method(+, list(ggplot2::ggplot, class_any))`(...)
   39. │                                 └─ggplot2:::add_ggplot(e1, e2, e2name)
   40. │                                   ├─ggplot2::ggplot_add(object, p, objectname)
   41. │                                   └─ggalign:::ggplot_add.ggalign_design(object, p, objectname)
   42. └─base::.handleSimpleError(...)
   43.   └─rlang (local) h(simpleError(msg, call))
   44.     └─handlers[[1L]](cnd)
   45.       └─rlang::cnd_signal(e)
  ── Error ('test-layout-quad.R:138:5'): add `with_quad()` works as expected ─────
  Error in `.subset2(plot, "coordinates")`: this object class is not subsettable
  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:::quad_build(x)
   21. │             ├─ggalign:::quad_build.HeatmapLayout(x)
   22. │             ├─base::NextMethod()
   23. │             └─ggalign:::quad_build.QuadLayout(x)
   24. │               └─base::lapply(...)
   25. │                 └─ggalign (local) FUN(X[[i]], ...)
   26. │                   └─ggalign:::stack_build(...)
   27. │                     ├─ggalign:::stack_build_composer(stack, schemes, theme, extra_design)
   28. │                     └─ggalign:::stack_build_composer.StackLayout(...)
   29. │                       ├─ggalign:::stack_composer_add(...)
   30. │                       └─ggalign:::stack_composer_add.list(...)
   31. │                         ├─ggalign:::stack_composer_add(plot = p, composer = composer, ...)
   32. │                         └─ggalign:::stack_composer_add.CraftBox(...)
   33. │                           └─S7:::Ops.S7_object(...)
   34. │                             ├─base::tryCatch(return(base_ops[[.Generic]](e1, e2)), S7_error_method_not_found = function(cnd) cnd)
   35. │                             │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   36. │                             │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   37. │                             │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   38. │                             └─base_ops[[.Generic]](e1, e2)
   39. │                               ├─S7::S7_dispatch()
   40. │                               └─ggplot2 (local) `method(+, list(ggplot2::ggplot, class_any))`(...)
   41. │                                 └─ggplot2:::add_ggplot(e1, e2, e2name)
   42. │                                   ├─ggplot2::ggplot_add(object, p, objectname)
   43. │                                   └─ggalign:::ggplot_add.ggalign_design(object, p, objectname)
   44. └─base::.handleSimpleError(...)
   45.   └─rlang (local) h(simpleError(msg, call))
   46.     └─handlers[[1L]](cnd)
   47.       └─rlang::cnd_signal(e)
  ── Error ('test-layout-quad.R:331:5'): add `stack_layout()` builds well ────────
  Error in `.subset2(plot, "coordinates")`: this object class is not subsettable
  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:::quad_build(x)
   21. │             └─ggalign:::quad_build.QuadLayout(x)
   22. │               └─base::lapply(...)
   23. │                 └─ggalign (local) FUN(X[[i]], ...)
   24. │                   └─ggalign:::stack_build(...)
   25. │                     ├─ggalign:::stack_build_composer(stack, schemes, theme, extra_design)
   26. │                     └─ggalign:::stack_build_composer.StackLayout(...)
   27. │                       ├─ggalign:::stack_composer_add(...)
   28. │                       └─ggalign:::stack_composer_add.list(...)
   29. │                         ├─ggalign:::stack_composer_add(plot = p, composer = composer, ...)
   30. │                         └─ggalign:::stack_composer_add.CraftBox(...)
   31. │                           └─S7:::Ops.S7_object(...)
   32. │                             ├─base::tryCatch(return(base_ops[[.Generic]](e1, e2)), S7_error_method_not_found = function(cnd) cnd)
   33. │                             │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   34. │                             │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   35. │                             │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   36. │                             └─base_ops[[.Generic]](e1, e2)
   37. │                               ├─S7::S7_dispatch()
   38. │                               └─ggplot2 (local) `method(+, list(ggplot2::ggplot, class_any))`(...)
   39. │                                 └─ggplot2:::add_ggplot(e1, e2, e2name)
   40. │                                   ├─ggplot2::ggplot_add(object, p, objectname)
   41. │                                   └─ggalign:::ggplot_add.ggalign_design(object, p, objectname)
   42. └─base::.handleSimpleError(...)
   43.   └─rlang (local) h(simpleError(msg, call))
   44.     └─handlers[[1L]](cnd)
   45.       └─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:
    this object class is not subsettable
  ── Error ('test-layout-stack.R:43:5'): `stack_align` add `align-` object builds well ──
  Error in `.subset2(plot, "coordinates")`: this object class is not subsettable
  Backtrace:
       ▆
    1. ├─vdiffr::expect_doppelganger(...) at test-layout-stack.R:43: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. │             ├─stack_build(x) %||% align_plots(theme = x@theme)
   21. │             └─ggalign:::stack_build(x)
   22. │               ├─ggalign:::stack_build_composer(stack, schemes, theme, extra_design)
   23. │               └─ggalign:::stack_build_composer.StackLayout(...)
   24. │                 ├─ggalign:::stack_composer_add(...)
   25. │                 └─ggalign:::stack_composer_add.list(...)
   26. │                   ├─ggalign:::stack_composer_add(plot = p, composer = composer, ...)
   27. │                   └─ggalign:::stack_composer_add.CraftBox(...)
   28. │                     └─S7:::Ops.S7_object(...)
   29. │                       ├─base::tryCatch(return(base_ops[[.Generic]](e1, e2)), S7_error_method_not_found = function(cnd) cnd)
   30. │                       │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   31. │                       │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   32. │                       │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   33. │                       └─base_ops[[.Generic]](e1, e2)
   34. │                         ├─S7::S7_dispatch()
   35. │                         └─ggplot2 (local) `method(+, list(ggplot2::ggplot, class_any))`(...)
   36. │                           └─ggplot2:::add_ggplot(e1, e2, e2name)
   37. │                             ├─ggplot2::ggplot_add(object, p, objectname)
   38. │                             └─ggalign:::ggplot_add.ggalign_design(object, p, objectname)
   39. └─base::.handleSimpleError(...)
   40.   └─rlang (local) h(simpleError(msg, call))
   41.     └─handlers[[1L]](cnd)
   42.       └─rlang::cnd_signal(e)
  ── Error ('test-layout-stack.R:73:5'): `stack_align` add `quad_layout()` object builds well ──
  Error in `.subset2(plot, "coordinates")`: this object class is not subsettable
  Backtrace:
       ▆
    1. ├─vdiffr::expect_doppelganger(...) at test-layout-stack.R:73: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. │             ├─stack_build(x) %||% align_plots(theme = x@theme)
   21. │             └─ggalign:::stack_build(x)
   22. │               ├─ggalign:::stack_build_composer(stack, schemes, theme, extra_design)
   23. │               └─ggalign:::stack_build_composer.StackLayout(...)
   24. │                 ├─ggalign:::stack_composer_add(...)
   25. │                 └─ggalign:::stack_composer_add.list(...)
   26. │                   ├─ggalign:::stack_composer_add(plot = p, composer = composer, ...)
   27. │                   └─ggalign:::stack_composer_add.QuadLayout(...)
   28. │                     ├─ggalign:::quad_build(plot, schemes, theme, direction)
   29. │                     └─ggalign:::quad_build.QuadLayout(plot, schemes, theme, direction)
   30. │                       └─S7:::Ops.S7_object(...)
   31. │                         ├─base::tryCatch(return(base_ops[[.Generic]](e1, e2)), S7_error_method_not_found = function(cnd) cnd)
   32. │                         │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   33. │                         │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   34. │                         │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   35. │                         └─base_ops[[.Generic]](e1, e2)
   36. │                           ├─S7::S7_dispatch()
   37. │                           └─ggplot2 (local) `method(+, list(ggplot2::ggplot, class_any))`(...)
   38. │                             └─ggplot2:::add_ggplot(e1, e2, e2name)
   39. │                               ├─ggplot2::ggplot_add(object, p, objectname)
   40. │                               └─ggalign:::ggplot_add.ggalign_design(object, p, objectname)
   41. └─base::.handleSimpleError(...)
   42.   └─rlang (local) h(simpleError(msg, call))
   43.     └─handlers[[1L]](cnd)
   44.       └─rlang::cnd_signal(e)
  ── Error ('test-layout-stack.R:118:5'): add `with_quad()` works as expected ────
  Error in `.subset2(plot, "coordinates")`: this object class is not subsettable
  Backtrace:
       ▆
    1. ├─vdiffr::expect_doppelganger(...) at test-layout-stack.R:118: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. │             ├─stack_build(x) %||% align_plots(theme = x@theme)
   21. │             └─ggalign:::stack_build(x)
   22. │               ├─ggalign:::stack_build_composer(stack, schemes, theme, extra_design)
   23. │               └─ggalign:::stack_build_composer.StackLayout(...)
   24. │                 ├─ggalign:::stack_composer_add(...)
   25. │                 └─ggalign:::stack_composer_add.list(...)
   26. │                   ├─ggalign:::stack_composer_add(plot = p, composer = composer, ...)
   27. │                   └─ggalign:::stack_composer_add.CraftBox(...)
   28. │                     └─S7:::Ops.S7_object(...)
   29. │                       ├─base::tryCatch(return(base_ops[[.Generic]](e1, e2)), S7_error_method_not_found = function(cnd) cnd)
   30. │                       │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   31. │                       │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   32. │                       │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   33. │                       └─base_ops[[.Generic]](e1, e2)
   34. │                         ├─S7::S7_dispatch()
   35. │                         └─ggplot2 (local) `method(+, list(ggplot2::ggplot, class_any))`(...)
   36. │                           └─ggplot2:::add_ggplot(e1, e2, e2name)
   37. │                             ├─ggplot2::ggplot_add(object, p, objectname)
   38. │                             └─ggalign:::ggplot_add.ggalign_design(object, p, objectname)
   39. └─base::.handleSimpleError(...)
   40.   └─rlang (local) h(simpleError(msg, call))
   41.     └─handlers[[1L]](cnd)
   42.       └─rlang::cnd_signal(e)
  ── Failure ('test-layout-stack.R:188:5'): `ggsave()` works well ────────────────
  Expected `ggplot2::ggsave(tempfile(fileext = ".png"), plot = p)` to run without any errors.
  i Actually got a <simpleError> with text:
    this object class is not subsettable
  ── Error ('test-layout-stack.R:196:5'): `stack_align` add `quad_switch()` works well ──
  Error in `.subset2(plot, "coordinates")`: this object class is not subsettable
  Backtrace:
       ▆
    1. ├─vdiffr::expect_doppelganger(...) at test-layout-stack.R:196: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. │             ├─stack_build(x) %||% align_plots(theme = x@theme)
   21. │             └─ggalign:::stack_build(x)
   22. │               ├─ggalign:::stack_build_composer(stack, schemes, theme, extra_design)
   23. │               └─ggalign:::stack_build_composer.StackLayout(...)
   24. │                 ├─ggalign:::stack_composer_add(...)
   25. │                 └─ggalign:::stack_composer_add.list(...)
   26. │                   ├─ggalign:::stack_composer_add(plot = p, composer = composer, ...)
   27. │                   └─ggalign:::stack_composer_add.QuadLayout(...)
   28. │                     ├─ggalign:::quad_build(plot, schemes, theme, direction)
   29. │                     ├─ggalign:::quad_build.HeatmapLayout(plot, schemes, theme, direction)
   30. │                     ├─base::NextMethod()
   31. │                     └─ggalign:::quad_build.QuadLayout(plot, schemes, theme, direction)
   32. │                       └─base::lapply(...)
   33. │                         └─ggalign (local) FUN(X[[i]], ...)
   34. │                           └─ggalign:::stack_build(...)
   35. │                             ├─ggalign:::stack_build_composer(stack, schemes, theme, extra_design)
   36. │                             └─ggalign:::stack_build_composer.StackLayout(...)
   37. │                               ├─ggalign:::stack_composer_add(...)
   38. │                               └─ggalign:::stack_composer_add.list(...)
   39. │                                 ├─ggalign:::stack_composer_add(plot = p, composer = composer, ...)
   40. │                                 └─ggalign:::stack_composer_add.CraftBox(...)
   41. │                                   └─S7:::Ops.S7_object(...)
   42. │                                     ├─base::tryCatch(return(base_ops[[.Generic]](e1, e2)), S7_error_method_not_found = function(cnd) cnd)
   43. │                                     │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   44. │                                     │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   45. │                                     │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   46. │                                     └─base_ops[[.Generic]](e1, e2)
   47. │                                       ├─S7::S7_dispatch()
   48. │                                       └─ggplot2 (local) `method(+, list(ggplot2::ggplot, class_any))`(...)
   49. │                                         └─ggplot2:::add_ggplot(e1, e2, e2name)
   50. │                                           ├─ggplot2::ggplot_add(object, p, objectname)
   51. │                                           └─ggalign:::ggplot_add.ggalign_design(object, p, objectname)
   52. └─base::.handleSimpleError(...)
   53.   └─rlang (local) h(simpleError(msg, call))
   54.     └─handlers[[1L]](cnd)
   55.       └─rlang::cnd_signal(e)
  ── Error ('test-plot-align.R:274:9'): `ggalign()` works well ───────────────────
  Error in `.subset2(plot, "coordinates")`: this object class is not subsettable
  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:::quad_build(x)
   22. │       ├─ggalign:::quad_build.HeatmapLayout(x)
   23. │       ├─base::NextMethod()
   24. │       └─ggalign:::quad_build.QuadLayout(x)
   25. │         └─base::lapply(...)
   26. │           └─ggalign (local) FUN(X[[i]], ...)
   27. │             └─ggalign:::stack_build(...)
   28. │               ├─ggalign:::stack_build_composer(stack, schemes, theme, extra_design)
   29. │               └─ggalign:::stack_build_composer.StackLayout(...)
   30. │                 ├─ggalign:::stack_composer_add(...)
   31. │                 └─ggalign:::stack_composer_add.list(...)
   32. │                   ├─ggalign:::stack_composer_add(plot = p, composer = composer, ...)
   33. │                   └─ggalign:::stack_composer_add.CraftBox(...)
   34. │                     └─S7:::Ops.S7_object(...)
   35. │                       ├─base::tryCatch(return(base_ops[[.Generic]](e1, e2)), S7_error_method_not_found = function(cnd) cnd)
   36. │                       │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   37. │                       │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   38. │                       │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   39. │                       └─base_ops[[.Generic]](e1, e2)
   40. │                         ├─S7::S7_dispatch()
   41. │                         └─ggplot2 (local) `method(+, list(ggplot2::ggplot, class_any))`(...)
   42. │                           └─ggplot2:::add_ggplot(e1, e2, e2name)
   43. │                             ├─ggplot2::ggplot_add(object, p, objectname)
   44. │                             └─ggalign:::ggplot_add.ggalign_design(object, p, objectname)
   45. └─base::.handleSimpleError(...)
   46.   └─rlang (local) h(simpleError(msg, call))
   47.     └─handlers[[1L]](cnd)
   48.       └─rlang::cnd_signal(e)
  
  [ FAIL 17 | WARN 0 | SKIP 33 | PASS 79 ]
  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/collect-inside-guides.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-guide-with-ggplot-of-null-guides.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-sector-spacing-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-byrow-false.svg
  • ggplot/geom-subrect-set-both-nrow-and-ncol.svg
  • ggplot/geom-subrect-set-ncol.svg
  • ggplot/geom-subrect-set-nrow.svg
  • ggplot/geom-subtile-byrow-false.svg
  • ggplot/geom-subtile-set-both-nrow-and-ncol.svg
  • ggplot/geom-subtile-set-ncol.svg
  • ggplot/geom-subtile-set-nrow.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