Running 'testthat.R' [3s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(patchwork)
  > 
  > test_check("patchwork")
  -- ERROR (test-arithmetic.R:2:3): `+` works ------------------------------------
  Error: Graphics API version mismatch
  Backtrace:
      x
   1. \-vdiffr::expect_doppelganger(...) test-arithmetic.R:2:2
   2.   \-vdiffr:::writer(fig, testcase, title)
   3.     \-vdiffr:::svglite(file, user_fonts = get_aliases())
   4.       \-vdiffr:::svglite_(...)
  
  -- ERROR (test-arithmetic.R:28:3): `-` works -----------------------------------
  Error: Graphics API version mismatch
  Backtrace:
      x
   1. \-vdiffr::expect_doppelganger(...) test-arithmetic.R:28:2
   2.   \-vdiffr:::writer(fig, testcase, title)
   3.     \-vdiffr:::svglite(file, user_fonts = get_aliases())
   4.       \-vdiffr:::svglite_(...)
  
  -- ERROR (test-arithmetic.R:38:3): `|` and `/` works ---------------------------
  Error: Graphics API version mismatch
  Backtrace:
      x
   1. \-vdiffr::expect_doppelganger(...) test-arithmetic.R:38:2
   2.   \-vdiffr:::writer(fig, testcase, title)
   3.     \-vdiffr:::svglite(file, user_fonts = get_aliases())
   4.       \-vdiffr:::svglite_(...)
  
  -- ERROR (test-arithmetic.R:53:3): `&` and `*` works ---------------------------
  Error: Graphics API version mismatch
  Backtrace:
      x
   1. \-vdiffr::expect_doppelganger(...) test-arithmetic.R:53:2
   2.   \-vdiffr:::writer(fig, testcase, title)
   3.     \-vdiffr:::svglite(file, user_fonts = get_aliases())
   4.       \-vdiffr:::svglite_(...)
  
  -- ERROR (test-layout.R:2:3): The grid can be controlled -----------------------
  Error: Graphics API version mismatch
  Backtrace:
      x
   1. \-vdiffr::expect_doppelganger(...) test-layout.R:2:2
   2.   \-vdiffr:::writer(fig, testcase, title)
   3.     \-vdiffr:::svglite(file, user_fonts = get_aliases())
   4.       \-vdiffr:::svglite_(...)
  
  -- ERROR (test-layout.R:33:3): Fixed aspect plots behave -----------------------
  Error: Graphics API version mismatch
  Backtrace:
      x
   1. \-vdiffr::expect_doppelganger(...) test-layout.R:33:2
   2.   \-vdiffr:::writer(fig, testcase, title)
   3.     \-vdiffr:::svglite(file, user_fonts = get_aliases())
   4.       \-vdiffr:::svglite_(...)
  
  -- ERROR (test-layout.R:58:3): Insets looks as they should ---------------------
  Error: Graphics API version mismatch
  Backtrace:
      x
   1. \-vdiffr::expect_doppelganger(...) test-layout.R:58:2
   2.   \-vdiffr:::writer(fig, testcase, title)
   3.     \-vdiffr:::svglite(file, user_fonts = get_aliases())
   4.       \-vdiffr:::svglite_(...)
  
  == testthat results  ===========================================================
  ERROR (test-arithmetic.R:2:3): `+` works
  ERROR (test-arithmetic.R:28:3): `-` works
  ERROR (test-arithmetic.R:38:3): `|` and `/` works
  ERROR (test-arithmetic.R:53:3): `&` and `*` works
  ERROR (test-layout.R:2:3): The grid can be controlled
  ERROR (test-layout.R:33:3): Fixed aspect plots behave
  ERROR (test-layout.R:58:3): Insets looks as they should
  
  [ FAIL 7 | WARN 0 | SKIP 0 | PASS 0 ]
  Error: Test failures
  Execution halted