From bd57553175f88788e248da37a65e848ce868a942 Mon Sep 17 00:00:00 2001 From: Thomas Lin Pedersen Date: Wed, 9 Aug 2023 13:47:52 +0200 Subject: [PATCH] roll back visual test to ggplot2 release --- .../add-ggplot-elements-p1-p2-theme-bw.svg | 2 +- .../add-patchwork-to-plot-p1-p2-p3.svg | 20 +++++++------- ...ing-to-all-on-level-patchwork-theme-bw.svg | 20 +++++++------- ...ing-to-all-subplots-patchwork-theme-bw.svg | 18 ++++++------- .../adding-to-patchwork-p1-p2-p3.svg | 20 +++++++------- .../complex-composition-p1-p2-p3-p4.svg | 20 +++++++------- .../nest-left-hand-side-p1-p2-p3.svg | 18 ++++++------- .../nest-right-hand-side-p1-p2-p3.svg | 20 +++++++------- .../arithmetic/pack-4-plots-p1-p2-p3-p4.svg | 18 ++++++------- .../arithmetic/stack-3-plots-p1-p2-p3.svg | 18 ++++++------- .../arithmetic/standard-addition-p1-p2-p3.svg | 20 +++++++------- .../_snaps/layout/basic-inset-works.svg | 4 +++ .../far-dimensions-can-be-set-with-units.svg | 2 +- ...ptimise-space-by-default-p-f-p-f-p3-p4.svg | 18 ++++++------- ...optimise-space-by-default-p1-p-f-p3-p4.svg | 18 ++++++------- ...-off-p1-p2-p-f-p4-plot-layout-widths-1.svg | 2 +- .../_snaps/layout/insets-can-be-changed.svg | 4 +++ .../_snaps/layout/other-alignments-work.svg | 4 +++ .../_snaps/layout/patchworks-can-be-inset.svg | 26 ++++++++++++------- ...p2-p3-p4-plot-layout-heights-unit-3-cm.svg | 22 ++++++++-------- ...-p1-p2-p3-p4-plot-layout-heights-c-1-2.svg | 20 +++++++------- ...ng-ncol-p1-p2-p3-p4-plot-layout-ncol-3.svg | 18 ++++++------- ...ng-nrow-p1-p2-p3-p4-plot-layout-nrow-3.svg | 20 +++++++------- ...-p2-p3-p4-plot-layout-widths-unit-3-cm.svg | 18 ++++++------- ...s-p1-p2-p3-p4-plot-layout-widths-c-1-2.svg | 20 +++++++------- 25 files changed, 205 insertions(+), 185 deletions(-) diff --git a/tests/testthat/_snaps/arithmetic/add-ggplot-elements-p1-p2-theme-bw.svg b/tests/testthat/_snaps/arithmetic/add-ggplot-elements-p1-p2-theme-bw.svg index 1c31cee..aa0b6d5 100644 --- a/tests/testthat/_snaps/arithmetic/add-ggplot-elements-p1-p2-theme-bw.svg +++ b/tests/testthat/_snaps/arithmetic/add-ggplot-elements-p1-p2-theme-bw.svg @@ -18,7 +18,7 @@ - + diff --git a/tests/testthat/_snaps/arithmetic/add-patchwork-to-plot-p1-p2-p3.svg b/tests/testthat/_snaps/arithmetic/add-patchwork-to-plot-p1-p2-p3.svg index ed2a17c..feb3f26 100644 --- a/tests/testthat/_snaps/arithmetic/add-patchwork-to-plot-p1-p2-p3.svg +++ b/tests/testthat/_snaps/arithmetic/add-patchwork-to-plot-p1-p2-p3.svg @@ -18,7 +18,7 @@ - + @@ -232,20 +232,20 @@ hp wt -mpg - - - - - - - - 15 20 25 30 +mpg + + + + + + + + Plot 3 Add patchwork to plot: p1 + (p2 + p3) diff --git a/tests/testthat/_snaps/arithmetic/adding-to-all-on-level-patchwork-theme-bw.svg b/tests/testthat/_snaps/arithmetic/adding-to-all-on-level-patchwork-theme-bw.svg index 73cba3d..4caa4d5 100644 --- a/tests/testthat/_snaps/arithmetic/adding-to-all-on-level-patchwork-theme-bw.svg +++ b/tests/testthat/_snaps/arithmetic/adding-to-all-on-level-patchwork-theme-bw.svg @@ -18,7 +18,7 @@ - + @@ -241,20 +241,20 @@ hp wt -mpg - - - - - - - - 15 20 25 30 +mpg + + + + + + + + Plot 3 diff --git a/tests/testthat/_snaps/arithmetic/adding-to-all-subplots-patchwork-theme-bw.svg b/tests/testthat/_snaps/arithmetic/adding-to-all-subplots-patchwork-theme-bw.svg index cc54fd2..4a043cf 100644 --- a/tests/testthat/_snaps/arithmetic/adding-to-all-subplots-patchwork-theme-bw.svg +++ b/tests/testthat/_snaps/arithmetic/adding-to-all-subplots-patchwork-theme-bw.svg @@ -296,20 +296,20 @@ hp wt -mpg - - - - - - - - 15 20 25 30 +mpg + + + + + + + + Plot 3 diff --git a/tests/testthat/_snaps/arithmetic/adding-to-patchwork-p1-p2-p3.svg b/tests/testthat/_snaps/arithmetic/adding-to-patchwork-p1-p2-p3.svg index 4016852..1994d14 100644 --- a/tests/testthat/_snaps/arithmetic/adding-to-patchwork-p1-p2-p3.svg +++ b/tests/testthat/_snaps/arithmetic/adding-to-patchwork-p1-p2-p3.svg @@ -18,7 +18,7 @@ - + @@ -223,20 +223,20 @@ hp wt -mpg - - - - - - - - 15 20 25 30 +mpg + + + + + + + + Plot 3 Adding to patchwork: (p1 + p2) + p3 diff --git a/tests/testthat/_snaps/arithmetic/complex-composition-p1-p2-p3-p4.svg b/tests/testthat/_snaps/arithmetic/complex-composition-p1-p2-p3-p4.svg index 8b7ca96..7443f15 100644 --- a/tests/testthat/_snaps/arithmetic/complex-composition-p1-p2-p3-p4.svg +++ b/tests/testthat/_snaps/arithmetic/complex-composition-p1-p2-p3-p4.svg @@ -18,7 +18,7 @@ - + @@ -241,20 +241,20 @@ hp wt -mpg - - - - - - - - 15 20 25 30 +mpg + + + + + + + + Plot 3 diff --git a/tests/testthat/_snaps/arithmetic/nest-left-hand-side-p1-p2-p3.svg b/tests/testthat/_snaps/arithmetic/nest-left-hand-side-p1-p2-p3.svg index ee00aee..fd74e55 100644 --- a/tests/testthat/_snaps/arithmetic/nest-left-hand-side-p1-p2-p3.svg +++ b/tests/testthat/_snaps/arithmetic/nest-left-hand-side-p1-p2-p3.svg @@ -232,20 +232,20 @@ hp wt -mpg - - - - - - - - 15 20 25 30 +mpg + + + + + + + + Plot 3 Nest left-hand side: (p1 + p2) - p3 diff --git a/tests/testthat/_snaps/arithmetic/nest-right-hand-side-p1-p2-p3.svg b/tests/testthat/_snaps/arithmetic/nest-right-hand-side-p1-p2-p3.svg index 780588a..e086c47 100644 --- a/tests/testthat/_snaps/arithmetic/nest-right-hand-side-p1-p2-p3.svg +++ b/tests/testthat/_snaps/arithmetic/nest-right-hand-side-p1-p2-p3.svg @@ -18,7 +18,7 @@ - + @@ -232,20 +232,20 @@ hp wt -mpg - - - - - - - - 15 20 25 30 +mpg + + + + + + + + Plot 3 Nest right-hand side: p1 - (p2 + p3) diff --git a/tests/testthat/_snaps/arithmetic/pack-4-plots-p1-p2-p3-p4.svg b/tests/testthat/_snaps/arithmetic/pack-4-plots-p1-p2-p3-p4.svg index 719948a..2a391f0 100644 --- a/tests/testthat/_snaps/arithmetic/pack-4-plots-p1-p2-p3-p4.svg +++ b/tests/testthat/_snaps/arithmetic/pack-4-plots-p1-p2-p3-p4.svg @@ -223,20 +223,20 @@ hp wt -mpg - - - - - - - - 15 20 25 30 +mpg + + + + + + + + Plot 3 diff --git a/tests/testthat/_snaps/arithmetic/stack-3-plots-p1-p2-p3.svg b/tests/testthat/_snaps/arithmetic/stack-3-plots-p1-p2-p3.svg index c3259b2..4ad99f6 100644 --- a/tests/testthat/_snaps/arithmetic/stack-3-plots-p1-p2-p3.svg +++ b/tests/testthat/_snaps/arithmetic/stack-3-plots-p1-p2-p3.svg @@ -223,20 +223,20 @@ hp wt -mpg - - - - - - - - 15 20 25 30 +mpg + + + + + + + + Plot 3 Stack 3 plots: p1 / p2 / p3 diff --git a/tests/testthat/_snaps/arithmetic/standard-addition-p1-p2-p3.svg b/tests/testthat/_snaps/arithmetic/standard-addition-p1-p2-p3.svg index 973ff47..8726eda 100644 --- a/tests/testthat/_snaps/arithmetic/standard-addition-p1-p2-p3.svg +++ b/tests/testthat/_snaps/arithmetic/standard-addition-p1-p2-p3.svg @@ -18,7 +18,7 @@ - + @@ -223,20 +223,20 @@ hp wt -mpg - - - - - - - - 15 20 25 30 +mpg + + + + + + + + Plot 3 Standard addition: p1 + p2 + p3 diff --git a/tests/testthat/_snaps/layout/basic-inset-works.svg b/tests/testthat/_snaps/layout/basic-inset-works.svg index e722dcc..fdbf8df 100644 --- a/tests/testthat/_snaps/layout/basic-inset-works.svg +++ b/tests/testthat/_snaps/layout/basic-inset-works.svg @@ -217,6 +217,10 @@ + + + + Basic inset works diff --git a/tests/testthat/_snaps/layout/far-dimensions-can-be-set-with-units.svg b/tests/testthat/_snaps/layout/far-dimensions-can-be-set-with-units.svg index afa5ca5..8c2a875 100644 --- a/tests/testthat/_snaps/layout/far-dimensions-can-be-set-with-units.svg +++ b/tests/testthat/_snaps/layout/far-dimensions-can-be-set-with-units.svg @@ -25,7 +25,7 @@ - + diff --git a/tests/testthat/_snaps/layout/far-optimise-space-by-default-p-f-p-f-p3-p4.svg b/tests/testthat/_snaps/layout/far-optimise-space-by-default-p-f-p-f-p3-p4.svg index 99861e8..a37d915 100644 --- a/tests/testthat/_snaps/layout/far-optimise-space-by-default-p-f-p-f-p3-p4.svg +++ b/tests/testthat/_snaps/layout/far-optimise-space-by-default-p-f-p-f-p3-p4.svg @@ -238,20 +238,20 @@ hp wt -mpg - - - - - - - - 15 20 25 30 +mpg + + + + + + + + Plot 3 diff --git a/tests/testthat/_snaps/layout/far-optimise-space-by-default-p1-p-f-p3-p4.svg b/tests/testthat/_snaps/layout/far-optimise-space-by-default-p1-p-f-p3-p4.svg index 99db1f5..74dd1d5 100644 --- a/tests/testthat/_snaps/layout/far-optimise-space-by-default-p1-p-f-p3-p4.svg +++ b/tests/testthat/_snaps/layout/far-optimise-space-by-default-p1-p-f-p3-p4.svg @@ -235,20 +235,20 @@ hp wt -mpg - - - - - - - - 15 20 25 30 +mpg + + + + + + + + Plot 3 diff --git a/tests/testthat/_snaps/layout/far-space-optimisation-can-be-turned-off-p1-p2-p-f-p4-plot-layout-widths-1.svg b/tests/testthat/_snaps/layout/far-space-optimisation-can-be-turned-off-p1-p2-p-f-p4-plot-layout-widths-1.svg index c2cec03..2a76753 100644 --- a/tests/testthat/_snaps/layout/far-space-optimisation-can-be-turned-off-p1-p2-p-f-p4-plot-layout-widths-1.svg +++ b/tests/testthat/_snaps/layout/far-space-optimisation-can-be-turned-off-p1-p2-p-f-p4-plot-layout-widths-1.svg @@ -18,7 +18,7 @@ - + diff --git a/tests/testthat/_snaps/layout/insets-can-be-changed.svg b/tests/testthat/_snaps/layout/insets-can-be-changed.svg index 2e64be3..2b9cf59 100644 --- a/tests/testthat/_snaps/layout/insets-can-be-changed.svg +++ b/tests/testthat/_snaps/layout/insets-can-be-changed.svg @@ -181,6 +181,10 @@ + + + + insets can be changed diff --git a/tests/testthat/_snaps/layout/other-alignments-work.svg b/tests/testthat/_snaps/layout/other-alignments-work.svg index 65a5751..dea564b 100644 --- a/tests/testthat/_snaps/layout/other-alignments-work.svg +++ b/tests/testthat/_snaps/layout/other-alignments-work.svg @@ -217,6 +217,10 @@ + + + + Other alignments work diff --git a/tests/testthat/_snaps/layout/patchworks-can-be-inset.svg b/tests/testthat/_snaps/layout/patchworks-can-be-inset.svg index 3e22e77..21cfa0b 100644 --- a/tests/testthat/_snaps/layout/patchworks-can-be-inset.svg +++ b/tests/testthat/_snaps/layout/patchworks-can-be-inset.svg @@ -216,6 +216,10 @@ + + + + @@ -335,20 +339,20 @@ -mpg - - - - - - - - 15 20 25 30 +mpg + + + + + + + + @@ -366,6 +370,10 @@ + + + + Patchworks can be inset diff --git a/tests/testthat/_snaps/layout/setting-heights-as-units-p1-p2-p3-p4-plot-layout-heights-unit-3-cm.svg b/tests/testthat/_snaps/layout/setting-heights-as-units-p1-p2-p3-p4-plot-layout-heights-unit-3-cm.svg index 9dea1b1..fa556be 100644 --- a/tests/testthat/_snaps/layout/setting-heights-as-units-p1-p2-p3-p4-plot-layout-heights-unit-3-cm.svg +++ b/tests/testthat/_snaps/layout/setting-heights-as-units-p1-p2-p3-p4-plot-layout-heights-unit-3-cm.svg @@ -21,11 +21,11 @@ - + - + @@ -232,20 +232,20 @@ hp wt -mpg - - - - - - - - 15 20 25 30 +mpg + + + + + + + + Plot 3 diff --git a/tests/testthat/_snaps/layout/setting-heights-p1-p2-p3-p4-plot-layout-heights-c-1-2.svg b/tests/testthat/_snaps/layout/setting-heights-p1-p2-p3-p4-plot-layout-heights-c-1-2.svg index f8abc72..72358bc 100644 --- a/tests/testthat/_snaps/layout/setting-heights-p1-p2-p3-p4-plot-layout-heights-c-1-2.svg +++ b/tests/testthat/_snaps/layout/setting-heights-p1-p2-p3-p4-plot-layout-heights-c-1-2.svg @@ -18,7 +18,7 @@ - + @@ -223,20 +223,20 @@ hp wt -mpg - - - - - - - - 15 20 25 30 +mpg + + + + + + + + Plot 3 diff --git a/tests/testthat/_snaps/layout/setting-ncol-p1-p2-p3-p4-plot-layout-ncol-3.svg b/tests/testthat/_snaps/layout/setting-ncol-p1-p2-p3-p4-plot-layout-ncol-3.svg index 12ee22d..a8a1528 100644 --- a/tests/testthat/_snaps/layout/setting-ncol-p1-p2-p3-p4-plot-layout-ncol-3.svg +++ b/tests/testthat/_snaps/layout/setting-ncol-p1-p2-p3-p4-plot-layout-ncol-3.svg @@ -223,20 +223,20 @@ hp wt -mpg - - - - - - - - 15 20 25 30 +mpg + + + + + + + + Plot 3 diff --git a/tests/testthat/_snaps/layout/setting-nrow-p1-p2-p3-p4-plot-layout-nrow-3.svg b/tests/testthat/_snaps/layout/setting-nrow-p1-p2-p3-p4-plot-layout-nrow-3.svg index 896eb24..3467996 100644 --- a/tests/testthat/_snaps/layout/setting-nrow-p1-p2-p3-p4-plot-layout-nrow-3.svg +++ b/tests/testthat/_snaps/layout/setting-nrow-p1-p2-p3-p4-plot-layout-nrow-3.svg @@ -18,7 +18,7 @@ - + @@ -223,20 +223,20 @@ hp wt -mpg - - - - - - - - 15 20 25 30 +mpg + + + + + + + + Plot 3 diff --git a/tests/testthat/_snaps/layout/setting-widths-as-units-p1-p2-p3-p4-plot-layout-widths-unit-3-cm.svg b/tests/testthat/_snaps/layout/setting-widths-as-units-p1-p2-p3-p4-plot-layout-widths-unit-3-cm.svg index 87c070f..6d2bbe3 100644 --- a/tests/testthat/_snaps/layout/setting-widths-as-units-p1-p2-p3-p4-plot-layout-widths-unit-3-cm.svg +++ b/tests/testthat/_snaps/layout/setting-widths-as-units-p1-p2-p3-p4-plot-layout-widths-unit-3-cm.svg @@ -232,20 +232,20 @@ hp wt -mpg - - - - - - - - 15 20 25 30 +mpg + + + + + + + + Plot 3 diff --git a/tests/testthat/_snaps/layout/setting-widths-p1-p2-p3-p4-plot-layout-widths-c-1-2.svg b/tests/testthat/_snaps/layout/setting-widths-p1-p2-p3-p4-plot-layout-widths-c-1-2.svg index c7423c3..1324aca 100644 --- a/tests/testthat/_snaps/layout/setting-widths-p1-p2-p3-p4-plot-layout-widths-c-1-2.svg +++ b/tests/testthat/_snaps/layout/setting-widths-p1-p2-p3-p4-plot-layout-widths-c-1-2.svg @@ -18,7 +18,7 @@ - + @@ -223,20 +223,20 @@ hp wt -mpg - - - - - - - - 15 20 25 30 +mpg + + + + + + + + Plot 3