From 9579a8cc82f265feee9493b28e51ab6ca9c06b7d Mon Sep 17 00:00:00 2001 From: Gina Reynolds Date: Tue, 22 Apr 2025 14:56:51 -0600 Subject: [PATCH 1/8] add accent argument to theme_grey and friends I think this addresses most of making accent accessibility from the built in theme functions. Do need to check on theme_void --- R/theme-defaults.R | 43 +++++++++++++++++++++++++------------------ 1 file changed, 25 insertions(+), 18 deletions(-) diff --git a/R/theme-defaults.R b/R/theme-defaults.R index 6f32012cd0..4b5cad2c6a 100644 --- a/R/theme-defaults.R +++ b/R/theme-defaults.R @@ -11,7 +11,7 @@ #' legend titles, the plot title and tag text. #' @param base_line_size base size for line elements #' @param base_rect_size base size for rect elements -#' @param ink,paper colour for foreground and background elements respectively. +#' @param ink,paper,accent colour for foreground, background, and accented elements respectively. #' #' @details #' \describe{ @@ -108,7 +108,7 @@ theme_grey <- function(base_size = 11, base_family = "", header_family = NULL, base_line_size = base_size / 22, base_rect_size = base_size / 22, - ink = "black", paper = "white") { + ink = "black", paper = "white", accent = "#3366FF") { # The half-line (base-fontsize / 2) sets up the basic vertical # rhythm of the theme. Most margins will be set to this value. @@ -157,7 +157,7 @@ theme_grey <- function(base_size = 11, base_family = "", ), geom = element_geom( - ink = ink, paper = paper, accent = "#3366FF", + ink = ink, paper = paper, accent = accent, linewidth = base_line_size, borderwidth = base_line_size, linetype = 1L, bordertype = 1L, family = base_family, fontsize = base_size, @@ -288,7 +288,7 @@ theme_bw <- function(base_size = 11, base_family = "", header_family = NULL, base_line_size = base_size / 22, base_rect_size = base_size / 22, - ink = "black", paper = "white") { + ink = "black", paper = "white", accent = "#3366FF") { # Starts with theme_grey and then modify some parts theme_grey( base_size = base_size, @@ -296,7 +296,7 @@ theme_bw <- function(base_size = 11, base_family = "", header_family = header_family, base_line_size = base_line_size, base_rect_size = base_rect_size, - ink = ink, paper = paper + ink = ink, paper = paper, accent = accent ) %+replace% theme( # white background and dark border @@ -321,7 +321,7 @@ theme_linedraw <- function(base_size = 11, base_family = "", header_family = NULL, base_line_size = base_size / 22, base_rect_size = base_size / 22, - ink = "black", paper = "white") { + ink = "black", paper = "white", accent = "#3366FF") { half_line <- base_size / 2 # Starts with theme_bw and then modify some parts @@ -332,7 +332,7 @@ theme_linedraw <- function(base_size = 11, base_family = "", header_family = header_family, base_line_size = base_line_size, base_rect_size = base_rect_size, - ink = ink, paper = paper + ink = ink, paper = paper, accent = accent ) %+replace% theme( # black text and ticks on the axes @@ -365,7 +365,7 @@ theme_light <- function(base_size = 11, base_family = "", header_family = NULL, base_line_size = base_size / 22, base_rect_size = base_size / 22, - ink = "black", paper = "white") { + ink = "black", paper = "white", accent = "#3366FF") { half_line <- base_size / 2 # Starts with theme_grey and then modify some parts @@ -375,7 +375,7 @@ theme_light <- function(base_size = 11, base_family = "", header_family = header_family, base_line_size = base_line_size, base_rect_size = base_rect_size, - ink = ink, paper = paper + ink = ink, paper = paper, accent = accent ) %+replace% theme( # white panel with light grey border @@ -409,7 +409,7 @@ theme_dark <- function(base_size = 11, base_family = "", header_family = NULL, base_line_size = base_size / 22, base_rect_size = base_size / 22, - ink = "black", paper = "white") { + ink = "black", paper = "white", accent = "#3366FF") { half_line <- base_size / 2 # Starts with theme_grey and then modify some parts @@ -419,7 +419,7 @@ theme_dark <- function(base_size = 11, base_family = "", header_family = header_family, base_line_size = base_line_size, base_rect_size = base_rect_size, - ink = ink, paper = paper + ink = ink, paper = paper, accent = accent ) %+replace% theme( # dark panel @@ -451,7 +451,7 @@ theme_minimal <- function(base_size = 11, base_family = "", header_family = NULL, base_line_size = base_size / 22, base_rect_size = base_size / 22, - ink = "black", paper = "white") { + ink = "black", paper = "white", accent = "#3366FF") { # Starts with theme_bw and remove most parts theme_bw( base_size = base_size, @@ -459,7 +459,7 @@ theme_minimal <- function(base_size = 11, base_family = "", header_family = header_family, base_line_size = base_line_size, base_rect_size = base_rect_size, - ink = ink, paper = paper + ink = ink, paper = paper, accent = accent ) %+replace% theme( axis.ticks = element_blank(), # Extra margins due to absence ticks @@ -484,14 +484,14 @@ theme_classic <- function(base_size = 11, base_family = "", header_family = NULL, base_line_size = base_size / 22, base_rect_size = base_size / 22, - ink = "black", paper = "white") { + ink = "black", paper = "white", accent = "#3366FF") { theme_bw( base_size = base_size, base_family = base_family, header_family = header_family, base_line_size = base_line_size, base_rect_size = base_rect_size, - ink = ink, paper = paper + ink = ink, paper = paper, accent = accent ) %+replace% theme( # no background and no grid @@ -517,7 +517,7 @@ theme_void <- function(base_size = 11, base_family = "", header_family = NULL, base_line_size = base_size / 22, base_rect_size = base_size / 22, - ink = "black", paper = alpha(ink, 0)) { + ink = "black", paper = alpha(ink, 0), accent = "#3366FF") { half_line <- base_size / 2 # Only keep indispensable text: legend and plot titles @@ -538,6 +538,13 @@ theme_void <- function(base_size = 11, base_family = "", title = element_text(family = header_family), spacing = unit(half_line, "pt"), margins = margin_auto(half_line), + geom = element_geom( + ink = ink, paper = paper, accent = accent, + linewidth = base_line_size, borderwidth = base_line_size, + linetype = 1L, bordertype = 1L, + family = base_family, fontsize = base_size, + pointsize = (base_size / 11) * 1.5, pointshape = 19 + ), axis.text = element_blank(), axis.title = element_blank(), axis.ticks.length = rel(0), @@ -608,7 +615,7 @@ theme_test <- function(base_size = 11, base_family = "", header_family = NULL, base_line_size = base_size / 22, base_rect_size = base_size / 22, - ink = "black", paper = "white") { + ink = "black", paper = "white", accent = "#3366FF") { half_line <- base_size / 2 t <- theme( @@ -639,7 +646,7 @@ theme_test <- function(base_size = 11, base_family = "", spacing = unit(half_line, "pt"), margins = margin_auto(half_line), geom = element_geom( - ink = ink, paper = paper, accent = "#3366FF", + ink = ink, paper = paper, accent = accent, linewidth = base_line_size, borderwidth = base_line_size, family = base_family, fontsize = base_size, linetype = 1L, From 0a00be64c3ba7b2c79718c39c9168866fd794d28 Mon Sep 17 00:00:00 2001 From: EvaMaeRey Date: Mon, 5 May 2025 08:48:34 -0600 Subject: [PATCH 2/8] devtools document for convenience themets --- ggplot2.Rproj | 1 - man/ggplot2-ggproto.Rd | 2 +- man/ggtheme.Rd | 32 +++++++++++++++++++++----------- 3 files changed, 22 insertions(+), 13 deletions(-) diff --git a/ggplot2.Rproj b/ggplot2.Rproj index 5215454023..30db3b4433 100644 --- a/ggplot2.Rproj +++ b/ggplot2.Rproj @@ -1,5 +1,4 @@ Version: 1.0 -ProjectId: f500cb87-e0be-413f-b396-3eb022932f55 RestoreWorkspace: Default SaveWorkspace: Default diff --git a/man/ggplot2-ggproto.Rd b/man/ggplot2-ggproto.Rd index dcd57c12a1..8fb7630c22 100644 --- a/man/ggplot2-ggproto.Rd +++ b/man/ggplot2-ggproto.Rd @@ -324,7 +324,7 @@ return an empty grob for each panel. \item \code{draw_front}: As above except the returned grob is placed between the layer stack and the foreground defined by the Coord object (usually empty). The default is, as above, to return an empty grob. -\item \code{draw_facet_panels}: Draws each panel for the facet. Should return a list +\item \code{draw_panel_content}: Draws each panel for the facet. Should return a list of grobs, one for each panel. The output is used by the \code{draw_panels} method. \item \code{draw_labels}: Given the gtable returned by \code{draw_panels}, diff --git a/man/ggtheme.Rd b/man/ggtheme.Rd index c306fef405..4a0af1e354 100644 --- a/man/ggtheme.Rd +++ b/man/ggtheme.Rd @@ -20,7 +20,8 @@ theme_grey( base_line_size = base_size/22, base_rect_size = base_size/22, ink = "black", - paper = "white" + paper = "white", + accent = "#3366FF" ) theme_gray( @@ -30,7 +31,8 @@ theme_gray( base_line_size = base_size/22, base_rect_size = base_size/22, ink = "black", - paper = "white" + paper = "white", + accent = "#3366FF" ) theme_bw( @@ -40,7 +42,8 @@ theme_bw( base_line_size = base_size/22, base_rect_size = base_size/22, ink = "black", - paper = "white" + paper = "white", + accent = "#3366FF" ) theme_linedraw( @@ -50,7 +53,8 @@ theme_linedraw( base_line_size = base_size/22, base_rect_size = base_size/22, ink = "black", - paper = "white" + paper = "white", + accent = "#3366FF" ) theme_light( @@ -60,7 +64,8 @@ theme_light( base_line_size = base_size/22, base_rect_size = base_size/22, ink = "black", - paper = "white" + paper = "white", + accent = "#3366FF" ) theme_dark( @@ -70,7 +75,8 @@ theme_dark( base_line_size = base_size/22, base_rect_size = base_size/22, ink = "black", - paper = "white" + paper = "white", + accent = "#3366FF" ) theme_minimal( @@ -80,7 +86,8 @@ theme_minimal( base_line_size = base_size/22, base_rect_size = base_size/22, ink = "black", - paper = "white" + paper = "white", + accent = "#3366FF" ) theme_classic( @@ -90,7 +97,8 @@ theme_classic( base_line_size = base_size/22, base_rect_size = base_size/22, ink = "black", - paper = "white" + paper = "white", + accent = "#3366FF" ) theme_void( @@ -100,7 +108,8 @@ theme_void( base_line_size = base_size/22, base_rect_size = base_size/22, ink = "black", - paper = alpha(ink, 0) + paper = alpha(ink, 0), + accent = "#3366FF" ) theme_test( @@ -110,7 +119,8 @@ theme_test( base_line_size = base_size/22, base_rect_size = base_size/22, ink = "black", - paper = "white" + paper = "white", + accent = "#3366FF" ) } \arguments{ @@ -126,7 +136,7 @@ legend titles, the plot title and tag text.} \item{base_rect_size}{base size for rect elements} -\item{ink, paper}{colour for foreground and background elements respectively.} +\item{ink, paper, accent}{colour for foreground, background, and accented elements respectively.} } \description{ These are complete themes which control all non-data display. Use From 0bb6da2a4b107e19b05080ceb4068098d04cbce0 Mon Sep 17 00:00:00 2001 From: Gina Reynolds Date: Mon, 5 May 2025 10:07:00 -0600 Subject: [PATCH 3/8] Update ggplot2.Rproj Adding project ID --- ggplot2.Rproj | 1 + 1 file changed, 1 insertion(+) diff --git a/ggplot2.Rproj b/ggplot2.Rproj index 30db3b4433..5215454023 100644 --- a/ggplot2.Rproj +++ b/ggplot2.Rproj @@ -1,4 +1,5 @@ Version: 1.0 +ProjectId: f500cb87-e0be-413f-b396-3eb022932f55 RestoreWorkspace: Default SaveWorkspace: Default From 7808b4534badef9ff2bfa62ea3518e248f4fd156 Mon Sep 17 00:00:00 2001 From: Gina Reynolds Date: Mon, 5 May 2025 10:16:35 -0600 Subject: [PATCH 4/8] Update ggplot2-ggproto.Rd Evening up with dev ggplot2 --- man/ggplot2-ggproto.Rd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man/ggplot2-ggproto.Rd b/man/ggplot2-ggproto.Rd index 8fb7630c22..dcd57c12a1 100644 --- a/man/ggplot2-ggproto.Rd +++ b/man/ggplot2-ggproto.Rd @@ -324,7 +324,7 @@ return an empty grob for each panel. \item \code{draw_front}: As above except the returned grob is placed between the layer stack and the foreground defined by the Coord object (usually empty). The default is, as above, to return an empty grob. -\item \code{draw_panel_content}: Draws each panel for the facet. Should return a list +\item \code{draw_facet_panels}: Draws each panel for the facet. Should return a list of grobs, one for each panel. The output is used by the \code{draw_panels} method. \item \code{draw_labels}: Given the gtable returned by \code{draw_panels}, From 4635dd537d1d11fcd42b48f1e9fb8cf976b58673 Mon Sep 17 00:00:00 2001 From: EvaMaeRey Date: Mon, 5 May 2025 13:55:49 -0600 Subject: [PATCH 5/8] tests --- ggplot2.Rproj | 1 - .../_snaps/aes/alpha-set-in-alpha.svg | 58 -- .../_snaps/aes/alpha-set-in-colour.svg | 58 -- .../_snaps/aes/stat-count-width-0-5.svg | 56 -- tests/testthat/_snaps/aes/stat-count.svg | 56 -- .../_snaps/aes/stat-identity-width-0-5.svg | 54 -- tests/testthat/_snaps/aes/stat-identity.svg | 54 -- .../_snaps/annotate/line-matches-points.svg | 38 - ...clip-on-by-default-only-inside-visible.svg | 42 -- ...ed-off-both-inside-and-outside-visible.svg | 33 - .../_snaps/coord-cartesian/contract-range.svg | 89 --- .../_snaps/coord-cartesian/expand-range.svg | 91 --- ...ng-off-secondary-title-with-coord-flip.svg | 114 --- .../coord-map-switched-scale-position.svg | 74 -- .../_snaps/coord-map/usa-mercator.svg | 74 -- .../bottom-half-circle-with-rotated-text.svg | 75 -- ...with-axes-placed-at-90-and-225-degrees.svg | 70 -- .../inner-radius-with-all-axes.svg | 131 ---- .../coord-polar/partial-with-all-axes.svg | 131 ---- ...etrack-plot-closed-and-has-center-hole.svg | 61 -- ...cetrack-plot-closed-and-no-center-hole.svg | 61 -- .../rays-circular-arcs-and-spiral-arcs.svg | 369 ---------- .../rose-plot-with-has-equal-spacing.svg | 62 -- .../secondary-axis-ticks-and-labels.svg | 67 -- .../coord-polar/three-concentric-circles.svg | 66 -- .../basic-coord-trans-plot.svg | 291 -------- .../sec-axis-with-coord-trans.svg | 317 --------- .../coord_sf/coord-sf-with-custom-guides.svg | 136 ---- .../coord_sf/limits-specified-in-long-lat.svg | 91 --- .../limits-specified-in-projected-coords.svg | 91 --- tests/testthat/_snaps/coord_sf/no-breaks.svg | 48 -- .../_snaps/coord_sf/no-panel-grid.svg | 68 -- .../coord_sf/non-sf-geoms-using-long-lat.svg | 95 --- .../non-sf-geoms-using-projected-coords.svg | 95 --- .../testthat/_snaps/coord_sf/sf-polygons.svg | 97 --- ...ate-colour-key-with-alpha-key-as-lines.svg | 76 -- .../draw-key/circle-glyphs-of-2cm-size.svg | 100 --- .../horizontal-boxplot-and-crossbar.svg | 97 --- .../horizontal-linerange-and-pointrange.svg | 81 --- .../rectangle-and-dotplot-key-glyphs.svg | 77 -- .../time-series-and-polygon-key-glyphs.svg | 77 -- ...et-grid-with-omitted-inner-axis-labels.svg | 347 --------- ...et-wrap-with-omitted-inner-axis-labels.svg | 375 ---------- ...ft-justified-facet-labels-with-margins.svg | 156 ---- ...fied-rotated-facet-labels-with-margins.svg | 156 ---- .../facet-labels/outside-justified-labels.svg | 144 ---- .../facet-labels/parsed-facet-labels.svg | 67 -- ...sitioned-correctly-in-non-table-layout.svg | 468 ------------ .../facet-strips/switched-facet-strips.svg | 223 ------ .../_snaps/geom-boxplot/customised-style.svg | 167 ----- .../_snaps/geom-boxplot/outlier-colours.svg | 96 --- .../testthat/_snaps/geom-boxplot/staples.svg | 102 --- .../_snaps/geom-curve/flipped-geom-curve.svg | 61 -- .../_snaps/geom-curve/standard-geom-curve.svg | 61 -- .../2-na-values-bin-along-y-stack-center.svg | 71 -- ...-values-dot-density-binning-binwidth-4.svg | 75 -- .../3-stackgroups-bin-y-histodot.svg | 156 ---- ...ckgroups-dot-density-with-aligned-bins.svg | 158 ---- .../geom-dotplot/3-stackgroups-histodot.svg | 158 ---- ...ot-with-dot-density-binning-binwidth-4.svg | 77 -- .../geom-dotplot/bin-along-y-stack-center.svg | 73 -- ...bin-along-y-stack-centerwhole-histodot.svg | 73 -- .../bin-along-y-stack-centerwhole.svg | 73 -- ...bin-x-three-y-groups-stack-centerwhole.svg | 143 ---- .../bin-y-continous-x-axis-grouping-by-x.svg | 143 ---- .../bin-y-continous-x-axis-single-x-group.svg | 143 ---- .../geom-dotplot/bin-y-dodged-coord-flip.svg | 166 ----- .../_snaps/geom-dotplot/bin-y-dodged.svg | 166 ----- .../bin-y-dodging-3-stackgroups-histodot.svg | 151 ---- ...ee-x-groups-bins-aligned-across-groups.svg | 143 ---- ...three-x-groups-bins-aligned-coord-flip.svg | 143 ---- .../bin-y-three-x-groups-fill-and-dodge.svg | 169 ----- ...bin-y-three-x-groups-stack-centerwhole.svg | 143 ---- ...stacked-closer-stackratio-5-fill-white.svg | 77 -- .../facets-3-groups-histodot-stackgroups.svg | 230 ------ .../histodot-binning-equal-bin-spacing.svg | 77 -- .../larger-dots-dotsize-1-5-fill-white.svg | 77 -- .../multiple-groups-bins-aligned.svg | 85 --- .../multiple-groups-bins-not-aligned.svg | 85 --- .../stack-center-with-coord-flip.svg | 77 -- .../_snaps/geom-dotplot/stack-center.svg | 77 -- .../stack-centerwhole-with-coord-flip.svg | 77 -- .../_snaps/geom-dotplot/stack-centerwhole.svg | 77 -- .../stack-down-with-coord-flip.svg | 77 -- .../_snaps/geom-dotplot/stack-down.svg | 77 -- .../geom-dotplot/stack-up-with-coord-flip.svg | 77 -- .../testthat/_snaps/geom-dotplot/stack-up.svg | 77 -- .../_snaps/geom-dotplot/stackratio-1-5.svg | 74 -- ...etype-and-size-specified-as-aesthetics.svg | 102 --- .../hex-bin-plot-in-polar-coordinates.svg | 183 ----- .../hex-bin-plot-with-sqrt-transformed-y.svg | 181 ----- ...e-hex-bin-with-width-and-height-of-0-1.svg | 64 -- .../cartesian-lines-intersect-mid-bars.svg | 70 -- .../flipped-lines-intersect-mid-bars.svg | 70 -- .../lines-curved-in-azequalarea.svg | 61 -- .../polar-lines-intersect-mid-bars.svg | 74 -- .../straight-lines-in-mercator.svg | 61 -- .../geom-label-with-line-parameters.svg | 121 ---- ...nged-order-should-have-same-appearance.svg | 67 -- ...nged-order-should-have-same-appearance.svg | 87 --- .../_snaps/geom-path/lines-colour.svg | 87 --- tests/testthat/_snaps/geom-path/lines.svg | 67 -- .../testthat/_snaps/geom-path/na-linetype.svg | 57 -- .../geom-polygon/basic-polygon-plot.svg | 55 -- .../open-and-closed-munched-polygons.svg | 42 -- .../_snaps/geom-raster/1-x-3-just-0-0.svg | 77 -- .../_snaps/geom-raster/1-x-3-set-limits.svg | 79 -- tests/testthat/_snaps/geom-raster/1-x-3.svg | 75 -- .../_snaps/geom-raster/3-x-1-just-0-0.svg | 77 -- .../_snaps/geom-raster/3-x-1-set-limits.svg | 79 -- tests/testthat/_snaps/geom-raster/3-x-1.svg | 75 -- .../_snaps/geom-raster/3-x-2-just-0-0.svg | 83 --- .../_snaps/geom-raster/3-x-2-set-limits.svg | 85 --- tests/testthat/_snaps/geom-raster/3-x-2.svg | 81 --- .../_snaps/geom-raster/discrete-positions.svg | 60 -- .../geom-raster/irregular-categorical.svg | 69 -- .../_snaps/geom-raster/rectangle-fallback.svg | 78 -- .../_snaps/geom-sf/geom-sf-line-legend.svg | 82 --- .../_snaps/geom-sf/geom-sf-point-legend.svg | 78 -- .../_snaps/geom-sf/geom-sf-polygon-legend.svg | 82 --- .../geom-sf/labels-for-north-carolina.svg | 51 -- .../_snaps/geom-sf/mixed-geometry-types.svg | 85 --- ...-carolina-county-boundaries-with-arrow.svg | 72 -- ...ty-boundaries-with-more-than-one-arrow.svg | 82 --- .../north-carolina-county-boundaries.svg | 97 --- .../_snaps/geom-sf/spatial-points.svg | 70 -- .../geom-sf/texts-for-north-carolina.svg | 50 -- .../ribbon-turned-off-in-geom-smooth.svg | 67 -- .../ribbon-turned-on-in-geom-smooth.svg | 75 -- tests/testthat/_snaps/geom-violin/basic.svg | 60 -- ...is-many-groups-center-should-be-at-2-0.svg | 58 -- ...s-single-group-center-should-be-at-1-0.svg | 58 -- .../_snaps/geom-violin/coord-flip.svg | 60 -- .../_snaps/geom-violin/coord-polar.svg | 64 -- .../geom-violin/dodging-and-coord-flip.svg | 67 -- tests/testthat/_snaps/geom-violin/dodging.svg | 67 -- ...grouping-on-x-and-fill-dodge-width-0-5.svg | 63 -- .../geom-violin/grouping-on-x-and-fill.svg | 63 -- .../_snaps/geom-violin/narrower-width-5.svg | 60 -- ...scale-area-to-sample-size-c-is-smaller.svg | 60 -- .../_snaps/geom-violin/styled-quantiles.svg | 69 -- .../with-smaller-bandwidth-and-points.svg | 135 ---- .../geom-violin/with-tails-and-points.svg | 131 ---- tests/testthat/_snaps/ggsave.md | 9 - .../align-facet-labels-facets-horizontal.svg | 672 ------------------ .../align-facet-labels-facets-vertical.svg | 672 ------------------ .../_snaps/guide-axis/axis-guides-basic.svg | 50 -- .../guide-axis/axis-guides-check-overlap.svg | 164 ----- .../axis-guides-negative-rotation.svg | 106 --- .../axis-guides-positive-rotation.svg | 106 --- ...axis-guides-text-dodged-into-rows-cols.svg | 106 --- ...axis-guides-vertical-negative-rotation.svg | 106 --- .../axis-guides-vertical-rotation.svg | 106 --- .../axis-guides-with-capped-ends.svg | 114 --- .../guide-axis/axis-guides-zero-breaks.svg | 26 - .../guide-axis/axis-guides-zero-rotation.svg | 106 --- .../guide-axis/guide-axis-customization.svg | 298 -------- ...de-axis-theta-in-cartesian-coordinates.svg | 131 ---- ...xis-theta-with-angle-adapting-to-theta.svg | 197 ----- .../guide-titles-with-coord-trans.svg | 80 --- .../guide-axis/guides-specified-in-guides.svg | 311 -------- .../guide-axis/guides-with-minor-ticks.svg | 139 ---- .../logtick-axes-with-customisation.svg | 206 ------ .../guide-axis/position-guide-titles.svg | 40 -- .../_snaps/guide-axis/stacked-axes.svg | 148 ---- .../_snaps/guide-axis/stacked-radial-axes.svg | 147 ---- .../_snaps/guide-axis/thick-axis-lines.svg | 91 --- .../combined-colour-and-fill-aesthetics.svg | 84 --- .../guide-colorbar/customized-colorbar.svg | 80 --- ...e-to-red-colorbar-white-ticks-no-frame.svg | 78 -- .../_snaps/guide-legend/enlarged-guides.svg | 96 --- .../horizontal-legend-direction.svg | 115 --- .../guide-legend/left-aligned-legend-key.svg | 119 ---- .../_snaps/guide-legend/legend-byrow-true.svg | 75 -- .../guide-legend/legend-key-justification.svg | 136 ---- .../legend-with-widely-spaced-keys.svg | 109 --- .../vertical-legend-direction.svg | 115 --- .../guides/facet-grid-legend-on-bottom.svg | 69 -- .../guides/facet-grid-legend-on-left.svg | 69 -- .../guides/facet-grid-legend-on-right.svg | 69 -- .../guides/facet-grid-legend-on-top.svg | 69 -- .../guides/facet-wrap-legend-on-bottom.svg | 58 -- .../guides/facet-wrap-legend-on-left.svg | 58 -- .../guides/facet-wrap-legend-on-right.svg | 58 -- .../guides/facet-wrap-legend-on-top.svg | 58 -- .../guides/guide-bins-can-remove-axis.svg | 73 -- .../guides/guide-bins-can-show-arrows.svg | 79 -- .../guides/guide-bins-can-show-limits.svg | 81 --- ...e-bins-can-show-ticks-and-transparancy.svg | 73 -- .../guides/guide-bins-looks-as-it-should.svg | 77 -- ...s-sets-labels-when-limits-is-in-breaks.svg | 312 -------- ...derstands-coinciding-limits-and-bins-2.svg | 312 -------- ...derstands-coinciding-limits-and-bins-3.svg | 314 -------- ...understands-coinciding-limits-and-bins.svg | 312 -------- .../guides/guide-bins-work-horizontally.svg | 77 -- ...s-sets-labels-when-limits-is-in-breaks.svg | 301 -------- ...derstands-coinciding-limits-and-bins-2.svg | 301 -------- ...derstands-coinciding-limits-and-bins-3.svg | 302 -------- ...understands-coinciding-limits-and-bins.svg | 301 -------- ...teps-can-have-bins-relative-to-binsize.svg | 67 -- .../guide-coloursteps-can-show-limits.svg | 69 -- .../guide-coloursteps-looks-as-it-should.svg | 67 -- .../guides/guide-custom-with-void-theme.svg | 35 - ...t-positioning-and-alignment-via-themes.svg | 89 --- ...ap-of-1cm-between-guide-and-guide-text.svg | 89 --- ...e-plot-bottom-left-of-legend-at-center.svg | 85 --- .../guides/legend-inside-plot-bottom-left.svg | 85 --- .../guides/legend-inside-plot-centered.svg | 85 --- .../legend-inside-plot-multiple-positions.svg | 85 --- .../guides/legend-inside-plot-top-right.svg | 85 --- .../_snaps/guides/legend-on-bottom.svg | 47 -- .../testthat/_snaps/guides/legend-on-left.svg | 47 -- .../_snaps/guides/legend-on-right.svg | 47 -- .../testthat/_snaps/guides/legend-on-top.svg | 47 -- .../legends-with-all-title-justifications.svg | 99 --- .../guides/multi-line-guide-title-works.svg | 93 --- .../guides/old-s3-guide-drawing-a-circle.svg | 81 --- .../_snaps/guides/padding-in-legend-box.svg | 85 --- .../_snaps/guides/reversed-guide-bins.svg | 97 --- .../rotated-guide-titles-and-labels.svg | 89 --- .../_snaps/guides/stylised-guide-custom.svg | 37 - ...p-of-1cm-between-guide-title-and-guide.svg | 89 --- tests/testthat/_snaps/labels/defaults.svg | 64 -- .../testthat/_snaps/labels/tag-in-margin.svg | 79 -- .../labels/tag-in-panel-as-character.svg | 79 -- .../_snaps/labels/tag-in-panel-as-numeric.svg | 79 -- .../labels/tag-in-plot-as-character.svg | 79 -- .../_snaps/labels/tag-in-plot-as-numeric.svg | 79 -- .../_snaps/legend-draw/all-legend-keys.svg | 63 -- .../patterns/pattern-fills-no-alpha.svg | 115 --- .../patterns/pattern-fills-through-scale.svg | 155 ---- .../patterns/pattern-fills-with-alpha.svg | 120 ---- .../_snaps/patterns/single-pattern-fill.svg | 120 ---- .../_snaps/position-stack/area-stacking.svg | 61 -- .../dates-along-x-default-breaks.svg | 56 -- .../dates-along-y-default-breaks.svg | 56 -- .../scale-x-date-breaks-3-weeks.svg | 58 -- ...ale-x-date-breaks-breaks-width-2-weeks.svg | 64 -- .../scale-x-date-labels-label-date-m-d.svg | 56 -- .../scale-x-date-labels-label-date-w-week.svg | 56 -- .../scale-y-date-breaks-3-weeks.svg | 58 -- ...ale-y-date-breaks-breaks-width-2-weeks.svg | 64 -- .../_snaps/scales-breaks-labels/character.svg | 60 -- .../_snaps/scales-breaks-labels/date.svg | 82 --- .../functional-limits.svg | 84 --- .../no-alpha-breaks-no-legend.svg | 60 -- .../no-colour-breaks-no-legend.svg | 60 -- .../no-fill-breaks-no-legend.svg | 60 -- .../no-size-breaks-no-legend.svg | 60 -- .../scales-breaks-labels/no-x-breaks.svg | 50 -- .../scales-breaks-labels/no-y-breaks.svg | 50 -- .../scales-breaks-labels/numeric-exp.svg | 73 -- .../scales-breaks-labels/numeric-log.svg | 67 -- .../scales-breaks-labels/numeric-polar.svg | 61 -- .../_snaps/scales-breaks-labels/numeric.svg | 57 -- .../sec-axis/sec-axis-custom-transform.svg | 110 --- .../sec-axis/sec-axis-datetime-scale.svg | 137 ---- .../sec-axis-independent-transformations.svg | 83 --- .../sec-axis/sec-axis-monotonicity-test.svg | 85 --- .../sec-axis/sec-axis-sec-power-transform.svg | 94 --- .../sec-axis/sec-axis-skewed-transform.svg | 194 ----- .../sec-axis/sec-axis-with-division.svg | 315 -------- .../stat-align/align-two-areas-with-cliff.svg | 63 -- .../align-two-areas-with-pos-neg-y.svg | 63 -- .../_snaps/stat-align/align-two-areas.svg | 63 -- .../stat-sum/summary-with-color-and-lines.svg | 103 --- ...summary-with-crossbars-manual-grouping.svg | 97 --- .../summary-with-crossbars-no-grouping.svg | 97 --- tests/testthat/_snaps/theme/axes-styling.svg | 100 --- .../theme/caption-aligned-to-entire-plot.svg | 199 ------ .../custom-strip-elements-can-render.svg | 186 ----- ...eight-is-3-times-width-2-column-facets.svg | 109 --- .../height-is-3-times-width-2-row-facets.svg | 109 --- .../height-is-3-times-width-2-wrap-facets.svg | 109 --- .../height-is-3-times-width-2x2-facets.svg | 161 ----- .../_snaps/theme/height-is-3-times-width.svg | 68 -- tests/testthat/_snaps/theme/large-margins.svg | 96 --- tests/testthat/_snaps/theme/large-spacing.svg | 96 --- ...egends-at-all-sides-with-justification.svg | 157 ---- .../testthat/_snaps/theme/point-elements.svg | 27 - .../_snaps/theme/polygon-elements.svg | 24 - .../theme/rotated-x-axis-tick-labels.svg | 67 -- .../theme/stretched-horizontal-legends.svg | 90 --- .../theme/stretched-vertical-legends.svg | 90 --- tests/testthat/_snaps/theme/strip-styling.svg | 222 ------ .../testthat/_snaps/theme/theme-bw-large.svg | 97 --- tests/testthat/_snaps/theme/theme-bw.svg | 97 --- .../_snaps/theme/theme-classic-large.svg | 80 --- tests/testthat/_snaps/theme/theme-classic.svg | 80 --- .../_snaps/theme/theme-dark-large.svg | 96 --- tests/testthat/_snaps/theme/theme-dark.svg | 96 --- .../_snaps/theme/theme-gray-large.svg | 96 --- tests/testthat/_snaps/theme/theme-gray.svg | 96 --- .../_snaps/theme/theme-light-large.svg | 97 --- tests/testthat/_snaps/theme/theme-light.svg | 97 --- .../_snaps/theme/theme-linedraw-large.svg | 97 --- .../testthat/_snaps/theme/theme-linedraw.svg | 97 --- .../_snaps/theme/theme-minimal-large.svg | 81 --- tests/testthat/_snaps/theme/theme-minimal.svg | 81 --- .../_snaps/theme/theme-void-large.svg | 51 -- tests/testthat/_snaps/theme/theme-void.svg | 51 -- .../theme/theme-with-inverted-colours.svg | 332 --------- tests/testthat/_snaps/theme/ticks-length.svg | 81 --- .../theme/titles-aligned-to-entire-plot.svg | 199 ------ .../_snaps/theme/width-is-3-times-height.svg | 68 -- 305 files changed, 32392 deletions(-) delete mode 100644 tests/testthat/_snaps/aes/alpha-set-in-alpha.svg delete mode 100644 tests/testthat/_snaps/aes/alpha-set-in-colour.svg delete mode 100644 tests/testthat/_snaps/aes/stat-count-width-0-5.svg delete mode 100644 tests/testthat/_snaps/aes/stat-count.svg delete mode 100644 tests/testthat/_snaps/aes/stat-identity-width-0-5.svg delete mode 100644 tests/testthat/_snaps/aes/stat-identity.svg delete mode 100644 tests/testthat/_snaps/annotate/line-matches-points.svg delete mode 100644 tests/testthat/_snaps/coord-cartesian/clip-on-by-default-only-inside-visible.svg delete mode 100644 tests/testthat/_snaps/coord-cartesian/clip-turned-off-both-inside-and-outside-visible.svg delete mode 100644 tests/testthat/_snaps/coord-cartesian/contract-range.svg delete mode 100644 tests/testthat/_snaps/coord-cartesian/expand-range.svg delete mode 100644 tests/testthat/_snaps/coord-flip/turning-off-secondary-title-with-coord-flip.svg delete mode 100644 tests/testthat/_snaps/coord-map/coord-map-switched-scale-position.svg delete mode 100644 tests/testthat/_snaps/coord-map/usa-mercator.svg delete mode 100644 tests/testthat/_snaps/coord-polar/bottom-half-circle-with-rotated-text.svg delete mode 100644 tests/testthat/_snaps/coord-polar/full-circle-with-axes-placed-at-90-and-225-degrees.svg delete mode 100644 tests/testthat/_snaps/coord-polar/inner-radius-with-all-axes.svg delete mode 100644 tests/testthat/_snaps/coord-polar/partial-with-all-axes.svg delete mode 100644 tests/testthat/_snaps/coord-polar/racetrack-plot-closed-and-has-center-hole.svg delete mode 100644 tests/testthat/_snaps/coord-polar/racetrack-plot-closed-and-no-center-hole.svg delete mode 100644 tests/testthat/_snaps/coord-polar/rays-circular-arcs-and-spiral-arcs.svg delete mode 100644 tests/testthat/_snaps/coord-polar/rose-plot-with-has-equal-spacing.svg delete mode 100644 tests/testthat/_snaps/coord-polar/secondary-axis-ticks-and-labels.svg delete mode 100644 tests/testthat/_snaps/coord-polar/three-concentric-circles.svg delete mode 100644 tests/testthat/_snaps/coord-transform/basic-coord-trans-plot.svg delete mode 100644 tests/testthat/_snaps/coord-transform/sec-axis-with-coord-trans.svg delete mode 100644 tests/testthat/_snaps/coord_sf/coord-sf-with-custom-guides.svg delete mode 100644 tests/testthat/_snaps/coord_sf/limits-specified-in-long-lat.svg delete mode 100644 tests/testthat/_snaps/coord_sf/limits-specified-in-projected-coords.svg delete mode 100644 tests/testthat/_snaps/coord_sf/no-breaks.svg delete mode 100644 tests/testthat/_snaps/coord_sf/no-panel-grid.svg delete mode 100644 tests/testthat/_snaps/coord_sf/non-sf-geoms-using-long-lat.svg delete mode 100644 tests/testthat/_snaps/coord_sf/non-sf-geoms-using-projected-coords.svg delete mode 100644 tests/testthat/_snaps/coord_sf/sf-polygons.svg delete mode 100644 tests/testthat/_snaps/draw-key/appropriate-colour-key-with-alpha-key-as-lines.svg delete mode 100644 tests/testthat/_snaps/draw-key/circle-glyphs-of-2cm-size.svg delete mode 100644 tests/testthat/_snaps/draw-key/horizontal-boxplot-and-crossbar.svg delete mode 100644 tests/testthat/_snaps/draw-key/horizontal-linerange-and-pointrange.svg delete mode 100644 tests/testthat/_snaps/draw-key/rectangle-and-dotplot-key-glyphs.svg delete mode 100644 tests/testthat/_snaps/draw-key/time-series-and-polygon-key-glyphs.svg delete mode 100644 tests/testthat/_snaps/facet-/facet-grid-with-omitted-inner-axis-labels.svg delete mode 100644 tests/testthat/_snaps/facet-/facet-wrap-with-omitted-inner-axis-labels.svg delete mode 100644 tests/testthat/_snaps/facet-/left-justified-facet-labels-with-margins.svg delete mode 100644 tests/testthat/_snaps/facet-/left-justified-rotated-facet-labels-with-margins.svg delete mode 100644 tests/testthat/_snaps/facet-labels/outside-justified-labels.svg delete mode 100644 tests/testthat/_snaps/facet-labels/parsed-facet-labels.svg delete mode 100644 tests/testthat/_snaps/facet-layout/axes-are-positioned-correctly-in-non-table-layout.svg delete mode 100644 tests/testthat/_snaps/facet-strips/switched-facet-strips.svg delete mode 100644 tests/testthat/_snaps/geom-boxplot/customised-style.svg delete mode 100644 tests/testthat/_snaps/geom-boxplot/outlier-colours.svg delete mode 100644 tests/testthat/_snaps/geom-boxplot/staples.svg delete mode 100644 tests/testthat/_snaps/geom-curve/flipped-geom-curve.svg delete mode 100644 tests/testthat/_snaps/geom-curve/standard-geom-curve.svg delete mode 100644 tests/testthat/_snaps/geom-dotplot/2-na-values-bin-along-y-stack-center.svg delete mode 100644 tests/testthat/_snaps/geom-dotplot/2-na-values-dot-density-binning-binwidth-4.svg delete mode 100644 tests/testthat/_snaps/geom-dotplot/3-stackgroups-bin-y-histodot.svg delete mode 100644 tests/testthat/_snaps/geom-dotplot/3-stackgroups-dot-density-with-aligned-bins.svg delete mode 100644 tests/testthat/_snaps/geom-dotplot/3-stackgroups-histodot.svg delete mode 100644 tests/testthat/_snaps/geom-dotplot/basic-dotplot-with-dot-density-binning-binwidth-4.svg delete mode 100644 tests/testthat/_snaps/geom-dotplot/bin-along-y-stack-center.svg delete mode 100644 tests/testthat/_snaps/geom-dotplot/bin-along-y-stack-centerwhole-histodot.svg delete mode 100644 tests/testthat/_snaps/geom-dotplot/bin-along-y-stack-centerwhole.svg delete mode 100644 tests/testthat/_snaps/geom-dotplot/bin-x-three-y-groups-stack-centerwhole.svg delete mode 100644 tests/testthat/_snaps/geom-dotplot/bin-y-continous-x-axis-grouping-by-x.svg delete mode 100644 tests/testthat/_snaps/geom-dotplot/bin-y-continous-x-axis-single-x-group.svg delete mode 100644 tests/testthat/_snaps/geom-dotplot/bin-y-dodged-coord-flip.svg delete mode 100644 tests/testthat/_snaps/geom-dotplot/bin-y-dodged.svg delete mode 100644 tests/testthat/_snaps/geom-dotplot/bin-y-dodging-3-stackgroups-histodot.svg delete mode 100644 tests/testthat/_snaps/geom-dotplot/bin-y-three-x-groups-bins-aligned-across-groups.svg delete mode 100644 tests/testthat/_snaps/geom-dotplot/bin-y-three-x-groups-bins-aligned-coord-flip.svg delete mode 100644 tests/testthat/_snaps/geom-dotplot/bin-y-three-x-groups-fill-and-dodge.svg delete mode 100644 tests/testthat/_snaps/geom-dotplot/bin-y-three-x-groups-stack-centerwhole.svg delete mode 100644 tests/testthat/_snaps/geom-dotplot/dots-stacked-closer-stackratio-5-fill-white.svg delete mode 100644 tests/testthat/_snaps/geom-dotplot/facets-3-groups-histodot-stackgroups.svg delete mode 100644 tests/testthat/_snaps/geom-dotplot/histodot-binning-equal-bin-spacing.svg delete mode 100644 tests/testthat/_snaps/geom-dotplot/larger-dots-dotsize-1-5-fill-white.svg delete mode 100644 tests/testthat/_snaps/geom-dotplot/multiple-groups-bins-aligned.svg delete mode 100644 tests/testthat/_snaps/geom-dotplot/multiple-groups-bins-not-aligned.svg delete mode 100644 tests/testthat/_snaps/geom-dotplot/stack-center-with-coord-flip.svg delete mode 100644 tests/testthat/_snaps/geom-dotplot/stack-center.svg delete mode 100644 tests/testthat/_snaps/geom-dotplot/stack-centerwhole-with-coord-flip.svg delete mode 100644 tests/testthat/_snaps/geom-dotplot/stack-centerwhole.svg delete mode 100644 tests/testthat/_snaps/geom-dotplot/stack-down-with-coord-flip.svg delete mode 100644 tests/testthat/_snaps/geom-dotplot/stack-down.svg delete mode 100644 tests/testthat/_snaps/geom-dotplot/stack-up-with-coord-flip.svg delete mode 100644 tests/testthat/_snaps/geom-dotplot/stack-up.svg delete mode 100755 tests/testthat/_snaps/geom-dotplot/stackratio-1-5.svg delete mode 100644 tests/testthat/_snaps/geom-dotplot/variable-linetype-and-size-specified-as-aesthetics.svg delete mode 100644 tests/testthat/_snaps/geom-hex/hex-bin-plot-in-polar-coordinates.svg delete mode 100644 tests/testthat/_snaps/geom-hex/hex-bin-plot-with-sqrt-transformed-y.svg delete mode 100644 tests/testthat/_snaps/geom-hex/single-hex-bin-with-width-and-height-of-0-1.svg delete mode 100644 tests/testthat/_snaps/geom-hline-vline-abline/cartesian-lines-intersect-mid-bars.svg delete mode 100644 tests/testthat/_snaps/geom-hline-vline-abline/flipped-lines-intersect-mid-bars.svg delete mode 100644 tests/testthat/_snaps/geom-hline-vline-abline/lines-curved-in-azequalarea.svg delete mode 100644 tests/testthat/_snaps/geom-hline-vline-abline/polar-lines-intersect-mid-bars.svg delete mode 100644 tests/testthat/_snaps/geom-hline-vline-abline/straight-lines-in-mercator.svg delete mode 100644 tests/testthat/_snaps/geom-label/geom-label-with-line-parameters.svg delete mode 100644 tests/testthat/_snaps/geom-path/lines-changed-order-should-have-same-appearance.svg delete mode 100644 tests/testthat/_snaps/geom-path/lines-colour-changed-order-should-have-same-appearance.svg delete mode 100644 tests/testthat/_snaps/geom-path/lines-colour.svg delete mode 100644 tests/testthat/_snaps/geom-path/lines.svg delete mode 100644 tests/testthat/_snaps/geom-path/na-linetype.svg delete mode 100644 tests/testthat/_snaps/geom-polygon/basic-polygon-plot.svg delete mode 100644 tests/testthat/_snaps/geom-polygon/open-and-closed-munched-polygons.svg delete mode 100644 tests/testthat/_snaps/geom-raster/1-x-3-just-0-0.svg delete mode 100644 tests/testthat/_snaps/geom-raster/1-x-3-set-limits.svg delete mode 100644 tests/testthat/_snaps/geom-raster/1-x-3.svg delete mode 100644 tests/testthat/_snaps/geom-raster/3-x-1-just-0-0.svg delete mode 100644 tests/testthat/_snaps/geom-raster/3-x-1-set-limits.svg delete mode 100644 tests/testthat/_snaps/geom-raster/3-x-1.svg delete mode 100644 tests/testthat/_snaps/geom-raster/3-x-2-just-0-0.svg delete mode 100644 tests/testthat/_snaps/geom-raster/3-x-2-set-limits.svg delete mode 100644 tests/testthat/_snaps/geom-raster/3-x-2.svg delete mode 100644 tests/testthat/_snaps/geom-raster/discrete-positions.svg delete mode 100644 tests/testthat/_snaps/geom-raster/irregular-categorical.svg delete mode 100644 tests/testthat/_snaps/geom-raster/rectangle-fallback.svg delete mode 100644 tests/testthat/_snaps/geom-sf/geom-sf-line-legend.svg delete mode 100644 tests/testthat/_snaps/geom-sf/geom-sf-point-legend.svg delete mode 100644 tests/testthat/_snaps/geom-sf/geom-sf-polygon-legend.svg delete mode 100644 tests/testthat/_snaps/geom-sf/labels-for-north-carolina.svg delete mode 100644 tests/testthat/_snaps/geom-sf/mixed-geometry-types.svg delete mode 100644 tests/testthat/_snaps/geom-sf/north-carolina-county-boundaries-with-arrow.svg delete mode 100644 tests/testthat/_snaps/geom-sf/north-carolina-county-boundaries-with-more-than-one-arrow.svg delete mode 100644 tests/testthat/_snaps/geom-sf/north-carolina-county-boundaries.svg delete mode 100644 tests/testthat/_snaps/geom-sf/spatial-points.svg delete mode 100644 tests/testthat/_snaps/geom-sf/texts-for-north-carolina.svg delete mode 100644 tests/testthat/_snaps/geom-smooth/ribbon-turned-off-in-geom-smooth.svg delete mode 100644 tests/testthat/_snaps/geom-smooth/ribbon-turned-on-in-geom-smooth.svg delete mode 100644 tests/testthat/_snaps/geom-violin/basic.svg delete mode 100644 tests/testthat/_snaps/geom-violin/continuous-x-axis-many-groups-center-should-be-at-2-0.svg delete mode 100644 tests/testthat/_snaps/geom-violin/continuous-x-axis-single-group-center-should-be-at-1-0.svg delete mode 100644 tests/testthat/_snaps/geom-violin/coord-flip.svg delete mode 100644 tests/testthat/_snaps/geom-violin/coord-polar.svg delete mode 100644 tests/testthat/_snaps/geom-violin/dodging-and-coord-flip.svg delete mode 100644 tests/testthat/_snaps/geom-violin/dodging.svg delete mode 100644 tests/testthat/_snaps/geom-violin/grouping-on-x-and-fill-dodge-width-0-5.svg delete mode 100644 tests/testthat/_snaps/geom-violin/grouping-on-x-and-fill.svg delete mode 100644 tests/testthat/_snaps/geom-violin/narrower-width-5.svg delete mode 100644 tests/testthat/_snaps/geom-violin/scale-area-to-sample-size-c-is-smaller.svg delete mode 100644 tests/testthat/_snaps/geom-violin/styled-quantiles.svg delete mode 100644 tests/testthat/_snaps/geom-violin/with-smaller-bandwidth-and-points.svg delete mode 100644 tests/testthat/_snaps/geom-violin/with-tails-and-points.svg delete mode 100644 tests/testthat/_snaps/guide-axis/align-facet-labels-facets-horizontal.svg delete mode 100644 tests/testthat/_snaps/guide-axis/align-facet-labels-facets-vertical.svg delete mode 100644 tests/testthat/_snaps/guide-axis/axis-guides-basic.svg delete mode 100644 tests/testthat/_snaps/guide-axis/axis-guides-check-overlap.svg delete mode 100644 tests/testthat/_snaps/guide-axis/axis-guides-negative-rotation.svg delete mode 100644 tests/testthat/_snaps/guide-axis/axis-guides-positive-rotation.svg delete mode 100644 tests/testthat/_snaps/guide-axis/axis-guides-text-dodged-into-rows-cols.svg delete mode 100644 tests/testthat/_snaps/guide-axis/axis-guides-vertical-negative-rotation.svg delete mode 100644 tests/testthat/_snaps/guide-axis/axis-guides-vertical-rotation.svg delete mode 100644 tests/testthat/_snaps/guide-axis/axis-guides-with-capped-ends.svg delete mode 100644 tests/testthat/_snaps/guide-axis/axis-guides-zero-breaks.svg delete mode 100644 tests/testthat/_snaps/guide-axis/axis-guides-zero-rotation.svg delete mode 100644 tests/testthat/_snaps/guide-axis/guide-axis-customization.svg delete mode 100644 tests/testthat/_snaps/guide-axis/guide-axis-theta-in-cartesian-coordinates.svg delete mode 100644 tests/testthat/_snaps/guide-axis/guide-axis-theta-with-angle-adapting-to-theta.svg delete mode 100644 tests/testthat/_snaps/guide-axis/guide-titles-with-coord-trans.svg delete mode 100644 tests/testthat/_snaps/guide-axis/guides-specified-in-guides.svg delete mode 100644 tests/testthat/_snaps/guide-axis/guides-with-minor-ticks.svg delete mode 100644 tests/testthat/_snaps/guide-axis/logtick-axes-with-customisation.svg delete mode 100644 tests/testthat/_snaps/guide-axis/position-guide-titles.svg delete mode 100644 tests/testthat/_snaps/guide-axis/stacked-axes.svg delete mode 100644 tests/testthat/_snaps/guide-axis/stacked-radial-axes.svg delete mode 100644 tests/testthat/_snaps/guide-axis/thick-axis-lines.svg delete mode 100644 tests/testthat/_snaps/guide-colorbar/combined-colour-and-fill-aesthetics.svg delete mode 100644 tests/testthat/_snaps/guide-colorbar/customized-colorbar.svg delete mode 100644 tests/testthat/_snaps/guide-colorbar/white-to-red-colorbar-white-ticks-no-frame.svg delete mode 100644 tests/testthat/_snaps/guide-legend/enlarged-guides.svg delete mode 100644 tests/testthat/_snaps/guide-legend/horizontal-legend-direction.svg delete mode 100644 tests/testthat/_snaps/guide-legend/left-aligned-legend-key.svg delete mode 100644 tests/testthat/_snaps/guide-legend/legend-byrow-true.svg delete mode 100644 tests/testthat/_snaps/guide-legend/legend-key-justification.svg delete mode 100644 tests/testthat/_snaps/guide-legend/legend-with-widely-spaced-keys.svg delete mode 100644 tests/testthat/_snaps/guide-legend/vertical-legend-direction.svg delete mode 100644 tests/testthat/_snaps/guides/facet-grid-legend-on-bottom.svg delete mode 100644 tests/testthat/_snaps/guides/facet-grid-legend-on-left.svg delete mode 100644 tests/testthat/_snaps/guides/facet-grid-legend-on-right.svg delete mode 100644 tests/testthat/_snaps/guides/facet-grid-legend-on-top.svg delete mode 100644 tests/testthat/_snaps/guides/facet-wrap-legend-on-bottom.svg delete mode 100644 tests/testthat/_snaps/guides/facet-wrap-legend-on-left.svg delete mode 100644 tests/testthat/_snaps/guides/facet-wrap-legend-on-right.svg delete mode 100644 tests/testthat/_snaps/guides/facet-wrap-legend-on-top.svg delete mode 100644 tests/testthat/_snaps/guides/guide-bins-can-remove-axis.svg delete mode 100644 tests/testthat/_snaps/guides/guide-bins-can-show-arrows.svg delete mode 100644 tests/testthat/_snaps/guides/guide-bins-can-show-limits.svg delete mode 100644 tests/testthat/_snaps/guides/guide-bins-can-show-ticks-and-transparancy.svg delete mode 100644 tests/testthat/_snaps/guides/guide-bins-looks-as-it-should.svg delete mode 100644 tests/testthat/_snaps/guides/guide-bins-sets-labels-when-limits-is-in-breaks.svg delete mode 100644 tests/testthat/_snaps/guides/guide-bins-understands-coinciding-limits-and-bins-2.svg delete mode 100644 tests/testthat/_snaps/guides/guide-bins-understands-coinciding-limits-and-bins-3.svg delete mode 100644 tests/testthat/_snaps/guides/guide-bins-understands-coinciding-limits-and-bins.svg delete mode 100644 tests/testthat/_snaps/guides/guide-bins-work-horizontally.svg delete mode 100644 tests/testthat/_snaps/guides/guide-colorsteps-sets-labels-when-limits-is-in-breaks.svg delete mode 100644 tests/testthat/_snaps/guides/guide-colorsteps-understands-coinciding-limits-and-bins-2.svg delete mode 100644 tests/testthat/_snaps/guides/guide-colorsteps-understands-coinciding-limits-and-bins-3.svg delete mode 100644 tests/testthat/_snaps/guides/guide-colorsteps-understands-coinciding-limits-and-bins.svg delete mode 100644 tests/testthat/_snaps/guides/guide-coloursteps-can-have-bins-relative-to-binsize.svg delete mode 100644 tests/testthat/_snaps/guides/guide-coloursteps-can-show-limits.svg delete mode 100644 tests/testthat/_snaps/guides/guide-coloursteps-looks-as-it-should.svg delete mode 100644 tests/testthat/_snaps/guides/guide-custom-with-void-theme.svg delete mode 100644 tests/testthat/_snaps/guides/guide-title-and-text-positioning-and-alignment-via-themes.svg delete mode 100644 tests/testthat/_snaps/guides/horizontal-gap-of-1cm-between-guide-and-guide-text.svg delete mode 100644 tests/testthat/_snaps/guides/legend-inside-plot-bottom-left-of-legend-at-center.svg delete mode 100644 tests/testthat/_snaps/guides/legend-inside-plot-bottom-left.svg delete mode 100644 tests/testthat/_snaps/guides/legend-inside-plot-centered.svg delete mode 100644 tests/testthat/_snaps/guides/legend-inside-plot-multiple-positions.svg delete mode 100644 tests/testthat/_snaps/guides/legend-inside-plot-top-right.svg delete mode 100644 tests/testthat/_snaps/guides/legend-on-bottom.svg delete mode 100644 tests/testthat/_snaps/guides/legend-on-left.svg delete mode 100644 tests/testthat/_snaps/guides/legend-on-right.svg delete mode 100644 tests/testthat/_snaps/guides/legend-on-top.svg delete mode 100644 tests/testthat/_snaps/guides/legends-with-all-title-justifications.svg delete mode 100644 tests/testthat/_snaps/guides/multi-line-guide-title-works.svg delete mode 100644 tests/testthat/_snaps/guides/old-s3-guide-drawing-a-circle.svg delete mode 100644 tests/testthat/_snaps/guides/padding-in-legend-box.svg delete mode 100644 tests/testthat/_snaps/guides/reversed-guide-bins.svg delete mode 100644 tests/testthat/_snaps/guides/rotated-guide-titles-and-labels.svg delete mode 100644 tests/testthat/_snaps/guides/stylised-guide-custom.svg delete mode 100644 tests/testthat/_snaps/guides/vertical-gap-of-1cm-between-guide-title-and-guide.svg delete mode 100644 tests/testthat/_snaps/labels/defaults.svg delete mode 100644 tests/testthat/_snaps/labels/tag-in-margin.svg delete mode 100644 tests/testthat/_snaps/labels/tag-in-panel-as-character.svg delete mode 100644 tests/testthat/_snaps/labels/tag-in-panel-as-numeric.svg delete mode 100644 tests/testthat/_snaps/labels/tag-in-plot-as-character.svg delete mode 100644 tests/testthat/_snaps/labels/tag-in-plot-as-numeric.svg delete mode 100644 tests/testthat/_snaps/legend-draw/all-legend-keys.svg delete mode 100644 tests/testthat/_snaps/patterns/pattern-fills-no-alpha.svg delete mode 100644 tests/testthat/_snaps/patterns/pattern-fills-through-scale.svg delete mode 100644 tests/testthat/_snaps/patterns/pattern-fills-with-alpha.svg delete mode 100644 tests/testthat/_snaps/patterns/single-pattern-fill.svg delete mode 100644 tests/testthat/_snaps/position-stack/area-stacking.svg delete mode 100644 tests/testthat/_snaps/scale_date/dates-along-x-default-breaks.svg delete mode 100644 tests/testthat/_snaps/scale_date/dates-along-y-default-breaks.svg delete mode 100644 tests/testthat/_snaps/scale_date/scale-x-date-breaks-3-weeks.svg delete mode 100644 tests/testthat/_snaps/scale_date/scale-x-date-breaks-breaks-width-2-weeks.svg delete mode 100644 tests/testthat/_snaps/scale_date/scale-x-date-labels-label-date-m-d.svg delete mode 100644 tests/testthat/_snaps/scale_date/scale-x-date-labels-label-date-w-week.svg delete mode 100644 tests/testthat/_snaps/scale_date/scale-y-date-breaks-3-weeks.svg delete mode 100644 tests/testthat/_snaps/scale_date/scale-y-date-breaks-breaks-width-2-weeks.svg delete mode 100644 tests/testthat/_snaps/scales-breaks-labels/character.svg delete mode 100644 tests/testthat/_snaps/scales-breaks-labels/date.svg delete mode 100644 tests/testthat/_snaps/scales-breaks-labels/functional-limits.svg delete mode 100644 tests/testthat/_snaps/scales-breaks-labels/no-alpha-breaks-no-legend.svg delete mode 100644 tests/testthat/_snaps/scales-breaks-labels/no-colour-breaks-no-legend.svg delete mode 100644 tests/testthat/_snaps/scales-breaks-labels/no-fill-breaks-no-legend.svg delete mode 100644 tests/testthat/_snaps/scales-breaks-labels/no-size-breaks-no-legend.svg delete mode 100644 tests/testthat/_snaps/scales-breaks-labels/no-x-breaks.svg delete mode 100644 tests/testthat/_snaps/scales-breaks-labels/no-y-breaks.svg delete mode 100644 tests/testthat/_snaps/scales-breaks-labels/numeric-exp.svg delete mode 100644 tests/testthat/_snaps/scales-breaks-labels/numeric-log.svg delete mode 100644 tests/testthat/_snaps/scales-breaks-labels/numeric-polar.svg delete mode 100644 tests/testthat/_snaps/scales-breaks-labels/numeric.svg delete mode 100644 tests/testthat/_snaps/sec-axis/sec-axis-custom-transform.svg delete mode 100644 tests/testthat/_snaps/sec-axis/sec-axis-datetime-scale.svg delete mode 100644 tests/testthat/_snaps/sec-axis/sec-axis-independent-transformations.svg delete mode 100644 tests/testthat/_snaps/sec-axis/sec-axis-monotonicity-test.svg delete mode 100644 tests/testthat/_snaps/sec-axis/sec-axis-sec-power-transform.svg delete mode 100644 tests/testthat/_snaps/sec-axis/sec-axis-skewed-transform.svg delete mode 100644 tests/testthat/_snaps/sec-axis/sec-axis-with-division.svg delete mode 100644 tests/testthat/_snaps/stat-align/align-two-areas-with-cliff.svg delete mode 100644 tests/testthat/_snaps/stat-align/align-two-areas-with-pos-neg-y.svg delete mode 100644 tests/testthat/_snaps/stat-align/align-two-areas.svg delete mode 100644 tests/testthat/_snaps/stat-sum/summary-with-color-and-lines.svg delete mode 100644 tests/testthat/_snaps/stat-sum/summary-with-crossbars-manual-grouping.svg delete mode 100644 tests/testthat/_snaps/stat-sum/summary-with-crossbars-no-grouping.svg delete mode 100644 tests/testthat/_snaps/theme/axes-styling.svg delete mode 100644 tests/testthat/_snaps/theme/caption-aligned-to-entire-plot.svg delete mode 100644 tests/testthat/_snaps/theme/custom-strip-elements-can-render.svg delete mode 100644 tests/testthat/_snaps/theme/height-is-3-times-width-2-column-facets.svg delete mode 100644 tests/testthat/_snaps/theme/height-is-3-times-width-2-row-facets.svg delete mode 100644 tests/testthat/_snaps/theme/height-is-3-times-width-2-wrap-facets.svg delete mode 100644 tests/testthat/_snaps/theme/height-is-3-times-width-2x2-facets.svg delete mode 100644 tests/testthat/_snaps/theme/height-is-3-times-width.svg delete mode 100644 tests/testthat/_snaps/theme/large-margins.svg delete mode 100644 tests/testthat/_snaps/theme/large-spacing.svg delete mode 100644 tests/testthat/_snaps/theme/legends-at-all-sides-with-justification.svg delete mode 100644 tests/testthat/_snaps/theme/point-elements.svg delete mode 100644 tests/testthat/_snaps/theme/polygon-elements.svg delete mode 100644 tests/testthat/_snaps/theme/rotated-x-axis-tick-labels.svg delete mode 100644 tests/testthat/_snaps/theme/stretched-horizontal-legends.svg delete mode 100644 tests/testthat/_snaps/theme/stretched-vertical-legends.svg delete mode 100644 tests/testthat/_snaps/theme/strip-styling.svg delete mode 100644 tests/testthat/_snaps/theme/theme-bw-large.svg delete mode 100644 tests/testthat/_snaps/theme/theme-bw.svg delete mode 100644 tests/testthat/_snaps/theme/theme-classic-large.svg delete mode 100644 tests/testthat/_snaps/theme/theme-classic.svg delete mode 100644 tests/testthat/_snaps/theme/theme-dark-large.svg delete mode 100644 tests/testthat/_snaps/theme/theme-dark.svg delete mode 100644 tests/testthat/_snaps/theme/theme-gray-large.svg delete mode 100644 tests/testthat/_snaps/theme/theme-gray.svg delete mode 100644 tests/testthat/_snaps/theme/theme-light-large.svg delete mode 100644 tests/testthat/_snaps/theme/theme-light.svg delete mode 100644 tests/testthat/_snaps/theme/theme-linedraw-large.svg delete mode 100644 tests/testthat/_snaps/theme/theme-linedraw.svg delete mode 100644 tests/testthat/_snaps/theme/theme-minimal-large.svg delete mode 100644 tests/testthat/_snaps/theme/theme-minimal.svg delete mode 100644 tests/testthat/_snaps/theme/theme-void-large.svg delete mode 100644 tests/testthat/_snaps/theme/theme-void.svg delete mode 100644 tests/testthat/_snaps/theme/theme-with-inverted-colours.svg delete mode 100644 tests/testthat/_snaps/theme/ticks-length.svg delete mode 100644 tests/testthat/_snaps/theme/titles-aligned-to-entire-plot.svg delete mode 100644 tests/testthat/_snaps/theme/width-is-3-times-height.svg diff --git a/ggplot2.Rproj b/ggplot2.Rproj index 5215454023..30db3b4433 100644 --- a/ggplot2.Rproj +++ b/ggplot2.Rproj @@ -1,5 +1,4 @@ Version: 1.0 -ProjectId: f500cb87-e0be-413f-b396-3eb022932f55 RestoreWorkspace: Default SaveWorkspace: Default diff --git a/tests/testthat/_snaps/aes/alpha-set-in-alpha.svg b/tests/testthat/_snaps/aes/alpha-set-in-alpha.svg deleted file mode 100644 index 218cedbd24..0000000000 --- a/tests/testthat/_snaps/aes/alpha-set-in-alpha.svg +++ /dev/null @@ -1,58 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - -0.950 -0.975 -1.000 -1.025 -1.050 - - - - - - - - - - -0.950 -0.975 -1.000 -1.025 -1.050 -x -y -Alpha set in alpha - - diff --git a/tests/testthat/_snaps/aes/alpha-set-in-colour.svg b/tests/testthat/_snaps/aes/alpha-set-in-colour.svg deleted file mode 100644 index b705d885b7..0000000000 --- a/tests/testthat/_snaps/aes/alpha-set-in-colour.svg +++ /dev/null @@ -1,58 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - -0.950 -0.975 -1.000 -1.025 -1.050 - - - - - - - - - - -0.950 -0.975 -1.000 -1.025 -1.050 -x -y -Alpha set in colour - - diff --git a/tests/testthat/_snaps/aes/stat-count-width-0-5.svg b/tests/testthat/_snaps/aes/stat-count-width-0-5.svg deleted file mode 100644 index 75f21c1381..0000000000 --- a/tests/testthat/_snaps/aes/stat-count-width-0-5.svg +++ /dev/null @@ -1,56 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - -0.00 -0.25 -0.50 -0.75 -1.00 - - - - - - - - -a -b -c -xvar -count -stat='count', width=0.5 - - diff --git a/tests/testthat/_snaps/aes/stat-count.svg b/tests/testthat/_snaps/aes/stat-count.svg deleted file mode 100644 index a0e4f01dfd..0000000000 --- a/tests/testthat/_snaps/aes/stat-count.svg +++ /dev/null @@ -1,56 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - -0.00 -0.25 -0.50 -0.75 -1.00 - - - - - - - - -a -b -c -xvar -count -stat='count' - - diff --git a/tests/testthat/_snaps/aes/stat-identity-width-0-5.svg b/tests/testthat/_snaps/aes/stat-identity-width-0-5.svg deleted file mode 100644 index 145618e608..0000000000 --- a/tests/testthat/_snaps/aes/stat-identity-width-0-5.svg +++ /dev/null @@ -1,54 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - -0.0 -2.5 -5.0 -7.5 - - - - - - - -a -b -c -xvar -yvar -stat='identity', width=0.5 - - diff --git a/tests/testthat/_snaps/aes/stat-identity.svg b/tests/testthat/_snaps/aes/stat-identity.svg deleted file mode 100644 index 03ab4b2621..0000000000 --- a/tests/testthat/_snaps/aes/stat-identity.svg +++ /dev/null @@ -1,54 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - -0.0 -2.5 -5.0 -7.5 - - - - - - - -a -b -c -xvar -yvar -stat='identity' - - diff --git a/tests/testthat/_snaps/annotate/line-matches-points.svg b/tests/testthat/_snaps/annotate/line-matches-points.svg deleted file mode 100644 index 5cf7faa0d6..0000000000 --- a/tests/testthat/_snaps/annotate/line-matches-points.svg +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - -line matches points - - diff --git a/tests/testthat/_snaps/coord-cartesian/clip-on-by-default-only-inside-visible.svg b/tests/testthat/_snaps/coord-cartesian/clip-on-by-default-only-inside-visible.svg deleted file mode 100644 index 8532b083e3..0000000000 --- a/tests/testthat/_snaps/coord-cartesian/clip-on-by-default-only-inside-visible.svg +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - -inside -inside -inside -inside -outside -outside -outside -outside - - -clip on by default, only 'inside' visible - - diff --git a/tests/testthat/_snaps/coord-cartesian/clip-turned-off-both-inside-and-outside-visible.svg b/tests/testthat/_snaps/coord-cartesian/clip-turned-off-both-inside-and-outside-visible.svg deleted file mode 100644 index b2120e5e14..0000000000 --- a/tests/testthat/_snaps/coord-cartesian/clip-turned-off-both-inside-and-outside-visible.svg +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - - - - - - - - -inside -inside -inside -inside -outside -outside -outside -outside -clip turned off, both 'inside' and 'outside' visible - - diff --git a/tests/testthat/_snaps/coord-cartesian/contract-range.svg b/tests/testthat/_snaps/coord-cartesian/contract-range.svg deleted file mode 100644 index f15cbde745..0000000000 --- a/tests/testthat/_snaps/coord-cartesian/contract-range.svg +++ /dev/null @@ -1,89 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -20 -25 -30 -35 -40 - - - - - - - - - - -2.0 -2.5 -3.0 -3.5 -4.0 -wt -mpg -contract range - - diff --git a/tests/testthat/_snaps/coord-cartesian/expand-range.svg b/tests/testthat/_snaps/coord-cartesian/expand-range.svg deleted file mode 100644 index 09d43c1b22..0000000000 --- a/tests/testthat/_snaps/coord-cartesian/expand-range.svg +++ /dev/null @@ -1,91 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -0 -10 -20 -30 -40 -50 - - - - - - - - - - - -0.0 -2.5 -5.0 -7.5 -10.0 -wt -mpg -expand range - - diff --git a/tests/testthat/_snaps/coord-flip/turning-off-secondary-title-with-coord-flip.svg b/tests/testthat/_snaps/coord-flip/turning-off-secondary-title-with-coord-flip.svg deleted file mode 100644 index 207bd13c34..0000000000 --- a/tests/testthat/_snaps/coord-flip/turning-off-secondary-title-with-coord-flip.svg +++ /dev/null @@ -1,114 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -10 -15 -20 -25 -30 -35 - - - - - - - - - - - - -10 -15 -20 -25 -30 -35 - - - - - -4 -5 -6 -7 -8 -cyl -mpg -turning off secondary title with coord_flip - - diff --git a/tests/testthat/_snaps/coord-map/coord-map-switched-scale-position.svg b/tests/testthat/_snaps/coord-map/coord-map-switched-scale-position.svg deleted file mode 100644 index 9490c73c5b..0000000000 --- a/tests/testthat/_snaps/coord-map/coord-map-switched-scale-position.svg +++ /dev/null @@ -1,74 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --120 --100 --80 - - - - - - -25 -30 -35 -40 -45 -50 -long -lat -coord_map switched scale position - - diff --git a/tests/testthat/_snaps/coord-map/usa-mercator.svg b/tests/testthat/_snaps/coord-map/usa-mercator.svg deleted file mode 100644 index c6a2038aba..0000000000 --- a/tests/testthat/_snaps/coord-map/usa-mercator.svg +++ /dev/null @@ -1,74 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -25 -30 -35 -40 -45 -50 - - - - - - - - - --120 --100 --80 -long -lat -USA mercator - - diff --git a/tests/testthat/_snaps/coord-polar/bottom-half-circle-with-rotated-text.svg b/tests/testthat/_snaps/coord-polar/bottom-half-circle-with-rotated-text.svg deleted file mode 100644 index 6349bcb350..0000000000 --- a/tests/testthat/_snaps/coord-polar/bottom-half-circle-with-rotated-text.svg +++ /dev/null @@ -1,75 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -cat -strawberry -cake -coffee -window -fluid -cat -strawberry -cake -coffee -window -fluid -1 -2 -3 -4 -5 - - - - - - - -0 degrees -90 degrees - - -x -y -bottom half circle with rotated text - - diff --git a/tests/testthat/_snaps/coord-polar/full-circle-with-axes-placed-at-90-and-225-degrees.svg b/tests/testthat/_snaps/coord-polar/full-circle-with-axes-placed-at-90-and-225-degrees.svg deleted file mode 100644 index 46607ddecd..0000000000 --- a/tests/testthat/_snaps/coord-polar/full-circle-with-axes-placed-at-90-and-225-degrees.svg +++ /dev/null @@ -1,70 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -0 -100 -200 -300 - - - - - - -5 -10 - - - - - -5 -10 -x -y -full circle with axes placed at 90 and 225 degrees - - diff --git a/tests/testthat/_snaps/coord-polar/inner-radius-with-all-axes.svg b/tests/testthat/_snaps/coord-polar/inner-radius-with-all-axes.svg deleted file mode 100644 index 7fddfe8e83..0000000000 --- a/tests/testthat/_snaps/coord-polar/inner-radius-with-all-axes.svg +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -100 -200 -300 -400 - - - - - -100 -200 -300 -400 - - - - - - -10 -15 -20 -25 -30 -35 - - - - - - - - - - - - - -10 -15 -20 -25 -30 -35 -disp -mpg -inner.radius with all axes - - diff --git a/tests/testthat/_snaps/coord-polar/partial-with-all-axes.svg b/tests/testthat/_snaps/coord-polar/partial-with-all-axes.svg deleted file mode 100644 index 2f1de17be0..0000000000 --- a/tests/testthat/_snaps/coord-polar/partial-with-all-axes.svg +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -10 -15 -20 -25 -30 -35 - - - - - - - -10 -15 -20 -25 -30 -35 - - - - - - - - -100 -200 -300 -400 - - - - - - - - - -100 -200 -300 -400 -disp -mpg -partial with all axes - - diff --git a/tests/testthat/_snaps/coord-polar/racetrack-plot-closed-and-has-center-hole.svg b/tests/testthat/_snaps/coord-polar/racetrack-plot-closed-and-has-center-hole.svg deleted file mode 100644 index 60045c846f..0000000000 --- a/tests/testthat/_snaps/coord-polar/racetrack-plot-closed-and-has-center-hole.svg +++ /dev/null @@ -1,61 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -1 -2 -0/3 - - - - - - -racetrack plot: closed and has center hole - - diff --git a/tests/testthat/_snaps/coord-polar/racetrack-plot-closed-and-no-center-hole.svg b/tests/testthat/_snaps/coord-polar/racetrack-plot-closed-and-no-center-hole.svg deleted file mode 100644 index 32bb41821f..0000000000 --- a/tests/testthat/_snaps/coord-polar/racetrack-plot-closed-and-no-center-hole.svg +++ /dev/null @@ -1,61 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -1 -2 -0/3 - - - - - - -racetrack plot: closed and no center hole - - diff --git a/tests/testthat/_snaps/coord-polar/rays-circular-arcs-and-spiral-arcs.svg b/tests/testthat/_snaps/coord-polar/rays-circular-arcs-and-spiral-arcs.svg deleted file mode 100644 index 0c255f0bb8..0000000000 --- a/tests/testthat/_snaps/coord-polar/rays-circular-arcs-and-spiral-arcs.svg +++ /dev/null @@ -1,369 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -0 -2 -4 -6 - - - - - - - - -Rays, circular arcs, and spiral arcs - - diff --git a/tests/testthat/_snaps/coord-polar/rose-plot-with-has-equal-spacing.svg b/tests/testthat/_snaps/coord-polar/rose-plot-with-has-equal-spacing.svg deleted file mode 100644 index c82603f417..0000000000 --- a/tests/testthat/_snaps/coord-polar/rose-plot-with-has-equal-spacing.svg +++ /dev/null @@ -1,62 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -A -B -C - - - - - - - -rose plot with has equal spacing - - diff --git a/tests/testthat/_snaps/coord-polar/secondary-axis-ticks-and-labels.svg b/tests/testthat/_snaps/coord-polar/secondary-axis-ticks-and-labels.svg deleted file mode 100644 index 29d0d4dc47..0000000000 --- a/tests/testthat/_snaps/coord-polar/secondary-axis-ticks-and-labels.svg +++ /dev/null @@ -1,67 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 - - - - - - - - - - -0.10 -0.15 -0.20 -0.25 -0.30 -x -y -sec y -secondary axis ticks and labels - - diff --git a/tests/testthat/_snaps/coord-polar/three-concentric-circles.svg b/tests/testthat/_snaps/coord-polar/three-concentric-circles.svg deleted file mode 100644 index b54b3afc35..0000000000 --- a/tests/testthat/_snaps/coord-polar/three-concentric-circles.svg +++ /dev/null @@ -1,66 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -0.25 -0.50 -0.75 -0.00/1.00 - - - - - - - -three-concentric-circles - - diff --git a/tests/testthat/_snaps/coord-transform/basic-coord-trans-plot.svg b/tests/testthat/_snaps/coord-transform/basic-coord-trans-plot.svg deleted file mode 100644 index 6e150c767f..0000000000 --- a/tests/testthat/_snaps/coord-transform/basic-coord-trans-plot.svg +++ /dev/null @@ -1,291 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -20 -30 -40 - - - - - - - - - - -2seater -compact -midsize -minivan -pickup -subcompact -suv -class -hwy -basic coord_trans() plot - - diff --git a/tests/testthat/_snaps/coord-transform/sec-axis-with-coord-trans.svg b/tests/testthat/_snaps/coord-transform/sec-axis-with-coord-trans.svg deleted file mode 100644 index 9a94eed9ae..0000000000 --- a/tests/testthat/_snaps/coord-transform/sec-axis-with-coord-trans.svg +++ /dev/null @@ -1,317 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -10 -15 -20 -25 -30 -35 -11.31371 -16.00000 -22.62742 -32.00000 -45.25483 - - - - - - - - - - -3.5 -4.0 -4.5 -5.0 -5.5 - - - - - - -10 -15 -20 -25 -30 -35 -cty -cty -hwy -log2(hwy) -sec_axis with coord_trans() - - diff --git a/tests/testthat/_snaps/coord_sf/coord-sf-with-custom-guides.svg b/tests/testthat/_snaps/coord_sf/coord-sf-with-custom-guides.svg deleted file mode 100644 index 78e321d395..0000000000 --- a/tests/testthat/_snaps/coord_sf/coord-sf-with-custom-guides.svg +++ /dev/null @@ -1,136 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -80 -° -W -79 -° -W -78 -° -W -77 -° -W -76 -° -W -75 -° -W -40 -° -N -35 -° -N -36 -° -N -81 -° -W -37 -° -N -38 -° -N -39 -° -N -40 -° -N - - - - - - - - - - - - - - - -34 -° -N -35 -° -N -37 -° -N -38 -° -N -76 -° -W -36 -° -N -75 -° -W -39 -° -N -guide_none() with title -title from scale -Secondary guide via `guides()` -coord_sf() with custom guides - - diff --git a/tests/testthat/_snaps/coord_sf/limits-specified-in-long-lat.svg b/tests/testthat/_snaps/coord_sf/limits-specified-in-long-lat.svg deleted file mode 100644 index b31ba03f0a..0000000000 --- a/tests/testthat/_snaps/coord_sf/limits-specified-in-long-lat.svg +++ /dev/null @@ -1,91 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -37 -° -N -38 -° -N -39 -° -N -40 -° -N -41 -° -N - - - - - - - - - - -81 -° -W -80 -° -W -79 -° -W -78 -° -W -77 -° -W -x -y -limits specified in long-lat - - diff --git a/tests/testthat/_snaps/coord_sf/limits-specified-in-projected-coords.svg b/tests/testthat/_snaps/coord_sf/limits-specified-in-projected-coords.svg deleted file mode 100644 index e22101c69f..0000000000 --- a/tests/testthat/_snaps/coord_sf/limits-specified-in-projected-coords.svg +++ /dev/null @@ -1,91 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -37 -° -N -38 -° -N -39 -° -N -40 -° -N -41 -° -N - - - - - - - - - - -81 -° -W -80 -° -W -79 -° -W -78 -° -W -77 -° -W -x -y -limits specified in projected coords - - diff --git a/tests/testthat/_snaps/coord_sf/no-breaks.svg b/tests/testthat/_snaps/coord_sf/no-breaks.svg deleted file mode 100644 index 67455011bb..0000000000 --- a/tests/testthat/_snaps/coord_sf/no-breaks.svg +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -x -y -no breaks - - diff --git a/tests/testthat/_snaps/coord_sf/no-panel-grid.svg b/tests/testthat/_snaps/coord_sf/no-panel-grid.svg deleted file mode 100644 index 3213d4105d..0000000000 --- a/tests/testthat/_snaps/coord_sf/no-panel-grid.svg +++ /dev/null @@ -1,68 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 - - - - - - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 -x -y -no panel grid - - diff --git a/tests/testthat/_snaps/coord_sf/non-sf-geoms-using-long-lat.svg b/tests/testthat/_snaps/coord_sf/non-sf-geoms-using-long-lat.svg deleted file mode 100644 index 36db42661e..0000000000 --- a/tests/testthat/_snaps/coord_sf/non-sf-geoms-using-long-lat.svg +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -35 -° -N -36 -° -N -37 -° -N -38 -° -N -39 -° -N -40 -° -N - - - - - - - - - - - -81 -° -W -80 -° -W -79 -° -W -78 -° -W -77 -° -W -x -y -non-sf geoms using long-lat - - diff --git a/tests/testthat/_snaps/coord_sf/non-sf-geoms-using-projected-coords.svg b/tests/testthat/_snaps/coord_sf/non-sf-geoms-using-projected-coords.svg deleted file mode 100644 index eba8764b6b..0000000000 --- a/tests/testthat/_snaps/coord_sf/non-sf-geoms-using-projected-coords.svg +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -35 -° -N -36 -° -N -37 -° -N -38 -° -N -39 -° -N -40 -° -N - - - - - - - - - - - -81 -° -W -80 -° -W -79 -° -W -78 -° -W -77 -° -W -x -y -non-sf geoms using projected coords - - diff --git a/tests/testthat/_snaps/coord_sf/sf-polygons.svg b/tests/testthat/_snaps/coord_sf/sf-polygons.svg deleted file mode 100644 index d09ff26cc2..0000000000 --- a/tests/testthat/_snaps/coord_sf/sf-polygons.svg +++ /dev/null @@ -1,97 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -36.25 -° -N -36.30 -° -N -36.35 -° -N -36.40 -° -N -36.45 -° -N -36.50 -° -N -36.55 -° -N -36.60 -° -N - - - - - - - - - - - - - -81.7 -° -W -81.6 -° -W -81.5 -° -W -81.4 -° -W -81.3 -° -W -sf-polygons - - diff --git a/tests/testthat/_snaps/draw-key/appropriate-colour-key-with-alpha-key-as-lines.svg b/tests/testthat/_snaps/draw-key/appropriate-colour-key-with-alpha-key-as-lines.svg deleted file mode 100644 index 2975ed8e74..0000000000 --- a/tests/testthat/_snaps/draw-key/appropriate-colour-key-with-alpha-key-as-lines.svg +++ /dev/null @@ -1,76 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - -1.00 -1.25 -1.50 -1.75 -2.00 - - - - - - - - - - -1.00 -1.25 -1.50 -1.75 -2.00 -x -x - -alpha - - - - -line -point - -colour - - - - -line -point -appropriate colour key with alpha key as lines - - diff --git a/tests/testthat/_snaps/draw-key/circle-glyphs-of-2cm-size.svg b/tests/testthat/_snaps/draw-key/circle-glyphs-of-2cm-size.svg deleted file mode 100644 index a5f3eb8c3d..0000000000 --- a/tests/testthat/_snaps/draw-key/circle-glyphs-of-2cm-size.svg +++ /dev/null @@ -1,100 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -2 -3 -4 -5 - - - - - - - - - - -10 -15 -20 -25 -30 -35 -mpg -wt - -factor(cyl) - - - - - - -4 -6 -8 -circle glyphs of 2cm size - - diff --git a/tests/testthat/_snaps/draw-key/horizontal-boxplot-and-crossbar.svg b/tests/testthat/_snaps/draw-key/horizontal-boxplot-and-crossbar.svg deleted file mode 100644 index addbc59e92..0000000000 --- a/tests/testthat/_snaps/draw-key/horizontal-boxplot-and-crossbar.svg +++ /dev/null @@ -1,97 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -a -b -c -d - - - - - - - - - - --1 -0 -1 -2 -3 -4 -middle -group1 - -group1 - - - - - - - - - - - - - - -a -b - -group2 - - - - - - -c -d -horizontal boxplot and crossbar - - diff --git a/tests/testthat/_snaps/draw-key/horizontal-linerange-and-pointrange.svg b/tests/testthat/_snaps/draw-key/horizontal-linerange-and-pointrange.svg deleted file mode 100644 index 9d43e54c99..0000000000 --- a/tests/testthat/_snaps/draw-key/horizontal-linerange-and-pointrange.svg +++ /dev/null @@ -1,81 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -a -b -c -d - - - - - - - - - - --1 -0 -1 -2 -3 -4 -middle -group1 - -group1 - - - - -a -b - -group2 - - - - - - -c -d -horizontal linerange and pointrange - - diff --git a/tests/testthat/_snaps/draw-key/rectangle-and-dotplot-key-glyphs.svg b/tests/testthat/_snaps/draw-key/rectangle-and-dotplot-key-glyphs.svg deleted file mode 100644 index 5538a774c2..0000000000 --- a/tests/testthat/_snaps/draw-key/rectangle-and-dotplot-key-glyphs.svg +++ /dev/null @@ -1,77 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 - - - - - - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 -x -y - -z - - - - - - -a -b -c - -colour - - -line -rectangle and dotplot key glyphs - - diff --git a/tests/testthat/_snaps/draw-key/time-series-and-polygon-key-glyphs.svg b/tests/testthat/_snaps/draw-key/time-series-and-polygon-key-glyphs.svg deleted file mode 100644 index 5e3b176475..0000000000 --- a/tests/testthat/_snaps/draw-key/time-series-and-polygon-key-glyphs.svg +++ /dev/null @@ -1,77 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 - - - - - - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 -x -y - -z - - - - - - -a -b -c - -colour - - -line -time series and polygon key glyphs - - diff --git a/tests/testthat/_snaps/facet-/facet-grid-with-omitted-inner-axis-labels.svg b/tests/testthat/_snaps/facet-/facet-grid-with-omitted-inner-axis-labels.svg deleted file mode 100644 index 4cdc17ce98..0000000000 --- a/tests/testthat/_snaps/facet-/facet-grid-with-omitted-inner-axis-labels.svg +++ /dev/null @@ -1,347 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -0 - - - - - - - - - - -1 - - - - - - - - - - -4 - - - - - - - - - - -6 - - - - - - - - - - -8 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -10 -15 -20 -25 -30 -35 - - - - - - -10 -15 -20 -25 -30 -35 - - - - - - -10 -15 -20 -25 -30 -35 - - - - - - -10 -15 -20 -25 -30 -35 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -100 -200 -300 -400 - - - - -100 -200 -300 -400 - - - - -100 -200 -300 -400 - - - - - - - - -100 -200 -300 -400 - - - - -100 -200 -300 -400 - - - - -100 -200 -300 -400 - - - - - - - - - - - - -mpg -disp -facet_grid with omitted inner axis labels - - diff --git a/tests/testthat/_snaps/facet-/facet-wrap-with-omitted-inner-axis-labels.svg b/tests/testthat/_snaps/facet-/facet-wrap-with-omitted-inner-axis-labels.svg deleted file mode 100644 index 7c936b4768..0000000000 --- a/tests/testthat/_snaps/facet-/facet-wrap-with-omitted-inner-axis-labels.svg +++ /dev/null @@ -1,375 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -6 - - - - - - - - - - -1 - - - - - - - - - - -8 - - - - - - - - - - -0 - - - - - - - - - - -4 - - - - - - - - - - -0 - - - - - - - - - - -4 - - - - - - - - - - -1 - - - - - - - - - - -6 - - - - - - - - - - -0 - - - - - - - - - - - - - - - - - - - - -10 -15 -20 -25 -30 -35 - - - - - - -10 -15 -20 -25 -30 -35 - - - - - - -10 -15 -20 -25 -30 -35 - - - - - - -10 -15 -20 -25 -30 -35 - - - - - - -10 -15 -20 -25 -30 -35 - - - - - - - - - - - - - - - - - - -10 -15 -20 -25 -30 -35 - - - - - - - - - - - - -100 -200 -300 -400 - - - - -100 -200 -300 -400 - - - - - - - - -100 -200 -300 -400 - - - - - - - - -100 -200 -300 -400 - - - - - - - - -mpg -disp -facet_wrap with omitted inner axis labels - - diff --git a/tests/testthat/_snaps/facet-/left-justified-facet-labels-with-margins.svg b/tests/testthat/_snaps/facet-/left-justified-facet-labels-with-margins.svg deleted file mode 100644 index d25d212caa..0000000000 --- a/tests/testthat/_snaps/facet-/left-justified-facet-labels-with-margins.svg +++ /dev/null @@ -1,156 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -a - - - - - - - - - - -aaaaaaabc - - - - - - - - - - -b - - - - - - - - - - -bbbbbbbcd - - - - - - - -1.00 -1.25 -1.50 -1.75 -2.00 - - - - - -1.00 -1.25 -1.50 -1.75 -2.00 -1.00 -1.25 -1.50 -1.75 -2.00 - - - - - -1.00 -1.25 -1.50 -1.75 -2.00 - - - - - -x -y -left justified facet labels with margins - - diff --git a/tests/testthat/_snaps/facet-/left-justified-rotated-facet-labels-with-margins.svg b/tests/testthat/_snaps/facet-/left-justified-rotated-facet-labels-with-margins.svg deleted file mode 100644 index c75376d078..0000000000 --- a/tests/testthat/_snaps/facet-/left-justified-rotated-facet-labels-with-margins.svg +++ /dev/null @@ -1,156 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -a - - - - - - - - - - -aaaaaaabc - - - - - - - - - - -b - - - - - - - - - - -bbbbbbbcd - - - - - - - -1.00 -1.25 -1.50 -1.75 -2.00 - - - - - -1.00 -1.25 -1.50 -1.75 -2.00 -1.00 -1.25 -1.50 -1.75 -2.00 - - - - - -1.00 -1.25 -1.50 -1.75 -2.00 - - - - - -x -y -left justified rotated facet labels with margins - - diff --git a/tests/testthat/_snaps/facet-labels/outside-justified-labels.svg b/tests/testthat/_snaps/facet-labels/outside-justified-labels.svg deleted file mode 100644 index 9b04f0b614..0000000000 --- a/tests/testthat/_snaps/facet-labels/outside-justified-labels.svg +++ /dev/null @@ -1,144 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -C - - - - - - - - - - -D - - - - - - - - - - -A - - - - - - - - - - -B - - - -X -X -X -X -X - -X - -X -X -X -X -X - -X -YYYYY - -Y - - -YYYYY - -Y -x -y -outside-justified labels - - diff --git a/tests/testthat/_snaps/facet-labels/parsed-facet-labels.svg b/tests/testthat/_snaps/facet-labels/parsed-facet-labels.svg deleted file mode 100644 index 60a728505e..0000000000 --- a/tests/testthat/_snaps/facet-labels/parsed-facet-labels.svg +++ /dev/null @@ -1,67 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -α -β - - - - - - - -0.950 -0.975 -1.000 -1.025 -1.050 -0.950 -0.975 -1.000 -1.025 -1.050 - - - - - -parsed facet labels - - diff --git a/tests/testthat/_snaps/facet-layout/axes-are-positioned-correctly-in-non-table-layout.svg b/tests/testthat/_snaps/facet-layout/axes-are-positioned-correctly-in-non-table-layout.svg deleted file mode 100644 index 7d546bcc7e..0000000000 --- a/tests/testthat/_snaps/facet-layout/axes-are-positioned-correctly-in-non-table-layout.svg +++ /dev/null @@ -1,468 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -subcompact - - - - - - - - - - -midsize - - - - - - - - - - -pickup - - - - - - - - - - -compact - - - - - - - - - - -suv - - - - - - - - - - -minivan - - - - - - - - - - -2seater - - - - - - - - -2 -3 -4 -5 -6 -7 - - - - - - -2 -3 -4 -5 -6 -7 - - - - - - -2 -3 -4 -5 -6 -7 -20 -30 -40 - - - -20 -30 -40 - - - -20 -30 -40 - - - -displ -hwy -Axes are positioned correctly in non-table layout - - diff --git a/tests/testthat/_snaps/facet-strips/switched-facet-strips.svg b/tests/testthat/_snaps/facet-strips/switched-facet-strips.svg deleted file mode 100644 index d8f2f75e37..0000000000 --- a/tests/testthat/_snaps/facet-strips/switched-facet-strips.svg +++ /dev/null @@ -1,223 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -4 - - - - - - - - - - -6 - - - - - - - - - - -8 - - - - - - - - - - -0 - - - - - - - - - - -1 - - - - - - -100 -200 -300 -400 - - - - -100 -200 -300 -400 - - - - -100 -200 -300 -400 -3.0 -3.5 -4.0 -4.5 -5.0 - - - - - -3.0 -3.5 -4.0 -4.5 -5.0 - - - - - -disp -drat -switched facet strips - - diff --git a/tests/testthat/_snaps/geom-boxplot/customised-style.svg b/tests/testthat/_snaps/geom-boxplot/customised-style.svg deleted file mode 100644 index 612ec93728..0000000000 --- a/tests/testthat/_snaps/geom-boxplot/customised-style.svg +++ /dev/null @@ -1,167 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -2 -3 -4 -5 -6 -7 - - - - - - - - - - - - - -2seater -compact -midsize -minivan -pickup -subcompact -suv -class -displ - -class - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -2seater -compact -midsize -minivan -pickup -subcompact -suv -customised style - - diff --git a/tests/testthat/_snaps/geom-boxplot/outlier-colours.svg b/tests/testthat/_snaps/geom-boxplot/outlier-colours.svg deleted file mode 100644 index 309ffcc43d..0000000000 --- a/tests/testthat/_snaps/geom-boxplot/outlier-colours.svg +++ /dev/null @@ -1,96 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -3.0 -3.5 -4.0 -4.5 -5.0 - - - - - - - - -4 -6 -8 -factor(cyl) -drat - -factor(cyl) - - - - - - - - - - - - - - - - - - - - - -4 -6 -8 -outlier colours - - diff --git a/tests/testthat/_snaps/geom-boxplot/staples.svg b/tests/testthat/_snaps/geom-boxplot/staples.svg deleted file mode 100644 index b2f4054294..0000000000 --- a/tests/testthat/_snaps/geom-boxplot/staples.svg +++ /dev/null @@ -1,102 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -3.0 -3.5 -4.0 -4.5 -5.0 - - - - - - - - -4 -6 -8 -factor(cyl) -drat - -factor(cyl) - - - - - - - - - - - - - - - - - - - - - -4 -6 -8 -staples - - diff --git a/tests/testthat/_snaps/geom-curve/flipped-geom-curve.svg b/tests/testthat/_snaps/geom-curve/flipped-geom-curve.svg deleted file mode 100644 index 0a82d0b2af..0000000000 --- a/tests/testthat/_snaps/geom-curve/flipped-geom-curve.svg +++ /dev/null @@ -1,61 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - -1.00 -1.25 -1.50 -1.75 -2.00 - - - - - - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 -x -y -flipped geom_curve - - diff --git a/tests/testthat/_snaps/geom-curve/standard-geom-curve.svg b/tests/testthat/_snaps/geom-curve/standard-geom-curve.svg deleted file mode 100644 index 645b025c9d..0000000000 --- a/tests/testthat/_snaps/geom-curve/standard-geom-curve.svg +++ /dev/null @@ -1,61 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - -1.00 -1.25 -1.50 -1.75 -2.00 - - - - - - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 -x -y -standard geom_curve - - diff --git a/tests/testthat/_snaps/geom-dotplot/2-na-values-bin-along-y-stack-center.svg b/tests/testthat/_snaps/geom-dotplot/2-na-values-bin-along-y-stack-center.svg deleted file mode 100644 index ee7f42c683..0000000000 --- a/tests/testthat/_snaps/geom-dotplot/2-na-values-bin-along-y-stack-center.svg +++ /dev/null @@ -1,71 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --2 --1 -0 -1 -2 - - - - - - - - --0.25 -0.00 -0.25 -x -x -2 NA values, bin along y, stack center - - diff --git a/tests/testthat/_snaps/geom-dotplot/2-na-values-dot-density-binning-binwidth-4.svg b/tests/testthat/_snaps/geom-dotplot/2-na-values-dot-density-binning-binwidth-4.svg deleted file mode 100644 index 931ddb6bd0..0000000000 --- a/tests/testthat/_snaps/geom-dotplot/2-na-values-dot-density-binning-binwidth-4.svg +++ /dev/null @@ -1,75 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -0.00 -0.25 -0.50 -0.75 -1.00 - - - - - - - - - - --2 --1 -0 -1 -2 -x -count -2 NA values, dot-density binning, binwidth = .4 - - diff --git a/tests/testthat/_snaps/geom-dotplot/3-stackgroups-bin-y-histodot.svg b/tests/testthat/_snaps/geom-dotplot/3-stackgroups-bin-y-histodot.svg deleted file mode 100644 index b6b299a280..0000000000 --- a/tests/testthat/_snaps/geom-dotplot/3-stackgroups-bin-y-histodot.svg +++ /dev/null @@ -1,156 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --2 --1 -0 -1 -2 - - - - - - - - - -1.00 -1.25 -1.50 -1.75 -x -y - -x - - - - - - -A -B -C -3 stackgroups, bin y, histodot - - diff --git a/tests/testthat/_snaps/geom-dotplot/3-stackgroups-dot-density-with-aligned-bins.svg b/tests/testthat/_snaps/geom-dotplot/3-stackgroups-dot-density-with-aligned-bins.svg deleted file mode 100644 index edc50a7707..0000000000 --- a/tests/testthat/_snaps/geom-dotplot/3-stackgroups-dot-density-with-aligned-bins.svg +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -0.00 -0.25 -0.50 -0.75 -1.00 - - - - - - - - - - --2 --1 -0 -1 -2 -y -count - -x - - - - - - -A -B -C -3 stackgroups, dot-density with aligned bins - - diff --git a/tests/testthat/_snaps/geom-dotplot/3-stackgroups-histodot.svg b/tests/testthat/_snaps/geom-dotplot/3-stackgroups-histodot.svg deleted file mode 100644 index 54ffd9c078..0000000000 --- a/tests/testthat/_snaps/geom-dotplot/3-stackgroups-histodot.svg +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -0.00 -0.25 -0.50 -0.75 -1.00 - - - - - - - - - - --2 --1 -0 -1 -2 -y -count - -x - - - - - - -A -B -C -3 stackgroups, histodot - - diff --git a/tests/testthat/_snaps/geom-dotplot/basic-dotplot-with-dot-density-binning-binwidth-4.svg b/tests/testthat/_snaps/geom-dotplot/basic-dotplot-with-dot-density-binning-binwidth-4.svg deleted file mode 100644 index fce6bcf822..0000000000 --- a/tests/testthat/_snaps/geom-dotplot/basic-dotplot-with-dot-density-binning-binwidth-4.svg +++ /dev/null @@ -1,77 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -0.00 -0.25 -0.50 -0.75 -1.00 - - - - - - - - - - --2 --1 -0 -1 -2 -x -count -basic dotplot with dot-density binning, binwidth = .4 - - diff --git a/tests/testthat/_snaps/geom-dotplot/bin-along-y-stack-center.svg b/tests/testthat/_snaps/geom-dotplot/bin-along-y-stack-center.svg deleted file mode 100644 index 0797211f1b..0000000000 --- a/tests/testthat/_snaps/geom-dotplot/bin-along-y-stack-center.svg +++ /dev/null @@ -1,73 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --2 --1 -0 -1 -2 - - - - - - - - --0.25 -0.00 -0.25 -x -x -bin along y, stack center - - diff --git a/tests/testthat/_snaps/geom-dotplot/bin-along-y-stack-centerwhole-histodot.svg b/tests/testthat/_snaps/geom-dotplot/bin-along-y-stack-centerwhole-histodot.svg deleted file mode 100644 index 1279678b43..0000000000 --- a/tests/testthat/_snaps/geom-dotplot/bin-along-y-stack-centerwhole-histodot.svg +++ /dev/null @@ -1,73 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --2 --1 -0 -1 -2 - - - - - - - - --0.25 -0.00 -0.25 -x -x -bin along y, stack centerwhole, histodot - - diff --git a/tests/testthat/_snaps/geom-dotplot/bin-along-y-stack-centerwhole.svg b/tests/testthat/_snaps/geom-dotplot/bin-along-y-stack-centerwhole.svg deleted file mode 100644 index ac56bcc32e..0000000000 --- a/tests/testthat/_snaps/geom-dotplot/bin-along-y-stack-centerwhole.svg +++ /dev/null @@ -1,73 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --2 --1 -0 -1 -2 - - - - - - - - --0.25 -0.00 -0.25 -x -x -bin along y, stack centerwhole - - diff --git a/tests/testthat/_snaps/geom-dotplot/bin-x-three-y-groups-stack-centerwhole.svg b/tests/testthat/_snaps/geom-dotplot/bin-x-three-y-groups-stack-centerwhole.svg deleted file mode 100644 index 7ac2842fc7..0000000000 --- a/tests/testthat/_snaps/geom-dotplot/bin-x-three-y-groups-stack-centerwhole.svg +++ /dev/null @@ -1,143 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -A -B -C - - - - - - - - --2 --1 -0 -1 -2 -y -x -bin x, three y groups, stack centerwhole - - diff --git a/tests/testthat/_snaps/geom-dotplot/bin-y-continous-x-axis-grouping-by-x.svg b/tests/testthat/_snaps/geom-dotplot/bin-y-continous-x-axis-grouping-by-x.svg deleted file mode 100644 index b3a2cfb7a9..0000000000 --- a/tests/testthat/_snaps/geom-dotplot/bin-y-continous-x-axis-grouping-by-x.svg +++ /dev/null @@ -1,143 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --2 --1 -0 -1 -2 - - - - - - - - -1 -2 -3 -as.numeric(x) -y -bin y, continous x-axis, grouping by x - - diff --git a/tests/testthat/_snaps/geom-dotplot/bin-y-continous-x-axis-single-x-group.svg b/tests/testthat/_snaps/geom-dotplot/bin-y-continous-x-axis-single-x-group.svg deleted file mode 100644 index ff735eed28..0000000000 --- a/tests/testthat/_snaps/geom-dotplot/bin-y-continous-x-axis-single-x-group.svg +++ /dev/null @@ -1,143 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --2 --1 -0 -1 -2 - - - - - - - - -1.75 -2.00 -2.25 -as.numeric(x) -y -bin y, continous x-axis, single x group - - diff --git a/tests/testthat/_snaps/geom-dotplot/bin-y-dodged-coord-flip.svg b/tests/testthat/_snaps/geom-dotplot/bin-y-dodged-coord-flip.svg deleted file mode 100644 index 6207f07469..0000000000 --- a/tests/testthat/_snaps/geom-dotplot/bin-y-dodged-coord-flip.svg +++ /dev/null @@ -1,166 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -foo - - - - - - - - - - - - - - --2.4 --2.0 --1.6 --1.2 --0.8 --0.4 -0.0 -0.4 -0.8 -1.2 -1.6 -2.0 -2.4 -y -x - -x - - - - - - -A -B -C -bin y, dodged, coord_flip - - diff --git a/tests/testthat/_snaps/geom-dotplot/bin-y-dodged.svg b/tests/testthat/_snaps/geom-dotplot/bin-y-dodged.svg deleted file mode 100644 index f8952cdf9f..0000000000 --- a/tests/testthat/_snaps/geom-dotplot/bin-y-dodged.svg +++ /dev/null @@ -1,166 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --2.4 --2.0 --1.6 --1.2 --0.8 --0.4 -0.0 -0.4 -0.8 -1.2 -1.6 -2.0 -2.4 - - - - - - - - - - - - - - -foo -x -y - -x - - - - - - -A -B -C -bin y, dodged - - diff --git a/tests/testthat/_snaps/geom-dotplot/bin-y-dodging-3-stackgroups-histodot.svg b/tests/testthat/_snaps/geom-dotplot/bin-y-dodging-3-stackgroups-histodot.svg deleted file mode 100644 index 627afeac6b..0000000000 --- a/tests/testthat/_snaps/geom-dotplot/bin-y-dodging-3-stackgroups-histodot.svg +++ /dev/null @@ -1,151 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --2 --1 -0 -1 -2 - - - - - - - - -A -B -C -x -y - -g - - - - -A -B -bin y, dodging, 3 stackgroups, histodot - - diff --git a/tests/testthat/_snaps/geom-dotplot/bin-y-three-x-groups-bins-aligned-across-groups.svg b/tests/testthat/_snaps/geom-dotplot/bin-y-three-x-groups-bins-aligned-across-groups.svg deleted file mode 100644 index 0a2f39ef67..0000000000 --- a/tests/testthat/_snaps/geom-dotplot/bin-y-three-x-groups-bins-aligned-across-groups.svg +++ /dev/null @@ -1,143 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --2 --1 -0 -1 -2 - - - - - - - - -A -B -C -x -y -bin y, three x groups, bins aligned across groups - - diff --git a/tests/testthat/_snaps/geom-dotplot/bin-y-three-x-groups-bins-aligned-coord-flip.svg b/tests/testthat/_snaps/geom-dotplot/bin-y-three-x-groups-bins-aligned-coord-flip.svg deleted file mode 100644 index 701a120557..0000000000 --- a/tests/testthat/_snaps/geom-dotplot/bin-y-three-x-groups-bins-aligned-coord-flip.svg +++ /dev/null @@ -1,143 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -A -B -C - - - - - - - - --2 --1 -0 -1 -2 -y -x -bin y, three x groups, bins aligned, coord_flip - - diff --git a/tests/testthat/_snaps/geom-dotplot/bin-y-three-x-groups-fill-and-dodge.svg b/tests/testthat/_snaps/geom-dotplot/bin-y-three-x-groups-fill-and-dodge.svg deleted file mode 100644 index fb1dd6c537..0000000000 --- a/tests/testthat/_snaps/geom-dotplot/bin-y-three-x-groups-fill-and-dodge.svg +++ /dev/null @@ -1,169 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --2.4 --2.0 --1.6 --1.2 --0.8 --0.4 -0.0 -0.4 -0.8 -1.2 -1.6 -2.0 -2.4 -2.8 - - - - - - - - - - - - - - - - - -A -B -C -x -y - -g - - - - -A -B -bin y, three x groups, fill and dodge - - diff --git a/tests/testthat/_snaps/geom-dotplot/bin-y-three-x-groups-stack-centerwhole.svg b/tests/testthat/_snaps/geom-dotplot/bin-y-three-x-groups-stack-centerwhole.svg deleted file mode 100644 index a782f80460..0000000000 --- a/tests/testthat/_snaps/geom-dotplot/bin-y-three-x-groups-stack-centerwhole.svg +++ /dev/null @@ -1,143 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --2 --1 -0 -1 -2 - - - - - - - - -A -B -C -x -y -bin y, three x groups, stack centerwhole - - diff --git a/tests/testthat/_snaps/geom-dotplot/dots-stacked-closer-stackratio-5-fill-white.svg b/tests/testthat/_snaps/geom-dotplot/dots-stacked-closer-stackratio-5-fill-white.svg deleted file mode 100644 index 49ab46365d..0000000000 --- a/tests/testthat/_snaps/geom-dotplot/dots-stacked-closer-stackratio-5-fill-white.svg +++ /dev/null @@ -1,77 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -0.00 -0.25 -0.50 -0.75 -1.00 - - - - - - - - - - --2 --1 -0 -1 -2 -x -count -dots stacked closer: stackratio=.5, fill=white - - diff --git a/tests/testthat/_snaps/geom-dotplot/facets-3-groups-histodot-stackgroups.svg b/tests/testthat/_snaps/geom-dotplot/facets-3-groups-histodot-stackgroups.svg deleted file mode 100644 index 5c6d72c63b..0000000000 --- a/tests/testthat/_snaps/geom-dotplot/facets-3-groups-histodot-stackgroups.svg +++ /dev/null @@ -1,230 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -A - - - - - - - - - - -B - - - - - - - - - - -C - - - - - - - --2 --1 -0 -1 -2 -0.00 -0.25 -0.50 -0.75 -1.00 - - - - - -0.00 -0.25 -0.50 -0.75 -1.00 - - - - - -0.00 -0.25 -0.50 -0.75 -1.00 - - - - - -y -count - -g - - - - -A -B -facets, 3 groups, histodot, stackgroups - - diff --git a/tests/testthat/_snaps/geom-dotplot/histodot-binning-equal-bin-spacing.svg b/tests/testthat/_snaps/geom-dotplot/histodot-binning-equal-bin-spacing.svg deleted file mode 100644 index 9b77f25400..0000000000 --- a/tests/testthat/_snaps/geom-dotplot/histodot-binning-equal-bin-spacing.svg +++ /dev/null @@ -1,77 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -0.00 -0.25 -0.50 -0.75 -1.00 - - - - - - - - - - --2 --1 -0 -1 -2 -x -count -histodot binning (equal bin spacing) - - diff --git a/tests/testthat/_snaps/geom-dotplot/larger-dots-dotsize-1-5-fill-white.svg b/tests/testthat/_snaps/geom-dotplot/larger-dots-dotsize-1-5-fill-white.svg deleted file mode 100644 index b6571b96ff..0000000000 --- a/tests/testthat/_snaps/geom-dotplot/larger-dots-dotsize-1-5-fill-white.svg +++ /dev/null @@ -1,77 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -0.00 -0.25 -0.50 -0.75 -1.00 - - - - - - - - - - --2 --1 -0 -1 -2 -x -count -larger dots: dotsize=1.5, fill=white - - diff --git a/tests/testthat/_snaps/geom-dotplot/multiple-groups-bins-aligned.svg b/tests/testthat/_snaps/geom-dotplot/multiple-groups-bins-aligned.svg deleted file mode 100644 index 87ee8f32a6..0000000000 --- a/tests/testthat/_snaps/geom-dotplot/multiple-groups-bins-aligned.svg +++ /dev/null @@ -1,85 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -0.00 -0.25 -0.50 -0.75 -1.00 - - - - - - - - - - --2 --1 -0 -1 -2 -x -count - -g - - - - -A -B -multiple groups, bins aligned - - diff --git a/tests/testthat/_snaps/geom-dotplot/multiple-groups-bins-not-aligned.svg b/tests/testthat/_snaps/geom-dotplot/multiple-groups-bins-not-aligned.svg deleted file mode 100644 index 452fb01b01..0000000000 --- a/tests/testthat/_snaps/geom-dotplot/multiple-groups-bins-not-aligned.svg +++ /dev/null @@ -1,85 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -0.00 -0.25 -0.50 -0.75 -1.00 - - - - - - - - - - --2 --1 -0 -1 -2 -x -count - -g - - - - -A -B -multiple groups, bins not aligned - - diff --git a/tests/testthat/_snaps/geom-dotplot/stack-center-with-coord-flip.svg b/tests/testthat/_snaps/geom-dotplot/stack-center-with-coord-flip.svg deleted file mode 100644 index 34f05a0dc5..0000000000 --- a/tests/testthat/_snaps/geom-dotplot/stack-center-with-coord-flip.svg +++ /dev/null @@ -1,77 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --2 --1 -0 -1 -2 - - - - - - - - - - --0.50 --0.25 -0.00 -0.25 -0.50 -count -x -stack center with coord_flip - - diff --git a/tests/testthat/_snaps/geom-dotplot/stack-center.svg b/tests/testthat/_snaps/geom-dotplot/stack-center.svg deleted file mode 100644 index e6b4f3ea2b..0000000000 --- a/tests/testthat/_snaps/geom-dotplot/stack-center.svg +++ /dev/null @@ -1,77 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --0.50 --0.25 -0.00 -0.25 -0.50 - - - - - - - - - - --2 --1 -0 -1 -2 -x -count -stack center - - diff --git a/tests/testthat/_snaps/geom-dotplot/stack-centerwhole-with-coord-flip.svg b/tests/testthat/_snaps/geom-dotplot/stack-centerwhole-with-coord-flip.svg deleted file mode 100644 index bd3100d471..0000000000 --- a/tests/testthat/_snaps/geom-dotplot/stack-centerwhole-with-coord-flip.svg +++ /dev/null @@ -1,77 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --2 --1 -0 -1 -2 - - - - - - - - - - --0.50 --0.25 -0.00 -0.25 -0.50 -count -x -stack centerwhole with coord_flip - - diff --git a/tests/testthat/_snaps/geom-dotplot/stack-centerwhole.svg b/tests/testthat/_snaps/geom-dotplot/stack-centerwhole.svg deleted file mode 100644 index c210702dc4..0000000000 --- a/tests/testthat/_snaps/geom-dotplot/stack-centerwhole.svg +++ /dev/null @@ -1,77 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --0.50 --0.25 -0.00 -0.25 -0.50 - - - - - - - - - - --2 --1 -0 -1 -2 -x -count -stack centerwhole - - diff --git a/tests/testthat/_snaps/geom-dotplot/stack-down-with-coord-flip.svg b/tests/testthat/_snaps/geom-dotplot/stack-down-with-coord-flip.svg deleted file mode 100644 index 3e5936aee4..0000000000 --- a/tests/testthat/_snaps/geom-dotplot/stack-down-with-coord-flip.svg +++ /dev/null @@ -1,77 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --2 --1 -0 -1 -2 - - - - - - - - - - --1.00 --0.75 --0.50 --0.25 -0.00 -count -x -stack down with coord_flip - - diff --git a/tests/testthat/_snaps/geom-dotplot/stack-down.svg b/tests/testthat/_snaps/geom-dotplot/stack-down.svg deleted file mode 100644 index 0bc2a3283d..0000000000 --- a/tests/testthat/_snaps/geom-dotplot/stack-down.svg +++ /dev/null @@ -1,77 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --1.00 --0.75 --0.50 --0.25 -0.00 - - - - - - - - - - --2 --1 -0 -1 -2 -x -count -stack down - - diff --git a/tests/testthat/_snaps/geom-dotplot/stack-up-with-coord-flip.svg b/tests/testthat/_snaps/geom-dotplot/stack-up-with-coord-flip.svg deleted file mode 100644 index 8d7bf30ccd..0000000000 --- a/tests/testthat/_snaps/geom-dotplot/stack-up-with-coord-flip.svg +++ /dev/null @@ -1,77 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --2 --1 -0 -1 -2 - - - - - - - - - - -0.00 -0.25 -0.50 -0.75 -1.00 -count -x -stack up with coord_flip - - diff --git a/tests/testthat/_snaps/geom-dotplot/stack-up.svg b/tests/testthat/_snaps/geom-dotplot/stack-up.svg deleted file mode 100644 index 267c45aabd..0000000000 --- a/tests/testthat/_snaps/geom-dotplot/stack-up.svg +++ /dev/null @@ -1,77 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -0.00 -0.25 -0.50 -0.75 -1.00 - - - - - - - - - - --2 --1 -0 -1 -2 -x -count -stack up - - diff --git a/tests/testthat/_snaps/geom-dotplot/stackratio-1-5.svg b/tests/testthat/_snaps/geom-dotplot/stackratio-1-5.svg deleted file mode 100755 index 09021c0550..0000000000 --- a/tests/testthat/_snaps/geom-dotplot/stackratio-1-5.svg +++ /dev/null @@ -1,74 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --1.0 --0.5 -0.0 -0.5 -1.0 - - - - - - - - -3 -6 -9 -x -count -stackratio = 1.5 - - diff --git a/tests/testthat/_snaps/geom-dotplot/variable-linetype-and-size-specified-as-aesthetics.svg b/tests/testthat/_snaps/geom-dotplot/variable-linetype-and-size-specified-as-aesthetics.svg deleted file mode 100644 index dd470e13d0..0000000000 --- a/tests/testthat/_snaps/geom-dotplot/variable-linetype-and-size-specified-as-aesthetics.svg +++ /dev/null @@ -1,102 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -0.00 -0.25 -0.50 -0.75 -1.00 - - - - - - - - - - --2 --1 -0 -1 -2 -x -count - -rep(c("a", "b"), length.out = nrow(dat)) - - - - -a -b - -rep(c(1, 2), length.out = nrow(dat)) - - - - - - - - - - -1.00 -1.25 -1.50 -1.75 -2.00 -variable linetype and size specified as aesthetics - - diff --git a/tests/testthat/_snaps/geom-hex/hex-bin-plot-in-polar-coordinates.svg b/tests/testthat/_snaps/geom-hex/hex-bin-plot-in-polar-coordinates.svg deleted file mode 100644 index a5d0e7ad77..0000000000 --- a/tests/testthat/_snaps/geom-hex/hex-bin-plot-in-polar-coordinates.svg +++ /dev/null @@ -1,183 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -2 -3 -4 -5 -6 - - - -20 -30 -40 - - - -displ -hwy - -count - - - - - - - - - -2.5 -5.0 -7.5 -10.0 -hex bin plot in polar coordinates - - diff --git a/tests/testthat/_snaps/geom-hex/hex-bin-plot-with-sqrt-transformed-y.svg b/tests/testthat/_snaps/geom-hex/hex-bin-plot-with-sqrt-transformed-y.svg deleted file mode 100644 index 3ef7c5378d..0000000000 --- a/tests/testthat/_snaps/geom-hex/hex-bin-plot-with-sqrt-transformed-y.svg +++ /dev/null @@ -1,181 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -20 -30 -40 - - - - - - - - - -2 -3 -4 -5 -6 -7 -displ -hwy - -count - - - - - - - - - -2.5 -5.0 -7.5 -10.0 -hex bin plot with sqrt-transformed y - - diff --git a/tests/testthat/_snaps/geom-hex/single-hex-bin-with-width-and-height-of-0-1.svg b/tests/testthat/_snaps/geom-hex/single-hex-bin-with-width-and-height-of-0-1.svg deleted file mode 100644 index 55c430bb5c..0000000000 --- a/tests/testthat/_snaps/geom-hex/single-hex-bin-with-width-and-height-of-0-1.svg +++ /dev/null @@ -1,64 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - --1.0 --0.5 -0.0 -0.5 -1.0 - - - - - - - - - - --1.0 --0.5 -0.0 -0.5 -1.0 -x -y - -count - - - -1 -single hex bin with width and height of 0.1 - - diff --git a/tests/testthat/_snaps/geom-hline-vline-abline/cartesian-lines-intersect-mid-bars.svg b/tests/testthat/_snaps/geom-hline-vline-abline/cartesian-lines-intersect-mid-bars.svg deleted file mode 100644 index 163e6973da..0000000000 --- a/tests/testthat/_snaps/geom-hline-vline-abline/cartesian-lines-intersect-mid-bars.svg +++ /dev/null @@ -1,70 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -0 -1 -2 -3 -4 -5 - - - - - - - - - - - -A -B -C -D -E -cartesian lines intersect mid-bars - - diff --git a/tests/testthat/_snaps/geom-hline-vline-abline/flipped-lines-intersect-mid-bars.svg b/tests/testthat/_snaps/geom-hline-vline-abline/flipped-lines-intersect-mid-bars.svg deleted file mode 100644 index cd136306cc..0000000000 --- a/tests/testthat/_snaps/geom-hline-vline-abline/flipped-lines-intersect-mid-bars.svg +++ /dev/null @@ -1,70 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -A -B -C -D -E - - - - - - - - - - - -0 -1 -2 -3 -4 -5 -flipped lines intersect mid-bars - - diff --git a/tests/testthat/_snaps/geom-hline-vline-abline/lines-curved-in-azequalarea.svg b/tests/testthat/_snaps/geom-hline-vline-abline/lines-curved-in-azequalarea.svg deleted file mode 100644 index 163e538d16..0000000000 --- a/tests/testthat/_snaps/geom-hline-vline-abline/lines-curved-in-azequalarea.svg +++ /dev/null @@ -1,61 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --40 --38 --36 - - - - - - -174 -176 -178 -long -lat -lines curved in azequalarea - - diff --git a/tests/testthat/_snaps/geom-hline-vline-abline/polar-lines-intersect-mid-bars.svg b/tests/testthat/_snaps/geom-hline-vline-abline/polar-lines-intersect-mid-bars.svg deleted file mode 100644 index 4bd4970011..0000000000 --- a/tests/testthat/_snaps/geom-hline-vline-abline/polar-lines-intersect-mid-bars.svg +++ /dev/null @@ -1,74 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -A -B -C -D -E - - - -0 -1 -2 -3 -4 -5 - - - - - - -polar lines intersect mid-bars - - diff --git a/tests/testthat/_snaps/geom-hline-vline-abline/straight-lines-in-mercator.svg b/tests/testthat/_snaps/geom-hline-vline-abline/straight-lines-in-mercator.svg deleted file mode 100644 index 243bc63f0a..0000000000 --- a/tests/testthat/_snaps/geom-hline-vline-abline/straight-lines-in-mercator.svg +++ /dev/null @@ -1,61 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --40 --38 --36 - - - - - - -174 -176 -178 -long -lat -straight lines in mercator - - diff --git a/tests/testthat/_snaps/geom-label/geom-label-with-line-parameters.svg b/tests/testthat/_snaps/geom-label/geom-label-with-line-parameters.svg deleted file mode 100644 index b7c5c9717f..0000000000 --- a/tests/testthat/_snaps/geom-label/geom-label-with-line-parameters.svg +++ /dev/null @@ -1,121 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - -foo - -bar - -baz - -foo - -bar - -baz - - - -1.00 -1.25 -1.50 -1.75 -2.00 - - - - - - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 -x -y - -labels - - -a - -a - - -a - -a - - -a - -a -bar -baz -foo - -x - - -a - -a - - -a - -a - - -a - -a - - -a - -a - - -a - -a -1.0 -1.5 -2.0 -2.5 -3.0 -geom_label with line parameters - - diff --git a/tests/testthat/_snaps/geom-path/lines-changed-order-should-have-same-appearance.svg b/tests/testthat/_snaps/geom-path/lines-changed-order-should-have-same-appearance.svg deleted file mode 100644 index ca5bfbd669..0000000000 --- a/tests/testthat/_snaps/geom-path/lines-changed-order-should-have-same-appearance.svg +++ /dev/null @@ -1,67 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -A -B -C -D -E - - - - - - - - - - - - -1 -2 -3 -4 -5 -6 -7 -value -category -lines, changed order, should have same appearance - - diff --git a/tests/testthat/_snaps/geom-path/lines-colour-changed-order-should-have-same-appearance.svg b/tests/testthat/_snaps/geom-path/lines-colour-changed-order-should-have-same-appearance.svg deleted file mode 100644 index ea53666c31..0000000000 --- a/tests/testthat/_snaps/geom-path/lines-colour-changed-order-should-have-same-appearance.svg +++ /dev/null @@ -1,87 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -A -B -C -D -E - - - - - - - - - - - - -1 -2 -3 -4 -5 -6 -7 -value -category - -item - - - - - - - - - - - - -Item#1 -Item#2 -Item#3 -Item#4 -Item#5 -Item#6 -lines, colour, changed order, should have same appearance - - diff --git a/tests/testthat/_snaps/geom-path/lines-colour.svg b/tests/testthat/_snaps/geom-path/lines-colour.svg deleted file mode 100644 index 5a5fc6b930..0000000000 --- a/tests/testthat/_snaps/geom-path/lines-colour.svg +++ /dev/null @@ -1,87 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -A -B -C -D -E - - - - - - - - - - - - -1 -2 -3 -4 -5 -6 -7 -value -category - -item - - - - - - - - - - - - -Item#1 -Item#2 -Item#3 -Item#4 -Item#5 -Item#6 -lines, colour - - diff --git a/tests/testthat/_snaps/geom-path/lines.svg b/tests/testthat/_snaps/geom-path/lines.svg deleted file mode 100644 index 19e33ba427..0000000000 --- a/tests/testthat/_snaps/geom-path/lines.svg +++ /dev/null @@ -1,67 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -A -B -C -D -E - - - - - - - - - - - - -1 -2 -3 -4 -5 -6 -7 -value -category -lines - - diff --git a/tests/testthat/_snaps/geom-path/na-linetype.svg b/tests/testthat/_snaps/geom-path/na-linetype.svg deleted file mode 100644 index 65f3c14304..0000000000 --- a/tests/testthat/_snaps/geom-path/na-linetype.svg +++ /dev/null @@ -1,57 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - -1.00 -1.25 -1.50 -1.75 -2.00 - - - - - - - - - - -1.00 -1.25 -1.50 -1.75 -2.00 -x -y -NA linetype - - diff --git a/tests/testthat/_snaps/geom-polygon/basic-polygon-plot.svg b/tests/testthat/_snaps/geom-polygon/basic-polygon-plot.svg deleted file mode 100644 index e1a2dc6d8b..0000000000 --- a/tests/testthat/_snaps/geom-polygon/basic-polygon-plot.svg +++ /dev/null @@ -1,55 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - -0 -10 -20 -30 - - - - - - - - -0 -10 -20 -30 -x -y -basic polygon plot - - diff --git a/tests/testthat/_snaps/geom-polygon/open-and-closed-munched-polygons.svg b/tests/testthat/_snaps/geom-polygon/open-and-closed-munched-polygons.svg deleted file mode 100644 index f134915d5f..0000000000 --- a/tests/testthat/_snaps/geom-polygon/open-and-closed-munched-polygons.svg +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - -colour - - -closed -open -open and closed munched polygons - - diff --git a/tests/testthat/_snaps/geom-raster/1-x-3-just-0-0.svg b/tests/testthat/_snaps/geom-raster/1-x-3-just-0-0.svg deleted file mode 100644 index 3cda3a9d4a..0000000000 --- a/tests/testthat/_snaps/geom-raster/1-x-3-just-0-0.svg +++ /dev/null @@ -1,77 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - --1.00 --0.75 --0.50 --0.25 -0.00 - - - - - - - - - --2 --1 -0 -1 -x -y - -z - - - - - - - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 -1 x 3, just = (0, 0) - - diff --git a/tests/testthat/_snaps/geom-raster/1-x-3-set-limits.svg b/tests/testthat/_snaps/geom-raster/1-x-3-set-limits.svg deleted file mode 100644 index e2ebc6bbc9..0000000000 --- a/tests/testthat/_snaps/geom-raster/1-x-3-set-limits.svg +++ /dev/null @@ -1,79 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - --2 --1 -0 -1 -2 - - - - - - - - - - --2 --1 -0 -1 -2 -x -y - -z - - - - - - - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 -1 x 3, set limits - - diff --git a/tests/testthat/_snaps/geom-raster/1-x-3.svg b/tests/testthat/_snaps/geom-raster/1-x-3.svg deleted file mode 100644 index 40b3a41601..0000000000 --- a/tests/testthat/_snaps/geom-raster/1-x-3.svg +++ /dev/null @@ -1,75 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - --0.50 --0.25 -0.00 -0.25 -0.50 - - - - - - - - --1 -0 -1 -x -y - -z - - - - - - - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 -1 x 3 - - diff --git a/tests/testthat/_snaps/geom-raster/3-x-1-just-0-0.svg b/tests/testthat/_snaps/geom-raster/3-x-1-just-0-0.svg deleted file mode 100644 index 22d38e2920..0000000000 --- a/tests/testthat/_snaps/geom-raster/3-x-1-just-0-0.svg +++ /dev/null @@ -1,77 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - --2 --1 -0 -1 - - - - - - - - - --1.00 --0.75 --0.50 --0.25 -0.00 -x -y - -z - - - - - - - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 -3 x 1, just = (0, 0) - - diff --git a/tests/testthat/_snaps/geom-raster/3-x-1-set-limits.svg b/tests/testthat/_snaps/geom-raster/3-x-1-set-limits.svg deleted file mode 100644 index d979920d86..0000000000 --- a/tests/testthat/_snaps/geom-raster/3-x-1-set-limits.svg +++ /dev/null @@ -1,79 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - --2 --1 -0 -1 -2 - - - - - - - - - - --2 --1 -0 -1 -2 -x -y - -z - - - - - - - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 -3 x 1, set limits - - diff --git a/tests/testthat/_snaps/geom-raster/3-x-1.svg b/tests/testthat/_snaps/geom-raster/3-x-1.svg deleted file mode 100644 index 66a91af91e..0000000000 --- a/tests/testthat/_snaps/geom-raster/3-x-1.svg +++ /dev/null @@ -1,75 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - --1 -0 -1 - - - - - - - - --0.50 --0.25 -0.00 -0.25 -0.50 -x -y - -z - - - - - - - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 -3 x 1 - - diff --git a/tests/testthat/_snaps/geom-raster/3-x-2-just-0-0.svg b/tests/testthat/_snaps/geom-raster/3-x-2-just-0-0.svg deleted file mode 100644 index 436e69545e..0000000000 --- a/tests/testthat/_snaps/geom-raster/3-x-2-just-0-0.svg +++ /dev/null @@ -1,83 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --2 --1 -0 -1 - - - - - - - - - --3 --2 --1 -0 -1 -x -y - -z - - - - - - - - - - - - - -1 -2 -3 -4 -5 -6 -3 x 2, just = (0, 0) - - diff --git a/tests/testthat/_snaps/geom-raster/3-x-2-set-limits.svg b/tests/testthat/_snaps/geom-raster/3-x-2-set-limits.svg deleted file mode 100644 index 3da4913fe1..0000000000 --- a/tests/testthat/_snaps/geom-raster/3-x-2-set-limits.svg +++ /dev/null @@ -1,85 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --2 --1 -0 -1 -2 - - - - - - - - - - --2 --1 -0 -1 -2 -x -y - -z - - - - - - - - - - - - - -1 -2 -3 -4 -5 -6 -3 x 2, set limits - - diff --git a/tests/testthat/_snaps/geom-raster/3-x-2.svg b/tests/testthat/_snaps/geom-raster/3-x-2.svg deleted file mode 100644 index 072a3983c2..0000000000 --- a/tests/testthat/_snaps/geom-raster/3-x-2.svg +++ /dev/null @@ -1,81 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --1 -0 -1 - - - - - - - - --2 --1 -0 -1 -2 -x -y - -z - - - - - - - - - - - - - -1 -2 -3 -4 -5 -6 -3 x 2 - - diff --git a/tests/testthat/_snaps/geom-raster/discrete-positions.svg b/tests/testthat/_snaps/geom-raster/discrete-positions.svg deleted file mode 100644 index 5aca7daef6..0000000000 --- a/tests/testthat/_snaps/geom-raster/discrete-positions.svg +++ /dev/null @@ -1,60 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - -C -D - - - - -A -B -x -y - -interaction(x, y) - - - - - - - - -A.C -B.C -A.D -B.D -discrete positions - - diff --git a/tests/testthat/_snaps/geom-raster/irregular-categorical.svg b/tests/testthat/_snaps/geom-raster/irregular-categorical.svg deleted file mode 100644 index dc12288875..0000000000 --- a/tests/testthat/_snaps/geom-raster/irregular-categorical.svg +++ /dev/null @@ -1,69 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - -0.0 -2.5 -5.0 -7.5 -10.0 - - - - - - - - - - -0.0 -2.5 -5.0 -7.5 -10.0 -x -y - -factor(col) - - - - - - -0 -1 -NA -irregular categorical - - diff --git a/tests/testthat/_snaps/geom-raster/rectangle-fallback.svg b/tests/testthat/_snaps/geom-raster/rectangle-fallback.svg deleted file mode 100644 index ee53464264..0000000000 --- a/tests/testthat/_snaps/geom-raster/rectangle-fallback.svg +++ /dev/null @@ -1,78 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -1.0 -1.5 -2.0 -0.5/2.5 - - - -0.5 -1.0 -1.5 -2.0 -2.5 - - - - - -x -y - -fill - - - - - - - - -A -B -C -D -rectangle fallback - - diff --git a/tests/testthat/_snaps/geom-sf/geom-sf-line-legend.svg b/tests/testthat/_snaps/geom-sf/geom-sf-line-legend.svg deleted file mode 100644 index 642a061bab..0000000000 --- a/tests/testthat/_snaps/geom-sf/geom-sf-line-legend.svg +++ /dev/null @@ -1,82 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -3.0 -3.5 -4.0 -4.5 -5.0 -5.5 -6.0 - - - - - - - - - - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 -3.5 -4.0 - -col - - - - -bar -foo -geom_sf line legend - - diff --git a/tests/testthat/_snaps/geom-sf/geom-sf-point-legend.svg b/tests/testthat/_snaps/geom-sf/geom-sf-point-legend.svg deleted file mode 100644 index e92ba98f8e..0000000000 --- a/tests/testthat/_snaps/geom-sf/geom-sf-point-legend.svg +++ /dev/null @@ -1,78 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -3.0 -3.2 -3.4 -3.6 -3.8 -4.0 - - - - - - - - - - - - -1.0 -1.2 -1.4 -1.6 -1.8 -2.0 - -col - - - - -bar -foo -geom_sf point legend - - diff --git a/tests/testthat/_snaps/geom-sf/geom-sf-polygon-legend.svg b/tests/testthat/_snaps/geom-sf/geom-sf-polygon-legend.svg deleted file mode 100644 index 6eb5d587a8..0000000000 --- a/tests/testthat/_snaps/geom-sf/geom-sf-polygon-legend.svg +++ /dev/null @@ -1,82 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -3.0 -3.5 -4.0 -4.5 -5.0 -5.5 -6.0 - - - - - - - - - - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 -3.5 -4.0 - -col - - - - -bar -foo -geom_sf polygon legend - - diff --git a/tests/testthat/_snaps/geom-sf/labels-for-north-carolina.svg b/tests/testthat/_snaps/geom-sf/labels-for-north-carolina.svg deleted file mode 100644 index f11f41251b..0000000000 --- a/tests/testthat/_snaps/geom-sf/labels-for-north-carolina.svg +++ /dev/null @@ -1,51 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - -ashe - - - -4357807 -4357807 -4357807 - - - - - - --9072027 --9072027 --9072027 -x -y -Labels for North Carolina - - diff --git a/tests/testthat/_snaps/geom-sf/mixed-geometry-types.svg b/tests/testthat/_snaps/geom-sf/mixed-geometry-types.svg deleted file mode 100644 index c8dc5b6922..0000000000 --- a/tests/testthat/_snaps/geom-sf/mixed-geometry-types.svg +++ /dev/null @@ -1,85 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --1 - 0 - 1 - 2 - 3 - 4 - 5 - 6 - - - - - - - - - - - - - - - - --1 - 0 - 1 - 2 - 3 - 4 - 5 - 6 -mixed geometry types - - diff --git a/tests/testthat/_snaps/geom-sf/north-carolina-county-boundaries-with-arrow.svg b/tests/testthat/_snaps/geom-sf/north-carolina-county-boundaries-with-arrow.svg deleted file mode 100644 index 48beafdcdd..0000000000 --- a/tests/testthat/_snaps/geom-sf/north-carolina-county-boundaries-with-arrow.svg +++ /dev/null @@ -1,72 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -36.25 -36.30 -36.35 -36.40 -36.45 -36.50 -36.55 -36.60 - - - - - - - - - - - - - --81.7 --81.6 --81.5 --81.4 --81.3 -North Carolina county boundaries with arrow - - diff --git a/tests/testthat/_snaps/geom-sf/north-carolina-county-boundaries-with-more-than-one-arrow.svg b/tests/testthat/_snaps/geom-sf/north-carolina-county-boundaries-with-more-than-one-arrow.svg deleted file mode 100644 index 165452b12f..0000000000 --- a/tests/testthat/_snaps/geom-sf/north-carolina-county-boundaries-with-more-than-one-arrow.svg +++ /dev/null @@ -1,82 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -36.25 -36.30 -36.35 -36.40 -36.45 -36.50 -36.55 -36.60 - - - - - - - - - - - - - --81.7 --81.6 --81.5 --81.4 --81.3 -North Carolina county boundaries with more than one arrow - - diff --git a/tests/testthat/_snaps/geom-sf/north-carolina-county-boundaries.svg b/tests/testthat/_snaps/geom-sf/north-carolina-county-boundaries.svg deleted file mode 100644 index ebb2ccaf03..0000000000 --- a/tests/testthat/_snaps/geom-sf/north-carolina-county-boundaries.svg +++ /dev/null @@ -1,97 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -36.25 -° -N -36.30 -° -N -36.35 -° -N -36.40 -° -N -36.45 -° -N -36.50 -° -N -36.55 -° -N -36.60 -° -N - - - - - - - - - - - - - -81.7 -° -W -81.6 -° -W -81.5 -° -W -81.4 -° -W -81.3 -° -W -North Carolina county boundaries - - diff --git a/tests/testthat/_snaps/geom-sf/spatial-points.svg b/tests/testthat/_snaps/geom-sf/spatial-points.svg deleted file mode 100644 index febfef41c3..0000000000 --- a/tests/testthat/_snaps/geom-sf/spatial-points.svg +++ /dev/null @@ -1,70 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -1.0 -1.2 -1.4 -1.6 -1.8 -2.0 - - - - - - - - - - - - - 0.0 - 0.2 - 0.4 - 0.6 - 0.8 - 1.0 -spatial points - - diff --git a/tests/testthat/_snaps/geom-sf/texts-for-north-carolina.svg b/tests/testthat/_snaps/geom-sf/texts-for-north-carolina.svg deleted file mode 100644 index ec2184a425..0000000000 --- a/tests/testthat/_snaps/geom-sf/texts-for-north-carolina.svg +++ /dev/null @@ -1,50 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - -ashe - - - -4357807 -4357807 -4357807 - - - - - - --9072027 --9072027 --9072027 -x -y -Texts for North Carolina - - diff --git a/tests/testthat/_snaps/geom-smooth/ribbon-turned-off-in-geom-smooth.svg b/tests/testthat/_snaps/geom-smooth/ribbon-turned-off-in-geom-smooth.svg deleted file mode 100644 index 9059156df4..0000000000 --- a/tests/testthat/_snaps/geom-smooth/ribbon-turned-off-in-geom-smooth.svg +++ /dev/null @@ -1,67 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 - - - - - - - - - - -1.00 -1.25 -1.50 -1.75 -2.00 -x -y - -fill - - - - -A -B -ribbon turned off in geom_smooth - - diff --git a/tests/testthat/_snaps/geom-smooth/ribbon-turned-on-in-geom-smooth.svg b/tests/testthat/_snaps/geom-smooth/ribbon-turned-on-in-geom-smooth.svg deleted file mode 100644 index 429004d485..0000000000 --- a/tests/testthat/_snaps/geom-smooth/ribbon-turned-on-in-geom-smooth.svg +++ /dev/null @@ -1,75 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 - - - - - - - - - - -1.00 -1.25 -1.50 -1.75 -2.00 -x -y - -fill - - - - - - -A -B -ribbon turned on in geom_smooth - - diff --git a/tests/testthat/_snaps/geom-violin/basic.svg b/tests/testthat/_snaps/geom-violin/basic.svg deleted file mode 100644 index 16e7518c21..0000000000 --- a/tests/testthat/_snaps/geom-violin/basic.svg +++ /dev/null @@ -1,60 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - --3 --2 --1 -0 -1 -2 -3 - - - - - - - - - - -A -B -C -x -y -basic - - diff --git a/tests/testthat/_snaps/geom-violin/continuous-x-axis-many-groups-center-should-be-at-2-0.svg b/tests/testthat/_snaps/geom-violin/continuous-x-axis-many-groups-center-should-be-at-2-0.svg deleted file mode 100644 index 611f73f969..0000000000 --- a/tests/testthat/_snaps/geom-violin/continuous-x-axis-many-groups-center-should-be-at-2-0.svg +++ /dev/null @@ -1,58 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - --3 --2 --1 -0 -1 -2 -3 - - - - - - - - - - -1.5 -2.0 -2.5 -as.numeric(x) -y -continuous x axis, many groups (center should be at 2.0) - - diff --git a/tests/testthat/_snaps/geom-violin/continuous-x-axis-single-group-center-should-be-at-1-0.svg b/tests/testthat/_snaps/geom-violin/continuous-x-axis-single-group-center-should-be-at-1-0.svg deleted file mode 100644 index 74fc5ed64e..0000000000 --- a/tests/testthat/_snaps/geom-violin/continuous-x-axis-single-group-center-should-be-at-1-0.svg +++ /dev/null @@ -1,58 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - --3 --2 --1 -0 -1 -2 -3 - - - - - - - - - - -0.75 -1.00 -1.25 -as.numeric(1) -y -continuous x axis, single group (center should be at 1.0) - - diff --git a/tests/testthat/_snaps/geom-violin/coord-flip.svg b/tests/testthat/_snaps/geom-violin/coord-flip.svg deleted file mode 100644 index 59f095248a..0000000000 --- a/tests/testthat/_snaps/geom-violin/coord-flip.svg +++ /dev/null @@ -1,60 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - -A -B -C - - - - - - - - - - --3 --2 --1 -0 -1 -2 -3 -y -x -coord_flip - - diff --git a/tests/testthat/_snaps/geom-violin/coord-polar.svg b/tests/testthat/_snaps/geom-violin/coord-polar.svg deleted file mode 100644 index 5da2c31990..0000000000 --- a/tests/testthat/_snaps/geom-violin/coord-polar.svg +++ /dev/null @@ -1,64 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -A -B -C - - - --3 --2 --1 -0 -1 -2 - - - - - - -x -y -coord_polar - - diff --git a/tests/testthat/_snaps/geom-violin/dodging-and-coord-flip.svg b/tests/testthat/_snaps/geom-violin/dodging-and-coord-flip.svg deleted file mode 100644 index 6af10a6faa..0000000000 --- a/tests/testthat/_snaps/geom-violin/dodging-and-coord-flip.svg +++ /dev/null @@ -1,67 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - -foo - - - - - - - - --3 --2 --1 -0 -1 -2 -3 -y -x - -x - - - - - - -A -B -C -dodging and coord_flip - - diff --git a/tests/testthat/_snaps/geom-violin/dodging.svg b/tests/testthat/_snaps/geom-violin/dodging.svg deleted file mode 100644 index d1d537e3b2..0000000000 --- a/tests/testthat/_snaps/geom-violin/dodging.svg +++ /dev/null @@ -1,67 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - --3 --2 --1 -0 -1 -2 -3 - - - - - - - - -foo -x -y - -x - - - - - - -A -B -C -dodging - - diff --git a/tests/testthat/_snaps/geom-violin/grouping-on-x-and-fill-dodge-width-0-5.svg b/tests/testthat/_snaps/geom-violin/grouping-on-x-and-fill-dodge-width-0-5.svg deleted file mode 100644 index fcf5700ada..0000000000 --- a/tests/testthat/_snaps/geom-violin/grouping-on-x-and-fill-dodge-width-0-5.svg +++ /dev/null @@ -1,63 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --2 -0 -2 - - - - - - -A -B -C -x -y - -g - - - - -e -f -grouping on x and fill, dodge width = 0.5 - - diff --git a/tests/testthat/_snaps/geom-violin/grouping-on-x-and-fill.svg b/tests/testthat/_snaps/geom-violin/grouping-on-x-and-fill.svg deleted file mode 100644 index 477f9a02c5..0000000000 --- a/tests/testthat/_snaps/geom-violin/grouping-on-x-and-fill.svg +++ /dev/null @@ -1,63 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --2 -0 -2 - - - - - - -A -B -C -x -y - -g - - - - -e -f -grouping on x and fill - - diff --git a/tests/testthat/_snaps/geom-violin/narrower-width-5.svg b/tests/testthat/_snaps/geom-violin/narrower-width-5.svg deleted file mode 100644 index d233183697..0000000000 --- a/tests/testthat/_snaps/geom-violin/narrower-width-5.svg +++ /dev/null @@ -1,60 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - --3 --2 --1 -0 -1 -2 -3 - - - - - - - - - - -A -B -C -x -y -narrower (width=.5) - - diff --git a/tests/testthat/_snaps/geom-violin/scale-area-to-sample-size-c-is-smaller.svg b/tests/testthat/_snaps/geom-violin/scale-area-to-sample-size-c-is-smaller.svg deleted file mode 100644 index ca9f1bf889..0000000000 --- a/tests/testthat/_snaps/geom-violin/scale-area-to-sample-size-c-is-smaller.svg +++ /dev/null @@ -1,60 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - --3 --2 --1 -0 -1 -2 -3 - - - - - - - - - - -A -B -C -x -y -scale area to sample size (C is smaller) - - diff --git a/tests/testthat/_snaps/geom-violin/styled-quantiles.svg b/tests/testthat/_snaps/geom-violin/styled-quantiles.svg deleted file mode 100644 index 0b8d55329f..0000000000 --- a/tests/testthat/_snaps/geom-violin/styled-quantiles.svg +++ /dev/null @@ -1,69 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --3 --2 --1 -0 -1 -2 -3 - - - - - - - - - - -A -B -C -x -y -styled quantiles - - diff --git a/tests/testthat/_snaps/geom-violin/with-smaller-bandwidth-and-points.svg b/tests/testthat/_snaps/geom-violin/with-smaller-bandwidth-and-points.svg deleted file mode 100644 index 3dc573d465..0000000000 --- a/tests/testthat/_snaps/geom-violin/with-smaller-bandwidth-and-points.svg +++ /dev/null @@ -1,135 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --3 --2 --1 -0 -1 -2 -3 - - - - - - - - - - -A -B -C -x -y -with smaller bandwidth and points - - diff --git a/tests/testthat/_snaps/geom-violin/with-tails-and-points.svg b/tests/testthat/_snaps/geom-violin/with-tails-and-points.svg deleted file mode 100644 index d109c20fbc..0000000000 --- a/tests/testthat/_snaps/geom-violin/with-tails-and-points.svg +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --5.0 --2.5 -0.0 -2.5 -5.0 - - - - - - - - -A -B -C -x -y -with tails and points - - diff --git a/tests/testthat/_snaps/ggsave.md b/tests/testthat/_snaps/ggsave.md index 03440c5eba..9f12b1c6b1 100644 --- a/tests/testthat/_snaps/ggsave.md +++ b/tests/testthat/_snaps/ggsave.md @@ -1,12 +1,3 @@ -# ggsave can create directories - - Code - ggsave(path, p) - Condition - Error in `ggsave()`: - ! Cannot find directory 'PATH' - i Please supply an existing directory or use `create.dir = TRUE`. - # ggsave warns about empty or multiple filenames Code diff --git a/tests/testthat/_snaps/guide-axis/align-facet-labels-facets-horizontal.svg b/tests/testthat/_snaps/guide-axis/align-facet-labels-facets-horizontal.svg deleted file mode 100644 index 525759cff3..0000000000 --- a/tests/testthat/_snaps/guide-axis/align-facet-labels-facets-horizontal.svg +++ /dev/null @@ -1,672 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -audi - - - - - - - - - - -chevrolet - - - - - - - - - - -dodge - - - - - - - - - - -ford - - - - - - - - - - -honda - - - - - - - - - - -hyundai - - - - - - - - - - -jeep - - - - - - - - - - -land rover - - - - - - - - - - -lincoln - - - - - - - - - - -mercury - - - - - - - - - - -nissan - - - - - - - - - - -pontiac - - - - - - - - - - -subaru - - - - - - - - - - -toyota - - - - - - - - - - -volkswagen - - - - - -20 -30 -40 -a6 quattro -a4 quattro -a4 - - - -k1500 tahoe 4wd -c1500 suburban 2wd -corvette -malibu - - - - -ram 1500 pickup 4wd -durango 4wd -dakota pickup 4wd -caravan 2wd - - - - -f150 pickup 4wd -expedition 2wd -explorer 4wd -mustang - - - - -civic - -tiburon -sonata - - -grand cherokee 4wd - -range rover - -navigator 2wd - -mountaineer 4wd - -pathfinder 4wd -maxima -altima - - - -grand prix - -forester awd -impreza awd - - -land cruiser wagon 4wd -4runner 4wd -toyota tacoma 4wd -camry solara -camry -corolla - - - - - - -gti -passat -jetta -new beetle - - - - -hwy -reorder(model, hwy) -align facet labels, facets horizontal - - diff --git a/tests/testthat/_snaps/guide-axis/align-facet-labels-facets-vertical.svg b/tests/testthat/_snaps/guide-axis/align-facet-labels-facets-vertical.svg deleted file mode 100644 index d1017d39bb..0000000000 --- a/tests/testthat/_snaps/guide-axis/align-facet-labels-facets-vertical.svg +++ /dev/null @@ -1,672 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -audi - - - - - - - - - - -chevrolet - - - - - - - - - - -dodge - - - - - - - - - - -ford - - - - - - - - - - -honda - - - - - - - - - - -hyundai - - - - - - - - - - -jeep - - - - - - - - - - -land rover - - - - - - - - - - -lincoln - - - - - - - - - - -mercury - - - - - - - - - - -nissan - - - - - - - - - - -pontiac - - - - - - - - - - -subaru - - - - - - - - - - -toyota - - - - - - - - - - -volkswagen - - - - - -a6 quattro -a4 quattro -a4 - - - - -k1500 tahoe 4wd -c1500 suburban 2wd -corvette -malibu - - - - -ram 1500 pickup 4wd -durango 4wd -dakota pickup 4wd -caravan 2wd - - - - -f150 pickup 4wd -expedition 2wd -explorer 4wd -mustang - -civic - - -tiburon -sonata - -grand cherokee 4wd - -range rover - -navigator 2wd - -mountaineer 4wd - - - -pathfinder 4wd -maxima -altima - -grand prix - - -forester awd -impreza awd - - - - - - -land cruiser wagon 4wd -4runner 4wd -toyota tacoma 4wd -camry solara -camry -corolla - - - - -gti -passat -jetta -new beetle -20 -30 -40 - - - -reorder(model, hwy) -hwy -align facet labels, facets vertical - - diff --git a/tests/testthat/_snaps/guide-axis/axis-guides-basic.svg b/tests/testthat/_snaps/guide-axis/axis-guides-basic.svg deleted file mode 100644 index 32f3b568eb..0000000000 --- a/tests/testthat/_snaps/guide-axis/axis-guides-basic.svg +++ /dev/null @@ -1,50 +0,0 @@ - - - - - - - - - - - - - - - - -1 -2 -3 - - - - -1 -2 -3 - - - - -1 -2 -3 - -1 -2 -3 - - - - - diff --git a/tests/testthat/_snaps/guide-axis/axis-guides-check-overlap.svg b/tests/testthat/_snaps/guide-axis/axis-guides-check-overlap.svg deleted file mode 100644 index ad9d4f2f71..0000000000 --- a/tests/testthat/_snaps/guide-axis/axis-guides-check-overlap.svg +++ /dev/null @@ -1,164 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -1,000,000,000 -20,000,000,000 -10,000,000,000 -5,000,000,000 -3,000,000,000 -7,000,000,000 -15,000,000,000 -12,000,000,000 -17,000,000,000 - - - - - - - - - - - - - - - - - - - - - -1,000,000,000 -20,000,000,000 -10,000,000,000 -5,000,000,000 -3,000,000,000 -2,000,000,000 -4,000,000,000 -7,000,000,000 -6,000,000,000 -8,000,000,000 -9,000,000,000 -15,000,000,000 -12,000,000,000 -11,000,000,000 -13,000,000,000 -14,000,000,000 -17,000,000,000 -16,000,000,000 -18,000,000,000 -19,000,000,000 - - - - - - - - - - - - - - - - - - - - - -1,000,000,000 -20,000,000,000 -10,000,000,000 -5,000,000,000 -3,000,000,000 -7,000,000,000 -15,000,000,000 -12,000,000,000 -17,000,000,000 - -1,000,000,000 -20,000,000,000 -10,000,000,000 -5,000,000,000 -3,000,000,000 -2,000,000,000 -4,000,000,000 -7,000,000,000 -6,000,000,000 -8,000,000,000 -9,000,000,000 -15,000,000,000 -12,000,000,000 -11,000,000,000 -13,000,000,000 -14,000,000,000 -17,000,000,000 -16,000,000,000 -18,000,000,000 -19,000,000,000 - - - - - - - - - - - - - - - - - - - - - - diff --git a/tests/testthat/_snaps/guide-axis/axis-guides-negative-rotation.svg b/tests/testthat/_snaps/guide-axis/axis-guides-negative-rotation.svg deleted file mode 100644 index 8bb60d982b..0000000000 --- a/tests/testthat/_snaps/guide-axis/axis-guides-negative-rotation.svg +++ /dev/null @@ -1,106 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - -1,000 -2,000 -3,000 -4,000 -5,000 -6,000 -7,000 -8,000 -9,000 -10,000 - - - - - - - - - - - -1,000 -2,000 -3,000 -4,000 -5,000 -6,000 -7,000 -8,000 -9,000 -10,000 - - - - - - - - - - - -1,000 -2,000 -3,000 -4,000 -5,000 -6,000 -7,000 -8,000 -9,000 -10,000 - -1,000 -2,000 -3,000 -4,000 -5,000 -6,000 -7,000 -8,000 -9,000 -10,000 - - - - - - - - - - - - diff --git a/tests/testthat/_snaps/guide-axis/axis-guides-positive-rotation.svg b/tests/testthat/_snaps/guide-axis/axis-guides-positive-rotation.svg deleted file mode 100644 index 61084a3df1..0000000000 --- a/tests/testthat/_snaps/guide-axis/axis-guides-positive-rotation.svg +++ /dev/null @@ -1,106 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - -1,000 -2,000 -3,000 -4,000 -5,000 -6,000 -7,000 -8,000 -9,000 -10,000 - - - - - - - - - - - -1,000 -2,000 -3,000 -4,000 -5,000 -6,000 -7,000 -8,000 -9,000 -10,000 - - - - - - - - - - - -1,000 -2,000 -3,000 -4,000 -5,000 -6,000 -7,000 -8,000 -9,000 -10,000 - -1,000 -2,000 -3,000 -4,000 -5,000 -6,000 -7,000 -8,000 -9,000 -10,000 - - - - - - - - - - - - diff --git a/tests/testthat/_snaps/guide-axis/axis-guides-text-dodged-into-rows-cols.svg b/tests/testthat/_snaps/guide-axis/axis-guides-text-dodged-into-rows-cols.svg deleted file mode 100644 index 0af3c6bcc1..0000000000 --- a/tests/testthat/_snaps/guide-axis/axis-guides-text-dodged-into-rows-cols.svg +++ /dev/null @@ -1,106 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - -1,000,000,000 -3,000,000,000 -5,000,000,000 -7,000,000,000 -9,000,000,000 -2,000,000,000 -4,000,000,000 -6,000,000,000 -8,000,000,000 -10,000,000,000 - - - - - - - - - - - -1,000,000,000 -3,000,000,000 -5,000,000,000 -7,000,000,000 -9,000,000,000 -2,000,000,000 -4,000,000,000 -6,000,000,000 -8,000,000,000 -10,000,000,000 - - - - - - - - - - - -1,000,000,000 -3,000,000,000 -5,000,000,000 -7,000,000,000 -9,000,000,000 -2,000,000,000 -4,000,000,000 -6,000,000,000 -8,000,000,000 -10,000,000,000 - -1,000,000,000 -3,000,000,000 -5,000,000,000 -7,000,000,000 -9,000,000,000 -2,000,000,000 -4,000,000,000 -6,000,000,000 -8,000,000,000 -10,000,000,000 - - - - - - - - - - - - diff --git a/tests/testthat/_snaps/guide-axis/axis-guides-vertical-negative-rotation.svg b/tests/testthat/_snaps/guide-axis/axis-guides-vertical-negative-rotation.svg deleted file mode 100644 index 06d782e9c8..0000000000 --- a/tests/testthat/_snaps/guide-axis/axis-guides-vertical-negative-rotation.svg +++ /dev/null @@ -1,106 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - -1,000 -2,000 -3,000 -4,000 -5,000 -6,000 -7,000 -8,000 -9,000 -10,000 - - - - - - - - - - - -1,000 -2,000 -3,000 -4,000 -5,000 -6,000 -7,000 -8,000 -9,000 -10,000 - - - - - - - - - - - -1,000 -2,000 -3,000 -4,000 -5,000 -6,000 -7,000 -8,000 -9,000 -10,000 - -1,000 -2,000 -3,000 -4,000 -5,000 -6,000 -7,000 -8,000 -9,000 -10,000 - - - - - - - - - - - - diff --git a/tests/testthat/_snaps/guide-axis/axis-guides-vertical-rotation.svg b/tests/testthat/_snaps/guide-axis/axis-guides-vertical-rotation.svg deleted file mode 100644 index 76adc31334..0000000000 --- a/tests/testthat/_snaps/guide-axis/axis-guides-vertical-rotation.svg +++ /dev/null @@ -1,106 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - -1,000 -2,000 -3,000 -4,000 -5,000 -6,000 -7,000 -8,000 -9,000 -10,000 - - - - - - - - - - - -1,000 -2,000 -3,000 -4,000 -5,000 -6,000 -7,000 -8,000 -9,000 -10,000 - - - - - - - - - - - -1,000 -2,000 -3,000 -4,000 -5,000 -6,000 -7,000 -8,000 -9,000 -10,000 - -1,000 -2,000 -3,000 -4,000 -5,000 -6,000 -7,000 -8,000 -9,000 -10,000 - - - - - - - - - - - - diff --git a/tests/testthat/_snaps/guide-axis/axis-guides-with-capped-ends.svg b/tests/testthat/_snaps/guide-axis/axis-guides-with-capped-ends.svg deleted file mode 100644 index 393ffb017b..0000000000 --- a/tests/testthat/_snaps/guide-axis/axis-guides-with-capped-ends.svg +++ /dev/null @@ -1,114 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -100 -200 -300 - -100 -200 -300 -400 - - - - - - - - - -100 -200 -300 -400 - - - - -100 -200 -300 -hp -disp -axis guides with capped ends - - diff --git a/tests/testthat/_snaps/guide-axis/axis-guides-zero-breaks.svg b/tests/testthat/_snaps/guide-axis/axis-guides-zero-breaks.svg deleted file mode 100644 index a89bf8e8f1..0000000000 --- a/tests/testthat/_snaps/guide-axis/axis-guides-zero-breaks.svg +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - - - - - - - - - - diff --git a/tests/testthat/_snaps/guide-axis/axis-guides-zero-rotation.svg b/tests/testthat/_snaps/guide-axis/axis-guides-zero-rotation.svg deleted file mode 100644 index 8d5dad8f65..0000000000 --- a/tests/testthat/_snaps/guide-axis/axis-guides-zero-rotation.svg +++ /dev/null @@ -1,106 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - -1,000 -2,000 -3,000 -4,000 -5,000 -6,000 -7,000 -8,000 -9,000 -10,000 - - - - - - - - - - - -1,000 -2,000 -3,000 -4,000 -5,000 -6,000 -7,000 -8,000 -9,000 -10,000 - - - - - - - - - - - -1,000 -2,000 -3,000 -4,000 -5,000 -6,000 -7,000 -8,000 -9,000 -10,000 - -1,000 -2,000 -3,000 -4,000 -5,000 -6,000 -7,000 -8,000 -9,000 -10,000 - - - - - - - - - - - - diff --git a/tests/testthat/_snaps/guide-axis/guide-axis-customization.svg b/tests/testthat/_snaps/guide-axis/guide-axis-customization.svg deleted file mode 100644 index 8bce541c00..0000000000 --- a/tests/testthat/_snaps/guide-axis/guide-axis-customization.svg +++ /dev/null @@ -1,298 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -20 -40 -30 - - - - - - -20 -40 -30 - - - - - - - -2seater -midsize -pickup -suv -compact -minivan -subcompact -class -hwy -hwy -guide_axis() customization - - diff --git a/tests/testthat/_snaps/guide-axis/guide-axis-theta-in-cartesian-coordinates.svg b/tests/testthat/_snaps/guide-axis/guide-axis-theta-in-cartesian-coordinates.svg deleted file mode 100644 index f9c50c7388..0000000000 --- a/tests/testthat/_snaps/guide-axis/guide-axis-theta-in-cartesian-coordinates.svg +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -100 -200 -300 -400 - - - - - -10 -15 -20 -25 -30 -35 - - - - - - - -10 -15 -20 -25 -30 -35 - - - - - - - -100 -200 -300 -400 - - - - - -disp -mpg -guide_axis_theta in cartesian coordinates - - diff --git a/tests/testthat/_snaps/guide-axis/guide-axis-theta-with-angle-adapting-to-theta.svg b/tests/testthat/_snaps/guide-axis/guide-axis-theta-with-angle-adapting-to-theta.svg deleted file mode 100644 index 79f3e27b8c..0000000000 --- a/tests/testthat/_snaps/guide-axis/guide-axis-theta-with-angle-adapting-to-theta.svg +++ /dev/null @@ -1,197 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -75 -100 -125 -150 -175 -200 -225 -250 -275 -300 -325 -350 -375 -400 -425 -450 -475 - - - - - - - - - - - - - - - - - - -75 -100 -125 -150 -175 -200 -225 -250 -275 -300 -325 -350 -375 -400 -425 -450 -475 - - - - - - - - - - - - - - - - - - - -10 -15 -20 -25 -30 -35 - - - - - - -disp -mpg -guide_axis_theta with angle adapting to theta - - diff --git a/tests/testthat/_snaps/guide-axis/guide-titles-with-coord-trans.svg b/tests/testthat/_snaps/guide-axis/guide-titles-with-coord-trans.svg deleted file mode 100644 index 4a658436f4..0000000000 --- a/tests/testthat/_snaps/guide-axis/guide-titles-with-coord-trans.svg +++ /dev/null @@ -1,80 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -0.950 -0.975 -1.000 -1.025 -1.050 -0.950 -0.975 -1.000 -1.025 -1.050 - - - - - - - - - - -0.950 -0.975 -1.000 -1.025 -1.050 - - - - - -0.950 -0.975 -1.000 -1.025 -1.050 -x (secondary) -x (primary) -y (primary) -y (secondary) -guide titles with coord_trans() - - diff --git a/tests/testthat/_snaps/guide-axis/guides-specified-in-guides.svg b/tests/testthat/_snaps/guide-axis/guides-specified-in-guides.svg deleted file mode 100644 index abdec7137c..0000000000 --- a/tests/testthat/_snaps/guide-axis/guides-specified-in-guides.svg +++ /dev/null @@ -1,311 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -2seater -midsize -pickup -suv -compact -minivan -subcompact -20 -40 -30 - - - - - - -20 -40 -30 - - - - - - - -2seater -midsize -pickup -suv -compact -minivan -subcompact -class -hwy -guides specified in guides() - - diff --git a/tests/testthat/_snaps/guide-axis/guides-with-minor-ticks.svg b/tests/testthat/_snaps/guide-axis/guides-with-minor-ticks.svg deleted file mode 100644 index e661ca1969..0000000000 --- a/tests/testthat/_snaps/guide-axis/guides-with-minor-ticks.svg +++ /dev/null @@ -1,139 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -10 -2 -10 -3 -10 -4 -10 -5 -100 -200 -300 -400 - - - - - - - - - - - - -100 -200 -300 -400 - - - - - - - - - -10 -2 -10 -3 -10 -4 -10 -5 -wt -disp -guides with minor ticks - - diff --git a/tests/testthat/_snaps/guide-axis/logtick-axes-with-customisation.svg b/tests/testthat/_snaps/guide-axis/logtick-axes-with-customisation.svg deleted file mode 100644 index ec99938f19..0000000000 --- a/tests/testthat/_snaps/guide-axis/logtick-axes-with-customisation.svg +++ /dev/null @@ -1,206 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --100 --10 --1 -0 -1 -10 -100 - -10 -100 -1000 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -10 -100 -1000 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --100 --10 --1 -0 -1 -10 -100 -Negative length pseudo-logticks with 0.1 as smallest tick -Pseudo-logticks with 1 as smallest tick -Inverted logticks with swapped tick lengths -Capped and not-expanded inverted logticks -logtick axes with customisation - - diff --git a/tests/testthat/_snaps/guide-axis/position-guide-titles.svg b/tests/testthat/_snaps/guide-axis/position-guide-titles.svg deleted file mode 100644 index 51c1f1c527..0000000000 --- a/tests/testthat/_snaps/guide-axis/position-guide-titles.svg +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - -x (secondary) -x (primary) -y (primary) -y (secondary) -position guide titles - - diff --git a/tests/testthat/_snaps/guide-axis/stacked-axes.svg b/tests/testthat/_snaps/guide-axis/stacked-axes.svg deleted file mode 100644 index 9ed86845f6..0000000000 --- a/tests/testthat/_snaps/guide-axis/stacked-axes.svg +++ /dev/null @@ -1,148 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -100 -200 -300 - - - - -100 -200 -300 - -100 -200 -300 -400 - - - - - -100 -200 -300 -400 - - - - - - - - - -100 -200 -300 -400 - - - - - -100 -200 -300 -400 - - - - -100 -200 -300 - - - - -100 -200 -300 -top -bottom -left -right -stacked axes - - diff --git a/tests/testthat/_snaps/guide-axis/stacked-radial-axes.svg b/tests/testthat/_snaps/guide-axis/stacked-radial-axes.svg deleted file mode 100644 index d8399aeb76..0000000000 --- a/tests/testthat/_snaps/guide-axis/stacked-radial-axes.svg +++ /dev/null @@ -1,147 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -100 -200 -300 - - - - -100 -200 -300 - - - - -100 -200 -300 - - - - -100 -200 -300 - - - - - -100 -200 -300 -400 - - - - - -100 -200 -300 -400 - - - - - - - - - -100 -200 -300 -400 - - - - - -100 -200 -300 -400 -hp -left -right -stacked radial axes - - diff --git a/tests/testthat/_snaps/guide-axis/thick-axis-lines.svg b/tests/testthat/_snaps/guide-axis/thick-axis-lines.svg deleted file mode 100644 index a714b00dfd..0000000000 --- a/tests/testthat/_snaps/guide-axis/thick-axis-lines.svg +++ /dev/null @@ -1,91 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -10 -15 -20 -25 -30 -35 - - - - - - - - - - - -2 -3 -4 -5 -wt -mpg -thick axis lines - - diff --git a/tests/testthat/_snaps/guide-colorbar/combined-colour-and-fill-aesthetics.svg b/tests/testthat/_snaps/guide-colorbar/combined-colour-and-fill-aesthetics.svg deleted file mode 100644 index 75f9b641d3..0000000000 --- a/tests/testthat/_snaps/guide-colorbar/combined-colour-and-fill-aesthetics.svg +++ /dev/null @@ -1,84 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - -5.0 -5.5 -6.0 -6.5 -7.0 - - - - - - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 -x -y - -value - - - - - - - - - - - - - - - -1 -2 -3 -4 -5 -6 -7 -combined colour and fill aesthetics - - diff --git a/tests/testthat/_snaps/guide-colorbar/customized-colorbar.svg b/tests/testthat/_snaps/guide-colorbar/customized-colorbar.svg deleted file mode 100644 index 2f0188be7a..0000000000 --- a/tests/testthat/_snaps/guide-colorbar/customized-colorbar.svg +++ /dev/null @@ -1,80 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - -0.0 -0.5 -1.0 -1.5 -2.0 - - - - - - - - - - -0.0 -0.5 -1.0 -1.5 -2.0 -x -x - -x - - - - - - - - - - - - -0.0 -0.5 -1.0 -1.5 -2.0 -white-to-red semitransparent colorbar, long thick black ticks, green frame -customized colorbar - - diff --git a/tests/testthat/_snaps/guide-colorbar/white-to-red-colorbar-white-ticks-no-frame.svg b/tests/testthat/_snaps/guide-colorbar/white-to-red-colorbar-white-ticks-no-frame.svg deleted file mode 100644 index 068063c944..0000000000 --- a/tests/testthat/_snaps/guide-colorbar/white-to-red-colorbar-white-ticks-no-frame.svg +++ /dev/null @@ -1,78 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - -0.0 -0.5 -1.0 -1.5 -2.0 - - - - - - - - - - -0.0 -0.5 -1.0 -1.5 -2.0 -x -x - -x - - - - - - - - - - - -0.0 -0.5 -1.0 -1.5 -2.0 -white-to-red colorbar, white ticks, no frame - - diff --git a/tests/testthat/_snaps/guide-legend/enlarged-guides.svg b/tests/testthat/_snaps/guide-legend/enlarged-guides.svg deleted file mode 100644 index 69c7aaba61..0000000000 --- a/tests/testthat/_snaps/guide-legend/enlarged-guides.svg +++ /dev/null @@ -1,96 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -0.0 -0.5 -1.0 -1.5 -2.0 - - - - - - - - - - -0.0 -0.5 -1.0 -1.5 -2.0 -x -x - -x - - - - - - - - - - -0.0 -0.5 -1.0 -1.5 -2.0 - -2 - x - - - - - - - - - - -0.0 -0.5 -1.0 -1.5 -2.0 -enlarged guides - - diff --git a/tests/testthat/_snaps/guide-legend/horizontal-legend-direction.svg b/tests/testthat/_snaps/guide-legend/horizontal-legend-direction.svg deleted file mode 100644 index ed4b386f0b..0000000000 --- a/tests/testthat/_snaps/guide-legend/horizontal-legend-direction.svg +++ /dev/null @@ -1,115 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -10 -15 -20 -25 -30 -35 - - - - - - - - - - -100 -200 -300 -400 -disp -mpg - -drat - - - - - - - - - -3.0 -3.5 -4.0 -4.5 - -factor(cyl) - - - - - - -4 -6 -8 -horizontal legend direction - - diff --git a/tests/testthat/_snaps/guide-legend/left-aligned-legend-key.svg b/tests/testthat/_snaps/guide-legend/left-aligned-legend-key.svg deleted file mode 100644 index fc84b274ea..0000000000 --- a/tests/testthat/_snaps/guide-legend/left-aligned-legend-key.svg +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -10 -15 -20 -25 -30 -35 - - - - - - - - - - - -100 -200 -300 -400 -disp -mpg - - - - - - - -4 -6 -8 -left aligned legend key - - diff --git a/tests/testthat/_snaps/guide-legend/legend-byrow-true.svg b/tests/testthat/_snaps/guide-legend/legend-byrow-true.svg deleted file mode 100644 index 804a4a1dbe..0000000000 --- a/tests/testthat/_snaps/guide-legend/legend-byrow-true.svg +++ /dev/null @@ -1,75 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -2 -4 -6 - - - - - - -2 -4 -6 -x -x - -f - - - - - - - - - - - - -A -B -C -D -E -F -legend.byrow = TRUE - - diff --git a/tests/testthat/_snaps/guide-legend/legend-key-justification.svg b/tests/testthat/_snaps/guide-legend/legend-key-justification.svg deleted file mode 100644 index 25880c7d29..0000000000 --- a/tests/testthat/_snaps/guide-legend/legend-key-justification.svg +++ /dev/null @@ -1,136 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -100 -200 -300 -400 - - - - - - - - - - -10 -15 -20 -25 -30 -35 -mpg -disp - -drat - - - - - - -3 -4 -5 - -factor(cyl) - - - - - - -one line -up -to -four -lines -up -to -five -whole -lines -legend key justification - - diff --git a/tests/testthat/_snaps/guide-legend/legend-with-widely-spaced-keys.svg b/tests/testthat/_snaps/guide-legend/legend-with-widely-spaced-keys.svg deleted file mode 100644 index ee015eb369..0000000000 --- a/tests/testthat/_snaps/guide-legend/legend-with-widely-spaced-keys.svg +++ /dev/null @@ -1,109 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -10 -15 -20 -25 -30 -35 - - - - - - - - - - -100 -200 -300 -400 -disp -mpg - -factor(carb) - - - - - - - - - - - - -1 -2 -3 -4 -6 -8 -legend with widely spaced keys - - diff --git a/tests/testthat/_snaps/guide-legend/vertical-legend-direction.svg b/tests/testthat/_snaps/guide-legend/vertical-legend-direction.svg deleted file mode 100644 index 1f44272cc8..0000000000 --- a/tests/testthat/_snaps/guide-legend/vertical-legend-direction.svg +++ /dev/null @@ -1,115 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -10 -15 -20 -25 -30 -35 - - - - - - - - - - -100 -200 -300 -400 -disp -mpg - -drat - - - - - - - - - -3.0 -3.5 -4.0 -4.5 - -factor(cyl) - - - - - - -4 -6 -8 -vertical legend direction - - diff --git a/tests/testthat/_snaps/guides/facet-grid-legend-on-bottom.svg b/tests/testthat/_snaps/guides/facet-grid-legend-on-bottom.svg deleted file mode 100644 index 349070f266..0000000000 --- a/tests/testthat/_snaps/guides/facet-grid-legend-on-bottom.svg +++ /dev/null @@ -1,69 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -1 - - - - - - - - - - -1 - - - -very long axis label -very long axis label - -x -y - -z - - -a -title of plot - - diff --git a/tests/testthat/_snaps/guides/facet-grid-legend-on-left.svg b/tests/testthat/_snaps/guides/facet-grid-legend-on-left.svg deleted file mode 100644 index 92080acc70..0000000000 --- a/tests/testthat/_snaps/guides/facet-grid-legend-on-left.svg +++ /dev/null @@ -1,69 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -1 - - - - - - - - - - -1 - - - -very long axis label -very long axis label - -x -y - -z - - -a -title of plot - - diff --git a/tests/testthat/_snaps/guides/facet-grid-legend-on-right.svg b/tests/testthat/_snaps/guides/facet-grid-legend-on-right.svg deleted file mode 100644 index 20701db5a7..0000000000 --- a/tests/testthat/_snaps/guides/facet-grid-legend-on-right.svg +++ /dev/null @@ -1,69 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -1 - - - - - - - - - - -1 - - - -very long axis label -very long axis label - -x -y - -z - - -a -title of plot - - diff --git a/tests/testthat/_snaps/guides/facet-grid-legend-on-top.svg b/tests/testthat/_snaps/guides/facet-grid-legend-on-top.svg deleted file mode 100644 index 544b4fb26e..0000000000 --- a/tests/testthat/_snaps/guides/facet-grid-legend-on-top.svg +++ /dev/null @@ -1,69 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -1 - - - - - - - - - - -1 - - - -very long axis label -very long axis label - -x -y - -z - - -a -title of plot - - diff --git a/tests/testthat/_snaps/guides/facet-wrap-legend-on-bottom.svg b/tests/testthat/_snaps/guides/facet-wrap-legend-on-bottom.svg deleted file mode 100644 index a4e02c2d75..0000000000 --- a/tests/testthat/_snaps/guides/facet-wrap-legend-on-bottom.svg +++ /dev/null @@ -1,58 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -1 - - - -very long axis label -very long axis label - -x -y - -z - - -a -title of plot - - diff --git a/tests/testthat/_snaps/guides/facet-wrap-legend-on-left.svg b/tests/testthat/_snaps/guides/facet-wrap-legend-on-left.svg deleted file mode 100644 index 236ad6d406..0000000000 --- a/tests/testthat/_snaps/guides/facet-wrap-legend-on-left.svg +++ /dev/null @@ -1,58 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -1 - - - -very long axis label -very long axis label - -x -y - -z - - -a -title of plot - - diff --git a/tests/testthat/_snaps/guides/facet-wrap-legend-on-right.svg b/tests/testthat/_snaps/guides/facet-wrap-legend-on-right.svg deleted file mode 100644 index 0921550bd3..0000000000 --- a/tests/testthat/_snaps/guides/facet-wrap-legend-on-right.svg +++ /dev/null @@ -1,58 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -1 - - - -very long axis label -very long axis label - -x -y - -z - - -a -title of plot - - diff --git a/tests/testthat/_snaps/guides/facet-wrap-legend-on-top.svg b/tests/testthat/_snaps/guides/facet-wrap-legend-on-top.svg deleted file mode 100644 index fa05d59109..0000000000 --- a/tests/testthat/_snaps/guides/facet-wrap-legend-on-top.svg +++ /dev/null @@ -1,58 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -1 - - - -very long axis label -very long axis label - -x -y - -z - - -a -title of plot - - diff --git a/tests/testthat/_snaps/guides/guide-bins-can-remove-axis.svg b/tests/testthat/_snaps/guides/guide-bins-can-remove-axis.svg deleted file mode 100644 index c58ac5df8c..0000000000 --- a/tests/testthat/_snaps/guides/guide-bins-can-remove-axis.svg +++ /dev/null @@ -1,73 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - -5.0 -5.5 -6.0 -6.5 -7.0 - - - - - - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 -x -y - -x - - - - - - - - -1.5 -2.0 -2.5 -guide_bins can remove axis - - diff --git a/tests/testthat/_snaps/guides/guide-bins-can-show-arrows.svg b/tests/testthat/_snaps/guides/guide-bins-can-show-arrows.svg deleted file mode 100644 index 442087e8c3..0000000000 --- a/tests/testthat/_snaps/guides/guide-bins-can-show-arrows.svg +++ /dev/null @@ -1,79 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - -5.0 -5.5 -6.0 -6.5 -7.0 - - - - - - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 -x -y - -x - - - - - - - - - - - - - - -1.5 -2.0 -2.5 -guide_bins can show arrows - - diff --git a/tests/testthat/_snaps/guides/guide-bins-can-show-limits.svg b/tests/testthat/_snaps/guides/guide-bins-can-show-limits.svg deleted file mode 100644 index d2271a703e..0000000000 --- a/tests/testthat/_snaps/guides/guide-bins-can-show-limits.svg +++ /dev/null @@ -1,81 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - -5.0 -5.5 -6.0 -6.5 -7.0 - - - - - - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 -x -y - -x - - - - - - - - - - - - - - -1 -1.5 -2.0 -2.5 -3 -guide_bins can show limits - - diff --git a/tests/testthat/_snaps/guides/guide-bins-can-show-ticks-and-transparancy.svg b/tests/testthat/_snaps/guides/guide-bins-can-show-ticks-and-transparancy.svg deleted file mode 100644 index 824123d482..0000000000 --- a/tests/testthat/_snaps/guides/guide-bins-can-show-ticks-and-transparancy.svg +++ /dev/null @@ -1,73 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - -5.0 -5.5 -6.0 -6.5 -7.0 - - - - - - - - - -1 -2 -3 -4 -x -y - -x - - - - - - - - - - -1.5 -2.0 -3.0 -guide_bins can show ticks and transparancy - - diff --git a/tests/testthat/_snaps/guides/guide-bins-looks-as-it-should.svg b/tests/testthat/_snaps/guides/guide-bins-looks-as-it-should.svg deleted file mode 100644 index 14885226bf..0000000000 --- a/tests/testthat/_snaps/guides/guide-bins-looks-as-it-should.svg +++ /dev/null @@ -1,77 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - -5.0 -5.5 -6.0 -6.5 -7.0 - - - - - - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 -x -y - -x - - - - - - - - - - - - -1.5 -2.0 -2.5 -guide_bins looks as it should - - diff --git a/tests/testthat/_snaps/guides/guide-bins-sets-labels-when-limits-is-in-breaks.svg b/tests/testthat/_snaps/guides/guide-bins-sets-labels-when-limits-is-in-breaks.svg deleted file mode 100644 index aadb4a0b81..0000000000 --- a/tests/testthat/_snaps/guides/guide-bins-sets-labels-when-limits-is-in-breaks.svg +++ /dev/null @@ -1,312 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -20 -30 -40 - - - - - - - - - -10 -15 -20 -25 -30 -35 -cty -hwy - -year - - - - - - - - - - - - - - - - -1 -2 -3 -4 -5 -guide_bins sets labels when limits is in breaks - - diff --git a/tests/testthat/_snaps/guides/guide-bins-understands-coinciding-limits-and-bins-2.svg b/tests/testthat/_snaps/guides/guide-bins-understands-coinciding-limits-and-bins-2.svg deleted file mode 100644 index 4139ddca47..0000000000 --- a/tests/testthat/_snaps/guides/guide-bins-understands-coinciding-limits-and-bins-2.svg +++ /dev/null @@ -1,312 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -20 -30 -40 - - - - - - - - - -10 -15 -20 -25 -30 -35 -cty -hwy - -year - - - - - - - - - - - - - - - - -2000 -2002 -2004 -2006 -2008 -guide_bins understands coinciding limits and bins 2 - - diff --git a/tests/testthat/_snaps/guides/guide-bins-understands-coinciding-limits-and-bins-3.svg b/tests/testthat/_snaps/guides/guide-bins-understands-coinciding-limits-and-bins-3.svg deleted file mode 100644 index 5a89f75984..0000000000 --- a/tests/testthat/_snaps/guides/guide-bins-understands-coinciding-limits-and-bins-3.svg +++ /dev/null @@ -1,314 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -20 -30 -40 - - - - - - - - - -10 -15 -20 -25 -30 -35 -cty -hwy - -year - - - - - - - - - - - - - - - - - -1999 -2000 -2002 -2004 -2006 -2008 -guide_bins understands coinciding limits and bins 3 - - diff --git a/tests/testthat/_snaps/guides/guide-bins-understands-coinciding-limits-and-bins.svg b/tests/testthat/_snaps/guides/guide-bins-understands-coinciding-limits-and-bins.svg deleted file mode 100644 index db8bce73dd..0000000000 --- a/tests/testthat/_snaps/guides/guide-bins-understands-coinciding-limits-and-bins.svg +++ /dev/null @@ -1,312 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -20 -30 -40 - - - - - - - - - -10 -15 -20 -25 -30 -35 -cty -hwy - -year - - - - - - - - - - - - - - - - -1999 -2000 -2002 -2004 -2006 -guide_bins understands coinciding limits and bins - - diff --git a/tests/testthat/_snaps/guides/guide-bins-work-horizontally.svg b/tests/testthat/_snaps/guides/guide-bins-work-horizontally.svg deleted file mode 100644 index 587e0b20c3..0000000000 --- a/tests/testthat/_snaps/guides/guide-bins-work-horizontally.svg +++ /dev/null @@ -1,77 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - -5.0 -5.5 -6.0 -6.5 -7.0 - - - - - - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 -x -y - -x - - - - - - - - - - - - -1.5 -2.0 -2.5 -guide_bins work horizontally - - diff --git a/tests/testthat/_snaps/guides/guide-colorsteps-sets-labels-when-limits-is-in-breaks.svg b/tests/testthat/_snaps/guides/guide-colorsteps-sets-labels-when-limits-is-in-breaks.svg deleted file mode 100644 index 9575c4f9f9..0000000000 --- a/tests/testthat/_snaps/guides/guide-colorsteps-sets-labels-when-limits-is-in-breaks.svg +++ /dev/null @@ -1,301 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -20 -30 -40 - - - - - - - - - -10 -15 -20 -25 -30 -35 -cty -hwy - -year - - - - - -1 -2 -3 -4 -5 -guide_colorsteps sets labels when limits is in breaks - - diff --git a/tests/testthat/_snaps/guides/guide-colorsteps-understands-coinciding-limits-and-bins-2.svg b/tests/testthat/_snaps/guides/guide-colorsteps-understands-coinciding-limits-and-bins-2.svg deleted file mode 100644 index f1855cedf9..0000000000 --- a/tests/testthat/_snaps/guides/guide-colorsteps-understands-coinciding-limits-and-bins-2.svg +++ /dev/null @@ -1,301 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -20 -30 -40 - - - - - - - - - -10 -15 -20 -25 -30 -35 -cty -hwy - -year - - - - - -2000 -2002 -2004 -2006 -2008 -guide_colorsteps understands coinciding limits and bins 2 - - diff --git a/tests/testthat/_snaps/guides/guide-colorsteps-understands-coinciding-limits-and-bins-3.svg b/tests/testthat/_snaps/guides/guide-colorsteps-understands-coinciding-limits-and-bins-3.svg deleted file mode 100644 index 3682f1b2e0..0000000000 --- a/tests/testthat/_snaps/guides/guide-colorsteps-understands-coinciding-limits-and-bins-3.svg +++ /dev/null @@ -1,302 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -20 -30 -40 - - - - - - - - - -10 -15 -20 -25 -30 -35 -cty -hwy - -year - - - - - -1999 -2000 -2002 -2004 -2006 -2008 -guide_colorsteps understands coinciding limits and bins 3 - - diff --git a/tests/testthat/_snaps/guides/guide-colorsteps-understands-coinciding-limits-and-bins.svg b/tests/testthat/_snaps/guides/guide-colorsteps-understands-coinciding-limits-and-bins.svg deleted file mode 100644 index 61350097bc..0000000000 --- a/tests/testthat/_snaps/guides/guide-colorsteps-understands-coinciding-limits-and-bins.svg +++ /dev/null @@ -1,301 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -20 -30 -40 - - - - - - - - - -10 -15 -20 -25 -30 -35 -cty -hwy - -year - - - - - -1999 -2000 -2002 -2004 -2006 -guide_colorsteps understands coinciding limits and bins - - diff --git a/tests/testthat/_snaps/guides/guide-coloursteps-can-have-bins-relative-to-binsize.svg b/tests/testthat/_snaps/guides/guide-coloursteps-can-have-bins-relative-to-binsize.svg deleted file mode 100644 index 274ad91fbe..0000000000 --- a/tests/testthat/_snaps/guides/guide-coloursteps-can-have-bins-relative-to-binsize.svg +++ /dev/null @@ -1,67 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - -5.0 -5.5 -6.0 -6.5 -7.0 - - - - - - - - - -1 -2 -3 -4 -x -y - -x - - - - -1.5 -2.0 -3.0 -guide_coloursteps can have bins relative to binsize - - diff --git a/tests/testthat/_snaps/guides/guide-coloursteps-can-show-limits.svg b/tests/testthat/_snaps/guides/guide-coloursteps-can-show-limits.svg deleted file mode 100644 index 3601641e36..0000000000 --- a/tests/testthat/_snaps/guides/guide-coloursteps-can-show-limits.svg +++ /dev/null @@ -1,69 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - -5.0 -5.5 -6.0 -6.5 -7.0 - - - - - - - - - -1 -2 -3 -4 -x -y - -x - - - - -1 -1.5 -2.0 -3.0 -4 -guide_coloursteps can show limits - - diff --git a/tests/testthat/_snaps/guides/guide-coloursteps-looks-as-it-should.svg b/tests/testthat/_snaps/guides/guide-coloursteps-looks-as-it-should.svg deleted file mode 100644 index 9a28d6ba0f..0000000000 --- a/tests/testthat/_snaps/guides/guide-coloursteps-looks-as-it-should.svg +++ /dev/null @@ -1,67 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - -5.0 -5.5 -6.0 -6.5 -7.0 - - - - - - - - - -1 -2 -3 -4 -x -y - -x - - - - -1.5 -2.0 -3.0 -guide_coloursteps looks as it should - - diff --git a/tests/testthat/_snaps/guides/guide-custom-with-void-theme.svg b/tests/testthat/_snaps/guides/guide-custom-with-void-theme.svg deleted file mode 100644 index 12b96037a8..0000000000 --- a/tests/testthat/_snaps/guides/guide-custom-with-void-theme.svg +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - -custom guide - -guide_custom with void theme - - diff --git a/tests/testthat/_snaps/guides/guide-title-and-text-positioning-and-alignment-via-themes.svg b/tests/testthat/_snaps/guides/guide-title-and-text-positioning-and-alignment-via-themes.svg deleted file mode 100644 index 97e54fd3fb..0000000000 --- a/tests/testthat/_snaps/guides/guide-title-and-text-positioning-and-alignment-via-themes.svg +++ /dev/null @@ -1,89 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - -0 -25 -50 -75 -100 - - - - - - - - - - -0 -25 -50 -75 -100 -x -x - -x - - - - - - - - - -25 -50 -75 -100 - -x - - - - - - - - -25 -50 -75 -100 -guide title and text positioning and alignment via themes - - diff --git a/tests/testthat/_snaps/guides/horizontal-gap-of-1cm-between-guide-and-guide-text.svg b/tests/testthat/_snaps/guides/horizontal-gap-of-1cm-between-guide-and-guide-text.svg deleted file mode 100644 index c3591ec4e8..0000000000 --- a/tests/testthat/_snaps/guides/horizontal-gap-of-1cm-between-guide-and-guide-text.svg +++ /dev/null @@ -1,89 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 - - - - - - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 -x -y - -y - - - - - - - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 - -factor(x) - - - - - - -1 -2 -3 -horizontal gap of 1cm between guide and guide text - - diff --git a/tests/testthat/_snaps/guides/legend-inside-plot-bottom-left-of-legend-at-center.svg b/tests/testthat/_snaps/guides/legend-inside-plot-bottom-left-of-legend-at-center.svg deleted file mode 100644 index 86ccc60920..0000000000 --- a/tests/testthat/_snaps/guides/legend-inside-plot-bottom-left-of-legend-at-center.svg +++ /dev/null @@ -1,85 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - -0.00 -0.25 -0.50 -0.75 -1.00 - - - - - - - - -A -B -C -x -y - -1:3 - - - - - - - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 - -x - - - - - - -A -B -C -legend inside plot, bottom left of legend at center - - diff --git a/tests/testthat/_snaps/guides/legend-inside-plot-bottom-left.svg b/tests/testthat/_snaps/guides/legend-inside-plot-bottom-left.svg deleted file mode 100644 index 62b74251c4..0000000000 --- a/tests/testthat/_snaps/guides/legend-inside-plot-bottom-left.svg +++ /dev/null @@ -1,85 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - -0.00 -0.25 -0.50 -0.75 -1.00 - - - - - - - - -A -B -C -x -y - -1:3 - - - - - - - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 - -x - - - - - - -A -B -C -legend inside plot, bottom left - - diff --git a/tests/testthat/_snaps/guides/legend-inside-plot-centered.svg b/tests/testthat/_snaps/guides/legend-inside-plot-centered.svg deleted file mode 100644 index 58268d3724..0000000000 --- a/tests/testthat/_snaps/guides/legend-inside-plot-centered.svg +++ /dev/null @@ -1,85 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - -0.00 -0.25 -0.50 -0.75 -1.00 - - - - - - - - -A -B -C -x -y - -1:3 - - - - - - - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 - -x - - - - - - -A -B -C -legend inside plot, centered - - diff --git a/tests/testthat/_snaps/guides/legend-inside-plot-multiple-positions.svg b/tests/testthat/_snaps/guides/legend-inside-plot-multiple-positions.svg deleted file mode 100644 index 22481fa7cf..0000000000 --- a/tests/testthat/_snaps/guides/legend-inside-plot-multiple-positions.svg +++ /dev/null @@ -1,85 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - -0.00 -0.25 -0.50 -0.75 -1.00 - - - - - - - - -A -B -C -x -y - -x - - - - - - -A -B -C - -1:3 - - - - - - - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 -legend inside plot, multiple positions - - diff --git a/tests/testthat/_snaps/guides/legend-inside-plot-top-right.svg b/tests/testthat/_snaps/guides/legend-inside-plot-top-right.svg deleted file mode 100644 index 4411920b60..0000000000 --- a/tests/testthat/_snaps/guides/legend-inside-plot-top-right.svg +++ /dev/null @@ -1,85 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - -0.00 -0.25 -0.50 -0.75 -1.00 - - - - - - - - -A -B -C -x -y - -1:3 - - - - - - - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 - -x - - - - - - -A -B -C -legend inside plot, top right - - diff --git a/tests/testthat/_snaps/guides/legend-on-bottom.svg b/tests/testthat/_snaps/guides/legend-on-bottom.svg deleted file mode 100644 index f48c98f982..0000000000 --- a/tests/testthat/_snaps/guides/legend-on-bottom.svg +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - -very long axis label - - -very long axis label -x -y - -z - - -a -title of plot - - diff --git a/tests/testthat/_snaps/guides/legend-on-left.svg b/tests/testthat/_snaps/guides/legend-on-left.svg deleted file mode 100644 index f5abc2cfe3..0000000000 --- a/tests/testthat/_snaps/guides/legend-on-left.svg +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - -very long axis label - - -very long axis label -x -y - -z - - -a -title of plot - - diff --git a/tests/testthat/_snaps/guides/legend-on-right.svg b/tests/testthat/_snaps/guides/legend-on-right.svg deleted file mode 100644 index e212895aea..0000000000 --- a/tests/testthat/_snaps/guides/legend-on-right.svg +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - -very long axis label - - -very long axis label -x -y - -z - - -a -title of plot - - diff --git a/tests/testthat/_snaps/guides/legend-on-top.svg b/tests/testthat/_snaps/guides/legend-on-top.svg deleted file mode 100644 index 550a22bb1c..0000000000 --- a/tests/testthat/_snaps/guides/legend-on-top.svg +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - -very long axis label - - -very long axis label -x -y - -z - - -a -title of plot - - diff --git a/tests/testthat/_snaps/guides/legends-with-all-title-justifications.svg b/tests/testthat/_snaps/guides/legends-with-all-title-justifications.svg deleted file mode 100644 index 94011b6f1f..0000000000 --- a/tests/testthat/_snaps/guides/legends-with-all-title-justifications.svg +++ /dev/null @@ -1,99 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - -1.00 -1.25 -1.50 -1.75 -2.00 - - - - - - - - - - -1.00 -1.25 -1.50 -1.75 -2.00 -x -x - -colour title with hjust = 0 - - - - -1 -2 - -fill title with hjust = 1 - - - - -1 -2 - -Title -for -alpha -with -vjust=0 - - - - -1 -2 - -Title -for -shape -with -vjust=1 - - - - -1 -2 -legends with all title justifications - - diff --git a/tests/testthat/_snaps/guides/multi-line-guide-title-works.svg b/tests/testthat/_snaps/guides/multi-line-guide-title-works.svg deleted file mode 100644 index 3d9c7438f5..0000000000 --- a/tests/testthat/_snaps/guides/multi-line-guide-title-works.svg +++ /dev/null @@ -1,93 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 - - - - - - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 -x -y - -the -continuous -colorscale - - - - - - - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 - -the -discrete -colorscale - - - - - - -1 -2 -3 -multi-line guide title works - - diff --git a/tests/testthat/_snaps/guides/old-s3-guide-drawing-a-circle.svg b/tests/testthat/_snaps/guides/old-s3-guide-drawing-a-circle.svg deleted file mode 100644 index 35af42a85f..0000000000 --- a/tests/testthat/_snaps/guides/old-s3-guide-drawing-a-circle.svg +++ /dev/null @@ -1,81 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -10 -15 -20 -25 -30 -35 - - - - - - - -mpg -old S3 guide drawing a circle - - diff --git a/tests/testthat/_snaps/guides/padding-in-legend-box.svg b/tests/testthat/_snaps/guides/padding-in-legend-box.svg deleted file mode 100644 index e8776944d0..0000000000 --- a/tests/testthat/_snaps/guides/padding-in-legend-box.svg +++ /dev/null @@ -1,85 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - -0.00 -0.25 -0.50 -0.75 -1.00 - - - - - - - - -A -B -C -x -y - -1:3 - - - - - - - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 - -x - - - - - - -A -B -C -padding in legend box - - diff --git a/tests/testthat/_snaps/guides/reversed-guide-bins.svg b/tests/testthat/_snaps/guides/reversed-guide-bins.svg deleted file mode 100644 index 16e8f7efca..0000000000 --- a/tests/testthat/_snaps/guides/reversed-guide-bins.svg +++ /dev/null @@ -1,97 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - -0 -25 -50 -75 -100 - - - - - - - - - - -0 -25 -50 -75 -100 -x -x - -x - - - - - - - - - - - - - - -100 -75 -50 -25 -0 - -x - - - - - - - - - - - - -75 -50 -25 -reversed guide_bins - - diff --git a/tests/testthat/_snaps/guides/rotated-guide-titles-and-labels.svg b/tests/testthat/_snaps/guides/rotated-guide-titles-and-labels.svg deleted file mode 100644 index 875a76f42f..0000000000 --- a/tests/testthat/_snaps/guides/rotated-guide-titles-and-labels.svg +++ /dev/null @@ -1,89 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - -5.0 -7.5 -10.0 -12.5 -15.0 - - - - - - - - - - -5.0 -7.5 -10.0 -12.5 -15.0 -x -x - -fill value - - - - - - -long 5 -long 10 -long 15 - -value - - - - - - - - - - - -5.0 -7.5 -10.0 -12.5 -15.0 -rotated guide titles and labels - - diff --git a/tests/testthat/_snaps/guides/stylised-guide-custom.svg b/tests/testthat/_snaps/guides/stylised-guide-custom.svg deleted file mode 100644 index 85d3aa01f9..0000000000 --- a/tests/testthat/_snaps/guides/stylised-guide-custom.svg +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - -custom guide - -stylised guide_custom - - diff --git a/tests/testthat/_snaps/guides/vertical-gap-of-1cm-between-guide-title-and-guide.svg b/tests/testthat/_snaps/guides/vertical-gap-of-1cm-between-guide-title-and-guide.svg deleted file mode 100644 index 73345206cb..0000000000 --- a/tests/testthat/_snaps/guides/vertical-gap-of-1cm-between-guide-title-and-guide.svg +++ /dev/null @@ -1,89 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 - - - - - - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 -x -y - -y - - - - - - - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 - -factor(x) - - - - - - -1 -2 -3 -vertical gap of 1cm between guide title and guide - - diff --git a/tests/testthat/_snaps/labels/defaults.svg b/tests/testthat/_snaps/labels/defaults.svg deleted file mode 100644 index c6ab6410e1..0000000000 --- a/tests/testthat/_snaps/labels/defaults.svg +++ /dev/null @@ -1,64 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -2.5 -5.0 -7.5 -10.0 - - - - - - - - -2.5 -5.0 -7.5 -10.0 -x -y -defaults -Fig. A) - - diff --git a/tests/testthat/_snaps/labels/tag-in-margin.svg b/tests/testthat/_snaps/labels/tag-in-margin.svg deleted file mode 100644 index 9a60fe22f9..0000000000 --- a/tests/testthat/_snaps/labels/tag-in-margin.svg +++ /dev/null @@ -1,79 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -2.5 -5.0 -7.5 -10.0 - - - - - - - - -2.5 -5.0 -7.5 -10.0 -x -y -Tag in margin -Fig. A) - - diff --git a/tests/testthat/_snaps/labels/tag-in-panel-as-character.svg b/tests/testthat/_snaps/labels/tag-in-panel-as-character.svg deleted file mode 100644 index 3f6d287ae2..0000000000 --- a/tests/testthat/_snaps/labels/tag-in-panel-as-character.svg +++ /dev/null @@ -1,79 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -2.5 -5.0 -7.5 -10.0 - - - - - - - - -2.5 -5.0 -7.5 -10.0 -x -y -Tag in panel, as character -Fig. A) - - diff --git a/tests/testthat/_snaps/labels/tag-in-panel-as-numeric.svg b/tests/testthat/_snaps/labels/tag-in-panel-as-numeric.svg deleted file mode 100644 index 9798dd575e..0000000000 --- a/tests/testthat/_snaps/labels/tag-in-panel-as-numeric.svg +++ /dev/null @@ -1,79 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -2.5 -5.0 -7.5 -10.0 - - - - - - - - -2.5 -5.0 -7.5 -10.0 -x -y -Tag in panel, as numeric -Fig. A) - - diff --git a/tests/testthat/_snaps/labels/tag-in-plot-as-character.svg b/tests/testthat/_snaps/labels/tag-in-plot-as-character.svg deleted file mode 100644 index aca8c3e6ca..0000000000 --- a/tests/testthat/_snaps/labels/tag-in-plot-as-character.svg +++ /dev/null @@ -1,79 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -2.5 -5.0 -7.5 -10.0 - - - - - - - - -2.5 -5.0 -7.5 -10.0 -x -y -Tag in plot, as character -Fig. A) - - diff --git a/tests/testthat/_snaps/labels/tag-in-plot-as-numeric.svg b/tests/testthat/_snaps/labels/tag-in-plot-as-numeric.svg deleted file mode 100644 index 7d6ceebd40..0000000000 --- a/tests/testthat/_snaps/labels/tag-in-plot-as-numeric.svg +++ /dev/null @@ -1,79 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -2.5 -5.0 -7.5 -10.0 - - - - - - - - -2.5 -5.0 -7.5 -10.0 -x -y -Tag in plot, as numeric -Fig. A) - - diff --git a/tests/testthat/_snaps/legend-draw/all-legend-keys.svg b/tests/testthat/_snaps/legend-draw/all-legend-keys.svg deleted file mode 100644 index e535bebe99..0000000000 --- a/tests/testthat/_snaps/legend-draw/all-legend-keys.svg +++ /dev/null @@ -1,63 +0,0 @@ - - - - - - - - - - - - -point - -abline - -rect - -polygon - -blank -boxplot - - - - - - -crossbar - - -path - -vpath - -dotplot - -linerange - -pointrange - - -smooth - -text -a -label - -a -vline - -timeseries - - - diff --git a/tests/testthat/_snaps/patterns/pattern-fills-no-alpha.svg b/tests/testthat/_snaps/patterns/pattern-fills-no-alpha.svg deleted file mode 100644 index bdf29df500..0000000000 --- a/tests/testthat/_snaps/patterns/pattern-fills-no-alpha.svg +++ /dev/null @@ -1,115 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -0 -1 -2 -3 -4 -5 - - - - - - - - - - -A -B -C -D -x -y -pattern fills, no alpha - - diff --git a/tests/testthat/_snaps/patterns/pattern-fills-through-scale.svg b/tests/testthat/_snaps/patterns/pattern-fills-through-scale.svg deleted file mode 100644 index a703f46c91..0000000000 --- a/tests/testthat/_snaps/patterns/pattern-fills-through-scale.svg +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -0 -1 -2 -3 -4 -5 - - - - - - - - - - -A -B -C -D -x -y - -x - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -A -B -C -D -pattern fills through scale - - diff --git a/tests/testthat/_snaps/patterns/pattern-fills-with-alpha.svg b/tests/testthat/_snaps/patterns/pattern-fills-with-alpha.svg deleted file mode 100644 index 964a5b714b..0000000000 --- a/tests/testthat/_snaps/patterns/pattern-fills-with-alpha.svg +++ /dev/null @@ -1,120 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -0 -1 -2 -3 -4 -5 - - - - - - - - - - -A -B -C -D -x -y -pattern fills, with alpha - - diff --git a/tests/testthat/_snaps/patterns/single-pattern-fill.svg b/tests/testthat/_snaps/patterns/single-pattern-fill.svg deleted file mode 100644 index 9126ab0c7f..0000000000 --- a/tests/testthat/_snaps/patterns/single-pattern-fill.svg +++ /dev/null @@ -1,120 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -0 -1 -2 -3 -4 -5 - - - - - - - - - - -A -B -C -D -x -y -single pattern fill - - diff --git a/tests/testthat/_snaps/position-stack/area-stacking.svg b/tests/testthat/_snaps/position-stack/area-stacking.svg deleted file mode 100644 index dea44df744..0000000000 --- a/tests/testthat/_snaps/position-stack/area-stacking.svg +++ /dev/null @@ -1,61 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - -0 -5 - - - - - - -1 -2 -3 -4 -x -value - -category - - - - -A -B -Area stacking - - diff --git a/tests/testthat/_snaps/scale_date/dates-along-x-default-breaks.svg b/tests/testthat/_snaps/scale_date/dates-along-x-default-breaks.svg deleted file mode 100644 index 491b49ebdf..0000000000 --- a/tests/testthat/_snaps/scale_date/dates-along-x-default-breaks.svg +++ /dev/null @@ -1,56 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - -0.00 -0.25 -0.50 -0.75 -1.00 - - - - - - - - - -Mar -Apr -May -Jun -dx -price -dates along x, default breaks - - diff --git a/tests/testthat/_snaps/scale_date/dates-along-y-default-breaks.svg b/tests/testthat/_snaps/scale_date/dates-along-y-default-breaks.svg deleted file mode 100644 index fc57a0a653..0000000000 --- a/tests/testthat/_snaps/scale_date/dates-along-y-default-breaks.svg +++ /dev/null @@ -1,56 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - -Mar -Apr -May -Jun - - - - - - - - - -0.00 -0.25 -0.50 -0.75 -1.00 -price -dx -dates along y, default breaks - - diff --git a/tests/testthat/_snaps/scale_date/scale-x-date-breaks-3-weeks.svg b/tests/testthat/_snaps/scale_date/scale-x-date-breaks-3-weeks.svg deleted file mode 100644 index 85d5eb0bea..0000000000 --- a/tests/testthat/_snaps/scale_date/scale-x-date-breaks-3-weeks.svg +++ /dev/null @@ -1,58 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - -0.00 -0.25 -0.50 -0.75 -1.00 - - - - - - - - - - -2012-03-12 -2012-04-02 -2012-04-23 -2012-05-14 -2012-06-04 -dx -price -scale_x_date(breaks = "3 weeks") - - diff --git a/tests/testthat/_snaps/scale_date/scale-x-date-breaks-breaks-width-2-weeks.svg b/tests/testthat/_snaps/scale_date/scale-x-date-breaks-breaks-width-2-weeks.svg deleted file mode 100644 index c1c9e62dc1..0000000000 --- a/tests/testthat/_snaps/scale_date/scale-x-date-breaks-breaks-width-2-weeks.svg +++ /dev/null @@ -1,64 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - -0.00 -0.25 -0.50 -0.75 -1.00 - - - - - - - - - - - - - -2012-03-05 -2012-03-19 -2012-04-02 -2012-04-16 -2012-04-30 -2012-05-14 -2012-05-28 -2012-06-11 -dx -price -scale_x_date(breaks = breaks_width("2 weeks")) - - diff --git a/tests/testthat/_snaps/scale_date/scale-x-date-labels-label-date-m-d.svg b/tests/testthat/_snaps/scale_date/scale-x-date-labels-label-date-m-d.svg deleted file mode 100644 index 1fef513fa1..0000000000 --- a/tests/testthat/_snaps/scale_date/scale-x-date-labels-label-date-m-d.svg +++ /dev/null @@ -1,56 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - -0.00 -0.25 -0.50 -0.75 -1.00 - - - - - - - - - -03/01 -04/01 -05/01 -06/01 -dx -price -scale_x_date(labels = label_date("%m/%d")) - - diff --git a/tests/testthat/_snaps/scale_date/scale-x-date-labels-label-date-w-week.svg b/tests/testthat/_snaps/scale_date/scale-x-date-labels-label-date-w-week.svg deleted file mode 100644 index 1748ed74f5..0000000000 --- a/tests/testthat/_snaps/scale_date/scale-x-date-labels-label-date-w-week.svg +++ /dev/null @@ -1,56 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - -0.00 -0.25 -0.50 -0.75 -1.00 - - - - - - - - - -09 -13 -18 -22 -week -price -scale_x_date(labels = label_date("%W"), "week") - - diff --git a/tests/testthat/_snaps/scale_date/scale-y-date-breaks-3-weeks.svg b/tests/testthat/_snaps/scale_date/scale-y-date-breaks-3-weeks.svg deleted file mode 100644 index db8ae9a3e6..0000000000 --- a/tests/testthat/_snaps/scale_date/scale-y-date-breaks-3-weeks.svg +++ /dev/null @@ -1,58 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - -2012-03-12 -2012-04-02 -2012-04-23 -2012-05-14 -2012-06-04 - - - - - - - - - - -0.00 -0.25 -0.50 -0.75 -1.00 -price -dx -scale_y_date(breaks = "3 weeks") - - diff --git a/tests/testthat/_snaps/scale_date/scale-y-date-breaks-breaks-width-2-weeks.svg b/tests/testthat/_snaps/scale_date/scale-y-date-breaks-breaks-width-2-weeks.svg deleted file mode 100644 index 9bf67dbb6d..0000000000 --- a/tests/testthat/_snaps/scale_date/scale-y-date-breaks-breaks-width-2-weeks.svg +++ /dev/null @@ -1,64 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - -2012-03-05 -2012-03-19 -2012-04-02 -2012-04-16 -2012-04-30 -2012-05-14 -2012-05-28 -2012-06-11 - - - - - - - - - - - - - -0.00 -0.25 -0.50 -0.75 -1.00 -price -dx -scale_y_date(breaks = breaks_width("2 weeks")) - - diff --git a/tests/testthat/_snaps/scales-breaks-labels/character.svg b/tests/testthat/_snaps/scales-breaks-labels/character.svg deleted file mode 100644 index 71fef7b984..0000000000 --- a/tests/testthat/_snaps/scales-breaks-labels/character.svg +++ /dev/null @@ -1,60 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 - - - - - - - -a -b -character - - diff --git a/tests/testthat/_snaps/scales-breaks-labels/date.svg b/tests/testthat/_snaps/scales-breaks-labels/date.svg deleted file mode 100644 index d76a0f758a..0000000000 --- a/tests/testthat/_snaps/scales-breaks-labels/date.svg +++ /dev/null @@ -1,82 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 - - - - - - - - - -03/01 -04/01 -05/01 -06/01 -date - - diff --git a/tests/testthat/_snaps/scales-breaks-labels/functional-limits.svg b/tests/testthat/_snaps/scales-breaks-labels/functional-limits.svg deleted file mode 100644 index e0c0a6ff98..0000000000 --- a/tests/testthat/_snaps/scales-breaks-labels/functional-limits.svg +++ /dev/null @@ -1,84 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -0 -25 -50 -75 -100 - - - - - - - - - - - - -2seater -compact -midsize -minivan -pickup -subcompact -suv -class -count - -drv - - - - - - -4 -f -r -functional limits - - diff --git a/tests/testthat/_snaps/scales-breaks-labels/no-alpha-breaks-no-legend.svg b/tests/testthat/_snaps/scales-breaks-labels/no-alpha-breaks-no-legend.svg deleted file mode 100644 index 4e0e9dd658..0000000000 --- a/tests/testthat/_snaps/scales-breaks-labels/no-alpha-breaks-no-legend.svg +++ /dev/null @@ -1,60 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 - - - - - - - - - - -0.950 -0.975 -1.000 -1.025 -1.050 -x -y -no alpha breaks (no legend) - - diff --git a/tests/testthat/_snaps/scales-breaks-labels/no-colour-breaks-no-legend.svg b/tests/testthat/_snaps/scales-breaks-labels/no-colour-breaks-no-legend.svg deleted file mode 100644 index d82e08c8ba..0000000000 --- a/tests/testthat/_snaps/scales-breaks-labels/no-colour-breaks-no-legend.svg +++ /dev/null @@ -1,60 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 - - - - - - - - - - -0.950 -0.975 -1.000 -1.025 -1.050 -x -y -no colour breaks (no legend) - - diff --git a/tests/testthat/_snaps/scales-breaks-labels/no-fill-breaks-no-legend.svg b/tests/testthat/_snaps/scales-breaks-labels/no-fill-breaks-no-legend.svg deleted file mode 100644 index 191958aca4..0000000000 --- a/tests/testthat/_snaps/scales-breaks-labels/no-fill-breaks-no-legend.svg +++ /dev/null @@ -1,60 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 - - - - - - - - - - -0.950 -0.975 -1.000 -1.025 -1.050 -x -y -no fill breaks (no legend) - - diff --git a/tests/testthat/_snaps/scales-breaks-labels/no-size-breaks-no-legend.svg b/tests/testthat/_snaps/scales-breaks-labels/no-size-breaks-no-legend.svg deleted file mode 100644 index 10ce518e2d..0000000000 --- a/tests/testthat/_snaps/scales-breaks-labels/no-size-breaks-no-legend.svg +++ /dev/null @@ -1,60 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 - - - - - - - - - - -0.950 -0.975 -1.000 -1.025 -1.050 -x -y -no size breaks (no legend) - - diff --git a/tests/testthat/_snaps/scales-breaks-labels/no-x-breaks.svg b/tests/testthat/_snaps/scales-breaks-labels/no-x-breaks.svg deleted file mode 100644 index 48d4654386..0000000000 --- a/tests/testthat/_snaps/scales-breaks-labels/no-x-breaks.svg +++ /dev/null @@ -1,50 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 - - - - - -x -y -no x breaks - - diff --git a/tests/testthat/_snaps/scales-breaks-labels/no-y-breaks.svg b/tests/testthat/_snaps/scales-breaks-labels/no-y-breaks.svg deleted file mode 100644 index 05111386d6..0000000000 --- a/tests/testthat/_snaps/scales-breaks-labels/no-y-breaks.svg +++ /dev/null @@ -1,50 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 -x -y -no y breaks - - diff --git a/tests/testthat/_snaps/scales-breaks-labels/numeric-exp.svg b/tests/testthat/_snaps/scales-breaks-labels/numeric-exp.svg deleted file mode 100644 index f7885d961a..0000000000 --- a/tests/testthat/_snaps/scales-breaks-labels/numeric-exp.svg +++ /dev/null @@ -1,73 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 - - - - - - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 -numeric-exp - - diff --git a/tests/testthat/_snaps/scales-breaks-labels/numeric-log.svg b/tests/testthat/_snaps/scales-breaks-labels/numeric-log.svg deleted file mode 100644 index 12c34e845c..0000000000 --- a/tests/testthat/_snaps/scales-breaks-labels/numeric-log.svg +++ /dev/null @@ -1,67 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -1 -10 -100 -1000 -10000 - - - - - - - - -8 -128 -2048 -numeric-log - - diff --git a/tests/testthat/_snaps/scales-breaks-labels/numeric-polar.svg b/tests/testthat/_snaps/scales-breaks-labels/numeric-polar.svg deleted file mode 100644 index 3ab9d66e87..0000000000 --- a/tests/testthat/_snaps/scales-breaks-labels/numeric-polar.svg +++ /dev/null @@ -1,61 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -2 -1/3 - - - -1 -2 -3 - - - -numeric-polar - - diff --git a/tests/testthat/_snaps/scales-breaks-labels/numeric.svg b/tests/testthat/_snaps/scales-breaks-labels/numeric.svg deleted file mode 100644 index 59fde2a92f..0000000000 --- a/tests/testthat/_snaps/scales-breaks-labels/numeric.svg +++ /dev/null @@ -1,57 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -1 -2 -3 - - - - - - -1 -2 -3 -numeric - - diff --git a/tests/testthat/_snaps/sec-axis/sec-axis-custom-transform.svg b/tests/testthat/_snaps/sec-axis/sec-axis-custom-transform.svg deleted file mode 100644 index e94f6ea95e..0000000000 --- a/tests/testthat/_snaps/sec-axis/sec-axis-custom-transform.svg +++ /dev/null @@ -1,110 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -0.001 -0.010 -0.100 -0.500 -0.600 -0.700 -0.800 -0.900 -1.000 - - - - - - - - - - - - - - - - - - -0.001 -0.010 -0.100 -0.250 -0.300 -0.350 -0.400 -0.450 -0.500 - - - - - --1.0 --0.5 -0.0 -0.5 -1.0 -x -y -sec_axis, custom transform - - diff --git a/tests/testthat/_snaps/sec-axis/sec-axis-datetime-scale.svg b/tests/testthat/_snaps/sec-axis/sec-axis-datetime-scale.svg deleted file mode 100644 index fb76b1ef79..0000000000 --- a/tests/testthat/_snaps/sec-axis/sec-axis-datetime-scale.svg +++ /dev/null @@ -1,137 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -04PM -06PM -08PM -10PM -12AM -02AM -04AM -06AM -08AM -10AM -12PM -02PM -04PM --1.0 --0.5 -0.0 -0.5 -1.0 - - - - - - - - - - - - - - - - - - -12AM -02AM -04AM -06AM -08AM -10AM -12PM -02PM -04PM -06PM -08PM -10PM -12AM -PST -UTC -y -sec_axis, datetime scale - - diff --git a/tests/testthat/_snaps/sec-axis/sec-axis-independent-transformations.svg b/tests/testthat/_snaps/sec-axis/sec-axis-independent-transformations.svg deleted file mode 100644 index cbfaa55e5b..0000000000 --- a/tests/testthat/_snaps/sec-axis/sec-axis-independent-transformations.svg +++ /dev/null @@ -1,83 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -5 -10 -15 -20 -25 -0.2 -0.3 -0.4 -0.5 - - - - - - - -0.1 -0.2 -0.3 -Return Period -Probability -Value -sec_axis, independent transformations - - diff --git a/tests/testthat/_snaps/sec-axis/sec-axis-monotonicity-test.svg b/tests/testthat/_snaps/sec-axis/sec-axis-monotonicity-test.svg deleted file mode 100644 index abf6775b7f..0000000000 --- a/tests/testthat/_snaps/sec-axis/sec-axis-monotonicity-test.svg +++ /dev/null @@ -1,85 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -0 -1 -2 -3 -4 - - - - - - - - - -1 -2 -3 -4 - - - - - -0.00 -0.25 -0.50 -0.75 -1.00 -x -y -y -sec axis monotonicity test - - diff --git a/tests/testthat/_snaps/sec-axis/sec-axis-sec-power-transform.svg b/tests/testthat/_snaps/sec-axis/sec-axis-sec-power-transform.svg deleted file mode 100644 index 0a5ed00224..0000000000 --- a/tests/testthat/_snaps/sec-axis/sec-axis-sec-power-transform.svg +++ /dev/null @@ -1,94 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --0.25 -0.00 -0.25 -0.50 -0.75 -1.00 -4.950 -4.975 -5.000 -5.025 -5.050 - - - - - - - - - -2.5 -5.0 -7.5 -10.0 -1:10 -rep(5, 10) -sec_axis, sec power transform - - diff --git a/tests/testthat/_snaps/sec-axis/sec-axis-skewed-transform.svg b/tests/testthat/_snaps/sec-axis/sec-axis-skewed-transform.svg deleted file mode 100644 index 57ca1033e4..0000000000 --- a/tests/testthat/_snaps/sec-axis/sec-axis-skewed-transform.svg +++ /dev/null @@ -1,194 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -1e-01 -1e+00 -1e+01 -1e+02 -1e+03 -0.00 -0.25 -0.50 -0.75 -1.00 - - - - - - - - - - - - -1e-03 -1e-02 -1e-01 -1e+00 -1e+01 -1e+02 -1e+03 -Unit B -Unit A -y -sec_axis, skewed transform - - diff --git a/tests/testthat/_snaps/sec-axis/sec-axis-with-division.svg b/tests/testthat/_snaps/sec-axis/sec-axis-with-division.svg deleted file mode 100644 index 9527441ed0..0000000000 --- a/tests/testthat/_snaps/sec-axis/sec-axis-with-division.svg +++ /dev/null @@ -1,315 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -20 -30 -40 - - - - - - -10 -15 -20 - - - - - - -2 -3 -4 -5 -6 -7 -displ -hwy -100km / L -sec_axis, with division - - diff --git a/tests/testthat/_snaps/stat-align/align-two-areas-with-cliff.svg b/tests/testthat/_snaps/stat-align/align-two-areas-with-cliff.svg deleted file mode 100644 index abb667a819..0000000000 --- a/tests/testthat/_snaps/stat-align/align-two-areas-with-cliff.svg +++ /dev/null @@ -1,63 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - -0.0 -2.5 -5.0 -7.5 - - - - - - - -2 -4 -6 -x -y - -g - - - - -a -b -align two areas with cliff - - diff --git a/tests/testthat/_snaps/stat-align/align-two-areas-with-pos-neg-y.svg b/tests/testthat/_snaps/stat-align/align-two-areas-with-pos-neg-y.svg deleted file mode 100644 index 49be47a3ea..0000000000 --- a/tests/testthat/_snaps/stat-align/align-two-areas-with-pos-neg-y.svg +++ /dev/null @@ -1,63 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - --5 -0 -5 - - - - - - - -2 -4 -6 -8 -x -y - -g - - - - -a -b -align two areas with pos/neg y - - diff --git a/tests/testthat/_snaps/stat-align/align-two-areas.svg b/tests/testthat/_snaps/stat-align/align-two-areas.svg deleted file mode 100644 index 90186a513c..0000000000 --- a/tests/testthat/_snaps/stat-align/align-two-areas.svg +++ /dev/null @@ -1,63 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - -0.0 -2.5 -5.0 -7.5 - - - - - - - -2 -4 -6 -x -y - -g - - - - -a -b -align two areas - - diff --git a/tests/testthat/_snaps/stat-sum/summary-with-color-and-lines.svg b/tests/testthat/_snaps/stat-sum/summary-with-color-and-lines.svg deleted file mode 100644 index 0045dd43fc..0000000000 --- a/tests/testthat/_snaps/stat-sum/summary-with-color-and-lines.svg +++ /dev/null @@ -1,103 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -10 -15 -20 -25 -30 -35 - - - - - - - - - - - -4 -5 -6 -7 -8 -cyl -mpg - -factor(vs) - - - - - - -0 -1 -summary with color and lines - - diff --git a/tests/testthat/_snaps/stat-sum/summary-with-crossbars-manual-grouping.svg b/tests/testthat/_snaps/stat-sum/summary-with-crossbars-manual-grouping.svg deleted file mode 100644 index ef35058862..0000000000 --- a/tests/testthat/_snaps/stat-sum/summary-with-crossbars-manual-grouping.svg +++ /dev/null @@ -1,97 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -10 -15 -20 -25 -30 -35 - - - - - - - - - - - -4 -5 -6 -7 -8 -cyl -mpg -summary with crossbars, manual grouping - - diff --git a/tests/testthat/_snaps/stat-sum/summary-with-crossbars-no-grouping.svg b/tests/testthat/_snaps/stat-sum/summary-with-crossbars-no-grouping.svg deleted file mode 100644 index ba5fd95b1b..0000000000 --- a/tests/testthat/_snaps/stat-sum/summary-with-crossbars-no-grouping.svg +++ /dev/null @@ -1,97 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -10 -15 -20 -25 -30 -35 - - - - - - - - - - - -4 -5 -6 -7 -8 -cyl -mpg -summary with crossbars, no grouping - - diff --git a/tests/testthat/_snaps/theme/axes-styling.svg b/tests/testthat/_snaps/theme/axes-styling.svg deleted file mode 100644 index 345db8bb68..0000000000 --- a/tests/testthat/_snaps/theme/axes-styling.svg +++ /dev/null @@ -1,100 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -2.5 -5.0 -7.5 -10.0 - -2.5 -5.0 -7.5 -10.0 - - - - - - - - - -2.5 -5.0 -7.5 -10.0 - - - - - -2.5 -5.0 -7.5 -10.0 -1:10 -1:10 -1:10 -1:10 -axes_styling - - diff --git a/tests/testthat/_snaps/theme/caption-aligned-to-entire-plot.svg b/tests/testthat/_snaps/theme/caption-aligned-to-entire-plot.svg deleted file mode 100644 index e5d8b37a9b..0000000000 --- a/tests/testthat/_snaps/theme/caption-aligned-to-entire-plot.svg +++ /dev/null @@ -1,199 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -a - - - - - - - - - - -b - - - - - - - - - - -c - - - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 -1.0 -1.5 -2.0 -2.5 -3.0 - - - - - -x -y - -z - - - - - - -a -b -c -Subtitle aligned to panels -Plot title aligned to panels -Caption aligned to entire plot - - diff --git a/tests/testthat/_snaps/theme/custom-strip-elements-can-render.svg b/tests/testthat/_snaps/theme/custom-strip-elements-can-render.svg deleted file mode 100644 index 29efe8daca..0000000000 --- a/tests/testthat/_snaps/theme/custom-strip-elements-can-render.svg +++ /dev/null @@ -1,186 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 -1.0 -1.5 -2.0 -2.5 -3.0 - - - - - -x -y -custom strip elements can render - - diff --git a/tests/testthat/_snaps/theme/height-is-3-times-width-2-column-facets.svg b/tests/testthat/_snaps/theme/height-is-3-times-width-2-column-facets.svg deleted file mode 100644 index 96be65c332..0000000000 --- a/tests/testthat/_snaps/theme/height-is-3-times-width-2-column-facets.svg +++ /dev/null @@ -1,109 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -1 - - - - - - - - - - -2 - - - - - - -2 -4 -6 -8 - - - - -2 -4 -6 -8 -2 -4 -6 -8 - - - - -height is 3 times width, 2 column facets - - diff --git a/tests/testthat/_snaps/theme/height-is-3-times-width-2-row-facets.svg b/tests/testthat/_snaps/theme/height-is-3-times-width-2-row-facets.svg deleted file mode 100644 index c13fddecd9..0000000000 --- a/tests/testthat/_snaps/theme/height-is-3-times-width-2-row-facets.svg +++ /dev/null @@ -1,109 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -1 - - - - - - - - - - -2 - - - - - - -2 -4 -6 -8 -2 -4 -6 -8 - - - - -2 -4 -6 -8 - - - - -height is 3 times width, 2 row facets - - diff --git a/tests/testthat/_snaps/theme/height-is-3-times-width-2-wrap-facets.svg b/tests/testthat/_snaps/theme/height-is-3-times-width-2-wrap-facets.svg deleted file mode 100644 index 2b9f10a1b8..0000000000 --- a/tests/testthat/_snaps/theme/height-is-3-times-width-2-wrap-facets.svg +++ /dev/null @@ -1,109 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -1 - - - - - - - - - - -2 - - - - - - -2 -4 -6 -8 - - - - -2 -4 -6 -8 -2 -4 -6 -8 - - - - -height is 3 times width, 2 wrap facets - - diff --git a/tests/testthat/_snaps/theme/height-is-3-times-width-2x2-facets.svg b/tests/testthat/_snaps/theme/height-is-3-times-width-2x2-facets.svg deleted file mode 100644 index 22ebaea3e3..0000000000 --- a/tests/testthat/_snaps/theme/height-is-3-times-width-2x2-facets.svg +++ /dev/null @@ -1,161 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -1 - - - - - - - - - - -2 - - - - - - - - - - -1 - - - - - - - - - - -2 - - - - - - -2 -4 -6 -8 - - - - -2 -4 -6 -8 -2 -4 -6 -8 - - - - -2 -4 -6 -8 - - - - -height is 3 times width, 2x2 facets - - diff --git a/tests/testthat/_snaps/theme/height-is-3-times-width.svg b/tests/testthat/_snaps/theme/height-is-3-times-width.svg deleted file mode 100644 index b45750da28..0000000000 --- a/tests/testthat/_snaps/theme/height-is-3-times-width.svg +++ /dev/null @@ -1,68 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -2 -4 -6 -8 - - - - - - - - -2 -4 -6 -8 -height is 3 times width - - diff --git a/tests/testthat/_snaps/theme/large-margins.svg b/tests/testthat/_snaps/theme/large-margins.svg deleted file mode 100644 index 1e4bfb10db..0000000000 --- a/tests/testthat/_snaps/theme/large-margins.svg +++ /dev/null @@ -1,96 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -1 - - - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 -1.0 -1.5 -2.0 -2.5 -3.0 - - - - - -x -y - -z - - - - -a -b -large margins - - diff --git a/tests/testthat/_snaps/theme/large-spacing.svg b/tests/testthat/_snaps/theme/large-spacing.svg deleted file mode 100644 index 1680934c61..0000000000 --- a/tests/testthat/_snaps/theme/large-spacing.svg +++ /dev/null @@ -1,96 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -1 - - - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 -1.0 -1.5 -2.0 -2.5 -3.0 - - - - - -x -y - -z - - - - -a -b -large spacing - - diff --git a/tests/testthat/_snaps/theme/legends-at-all-sides-with-justification.svg b/tests/testthat/_snaps/theme/legends-at-all-sides-with-justification.svg deleted file mode 100644 index 9847f9f0c9..0000000000 --- a/tests/testthat/_snaps/theme/legends-at-all-sides-with-justification.svg +++ /dev/null @@ -1,157 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -10 -15 -20 -25 -30 -35 - - - - - - - - - - -100 -200 -300 -400 -disp -mpg - -wt - - - - - - - - -2 -3 -4 -5 - -drat - - - - - - - - -3.0 -3.5 -4.0 -4.5 - -hp - - - - - - - - - - - -100 -150 -200 -250 -300 - -factor(cyl) - - - - - - -4 -6 -8 - -factor(gear) - - - - - - -3 -4 -5 -legends at all sides with justification - - diff --git a/tests/testthat/_snaps/theme/point-elements.svg b/tests/testthat/_snaps/theme/point-elements.svg deleted file mode 100644 index f810f35c3b..0000000000 --- a/tests/testthat/_snaps/theme/point-elements.svg +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - - - - - - - - - - - - - - diff --git a/tests/testthat/_snaps/theme/polygon-elements.svg b/tests/testthat/_snaps/theme/polygon-elements.svg deleted file mode 100644 index e6e0de8c72..0000000000 --- a/tests/testthat/_snaps/theme/polygon-elements.svg +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - - - - - - - - - - - diff --git a/tests/testthat/_snaps/theme/rotated-x-axis-tick-labels.svg b/tests/testthat/_snaps/theme/rotated-x-axis-tick-labels.svg deleted file mode 100644 index c313d83ac1..0000000000 --- a/tests/testthat/_snaps/theme/rotated-x-axis-tick-labels.svg +++ /dev/null @@ -1,67 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 - - - - - - - - -medium size -short -very long label -label -y -rotated x axis tick labels - - diff --git a/tests/testthat/_snaps/theme/stretched-horizontal-legends.svg b/tests/testthat/_snaps/theme/stretched-horizontal-legends.svg deleted file mode 100644 index daa1c3c43e..0000000000 --- a/tests/testthat/_snaps/theme/stretched-horizontal-legends.svg +++ /dev/null @@ -1,90 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 - - - - - - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 -x -y - - -a - - - - - - -a -b -c - -x - - - - - - - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 -stretched horizontal legends - - diff --git a/tests/testthat/_snaps/theme/stretched-vertical-legends.svg b/tests/testthat/_snaps/theme/stretched-vertical-legends.svg deleted file mode 100644 index 8fa4c8a8b6..0000000000 --- a/tests/testthat/_snaps/theme/stretched-vertical-legends.svg +++ /dev/null @@ -1,90 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 - - - - - - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 -x -y - - -a - - - - - - -a -b -c - -x - - - - - - - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 -stretched vertical legends - - diff --git a/tests/testthat/_snaps/theme/strip-styling.svg b/tests/testthat/_snaps/theme/strip-styling.svg deleted file mode 100644 index 0e4ce8e479..0000000000 --- a/tests/testthat/_snaps/theme/strip-styling.svg +++ /dev/null @@ -1,222 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -1 - - - - - - - - - - -2 - - - - - - - - - - -1 - - - - - - - - - - -2 - - - - - - - -1.00 -1.25 -1.50 -1.75 -2.00 - - - - - -1.00 -1.25 -1.50 -1.75 -2.00 -1.00 -1.25 -1.50 -1.75 -2.00 - - - - - -1.00 -1.25 -1.50 -1.75 -2.00 - - - - - -x -y -strip_styling - - diff --git a/tests/testthat/_snaps/theme/theme-bw-large.svg b/tests/testthat/_snaps/theme/theme-bw-large.svg deleted file mode 100644 index cbffb819ac..0000000000 --- a/tests/testthat/_snaps/theme/theme-bw-large.svg +++ /dev/null @@ -1,97 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -1 - - - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 -1.0 -1.5 -2.0 -2.5 -3.0 - - - - - -x -y - -z - - - - -a -b -theme_bw_large - - diff --git a/tests/testthat/_snaps/theme/theme-bw.svg b/tests/testthat/_snaps/theme/theme-bw.svg deleted file mode 100644 index d6634c2e52..0000000000 --- a/tests/testthat/_snaps/theme/theme-bw.svg +++ /dev/null @@ -1,97 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -1 - - - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 -1.0 -1.5 -2.0 -2.5 -3.0 - - - - - -x -y - -z - - - - -a -b -theme_bw - - diff --git a/tests/testthat/_snaps/theme/theme-classic-large.svg b/tests/testthat/_snaps/theme/theme-classic-large.svg deleted file mode 100644 index 7105d5474b..0000000000 --- a/tests/testthat/_snaps/theme/theme-classic-large.svg +++ /dev/null @@ -1,80 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -1 - - - - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 - -1.0 -1.5 -2.0 -2.5 -3.0 - - - - - -x -y - -z - - - - -a -b -theme_classic_large - - diff --git a/tests/testthat/_snaps/theme/theme-classic.svg b/tests/testthat/_snaps/theme/theme-classic.svg deleted file mode 100644 index 45ef7ef076..0000000000 --- a/tests/testthat/_snaps/theme/theme-classic.svg +++ /dev/null @@ -1,80 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -1 - - - - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 - -1.0 -1.5 -2.0 -2.5 -3.0 - - - - - -x -y - -z - - - - -a -b -theme_classic - - diff --git a/tests/testthat/_snaps/theme/theme-dark-large.svg b/tests/testthat/_snaps/theme/theme-dark-large.svg deleted file mode 100644 index f6f9c1058f..0000000000 --- a/tests/testthat/_snaps/theme/theme-dark-large.svg +++ /dev/null @@ -1,96 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -1 - - - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 -1.0 -1.5 -2.0 -2.5 -3.0 - - - - - -x -y - -z - - - - -a -b -theme_dark_large - - diff --git a/tests/testthat/_snaps/theme/theme-dark.svg b/tests/testthat/_snaps/theme/theme-dark.svg deleted file mode 100644 index c20df836ff..0000000000 --- a/tests/testthat/_snaps/theme/theme-dark.svg +++ /dev/null @@ -1,96 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -1 - - - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 -1.0 -1.5 -2.0 -2.5 -3.0 - - - - - -x -y - -z - - - - -a -b -theme_dark - - diff --git a/tests/testthat/_snaps/theme/theme-gray-large.svg b/tests/testthat/_snaps/theme/theme-gray-large.svg deleted file mode 100644 index 4348638185..0000000000 --- a/tests/testthat/_snaps/theme/theme-gray-large.svg +++ /dev/null @@ -1,96 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -1 - - - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 -1.0 -1.5 -2.0 -2.5 -3.0 - - - - - -x -y - -z - - - - -a -b -theme_gray_large - - diff --git a/tests/testthat/_snaps/theme/theme-gray.svg b/tests/testthat/_snaps/theme/theme-gray.svg deleted file mode 100644 index cc01144439..0000000000 --- a/tests/testthat/_snaps/theme/theme-gray.svg +++ /dev/null @@ -1,96 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -1 - - - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 -1.0 -1.5 -2.0 -2.5 -3.0 - - - - - -x -y - -z - - - - -a -b -theme_gray - - diff --git a/tests/testthat/_snaps/theme/theme-light-large.svg b/tests/testthat/_snaps/theme/theme-light-large.svg deleted file mode 100644 index 29fc210917..0000000000 --- a/tests/testthat/_snaps/theme/theme-light-large.svg +++ /dev/null @@ -1,97 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -1 - - - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 -1.0 -1.5 -2.0 -2.5 -3.0 - - - - - -x -y - -z - - - - -a -b -theme_light_large - - diff --git a/tests/testthat/_snaps/theme/theme-light.svg b/tests/testthat/_snaps/theme/theme-light.svg deleted file mode 100644 index d334f2ffa2..0000000000 --- a/tests/testthat/_snaps/theme/theme-light.svg +++ /dev/null @@ -1,97 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -1 - - - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 -1.0 -1.5 -2.0 -2.5 -3.0 - - - - - -x -y - -z - - - - -a -b -theme_light - - diff --git a/tests/testthat/_snaps/theme/theme-linedraw-large.svg b/tests/testthat/_snaps/theme/theme-linedraw-large.svg deleted file mode 100644 index e2aadff6e7..0000000000 --- a/tests/testthat/_snaps/theme/theme-linedraw-large.svg +++ /dev/null @@ -1,97 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -1 - - - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 -1.0 -1.5 -2.0 -2.5 -3.0 - - - - - -x -y - -z - - - - -a -b -theme_linedraw_large - - diff --git a/tests/testthat/_snaps/theme/theme-linedraw.svg b/tests/testthat/_snaps/theme/theme-linedraw.svg deleted file mode 100644 index 2715cc19eb..0000000000 --- a/tests/testthat/_snaps/theme/theme-linedraw.svg +++ /dev/null @@ -1,97 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -1 - - - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 -1.0 -1.5 -2.0 -2.5 -3.0 - - - - - -x -y - -z - - - - -a -b -theme_linedraw - - diff --git a/tests/testthat/_snaps/theme/theme-minimal-large.svg b/tests/testthat/_snaps/theme/theme-minimal-large.svg deleted file mode 100644 index 1dc1caf61a..0000000000 --- a/tests/testthat/_snaps/theme/theme-minimal-large.svg +++ /dev/null @@ -1,81 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -1 - - -1.0 -1.5 -2.0 -2.5 -3.0 -1.0 -1.5 -2.0 -2.5 -3.0 -x -y -z - - -a -b -theme_minimal_large - - diff --git a/tests/testthat/_snaps/theme/theme-minimal.svg b/tests/testthat/_snaps/theme/theme-minimal.svg deleted file mode 100644 index ce2799c95b..0000000000 --- a/tests/testthat/_snaps/theme/theme-minimal.svg +++ /dev/null @@ -1,81 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -1 - - -1.0 -1.5 -2.0 -2.5 -3.0 -1.0 -1.5 -2.0 -2.5 -3.0 -x -y -z - - -a -b -theme_minimal - - diff --git a/tests/testthat/_snaps/theme/theme-void-large.svg b/tests/testthat/_snaps/theme/theme-void-large.svg deleted file mode 100644 index 58ac3525dd..0000000000 --- a/tests/testthat/_snaps/theme/theme-void-large.svg +++ /dev/null @@ -1,51 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -1 - - -z - - -a -b -theme_void_large - - diff --git a/tests/testthat/_snaps/theme/theme-void.svg b/tests/testthat/_snaps/theme/theme-void.svg deleted file mode 100644 index e537f6bb9d..0000000000 --- a/tests/testthat/_snaps/theme/theme-void.svg +++ /dev/null @@ -1,51 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -1 - - -z - - -a -b -theme_void - - diff --git a/tests/testthat/_snaps/theme/theme-with-inverted-colours.svg b/tests/testthat/_snaps/theme/theme-with-inverted-colours.svg deleted file mode 100644 index 760107a5c9..0000000000 --- a/tests/testthat/_snaps/theme/theme-with-inverted-colours.svg +++ /dev/null @@ -1,332 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -Strip title - - - - - - - - -2 -3 -4 -5 -6 -7 -20 -30 -40 - - - -displ -hwy - -drv - - - - - - -4 -f -r -Subtitle -Main title -Caption -A - - diff --git a/tests/testthat/_snaps/theme/ticks-length.svg b/tests/testthat/_snaps/theme/ticks-length.svg deleted file mode 100644 index 08b3a1a841..0000000000 --- a/tests/testthat/_snaps/theme/ticks-length.svg +++ /dev/null @@ -1,81 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -2.5 -5.0 -7.5 -10.0 -2.5 -5.0 -7.5 -10.0 - - - - - - - - -2.5 -5.0 -7.5 -10.0 - - - - -2.5 -5.0 -7.5 -10.0 -1:10 -1:10 -1:10 -1:10 -ticks_length - - diff --git a/tests/testthat/_snaps/theme/titles-aligned-to-entire-plot.svg b/tests/testthat/_snaps/theme/titles-aligned-to-entire-plot.svg deleted file mode 100644 index ba0727fbd7..0000000000 --- a/tests/testthat/_snaps/theme/titles-aligned-to-entire-plot.svg +++ /dev/null @@ -1,199 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -a - - - - - - - - - - -b - - - - - - - - - - -c - - - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 -1.0 -1.5 -2.0 -2.5 -3.0 - - - - - -x -y - -z - - - - - - -a -b -c -Subtitle aligned to entire plot -Plot title aligned to entire plot -Caption aligned to panels - - diff --git a/tests/testthat/_snaps/theme/width-is-3-times-height.svg b/tests/testthat/_snaps/theme/width-is-3-times-height.svg deleted file mode 100644 index 3210213d9b..0000000000 --- a/tests/testthat/_snaps/theme/width-is-3-times-height.svg +++ /dev/null @@ -1,68 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -2 -4 -6 -8 - - - - - - - - -2 -4 -6 -8 -width is 3 times height - - From 73949a2e83912bb0a4646a1cf1f6c57984a28803 Mon Sep 17 00:00:00 2001 From: EvaMaeRey Date: Mon, 12 May 2025 14:34:11 -0600 Subject: [PATCH 6/8] vdiff and test --- .../_snaps/aes/alpha-set-in-alpha.svg | 58 ++ .../_snaps/aes/alpha-set-in-colour.svg | 58 ++ .../_snaps/aes/stat-count-width-0-5.svg | 56 ++ tests/testthat/_snaps/aes/stat-count.svg | 56 ++ .../_snaps/aes/stat-identity-width-0-5.svg | 54 ++ tests/testthat/_snaps/aes/stat-identity.svg | 54 ++ .../_snaps/annotate/line-matches-points.svg | 38 + ...clip-on-by-default-only-inside-visible.svg | 42 ++ ...ed-off-both-inside-and-outside-visible.svg | 33 + .../_snaps/coord-cartesian/contract-range.svg | 89 +++ .../_snaps/coord-cartesian/expand-range.svg | 91 +++ ...ng-off-secondary-title-with-coord-flip.svg | 114 +++ .../coord-map-switched-scale-position.svg | 74 ++ .../_snaps/coord-map/usa-mercator.svg | 74 ++ .../bottom-half-circle-with-rotated-text.svg | 75 ++ ...with-axes-placed-at-90-and-225-degrees.svg | 70 ++ .../inner-radius-with-all-axes.svg | 131 ++++ .../coord-polar/partial-with-all-axes.svg | 131 ++++ ...etrack-plot-closed-and-has-center-hole.svg | 61 ++ ...cetrack-plot-closed-and-no-center-hole.svg | 61 ++ .../rays-circular-arcs-and-spiral-arcs.svg | 369 ++++++++++ .../rose-plot-with-has-equal-spacing.svg | 62 ++ .../secondary-axis-ticks-and-labels.svg | 67 ++ .../coord-polar/three-concentric-circles.svg | 66 ++ .../basic-coord-trans-plot.svg | 291 ++++++++ .../sec-axis-with-coord-trans.svg | 317 +++++++++ .../coord_sf/coord-sf-with-custom-guides.svg | 136 ++++ .../coord_sf/limits-specified-in-long-lat.svg | 91 +++ .../limits-specified-in-projected-coords.svg | 91 +++ tests/testthat/_snaps/coord_sf/no-breaks.svg | 48 ++ .../_snaps/coord_sf/no-panel-grid.svg | 68 ++ .../coord_sf/non-sf-geoms-using-long-lat.svg | 95 +++ .../non-sf-geoms-using-projected-coords.svg | 95 +++ .../testthat/_snaps/coord_sf/sf-polygons.svg | 97 +++ ...ate-colour-key-with-alpha-key-as-lines.svg | 76 ++ .../draw-key/circle-glyphs-of-2cm-size.svg | 100 +++ .../horizontal-boxplot-and-crossbar.svg | 97 +++ .../horizontal-linerange-and-pointrange.svg | 81 +++ .../rectangle-and-dotplot-key-glyphs.svg | 77 ++ .../time-series-and-polygon-key-glyphs.svg | 77 ++ ...et-grid-with-omitted-inner-axis-labels.svg | 347 +++++++++ ...et-wrap-with-omitted-inner-axis-labels.svg | 375 ++++++++++ ...ft-justified-facet-labels-with-margins.svg | 156 ++++ ...fied-rotated-facet-labels-with-margins.svg | 156 ++++ .../facet-labels/outside-justified-labels.svg | 144 ++++ .../facet-labels/parsed-facet-labels.svg | 67 ++ ...sitioned-correctly-in-non-table-layout.svg | 468 ++++++++++++ .../facet-strips/switched-facet-strips.svg | 223 ++++++ .../_snaps/geom-boxplot/customised-style.svg | 167 +++++ .../_snaps/geom-boxplot/outlier-colours.svg | 96 +++ .../testthat/_snaps/geom-boxplot/staples.svg | 102 +++ .../_snaps/geom-curve/flipped-geom-curve.svg | 61 ++ .../_snaps/geom-curve/standard-geom-curve.svg | 61 ++ .../2-na-values-bin-along-y-stack-center.svg | 71 ++ ...-values-dot-density-binning-binwidth-4.svg | 75 ++ .../3-stackgroups-bin-y-histodot.svg | 156 ++++ ...ckgroups-dot-density-with-aligned-bins.svg | 158 ++++ .../geom-dotplot/3-stackgroups-histodot.svg | 158 ++++ ...ot-with-dot-density-binning-binwidth-4.svg | 77 ++ .../geom-dotplot/bin-along-y-stack-center.svg | 73 ++ ...bin-along-y-stack-centerwhole-histodot.svg | 73 ++ .../bin-along-y-stack-centerwhole.svg | 73 ++ ...bin-x-three-y-groups-stack-centerwhole.svg | 143 ++++ .../bin-y-continous-x-axis-grouping-by-x.svg | 143 ++++ .../bin-y-continous-x-axis-single-x-group.svg | 143 ++++ .../geom-dotplot/bin-y-dodged-coord-flip.svg | 166 +++++ .../_snaps/geom-dotplot/bin-y-dodged.svg | 166 +++++ .../bin-y-dodging-3-stackgroups-histodot.svg | 151 ++++ ...ee-x-groups-bins-aligned-across-groups.svg | 143 ++++ ...three-x-groups-bins-aligned-coord-flip.svg | 143 ++++ .../bin-y-three-x-groups-fill-and-dodge.svg | 169 +++++ ...bin-y-three-x-groups-stack-centerwhole.svg | 143 ++++ ...stacked-closer-stackratio-5-fill-white.svg | 77 ++ .../facets-3-groups-histodot-stackgroups.svg | 230 ++++++ .../histodot-binning-equal-bin-spacing.svg | 77 ++ .../larger-dots-dotsize-1-5-fill-white.svg | 77 ++ .../multiple-groups-bins-aligned.svg | 85 +++ .../multiple-groups-bins-not-aligned.svg | 85 +++ .../stack-center-with-coord-flip.svg | 77 ++ .../_snaps/geom-dotplot/stack-center.svg | 77 ++ .../stack-centerwhole-with-coord-flip.svg | 77 ++ .../_snaps/geom-dotplot/stack-centerwhole.svg | 77 ++ .../stack-down-with-coord-flip.svg | 77 ++ .../_snaps/geom-dotplot/stack-down.svg | 77 ++ .../geom-dotplot/stack-up-with-coord-flip.svg | 77 ++ .../testthat/_snaps/geom-dotplot/stack-up.svg | 77 ++ .../_snaps/geom-dotplot/stackratio-1-5.svg | 74 ++ ...etype-and-size-specified-as-aesthetics.svg | 102 +++ .../hex-bin-plot-in-polar-coordinates.svg | 183 +++++ .../hex-bin-plot-with-sqrt-transformed-y.svg | 181 +++++ ...e-hex-bin-with-width-and-height-of-0-1.svg | 64 ++ .../cartesian-lines-intersect-mid-bars.svg | 70 ++ .../flipped-lines-intersect-mid-bars.svg | 70 ++ .../lines-curved-in-azequalarea.svg | 61 ++ .../polar-lines-intersect-mid-bars.svg | 74 ++ .../straight-lines-in-mercator.svg | 61 ++ .../geom-label-with-line-parameters.svg | 121 ++++ ...nged-order-should-have-same-appearance.svg | 67 ++ ...nged-order-should-have-same-appearance.svg | 87 +++ .../_snaps/geom-path/lines-colour.svg | 87 +++ tests/testthat/_snaps/geom-path/lines.svg | 67 ++ .../testthat/_snaps/geom-path/na-linetype.svg | 57 ++ .../geom-polygon/basic-polygon-plot.svg | 55 ++ .../open-and-closed-munched-polygons.svg | 42 ++ .../_snaps/geom-raster/1-x-3-just-0-0.svg | 77 ++ .../_snaps/geom-raster/1-x-3-set-limits.svg | 79 ++ tests/testthat/_snaps/geom-raster/1-x-3.svg | 75 ++ .../_snaps/geom-raster/3-x-1-just-0-0.svg | 77 ++ .../_snaps/geom-raster/3-x-1-set-limits.svg | 79 ++ tests/testthat/_snaps/geom-raster/3-x-1.svg | 75 ++ .../_snaps/geom-raster/3-x-2-just-0-0.svg | 83 +++ .../_snaps/geom-raster/3-x-2-set-limits.svg | 85 +++ tests/testthat/_snaps/geom-raster/3-x-2.svg | 81 +++ .../_snaps/geom-raster/discrete-positions.svg | 60 ++ .../geom-raster/irregular-categorical.svg | 69 ++ .../_snaps/geom-raster/rectangle-fallback.svg | 78 ++ .../_snaps/geom-sf/geom-sf-line-legend.svg | 82 +++ .../_snaps/geom-sf/geom-sf-point-legend.svg | 78 ++ .../_snaps/geom-sf/geom-sf-polygon-legend.svg | 82 +++ .../geom-sf/labels-for-north-carolina.svg | 51 ++ .../_snaps/geom-sf/mixed-geometry-types.svg | 85 +++ ...-carolina-county-boundaries-with-arrow.svg | 72 ++ ...ty-boundaries-with-more-than-one-arrow.svg | 82 +++ .../north-carolina-county-boundaries.svg | 97 +++ .../_snaps/geom-sf/spatial-points.svg | 70 ++ .../geom-sf/texts-for-north-carolina.svg | 50 ++ .../ribbon-turned-off-in-geom-smooth.svg | 67 ++ .../ribbon-turned-on-in-geom-smooth.svg | 75 ++ tests/testthat/_snaps/geom-violin/basic.svg | 60 ++ ...is-many-groups-center-should-be-at-2-0.svg | 58 ++ ...s-single-group-center-should-be-at-1-0.svg | 58 ++ .../_snaps/geom-violin/coord-flip.svg | 60 ++ .../_snaps/geom-violin/coord-polar.svg | 64 ++ .../geom-violin/dodging-and-coord-flip.svg | 67 ++ tests/testthat/_snaps/geom-violin/dodging.svg | 67 ++ ...grouping-on-x-and-fill-dodge-width-0-5.svg | 63 ++ .../geom-violin/grouping-on-x-and-fill.svg | 63 ++ .../_snaps/geom-violin/narrower-width-5.svg | 60 ++ ...scale-area-to-sample-size-c-is-smaller.svg | 60 ++ .../_snaps/geom-violin/styled-quantiles.svg | 69 ++ .../with-smaller-bandwidth-and-points.svg | 135 ++++ .../geom-violin/with-tails-and-points.svg | 131 ++++ .../align-facet-labels-facets-horizontal.svg | 672 ++++++++++++++++++ .../align-facet-labels-facets-vertical.svg | 672 ++++++++++++++++++ .../_snaps/guide-axis/axis-guides-basic.svg | 50 ++ .../guide-axis/axis-guides-check-overlap.svg | 164 +++++ .../axis-guides-negative-rotation.svg | 106 +++ .../axis-guides-positive-rotation.svg | 106 +++ ...axis-guides-text-dodged-into-rows-cols.svg | 106 +++ ...axis-guides-vertical-negative-rotation.svg | 106 +++ .../axis-guides-vertical-rotation.svg | 106 +++ .../axis-guides-with-capped-ends.svg | 114 +++ .../guide-axis/axis-guides-zero-breaks.svg | 26 + .../guide-axis/axis-guides-zero-rotation.svg | 106 +++ .../guide-axis/guide-axis-customization.svg | 298 ++++++++ ...de-axis-theta-in-cartesian-coordinates.svg | 131 ++++ ...xis-theta-with-angle-adapting-to-theta.svg | 197 +++++ .../guide-titles-with-coord-trans.svg | 80 +++ .../guide-axis/guides-specified-in-guides.svg | 311 ++++++++ .../guide-axis/guides-with-minor-ticks.svg | 139 ++++ .../logtick-axes-with-customisation.svg | 206 ++++++ .../guide-axis/position-guide-titles.svg | 40 ++ .../_snaps/guide-axis/stacked-axes.svg | 148 ++++ .../_snaps/guide-axis/stacked-radial-axes.svg | 147 ++++ .../_snaps/guide-axis/thick-axis-lines.svg | 91 +++ .../combined-colour-and-fill-aesthetics.svg | 84 +++ .../guide-colorbar/customized-colorbar.svg | 80 +++ ...e-to-red-colorbar-white-ticks-no-frame.svg | 78 ++ .../_snaps/guide-legend/enlarged-guides.svg | 96 +++ .../horizontal-legend-direction.svg | 115 +++ .../guide-legend/left-aligned-legend-key.svg | 119 ++++ .../_snaps/guide-legend/legend-byrow-true.svg | 75 ++ .../guide-legend/legend-key-justification.svg | 136 ++++ .../legend-with-widely-spaced-keys.svg | 109 +++ .../vertical-legend-direction.svg | 115 +++ .../guides/facet-grid-legend-on-bottom.svg | 69 ++ .../guides/facet-grid-legend-on-left.svg | 69 ++ .../guides/facet-grid-legend-on-right.svg | 69 ++ .../guides/facet-grid-legend-on-top.svg | 69 ++ .../guides/facet-wrap-legend-on-bottom.svg | 58 ++ .../guides/facet-wrap-legend-on-left.svg | 58 ++ .../guides/facet-wrap-legend-on-right.svg | 58 ++ .../guides/facet-wrap-legend-on-top.svg | 58 ++ .../guides/guide-bins-can-remove-axis.svg | 73 ++ .../guides/guide-bins-can-show-arrows.svg | 79 ++ .../guides/guide-bins-can-show-limits.svg | 81 +++ ...e-bins-can-show-ticks-and-transparancy.svg | 73 ++ .../guides/guide-bins-looks-as-it-should.svg | 77 ++ ...s-sets-labels-when-limits-is-in-breaks.svg | 312 ++++++++ ...derstands-coinciding-limits-and-bins-2.svg | 312 ++++++++ ...derstands-coinciding-limits-and-bins-3.svg | 314 ++++++++ ...understands-coinciding-limits-and-bins.svg | 312 ++++++++ .../guides/guide-bins-work-horizontally.svg | 77 ++ ...s-sets-labels-when-limits-is-in-breaks.svg | 301 ++++++++ ...derstands-coinciding-limits-and-bins-2.svg | 301 ++++++++ ...derstands-coinciding-limits-and-bins-3.svg | 302 ++++++++ ...understands-coinciding-limits-and-bins.svg | 301 ++++++++ ...teps-can-have-bins-relative-to-binsize.svg | 67 ++ .../guide-coloursteps-can-show-limits.svg | 69 ++ .../guide-coloursteps-looks-as-it-should.svg | 67 ++ .../guides/guide-custom-with-void-theme.svg | 35 + ...t-positioning-and-alignment-via-themes.svg | 89 +++ ...ap-of-1cm-between-guide-and-guide-text.svg | 89 +++ ...e-plot-bottom-left-of-legend-at-center.svg | 85 +++ .../guides/legend-inside-plot-bottom-left.svg | 85 +++ .../guides/legend-inside-plot-centered.svg | 85 +++ .../legend-inside-plot-multiple-positions.svg | 85 +++ .../guides/legend-inside-plot-top-right.svg | 85 +++ .../_snaps/guides/legend-on-bottom.svg | 47 ++ .../testthat/_snaps/guides/legend-on-left.svg | 47 ++ .../_snaps/guides/legend-on-right.svg | 47 ++ .../testthat/_snaps/guides/legend-on-top.svg | 47 ++ .../legends-with-all-title-justifications.svg | 99 +++ .../guides/multi-line-guide-title-works.svg | 93 +++ .../guides/old-s3-guide-drawing-a-circle.svg | 81 +++ .../_snaps/guides/padding-in-legend-box.svg | 85 +++ .../_snaps/guides/reversed-guide-bins.svg | 97 +++ .../rotated-guide-titles-and-labels.svg | 89 +++ .../_snaps/guides/stylised-guide-custom.svg | 37 + ...p-of-1cm-between-guide-title-and-guide.svg | 89 +++ tests/testthat/_snaps/labels/defaults.svg | 64 ++ .../testthat/_snaps/labels/tag-in-margin.svg | 79 ++ .../labels/tag-in-panel-as-character.svg | 79 ++ .../_snaps/labels/tag-in-panel-as-numeric.svg | 79 ++ .../labels/tag-in-plot-as-character.svg | 79 ++ .../_snaps/labels/tag-in-plot-as-numeric.svg | 79 ++ .../_snaps/legend-draw/all-legend-keys.svg | 63 ++ .../_snaps/position-stack/area-stacking.svg | 61 ++ .../dates-along-x-default-breaks.svg | 56 ++ .../dates-along-y-default-breaks.svg | 56 ++ .../scale-x-date-breaks-3-weeks.svg | 58 ++ ...ale-x-date-breaks-breaks-width-2-weeks.svg | 64 ++ .../scale-x-date-labels-label-date-m-d.svg | 56 ++ .../scale-x-date-labels-label-date-w-week.svg | 56 ++ .../scale-y-date-breaks-3-weeks.svg | 58 ++ ...ale-y-date-breaks-breaks-width-2-weeks.svg | 64 ++ .../_snaps/scales-breaks-labels/character.svg | 60 ++ .../_snaps/scales-breaks-labels/date.svg | 82 +++ .../functional-limits.svg | 84 +++ .../no-alpha-breaks-no-legend.svg | 60 ++ .../no-colour-breaks-no-legend.svg | 60 ++ .../no-fill-breaks-no-legend.svg | 60 ++ .../no-size-breaks-no-legend.svg | 60 ++ .../scales-breaks-labels/no-x-breaks.svg | 50 ++ .../scales-breaks-labels/no-y-breaks.svg | 50 ++ .../scales-breaks-labels/numeric-exp.svg | 73 ++ .../scales-breaks-labels/numeric-log.svg | 67 ++ .../scales-breaks-labels/numeric-polar.svg | 61 ++ .../_snaps/scales-breaks-labels/numeric.svg | 57 ++ .../sec-axis/sec-axis-custom-transform.svg | 110 +++ .../sec-axis/sec-axis-datetime-scale.svg | 137 ++++ .../sec-axis-independent-transformations.svg | 83 +++ .../sec-axis/sec-axis-monotonicity-test.svg | 85 +++ .../sec-axis/sec-axis-sec-power-transform.svg | 94 +++ .../sec-axis/sec-axis-skewed-transform.svg | 194 +++++ .../sec-axis/sec-axis-with-division.svg | 315 ++++++++ .../stat-align/align-two-areas-with-cliff.svg | 63 ++ .../align-two-areas-with-pos-neg-y.svg | 63 ++ .../_snaps/stat-align/align-two-areas.svg | 63 ++ .../stat-sum/summary-with-color-and-lines.svg | 103 +++ ...summary-with-crossbars-manual-grouping.svg | 97 +++ .../summary-with-crossbars-no-grouping.svg | 97 +++ tests/testthat/_snaps/theme/axes-styling.svg | 100 +++ .../theme/caption-aligned-to-entire-plot.svg | 199 ++++++ .../custom-strip-elements-can-render.svg | 186 +++++ ...eight-is-3-times-width-2-column-facets.svg | 109 +++ .../height-is-3-times-width-2-row-facets.svg | 109 +++ .../height-is-3-times-width-2-wrap-facets.svg | 109 +++ .../height-is-3-times-width-2x2-facets.svg | 161 +++++ .../_snaps/theme/height-is-3-times-width.svg | 68 ++ tests/testthat/_snaps/theme/large-margins.svg | 96 +++ tests/testthat/_snaps/theme/large-spacing.svg | 96 +++ ...egends-at-all-sides-with-justification.svg | 157 ++++ .../testthat/_snaps/theme/point-elements.svg | 27 + .../_snaps/theme/polygon-elements.svg | 24 + .../theme/rotated-x-axis-tick-labels.svg | 67 ++ .../theme/stretched-horizontal-legends.svg | 90 +++ .../theme/stretched-vertical-legends.svg | 90 +++ tests/testthat/_snaps/theme/strip-styling.svg | 222 ++++++ .../testthat/_snaps/theme/theme-bw-large.svg | 97 +++ tests/testthat/_snaps/theme/theme-bw.svg | 97 +++ .../_snaps/theme/theme-classic-large.svg | 80 +++ tests/testthat/_snaps/theme/theme-classic.svg | 80 +++ .../_snaps/theme/theme-dark-large.svg | 96 +++ tests/testthat/_snaps/theme/theme-dark.svg | 96 +++ .../_snaps/theme/theme-gray-large.svg | 96 +++ tests/testthat/_snaps/theme/theme-gray.svg | 96 +++ .../_snaps/theme/theme-light-large.svg | 97 +++ tests/testthat/_snaps/theme/theme-light.svg | 97 +++ .../_snaps/theme/theme-linedraw-large.svg | 97 +++ .../testthat/_snaps/theme/theme-linedraw.svg | 97 +++ .../_snaps/theme/theme-minimal-large.svg | 81 +++ tests/testthat/_snaps/theme/theme-minimal.svg | 81 +++ .../_snaps/theme/theme-void-large.svg | 51 ++ tests/testthat/_snaps/theme/theme-void.svg | 51 ++ .../theme/theme-with-inverted-colours.svg | 332 +++++++++ tests/testthat/_snaps/theme/ticks-length.svg | 81 +++ .../theme/titles-aligned-to-entire-plot.svg | 199 ++++++ .../_snaps/theme/width-is-3-times-height.svg | 68 ++ 299 files changed, 31872 insertions(+) create mode 100644 tests/testthat/_snaps/aes/alpha-set-in-alpha.svg create mode 100644 tests/testthat/_snaps/aes/alpha-set-in-colour.svg create mode 100644 tests/testthat/_snaps/aes/stat-count-width-0-5.svg create mode 100644 tests/testthat/_snaps/aes/stat-count.svg create mode 100644 tests/testthat/_snaps/aes/stat-identity-width-0-5.svg create mode 100644 tests/testthat/_snaps/aes/stat-identity.svg create mode 100644 tests/testthat/_snaps/annotate/line-matches-points.svg create mode 100644 tests/testthat/_snaps/coord-cartesian/clip-on-by-default-only-inside-visible.svg create mode 100644 tests/testthat/_snaps/coord-cartesian/clip-turned-off-both-inside-and-outside-visible.svg create mode 100644 tests/testthat/_snaps/coord-cartesian/contract-range.svg create mode 100644 tests/testthat/_snaps/coord-cartesian/expand-range.svg create mode 100644 tests/testthat/_snaps/coord-flip/turning-off-secondary-title-with-coord-flip.svg create mode 100644 tests/testthat/_snaps/coord-map/coord-map-switched-scale-position.svg create mode 100644 tests/testthat/_snaps/coord-map/usa-mercator.svg create mode 100644 tests/testthat/_snaps/coord-polar/bottom-half-circle-with-rotated-text.svg create mode 100644 tests/testthat/_snaps/coord-polar/full-circle-with-axes-placed-at-90-and-225-degrees.svg create mode 100644 tests/testthat/_snaps/coord-polar/inner-radius-with-all-axes.svg create mode 100644 tests/testthat/_snaps/coord-polar/partial-with-all-axes.svg create mode 100644 tests/testthat/_snaps/coord-polar/racetrack-plot-closed-and-has-center-hole.svg create mode 100644 tests/testthat/_snaps/coord-polar/racetrack-plot-closed-and-no-center-hole.svg create mode 100644 tests/testthat/_snaps/coord-polar/rays-circular-arcs-and-spiral-arcs.svg create mode 100644 tests/testthat/_snaps/coord-polar/rose-plot-with-has-equal-spacing.svg create mode 100644 tests/testthat/_snaps/coord-polar/secondary-axis-ticks-and-labels.svg create mode 100644 tests/testthat/_snaps/coord-polar/three-concentric-circles.svg create mode 100644 tests/testthat/_snaps/coord-transform/basic-coord-trans-plot.svg create mode 100644 tests/testthat/_snaps/coord-transform/sec-axis-with-coord-trans.svg create mode 100644 tests/testthat/_snaps/coord_sf/coord-sf-with-custom-guides.svg create mode 100644 tests/testthat/_snaps/coord_sf/limits-specified-in-long-lat.svg create mode 100644 tests/testthat/_snaps/coord_sf/limits-specified-in-projected-coords.svg create mode 100644 tests/testthat/_snaps/coord_sf/no-breaks.svg create mode 100644 tests/testthat/_snaps/coord_sf/no-panel-grid.svg create mode 100644 tests/testthat/_snaps/coord_sf/non-sf-geoms-using-long-lat.svg create mode 100644 tests/testthat/_snaps/coord_sf/non-sf-geoms-using-projected-coords.svg create mode 100644 tests/testthat/_snaps/coord_sf/sf-polygons.svg create mode 100644 tests/testthat/_snaps/draw-key/appropriate-colour-key-with-alpha-key-as-lines.svg create mode 100644 tests/testthat/_snaps/draw-key/circle-glyphs-of-2cm-size.svg create mode 100644 tests/testthat/_snaps/draw-key/horizontal-boxplot-and-crossbar.svg create mode 100644 tests/testthat/_snaps/draw-key/horizontal-linerange-and-pointrange.svg create mode 100644 tests/testthat/_snaps/draw-key/rectangle-and-dotplot-key-glyphs.svg create mode 100644 tests/testthat/_snaps/draw-key/time-series-and-polygon-key-glyphs.svg create mode 100644 tests/testthat/_snaps/facet-/facet-grid-with-omitted-inner-axis-labels.svg create mode 100644 tests/testthat/_snaps/facet-/facet-wrap-with-omitted-inner-axis-labels.svg create mode 100644 tests/testthat/_snaps/facet-/left-justified-facet-labels-with-margins.svg create mode 100644 tests/testthat/_snaps/facet-/left-justified-rotated-facet-labels-with-margins.svg create mode 100644 tests/testthat/_snaps/facet-labels/outside-justified-labels.svg create mode 100644 tests/testthat/_snaps/facet-labels/parsed-facet-labels.svg create mode 100644 tests/testthat/_snaps/facet-layout/axes-are-positioned-correctly-in-non-table-layout.svg create mode 100644 tests/testthat/_snaps/facet-strips/switched-facet-strips.svg create mode 100644 tests/testthat/_snaps/geom-boxplot/customised-style.svg create mode 100644 tests/testthat/_snaps/geom-boxplot/outlier-colours.svg create mode 100644 tests/testthat/_snaps/geom-boxplot/staples.svg create mode 100644 tests/testthat/_snaps/geom-curve/flipped-geom-curve.svg create mode 100644 tests/testthat/_snaps/geom-curve/standard-geom-curve.svg create mode 100644 tests/testthat/_snaps/geom-dotplot/2-na-values-bin-along-y-stack-center.svg create mode 100644 tests/testthat/_snaps/geom-dotplot/2-na-values-dot-density-binning-binwidth-4.svg create mode 100644 tests/testthat/_snaps/geom-dotplot/3-stackgroups-bin-y-histodot.svg create mode 100644 tests/testthat/_snaps/geom-dotplot/3-stackgroups-dot-density-with-aligned-bins.svg create mode 100644 tests/testthat/_snaps/geom-dotplot/3-stackgroups-histodot.svg create mode 100644 tests/testthat/_snaps/geom-dotplot/basic-dotplot-with-dot-density-binning-binwidth-4.svg create mode 100644 tests/testthat/_snaps/geom-dotplot/bin-along-y-stack-center.svg create mode 100644 tests/testthat/_snaps/geom-dotplot/bin-along-y-stack-centerwhole-histodot.svg create mode 100644 tests/testthat/_snaps/geom-dotplot/bin-along-y-stack-centerwhole.svg create mode 100644 tests/testthat/_snaps/geom-dotplot/bin-x-three-y-groups-stack-centerwhole.svg create mode 100644 tests/testthat/_snaps/geom-dotplot/bin-y-continous-x-axis-grouping-by-x.svg create mode 100644 tests/testthat/_snaps/geom-dotplot/bin-y-continous-x-axis-single-x-group.svg create mode 100644 tests/testthat/_snaps/geom-dotplot/bin-y-dodged-coord-flip.svg create mode 100644 tests/testthat/_snaps/geom-dotplot/bin-y-dodged.svg create mode 100644 tests/testthat/_snaps/geom-dotplot/bin-y-dodging-3-stackgroups-histodot.svg create mode 100644 tests/testthat/_snaps/geom-dotplot/bin-y-three-x-groups-bins-aligned-across-groups.svg create mode 100644 tests/testthat/_snaps/geom-dotplot/bin-y-three-x-groups-bins-aligned-coord-flip.svg create mode 100644 tests/testthat/_snaps/geom-dotplot/bin-y-three-x-groups-fill-and-dodge.svg create mode 100644 tests/testthat/_snaps/geom-dotplot/bin-y-three-x-groups-stack-centerwhole.svg create mode 100644 tests/testthat/_snaps/geom-dotplot/dots-stacked-closer-stackratio-5-fill-white.svg create mode 100644 tests/testthat/_snaps/geom-dotplot/facets-3-groups-histodot-stackgroups.svg create mode 100644 tests/testthat/_snaps/geom-dotplot/histodot-binning-equal-bin-spacing.svg create mode 100644 tests/testthat/_snaps/geom-dotplot/larger-dots-dotsize-1-5-fill-white.svg create mode 100644 tests/testthat/_snaps/geom-dotplot/multiple-groups-bins-aligned.svg create mode 100644 tests/testthat/_snaps/geom-dotplot/multiple-groups-bins-not-aligned.svg create mode 100644 tests/testthat/_snaps/geom-dotplot/stack-center-with-coord-flip.svg create mode 100644 tests/testthat/_snaps/geom-dotplot/stack-center.svg create mode 100644 tests/testthat/_snaps/geom-dotplot/stack-centerwhole-with-coord-flip.svg create mode 100644 tests/testthat/_snaps/geom-dotplot/stack-centerwhole.svg create mode 100644 tests/testthat/_snaps/geom-dotplot/stack-down-with-coord-flip.svg create mode 100644 tests/testthat/_snaps/geom-dotplot/stack-down.svg create mode 100644 tests/testthat/_snaps/geom-dotplot/stack-up-with-coord-flip.svg create mode 100644 tests/testthat/_snaps/geom-dotplot/stack-up.svg create mode 100644 tests/testthat/_snaps/geom-dotplot/stackratio-1-5.svg create mode 100644 tests/testthat/_snaps/geom-dotplot/variable-linetype-and-size-specified-as-aesthetics.svg create mode 100644 tests/testthat/_snaps/geom-hex/hex-bin-plot-in-polar-coordinates.svg create mode 100644 tests/testthat/_snaps/geom-hex/hex-bin-plot-with-sqrt-transformed-y.svg create mode 100644 tests/testthat/_snaps/geom-hex/single-hex-bin-with-width-and-height-of-0-1.svg create mode 100644 tests/testthat/_snaps/geom-hline-vline-abline/cartesian-lines-intersect-mid-bars.svg create mode 100644 tests/testthat/_snaps/geom-hline-vline-abline/flipped-lines-intersect-mid-bars.svg create mode 100644 tests/testthat/_snaps/geom-hline-vline-abline/lines-curved-in-azequalarea.svg create mode 100644 tests/testthat/_snaps/geom-hline-vline-abline/polar-lines-intersect-mid-bars.svg create mode 100644 tests/testthat/_snaps/geom-hline-vline-abline/straight-lines-in-mercator.svg create mode 100644 tests/testthat/_snaps/geom-label/geom-label-with-line-parameters.svg create mode 100644 tests/testthat/_snaps/geom-path/lines-changed-order-should-have-same-appearance.svg create mode 100644 tests/testthat/_snaps/geom-path/lines-colour-changed-order-should-have-same-appearance.svg create mode 100644 tests/testthat/_snaps/geom-path/lines-colour.svg create mode 100644 tests/testthat/_snaps/geom-path/lines.svg create mode 100644 tests/testthat/_snaps/geom-path/na-linetype.svg create mode 100644 tests/testthat/_snaps/geom-polygon/basic-polygon-plot.svg create mode 100644 tests/testthat/_snaps/geom-polygon/open-and-closed-munched-polygons.svg create mode 100644 tests/testthat/_snaps/geom-raster/1-x-3-just-0-0.svg create mode 100644 tests/testthat/_snaps/geom-raster/1-x-3-set-limits.svg create mode 100644 tests/testthat/_snaps/geom-raster/1-x-3.svg create mode 100644 tests/testthat/_snaps/geom-raster/3-x-1-just-0-0.svg create mode 100644 tests/testthat/_snaps/geom-raster/3-x-1-set-limits.svg create mode 100644 tests/testthat/_snaps/geom-raster/3-x-1.svg create mode 100644 tests/testthat/_snaps/geom-raster/3-x-2-just-0-0.svg create mode 100644 tests/testthat/_snaps/geom-raster/3-x-2-set-limits.svg create mode 100644 tests/testthat/_snaps/geom-raster/3-x-2.svg create mode 100644 tests/testthat/_snaps/geom-raster/discrete-positions.svg create mode 100644 tests/testthat/_snaps/geom-raster/irregular-categorical.svg create mode 100644 tests/testthat/_snaps/geom-raster/rectangle-fallback.svg create mode 100644 tests/testthat/_snaps/geom-sf/geom-sf-line-legend.svg create mode 100644 tests/testthat/_snaps/geom-sf/geom-sf-point-legend.svg create mode 100644 tests/testthat/_snaps/geom-sf/geom-sf-polygon-legend.svg create mode 100644 tests/testthat/_snaps/geom-sf/labels-for-north-carolina.svg create mode 100644 tests/testthat/_snaps/geom-sf/mixed-geometry-types.svg create mode 100644 tests/testthat/_snaps/geom-sf/north-carolina-county-boundaries-with-arrow.svg create mode 100644 tests/testthat/_snaps/geom-sf/north-carolina-county-boundaries-with-more-than-one-arrow.svg create mode 100644 tests/testthat/_snaps/geom-sf/north-carolina-county-boundaries.svg create mode 100644 tests/testthat/_snaps/geom-sf/spatial-points.svg create mode 100644 tests/testthat/_snaps/geom-sf/texts-for-north-carolina.svg create mode 100644 tests/testthat/_snaps/geom-smooth/ribbon-turned-off-in-geom-smooth.svg create mode 100644 tests/testthat/_snaps/geom-smooth/ribbon-turned-on-in-geom-smooth.svg create mode 100644 tests/testthat/_snaps/geom-violin/basic.svg create mode 100644 tests/testthat/_snaps/geom-violin/continuous-x-axis-many-groups-center-should-be-at-2-0.svg create mode 100644 tests/testthat/_snaps/geom-violin/continuous-x-axis-single-group-center-should-be-at-1-0.svg create mode 100644 tests/testthat/_snaps/geom-violin/coord-flip.svg create mode 100644 tests/testthat/_snaps/geom-violin/coord-polar.svg create mode 100644 tests/testthat/_snaps/geom-violin/dodging-and-coord-flip.svg create mode 100644 tests/testthat/_snaps/geom-violin/dodging.svg create mode 100644 tests/testthat/_snaps/geom-violin/grouping-on-x-and-fill-dodge-width-0-5.svg create mode 100644 tests/testthat/_snaps/geom-violin/grouping-on-x-and-fill.svg create mode 100644 tests/testthat/_snaps/geom-violin/narrower-width-5.svg create mode 100644 tests/testthat/_snaps/geom-violin/scale-area-to-sample-size-c-is-smaller.svg create mode 100644 tests/testthat/_snaps/geom-violin/styled-quantiles.svg create mode 100644 tests/testthat/_snaps/geom-violin/with-smaller-bandwidth-and-points.svg create mode 100644 tests/testthat/_snaps/geom-violin/with-tails-and-points.svg create mode 100644 tests/testthat/_snaps/guide-axis/align-facet-labels-facets-horizontal.svg create mode 100644 tests/testthat/_snaps/guide-axis/align-facet-labels-facets-vertical.svg create mode 100644 tests/testthat/_snaps/guide-axis/axis-guides-basic.svg create mode 100644 tests/testthat/_snaps/guide-axis/axis-guides-check-overlap.svg create mode 100644 tests/testthat/_snaps/guide-axis/axis-guides-negative-rotation.svg create mode 100644 tests/testthat/_snaps/guide-axis/axis-guides-positive-rotation.svg create mode 100644 tests/testthat/_snaps/guide-axis/axis-guides-text-dodged-into-rows-cols.svg create mode 100644 tests/testthat/_snaps/guide-axis/axis-guides-vertical-negative-rotation.svg create mode 100644 tests/testthat/_snaps/guide-axis/axis-guides-vertical-rotation.svg create mode 100644 tests/testthat/_snaps/guide-axis/axis-guides-with-capped-ends.svg create mode 100644 tests/testthat/_snaps/guide-axis/axis-guides-zero-breaks.svg create mode 100644 tests/testthat/_snaps/guide-axis/axis-guides-zero-rotation.svg create mode 100644 tests/testthat/_snaps/guide-axis/guide-axis-customization.svg create mode 100644 tests/testthat/_snaps/guide-axis/guide-axis-theta-in-cartesian-coordinates.svg create mode 100644 tests/testthat/_snaps/guide-axis/guide-axis-theta-with-angle-adapting-to-theta.svg create mode 100644 tests/testthat/_snaps/guide-axis/guide-titles-with-coord-trans.svg create mode 100644 tests/testthat/_snaps/guide-axis/guides-specified-in-guides.svg create mode 100644 tests/testthat/_snaps/guide-axis/guides-with-minor-ticks.svg create mode 100644 tests/testthat/_snaps/guide-axis/logtick-axes-with-customisation.svg create mode 100644 tests/testthat/_snaps/guide-axis/position-guide-titles.svg create mode 100644 tests/testthat/_snaps/guide-axis/stacked-axes.svg create mode 100644 tests/testthat/_snaps/guide-axis/stacked-radial-axes.svg create mode 100644 tests/testthat/_snaps/guide-axis/thick-axis-lines.svg create mode 100644 tests/testthat/_snaps/guide-colorbar/combined-colour-and-fill-aesthetics.svg create mode 100644 tests/testthat/_snaps/guide-colorbar/customized-colorbar.svg create mode 100644 tests/testthat/_snaps/guide-colorbar/white-to-red-colorbar-white-ticks-no-frame.svg create mode 100644 tests/testthat/_snaps/guide-legend/enlarged-guides.svg create mode 100644 tests/testthat/_snaps/guide-legend/horizontal-legend-direction.svg create mode 100644 tests/testthat/_snaps/guide-legend/left-aligned-legend-key.svg create mode 100644 tests/testthat/_snaps/guide-legend/legend-byrow-true.svg create mode 100644 tests/testthat/_snaps/guide-legend/legend-key-justification.svg create mode 100644 tests/testthat/_snaps/guide-legend/legend-with-widely-spaced-keys.svg create mode 100644 tests/testthat/_snaps/guide-legend/vertical-legend-direction.svg create mode 100644 tests/testthat/_snaps/guides/facet-grid-legend-on-bottom.svg create mode 100644 tests/testthat/_snaps/guides/facet-grid-legend-on-left.svg create mode 100644 tests/testthat/_snaps/guides/facet-grid-legend-on-right.svg create mode 100644 tests/testthat/_snaps/guides/facet-grid-legend-on-top.svg create mode 100644 tests/testthat/_snaps/guides/facet-wrap-legend-on-bottom.svg create mode 100644 tests/testthat/_snaps/guides/facet-wrap-legend-on-left.svg create mode 100644 tests/testthat/_snaps/guides/facet-wrap-legend-on-right.svg create mode 100644 tests/testthat/_snaps/guides/facet-wrap-legend-on-top.svg create mode 100644 tests/testthat/_snaps/guides/guide-bins-can-remove-axis.svg create mode 100644 tests/testthat/_snaps/guides/guide-bins-can-show-arrows.svg create mode 100644 tests/testthat/_snaps/guides/guide-bins-can-show-limits.svg create mode 100644 tests/testthat/_snaps/guides/guide-bins-can-show-ticks-and-transparancy.svg create mode 100644 tests/testthat/_snaps/guides/guide-bins-looks-as-it-should.svg create mode 100644 tests/testthat/_snaps/guides/guide-bins-sets-labels-when-limits-is-in-breaks.svg create mode 100644 tests/testthat/_snaps/guides/guide-bins-understands-coinciding-limits-and-bins-2.svg create mode 100644 tests/testthat/_snaps/guides/guide-bins-understands-coinciding-limits-and-bins-3.svg create mode 100644 tests/testthat/_snaps/guides/guide-bins-understands-coinciding-limits-and-bins.svg create mode 100644 tests/testthat/_snaps/guides/guide-bins-work-horizontally.svg create mode 100644 tests/testthat/_snaps/guides/guide-colorsteps-sets-labels-when-limits-is-in-breaks.svg create mode 100644 tests/testthat/_snaps/guides/guide-colorsteps-understands-coinciding-limits-and-bins-2.svg create mode 100644 tests/testthat/_snaps/guides/guide-colorsteps-understands-coinciding-limits-and-bins-3.svg create mode 100644 tests/testthat/_snaps/guides/guide-colorsteps-understands-coinciding-limits-and-bins.svg create mode 100644 tests/testthat/_snaps/guides/guide-coloursteps-can-have-bins-relative-to-binsize.svg create mode 100644 tests/testthat/_snaps/guides/guide-coloursteps-can-show-limits.svg create mode 100644 tests/testthat/_snaps/guides/guide-coloursteps-looks-as-it-should.svg create mode 100644 tests/testthat/_snaps/guides/guide-custom-with-void-theme.svg create mode 100644 tests/testthat/_snaps/guides/guide-title-and-text-positioning-and-alignment-via-themes.svg create mode 100644 tests/testthat/_snaps/guides/horizontal-gap-of-1cm-between-guide-and-guide-text.svg create mode 100644 tests/testthat/_snaps/guides/legend-inside-plot-bottom-left-of-legend-at-center.svg create mode 100644 tests/testthat/_snaps/guides/legend-inside-plot-bottom-left.svg create mode 100644 tests/testthat/_snaps/guides/legend-inside-plot-centered.svg create mode 100644 tests/testthat/_snaps/guides/legend-inside-plot-multiple-positions.svg create mode 100644 tests/testthat/_snaps/guides/legend-inside-plot-top-right.svg create mode 100644 tests/testthat/_snaps/guides/legend-on-bottom.svg create mode 100644 tests/testthat/_snaps/guides/legend-on-left.svg create mode 100644 tests/testthat/_snaps/guides/legend-on-right.svg create mode 100644 tests/testthat/_snaps/guides/legend-on-top.svg create mode 100644 tests/testthat/_snaps/guides/legends-with-all-title-justifications.svg create mode 100644 tests/testthat/_snaps/guides/multi-line-guide-title-works.svg create mode 100644 tests/testthat/_snaps/guides/old-s3-guide-drawing-a-circle.svg create mode 100644 tests/testthat/_snaps/guides/padding-in-legend-box.svg create mode 100644 tests/testthat/_snaps/guides/reversed-guide-bins.svg create mode 100644 tests/testthat/_snaps/guides/rotated-guide-titles-and-labels.svg create mode 100644 tests/testthat/_snaps/guides/stylised-guide-custom.svg create mode 100644 tests/testthat/_snaps/guides/vertical-gap-of-1cm-between-guide-title-and-guide.svg create mode 100644 tests/testthat/_snaps/labels/defaults.svg create mode 100644 tests/testthat/_snaps/labels/tag-in-margin.svg create mode 100644 tests/testthat/_snaps/labels/tag-in-panel-as-character.svg create mode 100644 tests/testthat/_snaps/labels/tag-in-panel-as-numeric.svg create mode 100644 tests/testthat/_snaps/labels/tag-in-plot-as-character.svg create mode 100644 tests/testthat/_snaps/labels/tag-in-plot-as-numeric.svg create mode 100644 tests/testthat/_snaps/legend-draw/all-legend-keys.svg create mode 100644 tests/testthat/_snaps/position-stack/area-stacking.svg create mode 100644 tests/testthat/_snaps/scale_date/dates-along-x-default-breaks.svg create mode 100644 tests/testthat/_snaps/scale_date/dates-along-y-default-breaks.svg create mode 100644 tests/testthat/_snaps/scale_date/scale-x-date-breaks-3-weeks.svg create mode 100644 tests/testthat/_snaps/scale_date/scale-x-date-breaks-breaks-width-2-weeks.svg create mode 100644 tests/testthat/_snaps/scale_date/scale-x-date-labels-label-date-m-d.svg create mode 100644 tests/testthat/_snaps/scale_date/scale-x-date-labels-label-date-w-week.svg create mode 100644 tests/testthat/_snaps/scale_date/scale-y-date-breaks-3-weeks.svg create mode 100644 tests/testthat/_snaps/scale_date/scale-y-date-breaks-breaks-width-2-weeks.svg create mode 100644 tests/testthat/_snaps/scales-breaks-labels/character.svg create mode 100644 tests/testthat/_snaps/scales-breaks-labels/date.svg create mode 100644 tests/testthat/_snaps/scales-breaks-labels/functional-limits.svg create mode 100644 tests/testthat/_snaps/scales-breaks-labels/no-alpha-breaks-no-legend.svg create mode 100644 tests/testthat/_snaps/scales-breaks-labels/no-colour-breaks-no-legend.svg create mode 100644 tests/testthat/_snaps/scales-breaks-labels/no-fill-breaks-no-legend.svg create mode 100644 tests/testthat/_snaps/scales-breaks-labels/no-size-breaks-no-legend.svg create mode 100644 tests/testthat/_snaps/scales-breaks-labels/no-x-breaks.svg create mode 100644 tests/testthat/_snaps/scales-breaks-labels/no-y-breaks.svg create mode 100644 tests/testthat/_snaps/scales-breaks-labels/numeric-exp.svg create mode 100644 tests/testthat/_snaps/scales-breaks-labels/numeric-log.svg create mode 100644 tests/testthat/_snaps/scales-breaks-labels/numeric-polar.svg create mode 100644 tests/testthat/_snaps/scales-breaks-labels/numeric.svg create mode 100644 tests/testthat/_snaps/sec-axis/sec-axis-custom-transform.svg create mode 100644 tests/testthat/_snaps/sec-axis/sec-axis-datetime-scale.svg create mode 100644 tests/testthat/_snaps/sec-axis/sec-axis-independent-transformations.svg create mode 100644 tests/testthat/_snaps/sec-axis/sec-axis-monotonicity-test.svg create mode 100644 tests/testthat/_snaps/sec-axis/sec-axis-sec-power-transform.svg create mode 100644 tests/testthat/_snaps/sec-axis/sec-axis-skewed-transform.svg create mode 100644 tests/testthat/_snaps/sec-axis/sec-axis-with-division.svg create mode 100644 tests/testthat/_snaps/stat-align/align-two-areas-with-cliff.svg create mode 100644 tests/testthat/_snaps/stat-align/align-two-areas-with-pos-neg-y.svg create mode 100644 tests/testthat/_snaps/stat-align/align-two-areas.svg create mode 100644 tests/testthat/_snaps/stat-sum/summary-with-color-and-lines.svg create mode 100644 tests/testthat/_snaps/stat-sum/summary-with-crossbars-manual-grouping.svg create mode 100644 tests/testthat/_snaps/stat-sum/summary-with-crossbars-no-grouping.svg create mode 100644 tests/testthat/_snaps/theme/axes-styling.svg create mode 100644 tests/testthat/_snaps/theme/caption-aligned-to-entire-plot.svg create mode 100644 tests/testthat/_snaps/theme/custom-strip-elements-can-render.svg create mode 100644 tests/testthat/_snaps/theme/height-is-3-times-width-2-column-facets.svg create mode 100644 tests/testthat/_snaps/theme/height-is-3-times-width-2-row-facets.svg create mode 100644 tests/testthat/_snaps/theme/height-is-3-times-width-2-wrap-facets.svg create mode 100644 tests/testthat/_snaps/theme/height-is-3-times-width-2x2-facets.svg create mode 100644 tests/testthat/_snaps/theme/height-is-3-times-width.svg create mode 100644 tests/testthat/_snaps/theme/large-margins.svg create mode 100644 tests/testthat/_snaps/theme/large-spacing.svg create mode 100644 tests/testthat/_snaps/theme/legends-at-all-sides-with-justification.svg create mode 100644 tests/testthat/_snaps/theme/point-elements.svg create mode 100644 tests/testthat/_snaps/theme/polygon-elements.svg create mode 100644 tests/testthat/_snaps/theme/rotated-x-axis-tick-labels.svg create mode 100644 tests/testthat/_snaps/theme/stretched-horizontal-legends.svg create mode 100644 tests/testthat/_snaps/theme/stretched-vertical-legends.svg create mode 100644 tests/testthat/_snaps/theme/strip-styling.svg create mode 100644 tests/testthat/_snaps/theme/theme-bw-large.svg create mode 100644 tests/testthat/_snaps/theme/theme-bw.svg create mode 100644 tests/testthat/_snaps/theme/theme-classic-large.svg create mode 100644 tests/testthat/_snaps/theme/theme-classic.svg create mode 100644 tests/testthat/_snaps/theme/theme-dark-large.svg create mode 100644 tests/testthat/_snaps/theme/theme-dark.svg create mode 100644 tests/testthat/_snaps/theme/theme-gray-large.svg create mode 100644 tests/testthat/_snaps/theme/theme-gray.svg create mode 100644 tests/testthat/_snaps/theme/theme-light-large.svg create mode 100644 tests/testthat/_snaps/theme/theme-light.svg create mode 100644 tests/testthat/_snaps/theme/theme-linedraw-large.svg create mode 100644 tests/testthat/_snaps/theme/theme-linedraw.svg create mode 100644 tests/testthat/_snaps/theme/theme-minimal-large.svg create mode 100644 tests/testthat/_snaps/theme/theme-minimal.svg create mode 100644 tests/testthat/_snaps/theme/theme-void-large.svg create mode 100644 tests/testthat/_snaps/theme/theme-void.svg create mode 100644 tests/testthat/_snaps/theme/theme-with-inverted-colours.svg create mode 100644 tests/testthat/_snaps/theme/ticks-length.svg create mode 100644 tests/testthat/_snaps/theme/titles-aligned-to-entire-plot.svg create mode 100644 tests/testthat/_snaps/theme/width-is-3-times-height.svg diff --git a/tests/testthat/_snaps/aes/alpha-set-in-alpha.svg b/tests/testthat/_snaps/aes/alpha-set-in-alpha.svg new file mode 100644 index 0000000000..218cedbd24 --- /dev/null +++ b/tests/testthat/_snaps/aes/alpha-set-in-alpha.svg @@ -0,0 +1,58 @@ + + + + + + + + + + + + + + + + + + + + + + + + + +0.950 +0.975 +1.000 +1.025 +1.050 + + + + + + + + + + +0.950 +0.975 +1.000 +1.025 +1.050 +x +y +Alpha set in alpha + + diff --git a/tests/testthat/_snaps/aes/alpha-set-in-colour.svg b/tests/testthat/_snaps/aes/alpha-set-in-colour.svg new file mode 100644 index 0000000000..b705d885b7 --- /dev/null +++ b/tests/testthat/_snaps/aes/alpha-set-in-colour.svg @@ -0,0 +1,58 @@ + + + + + + + + + + + + + + + + + + + + + + + + + +0.950 +0.975 +1.000 +1.025 +1.050 + + + + + + + + + + +0.950 +0.975 +1.000 +1.025 +1.050 +x +y +Alpha set in colour + + diff --git a/tests/testthat/_snaps/aes/stat-count-width-0-5.svg b/tests/testthat/_snaps/aes/stat-count-width-0-5.svg new file mode 100644 index 0000000000..75f21c1381 --- /dev/null +++ b/tests/testthat/_snaps/aes/stat-count-width-0-5.svg @@ -0,0 +1,56 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + +0.00 +0.25 +0.50 +0.75 +1.00 + + + + + + + + +a +b +c +xvar +count +stat='count', width=0.5 + + diff --git a/tests/testthat/_snaps/aes/stat-count.svg b/tests/testthat/_snaps/aes/stat-count.svg new file mode 100644 index 0000000000..a0e4f01dfd --- /dev/null +++ b/tests/testthat/_snaps/aes/stat-count.svg @@ -0,0 +1,56 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + +0.00 +0.25 +0.50 +0.75 +1.00 + + + + + + + + +a +b +c +xvar +count +stat='count' + + diff --git a/tests/testthat/_snaps/aes/stat-identity-width-0-5.svg b/tests/testthat/_snaps/aes/stat-identity-width-0-5.svg new file mode 100644 index 0000000000..145618e608 --- /dev/null +++ b/tests/testthat/_snaps/aes/stat-identity-width-0-5.svg @@ -0,0 +1,54 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + +0.0 +2.5 +5.0 +7.5 + + + + + + + +a +b +c +xvar +yvar +stat='identity', width=0.5 + + diff --git a/tests/testthat/_snaps/aes/stat-identity.svg b/tests/testthat/_snaps/aes/stat-identity.svg new file mode 100644 index 0000000000..03ab4b2621 --- /dev/null +++ b/tests/testthat/_snaps/aes/stat-identity.svg @@ -0,0 +1,54 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + +0.0 +2.5 +5.0 +7.5 + + + + + + + +a +b +c +xvar +yvar +stat='identity' + + diff --git a/tests/testthat/_snaps/annotate/line-matches-points.svg b/tests/testthat/_snaps/annotate/line-matches-points.svg new file mode 100644 index 0000000000..5cf7faa0d6 --- /dev/null +++ b/tests/testthat/_snaps/annotate/line-matches-points.svg @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + +line matches points + + diff --git a/tests/testthat/_snaps/coord-cartesian/clip-on-by-default-only-inside-visible.svg b/tests/testthat/_snaps/coord-cartesian/clip-on-by-default-only-inside-visible.svg new file mode 100644 index 0000000000..8532b083e3 --- /dev/null +++ b/tests/testthat/_snaps/coord-cartesian/clip-on-by-default-only-inside-visible.svg @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + + + + + + + +inside +inside +inside +inside +outside +outside +outside +outside + + +clip on by default, only 'inside' visible + + diff --git a/tests/testthat/_snaps/coord-cartesian/clip-turned-off-both-inside-and-outside-visible.svg b/tests/testthat/_snaps/coord-cartesian/clip-turned-off-both-inside-and-outside-visible.svg new file mode 100644 index 0000000000..b2120e5e14 --- /dev/null +++ b/tests/testthat/_snaps/coord-cartesian/clip-turned-off-both-inside-and-outside-visible.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + +inside +inside +inside +inside +outside +outside +outside +outside +clip turned off, both 'inside' and 'outside' visible + + diff --git a/tests/testthat/_snaps/coord-cartesian/contract-range.svg b/tests/testthat/_snaps/coord-cartesian/contract-range.svg new file mode 100644 index 0000000000..f15cbde745 --- /dev/null +++ b/tests/testthat/_snaps/coord-cartesian/contract-range.svg @@ -0,0 +1,89 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +20 +25 +30 +35 +40 + + + + + + + + + + +2.0 +2.5 +3.0 +3.5 +4.0 +wt +mpg +contract range + + diff --git a/tests/testthat/_snaps/coord-cartesian/expand-range.svg b/tests/testthat/_snaps/coord-cartesian/expand-range.svg new file mode 100644 index 0000000000..09d43c1b22 --- /dev/null +++ b/tests/testthat/_snaps/coord-cartesian/expand-range.svg @@ -0,0 +1,91 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +0 +10 +20 +30 +40 +50 + + + + + + + + + + + +0.0 +2.5 +5.0 +7.5 +10.0 +wt +mpg +expand range + + diff --git a/tests/testthat/_snaps/coord-flip/turning-off-secondary-title-with-coord-flip.svg b/tests/testthat/_snaps/coord-flip/turning-off-secondary-title-with-coord-flip.svg new file mode 100644 index 0000000000..207bd13c34 --- /dev/null +++ b/tests/testthat/_snaps/coord-flip/turning-off-secondary-title-with-coord-flip.svg @@ -0,0 +1,114 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +10 +15 +20 +25 +30 +35 + + + + + + + + + + + + +10 +15 +20 +25 +30 +35 + + + + + +4 +5 +6 +7 +8 +cyl +mpg +turning off secondary title with coord_flip + + diff --git a/tests/testthat/_snaps/coord-map/coord-map-switched-scale-position.svg b/tests/testthat/_snaps/coord-map/coord-map-switched-scale-position.svg new file mode 100644 index 0000000000..9490c73c5b --- /dev/null +++ b/tests/testthat/_snaps/coord-map/coord-map-switched-scale-position.svg @@ -0,0 +1,74 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +-120 +-100 +-80 + + + + + + +25 +30 +35 +40 +45 +50 +long +lat +coord_map switched scale position + + diff --git a/tests/testthat/_snaps/coord-map/usa-mercator.svg b/tests/testthat/_snaps/coord-map/usa-mercator.svg new file mode 100644 index 0000000000..c6a2038aba --- /dev/null +++ b/tests/testthat/_snaps/coord-map/usa-mercator.svg @@ -0,0 +1,74 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +25 +30 +35 +40 +45 +50 + + + + + + + + + +-120 +-100 +-80 +long +lat +USA mercator + + diff --git a/tests/testthat/_snaps/coord-polar/bottom-half-circle-with-rotated-text.svg b/tests/testthat/_snaps/coord-polar/bottom-half-circle-with-rotated-text.svg new file mode 100644 index 0000000000..6349bcb350 --- /dev/null +++ b/tests/testthat/_snaps/coord-polar/bottom-half-circle-with-rotated-text.svg @@ -0,0 +1,75 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +cat +strawberry +cake +coffee +window +fluid +cat +strawberry +cake +coffee +window +fluid +1 +2 +3 +4 +5 + + + + + + + +0 degrees +90 degrees + + +x +y +bottom half circle with rotated text + + diff --git a/tests/testthat/_snaps/coord-polar/full-circle-with-axes-placed-at-90-and-225-degrees.svg b/tests/testthat/_snaps/coord-polar/full-circle-with-axes-placed-at-90-and-225-degrees.svg new file mode 100644 index 0000000000..46607ddecd --- /dev/null +++ b/tests/testthat/_snaps/coord-polar/full-circle-with-axes-placed-at-90-and-225-degrees.svg @@ -0,0 +1,70 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +0 +100 +200 +300 + + + + + + +5 +10 + + + + + +5 +10 +x +y +full circle with axes placed at 90 and 225 degrees + + diff --git a/tests/testthat/_snaps/coord-polar/inner-radius-with-all-axes.svg b/tests/testthat/_snaps/coord-polar/inner-radius-with-all-axes.svg new file mode 100644 index 0000000000..7fddfe8e83 --- /dev/null +++ b/tests/testthat/_snaps/coord-polar/inner-radius-with-all-axes.svg @@ -0,0 +1,131 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +100 +200 +300 +400 + + + + + +100 +200 +300 +400 + + + + + + +10 +15 +20 +25 +30 +35 + + + + + + + + + + + + + +10 +15 +20 +25 +30 +35 +disp +mpg +inner.radius with all axes + + diff --git a/tests/testthat/_snaps/coord-polar/partial-with-all-axes.svg b/tests/testthat/_snaps/coord-polar/partial-with-all-axes.svg new file mode 100644 index 0000000000..2f1de17be0 --- /dev/null +++ b/tests/testthat/_snaps/coord-polar/partial-with-all-axes.svg @@ -0,0 +1,131 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +10 +15 +20 +25 +30 +35 + + + + + + + +10 +15 +20 +25 +30 +35 + + + + + + + + +100 +200 +300 +400 + + + + + + + + + +100 +200 +300 +400 +disp +mpg +partial with all axes + + diff --git a/tests/testthat/_snaps/coord-polar/racetrack-plot-closed-and-has-center-hole.svg b/tests/testthat/_snaps/coord-polar/racetrack-plot-closed-and-has-center-hole.svg new file mode 100644 index 0000000000..60045c846f --- /dev/null +++ b/tests/testthat/_snaps/coord-polar/racetrack-plot-closed-and-has-center-hole.svg @@ -0,0 +1,61 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +1 +2 +0/3 + + + + + + +racetrack plot: closed and has center hole + + diff --git a/tests/testthat/_snaps/coord-polar/racetrack-plot-closed-and-no-center-hole.svg b/tests/testthat/_snaps/coord-polar/racetrack-plot-closed-and-no-center-hole.svg new file mode 100644 index 0000000000..32bb41821f --- /dev/null +++ b/tests/testthat/_snaps/coord-polar/racetrack-plot-closed-and-no-center-hole.svg @@ -0,0 +1,61 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +1 +2 +0/3 + + + + + + +racetrack plot: closed and no center hole + + diff --git a/tests/testthat/_snaps/coord-polar/rays-circular-arcs-and-spiral-arcs.svg b/tests/testthat/_snaps/coord-polar/rays-circular-arcs-and-spiral-arcs.svg new file mode 100644 index 0000000000..0c255f0bb8 --- /dev/null +++ b/tests/testthat/_snaps/coord-polar/rays-circular-arcs-and-spiral-arcs.svg @@ -0,0 +1,369 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +0 +2 +4 +6 + + + + + + + + +Rays, circular arcs, and spiral arcs + + diff --git a/tests/testthat/_snaps/coord-polar/rose-plot-with-has-equal-spacing.svg b/tests/testthat/_snaps/coord-polar/rose-plot-with-has-equal-spacing.svg new file mode 100644 index 0000000000..c82603f417 --- /dev/null +++ b/tests/testthat/_snaps/coord-polar/rose-plot-with-has-equal-spacing.svg @@ -0,0 +1,62 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +A +B +C + + + + + + + +rose plot with has equal spacing + + diff --git a/tests/testthat/_snaps/coord-polar/secondary-axis-ticks-and-labels.svg b/tests/testthat/_snaps/coord-polar/secondary-axis-ticks-and-labels.svg new file mode 100644 index 0000000000..29d0d4dc47 --- /dev/null +++ b/tests/testthat/_snaps/coord-polar/secondary-axis-ticks-and-labels.svg @@ -0,0 +1,67 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +1.0 +1.5 +2.0 +2.5 +3.0 + + + + + + + + + + +0.10 +0.15 +0.20 +0.25 +0.30 +x +y +sec y +secondary axis ticks and labels + + diff --git a/tests/testthat/_snaps/coord-polar/three-concentric-circles.svg b/tests/testthat/_snaps/coord-polar/three-concentric-circles.svg new file mode 100644 index 0000000000..b54b3afc35 --- /dev/null +++ b/tests/testthat/_snaps/coord-polar/three-concentric-circles.svg @@ -0,0 +1,66 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +0.25 +0.50 +0.75 +0.00/1.00 + + + + + + + +three-concentric-circles + + diff --git a/tests/testthat/_snaps/coord-transform/basic-coord-trans-plot.svg b/tests/testthat/_snaps/coord-transform/basic-coord-trans-plot.svg new file mode 100644 index 0000000000..6e150c767f --- /dev/null +++ b/tests/testthat/_snaps/coord-transform/basic-coord-trans-plot.svg @@ -0,0 +1,291 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +20 +30 +40 + + + + + + + + + + +2seater +compact +midsize +minivan +pickup +subcompact +suv +class +hwy +basic coord_trans() plot + + diff --git a/tests/testthat/_snaps/coord-transform/sec-axis-with-coord-trans.svg b/tests/testthat/_snaps/coord-transform/sec-axis-with-coord-trans.svg new file mode 100644 index 0000000000..9a94eed9ae --- /dev/null +++ b/tests/testthat/_snaps/coord-transform/sec-axis-with-coord-trans.svg @@ -0,0 +1,317 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +10 +15 +20 +25 +30 +35 +11.31371 +16.00000 +22.62742 +32.00000 +45.25483 + + + + + + + + + + +3.5 +4.0 +4.5 +5.0 +5.5 + + + + + + +10 +15 +20 +25 +30 +35 +cty +cty +hwy +log2(hwy) +sec_axis with coord_trans() + + diff --git a/tests/testthat/_snaps/coord_sf/coord-sf-with-custom-guides.svg b/tests/testthat/_snaps/coord_sf/coord-sf-with-custom-guides.svg new file mode 100644 index 0000000000..78e321d395 --- /dev/null +++ b/tests/testthat/_snaps/coord_sf/coord-sf-with-custom-guides.svg @@ -0,0 +1,136 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +80 +° +W +79 +° +W +78 +° +W +77 +° +W +76 +° +W +75 +° +W +40 +° +N +35 +° +N +36 +° +N +81 +° +W +37 +° +N +38 +° +N +39 +° +N +40 +° +N + + + + + + + + + + + + + + + +34 +° +N +35 +° +N +37 +° +N +38 +° +N +76 +° +W +36 +° +N +75 +° +W +39 +° +N +guide_none() with title +title from scale +Secondary guide via `guides()` +coord_sf() with custom guides + + diff --git a/tests/testthat/_snaps/coord_sf/limits-specified-in-long-lat.svg b/tests/testthat/_snaps/coord_sf/limits-specified-in-long-lat.svg new file mode 100644 index 0000000000..b31ba03f0a --- /dev/null +++ b/tests/testthat/_snaps/coord_sf/limits-specified-in-long-lat.svg @@ -0,0 +1,91 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +37 +° +N +38 +° +N +39 +° +N +40 +° +N +41 +° +N + + + + + + + + + + +81 +° +W +80 +° +W +79 +° +W +78 +° +W +77 +° +W +x +y +limits specified in long-lat + + diff --git a/tests/testthat/_snaps/coord_sf/limits-specified-in-projected-coords.svg b/tests/testthat/_snaps/coord_sf/limits-specified-in-projected-coords.svg new file mode 100644 index 0000000000..e22101c69f --- /dev/null +++ b/tests/testthat/_snaps/coord_sf/limits-specified-in-projected-coords.svg @@ -0,0 +1,91 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +37 +° +N +38 +° +N +39 +° +N +40 +° +N +41 +° +N + + + + + + + + + + +81 +° +W +80 +° +W +79 +° +W +78 +° +W +77 +° +W +x +y +limits specified in projected coords + + diff --git a/tests/testthat/_snaps/coord_sf/no-breaks.svg b/tests/testthat/_snaps/coord_sf/no-breaks.svg new file mode 100644 index 0000000000..67455011bb --- /dev/null +++ b/tests/testthat/_snaps/coord_sf/no-breaks.svg @@ -0,0 +1,48 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +x +y +no breaks + + diff --git a/tests/testthat/_snaps/coord_sf/no-panel-grid.svg b/tests/testthat/_snaps/coord_sf/no-panel-grid.svg new file mode 100644 index 0000000000..3213d4105d --- /dev/null +++ b/tests/testthat/_snaps/coord_sf/no-panel-grid.svg @@ -0,0 +1,68 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +1.0 +1.5 +2.0 +2.5 +3.0 + + + + + + + + + + +1.0 +1.5 +2.0 +2.5 +3.0 +x +y +no panel grid + + diff --git a/tests/testthat/_snaps/coord_sf/non-sf-geoms-using-long-lat.svg b/tests/testthat/_snaps/coord_sf/non-sf-geoms-using-long-lat.svg new file mode 100644 index 0000000000..36db42661e --- /dev/null +++ b/tests/testthat/_snaps/coord_sf/non-sf-geoms-using-long-lat.svg @@ -0,0 +1,95 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +35 +° +N +36 +° +N +37 +° +N +38 +° +N +39 +° +N +40 +° +N + + + + + + + + + + + +81 +° +W +80 +° +W +79 +° +W +78 +° +W +77 +° +W +x +y +non-sf geoms using long-lat + + diff --git a/tests/testthat/_snaps/coord_sf/non-sf-geoms-using-projected-coords.svg b/tests/testthat/_snaps/coord_sf/non-sf-geoms-using-projected-coords.svg new file mode 100644 index 0000000000..eba8764b6b --- /dev/null +++ b/tests/testthat/_snaps/coord_sf/non-sf-geoms-using-projected-coords.svg @@ -0,0 +1,95 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +35 +° +N +36 +° +N +37 +° +N +38 +° +N +39 +° +N +40 +° +N + + + + + + + + + + + +81 +° +W +80 +° +W +79 +° +W +78 +° +W +77 +° +W +x +y +non-sf geoms using projected coords + + diff --git a/tests/testthat/_snaps/coord_sf/sf-polygons.svg b/tests/testthat/_snaps/coord_sf/sf-polygons.svg new file mode 100644 index 0000000000..d09ff26cc2 --- /dev/null +++ b/tests/testthat/_snaps/coord_sf/sf-polygons.svg @@ -0,0 +1,97 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +36.25 +° +N +36.30 +° +N +36.35 +° +N +36.40 +° +N +36.45 +° +N +36.50 +° +N +36.55 +° +N +36.60 +° +N + + + + + + + + + + + + + +81.7 +° +W +81.6 +° +W +81.5 +° +W +81.4 +° +W +81.3 +° +W +sf-polygons + + diff --git a/tests/testthat/_snaps/draw-key/appropriate-colour-key-with-alpha-key-as-lines.svg b/tests/testthat/_snaps/draw-key/appropriate-colour-key-with-alpha-key-as-lines.svg new file mode 100644 index 0000000000..2975ed8e74 --- /dev/null +++ b/tests/testthat/_snaps/draw-key/appropriate-colour-key-with-alpha-key-as-lines.svg @@ -0,0 +1,76 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + +1.00 +1.25 +1.50 +1.75 +2.00 + + + + + + + + + + +1.00 +1.25 +1.50 +1.75 +2.00 +x +x + +alpha + + + + +line +point + +colour + + + + +line +point +appropriate colour key with alpha key as lines + + diff --git a/tests/testthat/_snaps/draw-key/circle-glyphs-of-2cm-size.svg b/tests/testthat/_snaps/draw-key/circle-glyphs-of-2cm-size.svg new file mode 100644 index 0000000000..a5f3eb8c3d --- /dev/null +++ b/tests/testthat/_snaps/draw-key/circle-glyphs-of-2cm-size.svg @@ -0,0 +1,100 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +2 +3 +4 +5 + + + + + + + + + + +10 +15 +20 +25 +30 +35 +mpg +wt + +factor(cyl) + + + + + + +4 +6 +8 +circle glyphs of 2cm size + + diff --git a/tests/testthat/_snaps/draw-key/horizontal-boxplot-and-crossbar.svg b/tests/testthat/_snaps/draw-key/horizontal-boxplot-and-crossbar.svg new file mode 100644 index 0000000000..addbc59e92 --- /dev/null +++ b/tests/testthat/_snaps/draw-key/horizontal-boxplot-and-crossbar.svg @@ -0,0 +1,97 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +a +b +c +d + + + + + + + + + + +-1 +0 +1 +2 +3 +4 +middle +group1 + +group1 + + + + + + + + + + + + + + +a +b + +group2 + + + + + + +c +d +horizontal boxplot and crossbar + + diff --git a/tests/testthat/_snaps/draw-key/horizontal-linerange-and-pointrange.svg b/tests/testthat/_snaps/draw-key/horizontal-linerange-and-pointrange.svg new file mode 100644 index 0000000000..9d43e54c99 --- /dev/null +++ b/tests/testthat/_snaps/draw-key/horizontal-linerange-and-pointrange.svg @@ -0,0 +1,81 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +a +b +c +d + + + + + + + + + + +-1 +0 +1 +2 +3 +4 +middle +group1 + +group1 + + + + +a +b + +group2 + + + + + + +c +d +horizontal linerange and pointrange + + diff --git a/tests/testthat/_snaps/draw-key/rectangle-and-dotplot-key-glyphs.svg b/tests/testthat/_snaps/draw-key/rectangle-and-dotplot-key-glyphs.svg new file mode 100644 index 0000000000..5538a774c2 --- /dev/null +++ b/tests/testthat/_snaps/draw-key/rectangle-and-dotplot-key-glyphs.svg @@ -0,0 +1,77 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +1.0 +1.5 +2.0 +2.5 +3.0 + + + + + + + + + + +1.0 +1.5 +2.0 +2.5 +3.0 +x +y + +z + + + + + + +a +b +c + +colour + + +line +rectangle and dotplot key glyphs + + diff --git a/tests/testthat/_snaps/draw-key/time-series-and-polygon-key-glyphs.svg b/tests/testthat/_snaps/draw-key/time-series-and-polygon-key-glyphs.svg new file mode 100644 index 0000000000..5e3b176475 --- /dev/null +++ b/tests/testthat/_snaps/draw-key/time-series-and-polygon-key-glyphs.svg @@ -0,0 +1,77 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +1.0 +1.5 +2.0 +2.5 +3.0 + + + + + + + + + + +1.0 +1.5 +2.0 +2.5 +3.0 +x +y + +z + + + + + + +a +b +c + +colour + + +line +time series and polygon key glyphs + + diff --git a/tests/testthat/_snaps/facet-/facet-grid-with-omitted-inner-axis-labels.svg b/tests/testthat/_snaps/facet-/facet-grid-with-omitted-inner-axis-labels.svg new file mode 100644 index 0000000000..4cdc17ce98 --- /dev/null +++ b/tests/testthat/_snaps/facet-/facet-grid-with-omitted-inner-axis-labels.svg @@ -0,0 +1,347 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +0 + + + + + + + + + + +1 + + + + + + + + + + +4 + + + + + + + + + + +6 + + + + + + + + + + +8 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +10 +15 +20 +25 +30 +35 + + + + + + +10 +15 +20 +25 +30 +35 + + + + + + +10 +15 +20 +25 +30 +35 + + + + + + +10 +15 +20 +25 +30 +35 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +100 +200 +300 +400 + + + + +100 +200 +300 +400 + + + + +100 +200 +300 +400 + + + + + + + + +100 +200 +300 +400 + + + + +100 +200 +300 +400 + + + + +100 +200 +300 +400 + + + + + + + + + + + + +mpg +disp +facet_grid with omitted inner axis labels + + diff --git a/tests/testthat/_snaps/facet-/facet-wrap-with-omitted-inner-axis-labels.svg b/tests/testthat/_snaps/facet-/facet-wrap-with-omitted-inner-axis-labels.svg new file mode 100644 index 0000000000..7c936b4768 --- /dev/null +++ b/tests/testthat/_snaps/facet-/facet-wrap-with-omitted-inner-axis-labels.svg @@ -0,0 +1,375 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +6 + + + + + + + + + + +1 + + + + + + + + + + +8 + + + + + + + + + + +0 + + + + + + + + + + +4 + + + + + + + + + + +0 + + + + + + + + + + +4 + + + + + + + + + + +1 + + + + + + + + + + +6 + + + + + + + + + + +0 + + + + + + + + + + + + + + + + + + + + +10 +15 +20 +25 +30 +35 + + + + + + +10 +15 +20 +25 +30 +35 + + + + + + +10 +15 +20 +25 +30 +35 + + + + + + +10 +15 +20 +25 +30 +35 + + + + + + +10 +15 +20 +25 +30 +35 + + + + + + + + + + + + + + + + + + +10 +15 +20 +25 +30 +35 + + + + + + + + + + + + +100 +200 +300 +400 + + + + +100 +200 +300 +400 + + + + + + + + +100 +200 +300 +400 + + + + + + + + +100 +200 +300 +400 + + + + + + + + +mpg +disp +facet_wrap with omitted inner axis labels + + diff --git a/tests/testthat/_snaps/facet-/left-justified-facet-labels-with-margins.svg b/tests/testthat/_snaps/facet-/left-justified-facet-labels-with-margins.svg new file mode 100644 index 0000000000..d25d212caa --- /dev/null +++ b/tests/testthat/_snaps/facet-/left-justified-facet-labels-with-margins.svg @@ -0,0 +1,156 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +a + + + + + + + + + + +aaaaaaabc + + + + + + + + + + +b + + + + + + + + + + +bbbbbbbcd + + + + + + + +1.00 +1.25 +1.50 +1.75 +2.00 + + + + + +1.00 +1.25 +1.50 +1.75 +2.00 +1.00 +1.25 +1.50 +1.75 +2.00 + + + + + +1.00 +1.25 +1.50 +1.75 +2.00 + + + + + +x +y +left justified facet labels with margins + + diff --git a/tests/testthat/_snaps/facet-/left-justified-rotated-facet-labels-with-margins.svg b/tests/testthat/_snaps/facet-/left-justified-rotated-facet-labels-with-margins.svg new file mode 100644 index 0000000000..c75376d078 --- /dev/null +++ b/tests/testthat/_snaps/facet-/left-justified-rotated-facet-labels-with-margins.svg @@ -0,0 +1,156 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +a + + + + + + + + + + +aaaaaaabc + + + + + + + + + + +b + + + + + + + + + + +bbbbbbbcd + + + + + + + +1.00 +1.25 +1.50 +1.75 +2.00 + + + + + +1.00 +1.25 +1.50 +1.75 +2.00 +1.00 +1.25 +1.50 +1.75 +2.00 + + + + + +1.00 +1.25 +1.50 +1.75 +2.00 + + + + + +x +y +left justified rotated facet labels with margins + + diff --git a/tests/testthat/_snaps/facet-labels/outside-justified-labels.svg b/tests/testthat/_snaps/facet-labels/outside-justified-labels.svg new file mode 100644 index 0000000000..9b04f0b614 --- /dev/null +++ b/tests/testthat/_snaps/facet-labels/outside-justified-labels.svg @@ -0,0 +1,144 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +C + + + + + + + + + + +D + + + + + + + + + + +A + + + + + + + + + + +B + + + +X +X +X +X +X + +X + +X +X +X +X +X + +X +YYYYY + +Y + + +YYYYY + +Y +x +y +outside-justified labels + + diff --git a/tests/testthat/_snaps/facet-labels/parsed-facet-labels.svg b/tests/testthat/_snaps/facet-labels/parsed-facet-labels.svg new file mode 100644 index 0000000000..60a728505e --- /dev/null +++ b/tests/testthat/_snaps/facet-labels/parsed-facet-labels.svg @@ -0,0 +1,67 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +α +β + + + + + + + +0.950 +0.975 +1.000 +1.025 +1.050 +0.950 +0.975 +1.000 +1.025 +1.050 + + + + + +parsed facet labels + + diff --git a/tests/testthat/_snaps/facet-layout/axes-are-positioned-correctly-in-non-table-layout.svg b/tests/testthat/_snaps/facet-layout/axes-are-positioned-correctly-in-non-table-layout.svg new file mode 100644 index 0000000000..7d546bcc7e --- /dev/null +++ b/tests/testthat/_snaps/facet-layout/axes-are-positioned-correctly-in-non-table-layout.svg @@ -0,0 +1,468 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +subcompact + + + + + + + + + + +midsize + + + + + + + + + + +pickup + + + + + + + + + + +compact + + + + + + + + + + +suv + + + + + + + + + + +minivan + + + + + + + + + + +2seater + + + + + + + + +2 +3 +4 +5 +6 +7 + + + + + + +2 +3 +4 +5 +6 +7 + + + + + + +2 +3 +4 +5 +6 +7 +20 +30 +40 + + + +20 +30 +40 + + + +20 +30 +40 + + + +displ +hwy +Axes are positioned correctly in non-table layout + + diff --git a/tests/testthat/_snaps/facet-strips/switched-facet-strips.svg b/tests/testthat/_snaps/facet-strips/switched-facet-strips.svg new file mode 100644 index 0000000000..d8f2f75e37 --- /dev/null +++ b/tests/testthat/_snaps/facet-strips/switched-facet-strips.svg @@ -0,0 +1,223 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +4 + + + + + + + + + + +6 + + + + + + + + + + +8 + + + + + + + + + + +0 + + + + + + + + + + +1 + + + + + + +100 +200 +300 +400 + + + + +100 +200 +300 +400 + + + + +100 +200 +300 +400 +3.0 +3.5 +4.0 +4.5 +5.0 + + + + + +3.0 +3.5 +4.0 +4.5 +5.0 + + + + + +disp +drat +switched facet strips + + diff --git a/tests/testthat/_snaps/geom-boxplot/customised-style.svg b/tests/testthat/_snaps/geom-boxplot/customised-style.svg new file mode 100644 index 0000000000..612ec93728 --- /dev/null +++ b/tests/testthat/_snaps/geom-boxplot/customised-style.svg @@ -0,0 +1,167 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +2 +3 +4 +5 +6 +7 + + + + + + + + + + + + + +2seater +compact +midsize +minivan +pickup +subcompact +suv +class +displ + +class + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +2seater +compact +midsize +minivan +pickup +subcompact +suv +customised style + + diff --git a/tests/testthat/_snaps/geom-boxplot/outlier-colours.svg b/tests/testthat/_snaps/geom-boxplot/outlier-colours.svg new file mode 100644 index 0000000000..309ffcc43d --- /dev/null +++ b/tests/testthat/_snaps/geom-boxplot/outlier-colours.svg @@ -0,0 +1,96 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +3.0 +3.5 +4.0 +4.5 +5.0 + + + + + + + + +4 +6 +8 +factor(cyl) +drat + +factor(cyl) + + + + + + + + + + + + + + + + + + + + + +4 +6 +8 +outlier colours + + diff --git a/tests/testthat/_snaps/geom-boxplot/staples.svg b/tests/testthat/_snaps/geom-boxplot/staples.svg new file mode 100644 index 0000000000..b2f4054294 --- /dev/null +++ b/tests/testthat/_snaps/geom-boxplot/staples.svg @@ -0,0 +1,102 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +3.0 +3.5 +4.0 +4.5 +5.0 + + + + + + + + +4 +6 +8 +factor(cyl) +drat + +factor(cyl) + + + + + + + + + + + + + + + + + + + + + +4 +6 +8 +staples + + diff --git a/tests/testthat/_snaps/geom-curve/flipped-geom-curve.svg b/tests/testthat/_snaps/geom-curve/flipped-geom-curve.svg new file mode 100644 index 0000000000..0a82d0b2af --- /dev/null +++ b/tests/testthat/_snaps/geom-curve/flipped-geom-curve.svg @@ -0,0 +1,61 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +1.00 +1.25 +1.50 +1.75 +2.00 + + + + + + + + + + +1.0 +1.5 +2.0 +2.5 +3.0 +x +y +flipped geom_curve + + diff --git a/tests/testthat/_snaps/geom-curve/standard-geom-curve.svg b/tests/testthat/_snaps/geom-curve/standard-geom-curve.svg new file mode 100644 index 0000000000..645b025c9d --- /dev/null +++ b/tests/testthat/_snaps/geom-curve/standard-geom-curve.svg @@ -0,0 +1,61 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +1.00 +1.25 +1.50 +1.75 +2.00 + + + + + + + + + + +1.0 +1.5 +2.0 +2.5 +3.0 +x +y +standard geom_curve + + diff --git a/tests/testthat/_snaps/geom-dotplot/2-na-values-bin-along-y-stack-center.svg b/tests/testthat/_snaps/geom-dotplot/2-na-values-bin-along-y-stack-center.svg new file mode 100644 index 0000000000..ee7f42c683 --- /dev/null +++ b/tests/testthat/_snaps/geom-dotplot/2-na-values-bin-along-y-stack-center.svg @@ -0,0 +1,71 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +-2 +-1 +0 +1 +2 + + + + + + + + +-0.25 +0.00 +0.25 +x +x +2 NA values, bin along y, stack center + + diff --git a/tests/testthat/_snaps/geom-dotplot/2-na-values-dot-density-binning-binwidth-4.svg b/tests/testthat/_snaps/geom-dotplot/2-na-values-dot-density-binning-binwidth-4.svg new file mode 100644 index 0000000000..931ddb6bd0 --- /dev/null +++ b/tests/testthat/_snaps/geom-dotplot/2-na-values-dot-density-binning-binwidth-4.svg @@ -0,0 +1,75 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +0.00 +0.25 +0.50 +0.75 +1.00 + + + + + + + + + + +-2 +-1 +0 +1 +2 +x +count +2 NA values, dot-density binning, binwidth = .4 + + diff --git a/tests/testthat/_snaps/geom-dotplot/3-stackgroups-bin-y-histodot.svg b/tests/testthat/_snaps/geom-dotplot/3-stackgroups-bin-y-histodot.svg new file mode 100644 index 0000000000..b6b299a280 --- /dev/null +++ b/tests/testthat/_snaps/geom-dotplot/3-stackgroups-bin-y-histodot.svg @@ -0,0 +1,156 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +-2 +-1 +0 +1 +2 + + + + + + + + + +1.00 +1.25 +1.50 +1.75 +x +y + +x + + + + + + +A +B +C +3 stackgroups, bin y, histodot + + diff --git a/tests/testthat/_snaps/geom-dotplot/3-stackgroups-dot-density-with-aligned-bins.svg b/tests/testthat/_snaps/geom-dotplot/3-stackgroups-dot-density-with-aligned-bins.svg new file mode 100644 index 0000000000..edc50a7707 --- /dev/null +++ b/tests/testthat/_snaps/geom-dotplot/3-stackgroups-dot-density-with-aligned-bins.svg @@ -0,0 +1,158 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +0.00 +0.25 +0.50 +0.75 +1.00 + + + + + + + + + + +-2 +-1 +0 +1 +2 +y +count + +x + + + + + + +A +B +C +3 stackgroups, dot-density with aligned bins + + diff --git a/tests/testthat/_snaps/geom-dotplot/3-stackgroups-histodot.svg b/tests/testthat/_snaps/geom-dotplot/3-stackgroups-histodot.svg new file mode 100644 index 0000000000..54ffd9c078 --- /dev/null +++ b/tests/testthat/_snaps/geom-dotplot/3-stackgroups-histodot.svg @@ -0,0 +1,158 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +0.00 +0.25 +0.50 +0.75 +1.00 + + + + + + + + + + +-2 +-1 +0 +1 +2 +y +count + +x + + + + + + +A +B +C +3 stackgroups, histodot + + diff --git a/tests/testthat/_snaps/geom-dotplot/basic-dotplot-with-dot-density-binning-binwidth-4.svg b/tests/testthat/_snaps/geom-dotplot/basic-dotplot-with-dot-density-binning-binwidth-4.svg new file mode 100644 index 0000000000..fce6bcf822 --- /dev/null +++ b/tests/testthat/_snaps/geom-dotplot/basic-dotplot-with-dot-density-binning-binwidth-4.svg @@ -0,0 +1,77 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +0.00 +0.25 +0.50 +0.75 +1.00 + + + + + + + + + + +-2 +-1 +0 +1 +2 +x +count +basic dotplot with dot-density binning, binwidth = .4 + + diff --git a/tests/testthat/_snaps/geom-dotplot/bin-along-y-stack-center.svg b/tests/testthat/_snaps/geom-dotplot/bin-along-y-stack-center.svg new file mode 100644 index 0000000000..0797211f1b --- /dev/null +++ b/tests/testthat/_snaps/geom-dotplot/bin-along-y-stack-center.svg @@ -0,0 +1,73 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +-2 +-1 +0 +1 +2 + + + + + + + + +-0.25 +0.00 +0.25 +x +x +bin along y, stack center + + diff --git a/tests/testthat/_snaps/geom-dotplot/bin-along-y-stack-centerwhole-histodot.svg b/tests/testthat/_snaps/geom-dotplot/bin-along-y-stack-centerwhole-histodot.svg new file mode 100644 index 0000000000..1279678b43 --- /dev/null +++ b/tests/testthat/_snaps/geom-dotplot/bin-along-y-stack-centerwhole-histodot.svg @@ -0,0 +1,73 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +-2 +-1 +0 +1 +2 + + + + + + + + +-0.25 +0.00 +0.25 +x +x +bin along y, stack centerwhole, histodot + + diff --git a/tests/testthat/_snaps/geom-dotplot/bin-along-y-stack-centerwhole.svg b/tests/testthat/_snaps/geom-dotplot/bin-along-y-stack-centerwhole.svg new file mode 100644 index 0000000000..ac56bcc32e --- /dev/null +++ b/tests/testthat/_snaps/geom-dotplot/bin-along-y-stack-centerwhole.svg @@ -0,0 +1,73 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +-2 +-1 +0 +1 +2 + + + + + + + + +-0.25 +0.00 +0.25 +x +x +bin along y, stack centerwhole + + diff --git a/tests/testthat/_snaps/geom-dotplot/bin-x-three-y-groups-stack-centerwhole.svg b/tests/testthat/_snaps/geom-dotplot/bin-x-three-y-groups-stack-centerwhole.svg new file mode 100644 index 0000000000..7ac2842fc7 --- /dev/null +++ b/tests/testthat/_snaps/geom-dotplot/bin-x-three-y-groups-stack-centerwhole.svg @@ -0,0 +1,143 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +A +B +C + + + + + + + + +-2 +-1 +0 +1 +2 +y +x +bin x, three y groups, stack centerwhole + + diff --git a/tests/testthat/_snaps/geom-dotplot/bin-y-continous-x-axis-grouping-by-x.svg b/tests/testthat/_snaps/geom-dotplot/bin-y-continous-x-axis-grouping-by-x.svg new file mode 100644 index 0000000000..b3a2cfb7a9 --- /dev/null +++ b/tests/testthat/_snaps/geom-dotplot/bin-y-continous-x-axis-grouping-by-x.svg @@ -0,0 +1,143 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +-2 +-1 +0 +1 +2 + + + + + + + + +1 +2 +3 +as.numeric(x) +y +bin y, continous x-axis, grouping by x + + diff --git a/tests/testthat/_snaps/geom-dotplot/bin-y-continous-x-axis-single-x-group.svg b/tests/testthat/_snaps/geom-dotplot/bin-y-continous-x-axis-single-x-group.svg new file mode 100644 index 0000000000..ff735eed28 --- /dev/null +++ b/tests/testthat/_snaps/geom-dotplot/bin-y-continous-x-axis-single-x-group.svg @@ -0,0 +1,143 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +-2 +-1 +0 +1 +2 + + + + + + + + +1.75 +2.00 +2.25 +as.numeric(x) +y +bin y, continous x-axis, single x group + + diff --git a/tests/testthat/_snaps/geom-dotplot/bin-y-dodged-coord-flip.svg b/tests/testthat/_snaps/geom-dotplot/bin-y-dodged-coord-flip.svg new file mode 100644 index 0000000000..6207f07469 --- /dev/null +++ b/tests/testthat/_snaps/geom-dotplot/bin-y-dodged-coord-flip.svg @@ -0,0 +1,166 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +foo + + + + + + + + + + + + + + +-2.4 +-2.0 +-1.6 +-1.2 +-0.8 +-0.4 +0.0 +0.4 +0.8 +1.2 +1.6 +2.0 +2.4 +y +x + +x + + + + + + +A +B +C +bin y, dodged, coord_flip + + diff --git a/tests/testthat/_snaps/geom-dotplot/bin-y-dodged.svg b/tests/testthat/_snaps/geom-dotplot/bin-y-dodged.svg new file mode 100644 index 0000000000..f8952cdf9f --- /dev/null +++ b/tests/testthat/_snaps/geom-dotplot/bin-y-dodged.svg @@ -0,0 +1,166 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +-2.4 +-2.0 +-1.6 +-1.2 +-0.8 +-0.4 +0.0 +0.4 +0.8 +1.2 +1.6 +2.0 +2.4 + + + + + + + + + + + + + + +foo +x +y + +x + + + + + + +A +B +C +bin y, dodged + + diff --git a/tests/testthat/_snaps/geom-dotplot/bin-y-dodging-3-stackgroups-histodot.svg b/tests/testthat/_snaps/geom-dotplot/bin-y-dodging-3-stackgroups-histodot.svg new file mode 100644 index 0000000000..627afeac6b --- /dev/null +++ b/tests/testthat/_snaps/geom-dotplot/bin-y-dodging-3-stackgroups-histodot.svg @@ -0,0 +1,151 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +-2 +-1 +0 +1 +2 + + + + + + + + +A +B +C +x +y + +g + + + + +A +B +bin y, dodging, 3 stackgroups, histodot + + diff --git a/tests/testthat/_snaps/geom-dotplot/bin-y-three-x-groups-bins-aligned-across-groups.svg b/tests/testthat/_snaps/geom-dotplot/bin-y-three-x-groups-bins-aligned-across-groups.svg new file mode 100644 index 0000000000..0a2f39ef67 --- /dev/null +++ b/tests/testthat/_snaps/geom-dotplot/bin-y-three-x-groups-bins-aligned-across-groups.svg @@ -0,0 +1,143 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +-2 +-1 +0 +1 +2 + + + + + + + + +A +B +C +x +y +bin y, three x groups, bins aligned across groups + + diff --git a/tests/testthat/_snaps/geom-dotplot/bin-y-three-x-groups-bins-aligned-coord-flip.svg b/tests/testthat/_snaps/geom-dotplot/bin-y-three-x-groups-bins-aligned-coord-flip.svg new file mode 100644 index 0000000000..701a120557 --- /dev/null +++ b/tests/testthat/_snaps/geom-dotplot/bin-y-three-x-groups-bins-aligned-coord-flip.svg @@ -0,0 +1,143 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +A +B +C + + + + + + + + +-2 +-1 +0 +1 +2 +y +x +bin y, three x groups, bins aligned, coord_flip + + diff --git a/tests/testthat/_snaps/geom-dotplot/bin-y-three-x-groups-fill-and-dodge.svg b/tests/testthat/_snaps/geom-dotplot/bin-y-three-x-groups-fill-and-dodge.svg new file mode 100644 index 0000000000..fb1dd6c537 --- /dev/null +++ b/tests/testthat/_snaps/geom-dotplot/bin-y-three-x-groups-fill-and-dodge.svg @@ -0,0 +1,169 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +-2.4 +-2.0 +-1.6 +-1.2 +-0.8 +-0.4 +0.0 +0.4 +0.8 +1.2 +1.6 +2.0 +2.4 +2.8 + + + + + + + + + + + + + + + + + +A +B +C +x +y + +g + + + + +A +B +bin y, three x groups, fill and dodge + + diff --git a/tests/testthat/_snaps/geom-dotplot/bin-y-three-x-groups-stack-centerwhole.svg b/tests/testthat/_snaps/geom-dotplot/bin-y-three-x-groups-stack-centerwhole.svg new file mode 100644 index 0000000000..a782f80460 --- /dev/null +++ b/tests/testthat/_snaps/geom-dotplot/bin-y-three-x-groups-stack-centerwhole.svg @@ -0,0 +1,143 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +-2 +-1 +0 +1 +2 + + + + + + + + +A +B +C +x +y +bin y, three x groups, stack centerwhole + + diff --git a/tests/testthat/_snaps/geom-dotplot/dots-stacked-closer-stackratio-5-fill-white.svg b/tests/testthat/_snaps/geom-dotplot/dots-stacked-closer-stackratio-5-fill-white.svg new file mode 100644 index 0000000000..49ab46365d --- /dev/null +++ b/tests/testthat/_snaps/geom-dotplot/dots-stacked-closer-stackratio-5-fill-white.svg @@ -0,0 +1,77 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +0.00 +0.25 +0.50 +0.75 +1.00 + + + + + + + + + + +-2 +-1 +0 +1 +2 +x +count +dots stacked closer: stackratio=.5, fill=white + + diff --git a/tests/testthat/_snaps/geom-dotplot/facets-3-groups-histodot-stackgroups.svg b/tests/testthat/_snaps/geom-dotplot/facets-3-groups-histodot-stackgroups.svg new file mode 100644 index 0000000000..5c6d72c63b --- /dev/null +++ b/tests/testthat/_snaps/geom-dotplot/facets-3-groups-histodot-stackgroups.svg @@ -0,0 +1,230 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +A + + + + + + + + + + +B + + + + + + + + + + +C + + + + + + + +-2 +-1 +0 +1 +2 +0.00 +0.25 +0.50 +0.75 +1.00 + + + + + +0.00 +0.25 +0.50 +0.75 +1.00 + + + + + +0.00 +0.25 +0.50 +0.75 +1.00 + + + + + +y +count + +g + + + + +A +B +facets, 3 groups, histodot, stackgroups + + diff --git a/tests/testthat/_snaps/geom-dotplot/histodot-binning-equal-bin-spacing.svg b/tests/testthat/_snaps/geom-dotplot/histodot-binning-equal-bin-spacing.svg new file mode 100644 index 0000000000..9b77f25400 --- /dev/null +++ b/tests/testthat/_snaps/geom-dotplot/histodot-binning-equal-bin-spacing.svg @@ -0,0 +1,77 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +0.00 +0.25 +0.50 +0.75 +1.00 + + + + + + + + + + +-2 +-1 +0 +1 +2 +x +count +histodot binning (equal bin spacing) + + diff --git a/tests/testthat/_snaps/geom-dotplot/larger-dots-dotsize-1-5-fill-white.svg b/tests/testthat/_snaps/geom-dotplot/larger-dots-dotsize-1-5-fill-white.svg new file mode 100644 index 0000000000..b6571b96ff --- /dev/null +++ b/tests/testthat/_snaps/geom-dotplot/larger-dots-dotsize-1-5-fill-white.svg @@ -0,0 +1,77 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +0.00 +0.25 +0.50 +0.75 +1.00 + + + + + + + + + + +-2 +-1 +0 +1 +2 +x +count +larger dots: dotsize=1.5, fill=white + + diff --git a/tests/testthat/_snaps/geom-dotplot/multiple-groups-bins-aligned.svg b/tests/testthat/_snaps/geom-dotplot/multiple-groups-bins-aligned.svg new file mode 100644 index 0000000000..87ee8f32a6 --- /dev/null +++ b/tests/testthat/_snaps/geom-dotplot/multiple-groups-bins-aligned.svg @@ -0,0 +1,85 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +0.00 +0.25 +0.50 +0.75 +1.00 + + + + + + + + + + +-2 +-1 +0 +1 +2 +x +count + +g + + + + +A +B +multiple groups, bins aligned + + diff --git a/tests/testthat/_snaps/geom-dotplot/multiple-groups-bins-not-aligned.svg b/tests/testthat/_snaps/geom-dotplot/multiple-groups-bins-not-aligned.svg new file mode 100644 index 0000000000..452fb01b01 --- /dev/null +++ b/tests/testthat/_snaps/geom-dotplot/multiple-groups-bins-not-aligned.svg @@ -0,0 +1,85 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +0.00 +0.25 +0.50 +0.75 +1.00 + + + + + + + + + + +-2 +-1 +0 +1 +2 +x +count + +g + + + + +A +B +multiple groups, bins not aligned + + diff --git a/tests/testthat/_snaps/geom-dotplot/stack-center-with-coord-flip.svg b/tests/testthat/_snaps/geom-dotplot/stack-center-with-coord-flip.svg new file mode 100644 index 0000000000..34f05a0dc5 --- /dev/null +++ b/tests/testthat/_snaps/geom-dotplot/stack-center-with-coord-flip.svg @@ -0,0 +1,77 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +-2 +-1 +0 +1 +2 + + + + + + + + + + +-0.50 +-0.25 +0.00 +0.25 +0.50 +count +x +stack center with coord_flip + + diff --git a/tests/testthat/_snaps/geom-dotplot/stack-center.svg b/tests/testthat/_snaps/geom-dotplot/stack-center.svg new file mode 100644 index 0000000000..e6b4f3ea2b --- /dev/null +++ b/tests/testthat/_snaps/geom-dotplot/stack-center.svg @@ -0,0 +1,77 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +-0.50 +-0.25 +0.00 +0.25 +0.50 + + + + + + + + + + +-2 +-1 +0 +1 +2 +x +count +stack center + + diff --git a/tests/testthat/_snaps/geom-dotplot/stack-centerwhole-with-coord-flip.svg b/tests/testthat/_snaps/geom-dotplot/stack-centerwhole-with-coord-flip.svg new file mode 100644 index 0000000000..bd3100d471 --- /dev/null +++ b/tests/testthat/_snaps/geom-dotplot/stack-centerwhole-with-coord-flip.svg @@ -0,0 +1,77 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +-2 +-1 +0 +1 +2 + + + + + + + + + + +-0.50 +-0.25 +0.00 +0.25 +0.50 +count +x +stack centerwhole with coord_flip + + diff --git a/tests/testthat/_snaps/geom-dotplot/stack-centerwhole.svg b/tests/testthat/_snaps/geom-dotplot/stack-centerwhole.svg new file mode 100644 index 0000000000..c210702dc4 --- /dev/null +++ b/tests/testthat/_snaps/geom-dotplot/stack-centerwhole.svg @@ -0,0 +1,77 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +-0.50 +-0.25 +0.00 +0.25 +0.50 + + + + + + + + + + +-2 +-1 +0 +1 +2 +x +count +stack centerwhole + + diff --git a/tests/testthat/_snaps/geom-dotplot/stack-down-with-coord-flip.svg b/tests/testthat/_snaps/geom-dotplot/stack-down-with-coord-flip.svg new file mode 100644 index 0000000000..3e5936aee4 --- /dev/null +++ b/tests/testthat/_snaps/geom-dotplot/stack-down-with-coord-flip.svg @@ -0,0 +1,77 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +-2 +-1 +0 +1 +2 + + + + + + + + + + +-1.00 +-0.75 +-0.50 +-0.25 +0.00 +count +x +stack down with coord_flip + + diff --git a/tests/testthat/_snaps/geom-dotplot/stack-down.svg b/tests/testthat/_snaps/geom-dotplot/stack-down.svg new file mode 100644 index 0000000000..0bc2a3283d --- /dev/null +++ b/tests/testthat/_snaps/geom-dotplot/stack-down.svg @@ -0,0 +1,77 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +-1.00 +-0.75 +-0.50 +-0.25 +0.00 + + + + + + + + + + +-2 +-1 +0 +1 +2 +x +count +stack down + + diff --git a/tests/testthat/_snaps/geom-dotplot/stack-up-with-coord-flip.svg b/tests/testthat/_snaps/geom-dotplot/stack-up-with-coord-flip.svg new file mode 100644 index 0000000000..8d7bf30ccd --- /dev/null +++ b/tests/testthat/_snaps/geom-dotplot/stack-up-with-coord-flip.svg @@ -0,0 +1,77 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +-2 +-1 +0 +1 +2 + + + + + + + + + + +0.00 +0.25 +0.50 +0.75 +1.00 +count +x +stack up with coord_flip + + diff --git a/tests/testthat/_snaps/geom-dotplot/stack-up.svg b/tests/testthat/_snaps/geom-dotplot/stack-up.svg new file mode 100644 index 0000000000..267c45aabd --- /dev/null +++ b/tests/testthat/_snaps/geom-dotplot/stack-up.svg @@ -0,0 +1,77 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +0.00 +0.25 +0.50 +0.75 +1.00 + + + + + + + + + + +-2 +-1 +0 +1 +2 +x +count +stack up + + diff --git a/tests/testthat/_snaps/geom-dotplot/stackratio-1-5.svg b/tests/testthat/_snaps/geom-dotplot/stackratio-1-5.svg new file mode 100644 index 0000000000..09021c0550 --- /dev/null +++ b/tests/testthat/_snaps/geom-dotplot/stackratio-1-5.svg @@ -0,0 +1,74 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +-1.0 +-0.5 +0.0 +0.5 +1.0 + + + + + + + + +3 +6 +9 +x +count +stackratio = 1.5 + + diff --git a/tests/testthat/_snaps/geom-dotplot/variable-linetype-and-size-specified-as-aesthetics.svg b/tests/testthat/_snaps/geom-dotplot/variable-linetype-and-size-specified-as-aesthetics.svg new file mode 100644 index 0000000000..dd470e13d0 --- /dev/null +++ b/tests/testthat/_snaps/geom-dotplot/variable-linetype-and-size-specified-as-aesthetics.svg @@ -0,0 +1,102 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +0.00 +0.25 +0.50 +0.75 +1.00 + + + + + + + + + + +-2 +-1 +0 +1 +2 +x +count + +rep(c("a", "b"), length.out = nrow(dat)) + + + + +a +b + +rep(c(1, 2), length.out = nrow(dat)) + + + + + + + + + + +1.00 +1.25 +1.50 +1.75 +2.00 +variable linetype and size specified as aesthetics + + diff --git a/tests/testthat/_snaps/geom-hex/hex-bin-plot-in-polar-coordinates.svg b/tests/testthat/_snaps/geom-hex/hex-bin-plot-in-polar-coordinates.svg new file mode 100644 index 0000000000..a5d0e7ad77 --- /dev/null +++ b/tests/testthat/_snaps/geom-hex/hex-bin-plot-in-polar-coordinates.svg @@ -0,0 +1,183 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +2 +3 +4 +5 +6 + + + +20 +30 +40 + + + +displ +hwy + +count + + + + + + + + + +2.5 +5.0 +7.5 +10.0 +hex bin plot in polar coordinates + + diff --git a/tests/testthat/_snaps/geom-hex/hex-bin-plot-with-sqrt-transformed-y.svg b/tests/testthat/_snaps/geom-hex/hex-bin-plot-with-sqrt-transformed-y.svg new file mode 100644 index 0000000000..3ef7c5378d --- /dev/null +++ b/tests/testthat/_snaps/geom-hex/hex-bin-plot-with-sqrt-transformed-y.svg @@ -0,0 +1,181 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +20 +30 +40 + + + + + + + + + +2 +3 +4 +5 +6 +7 +displ +hwy + +count + + + + + + + + + +2.5 +5.0 +7.5 +10.0 +hex bin plot with sqrt-transformed y + + diff --git a/tests/testthat/_snaps/geom-hex/single-hex-bin-with-width-and-height-of-0-1.svg b/tests/testthat/_snaps/geom-hex/single-hex-bin-with-width-and-height-of-0-1.svg new file mode 100644 index 0000000000..55c430bb5c --- /dev/null +++ b/tests/testthat/_snaps/geom-hex/single-hex-bin-with-width-and-height-of-0-1.svg @@ -0,0 +1,64 @@ + + + + + + + + + + + + + + + + + + + + + + + + + +-1.0 +-0.5 +0.0 +0.5 +1.0 + + + + + + + + + + +-1.0 +-0.5 +0.0 +0.5 +1.0 +x +y + +count + + + +1 +single hex bin with width and height of 0.1 + + diff --git a/tests/testthat/_snaps/geom-hline-vline-abline/cartesian-lines-intersect-mid-bars.svg b/tests/testthat/_snaps/geom-hline-vline-abline/cartesian-lines-intersect-mid-bars.svg new file mode 100644 index 0000000000..163e6973da --- /dev/null +++ b/tests/testthat/_snaps/geom-hline-vline-abline/cartesian-lines-intersect-mid-bars.svg @@ -0,0 +1,70 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +0 +1 +2 +3 +4 +5 + + + + + + + + + + + +A +B +C +D +E +cartesian lines intersect mid-bars + + diff --git a/tests/testthat/_snaps/geom-hline-vline-abline/flipped-lines-intersect-mid-bars.svg b/tests/testthat/_snaps/geom-hline-vline-abline/flipped-lines-intersect-mid-bars.svg new file mode 100644 index 0000000000..cd136306cc --- /dev/null +++ b/tests/testthat/_snaps/geom-hline-vline-abline/flipped-lines-intersect-mid-bars.svg @@ -0,0 +1,70 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +A +B +C +D +E + + + + + + + + + + + +0 +1 +2 +3 +4 +5 +flipped lines intersect mid-bars + + diff --git a/tests/testthat/_snaps/geom-hline-vline-abline/lines-curved-in-azequalarea.svg b/tests/testthat/_snaps/geom-hline-vline-abline/lines-curved-in-azequalarea.svg new file mode 100644 index 0000000000..163e538d16 --- /dev/null +++ b/tests/testthat/_snaps/geom-hline-vline-abline/lines-curved-in-azequalarea.svg @@ -0,0 +1,61 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +-40 +-38 +-36 + + + + + + +174 +176 +178 +long +lat +lines curved in azequalarea + + diff --git a/tests/testthat/_snaps/geom-hline-vline-abline/polar-lines-intersect-mid-bars.svg b/tests/testthat/_snaps/geom-hline-vline-abline/polar-lines-intersect-mid-bars.svg new file mode 100644 index 0000000000..4bd4970011 --- /dev/null +++ b/tests/testthat/_snaps/geom-hline-vline-abline/polar-lines-intersect-mid-bars.svg @@ -0,0 +1,74 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +A +B +C +D +E + + + +0 +1 +2 +3 +4 +5 + + + + + + +polar lines intersect mid-bars + + diff --git a/tests/testthat/_snaps/geom-hline-vline-abline/straight-lines-in-mercator.svg b/tests/testthat/_snaps/geom-hline-vline-abline/straight-lines-in-mercator.svg new file mode 100644 index 0000000000..243bc63f0a --- /dev/null +++ b/tests/testthat/_snaps/geom-hline-vline-abline/straight-lines-in-mercator.svg @@ -0,0 +1,61 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +-40 +-38 +-36 + + + + + + +174 +176 +178 +long +lat +straight lines in mercator + + diff --git a/tests/testthat/_snaps/geom-label/geom-label-with-line-parameters.svg b/tests/testthat/_snaps/geom-label/geom-label-with-line-parameters.svg new file mode 100644 index 0000000000..b7c5c9717f --- /dev/null +++ b/tests/testthat/_snaps/geom-label/geom-label-with-line-parameters.svg @@ -0,0 +1,121 @@ + + + + + + + + + + + + + + + + + + + + + + +foo + +bar + +baz + +foo + +bar + +baz + + + +1.00 +1.25 +1.50 +1.75 +2.00 + + + + + + + + + + +1.0 +1.5 +2.0 +2.5 +3.0 +x +y + +labels + + +a + +a + + +a + +a + + +a + +a +bar +baz +foo + +x + + +a + +a + + +a + +a + + +a + +a + + +a + +a + + +a + +a +1.0 +1.5 +2.0 +2.5 +3.0 +geom_label with line parameters + + diff --git a/tests/testthat/_snaps/geom-path/lines-changed-order-should-have-same-appearance.svg b/tests/testthat/_snaps/geom-path/lines-changed-order-should-have-same-appearance.svg new file mode 100644 index 0000000000..ca5bfbd669 --- /dev/null +++ b/tests/testthat/_snaps/geom-path/lines-changed-order-should-have-same-appearance.svg @@ -0,0 +1,67 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +A +B +C +D +E + + + + + + + + + + + + +1 +2 +3 +4 +5 +6 +7 +value +category +lines, changed order, should have same appearance + + diff --git a/tests/testthat/_snaps/geom-path/lines-colour-changed-order-should-have-same-appearance.svg b/tests/testthat/_snaps/geom-path/lines-colour-changed-order-should-have-same-appearance.svg new file mode 100644 index 0000000000..ea53666c31 --- /dev/null +++ b/tests/testthat/_snaps/geom-path/lines-colour-changed-order-should-have-same-appearance.svg @@ -0,0 +1,87 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +A +B +C +D +E + + + + + + + + + + + + +1 +2 +3 +4 +5 +6 +7 +value +category + +item + + + + + + + + + + + + +Item#1 +Item#2 +Item#3 +Item#4 +Item#5 +Item#6 +lines, colour, changed order, should have same appearance + + diff --git a/tests/testthat/_snaps/geom-path/lines-colour.svg b/tests/testthat/_snaps/geom-path/lines-colour.svg new file mode 100644 index 0000000000..5a5fc6b930 --- /dev/null +++ b/tests/testthat/_snaps/geom-path/lines-colour.svg @@ -0,0 +1,87 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +A +B +C +D +E + + + + + + + + + + + + +1 +2 +3 +4 +5 +6 +7 +value +category + +item + + + + + + + + + + + + +Item#1 +Item#2 +Item#3 +Item#4 +Item#5 +Item#6 +lines, colour + + diff --git a/tests/testthat/_snaps/geom-path/lines.svg b/tests/testthat/_snaps/geom-path/lines.svg new file mode 100644 index 0000000000..19e33ba427 --- /dev/null +++ b/tests/testthat/_snaps/geom-path/lines.svg @@ -0,0 +1,67 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +A +B +C +D +E + + + + + + + + + + + + +1 +2 +3 +4 +5 +6 +7 +value +category +lines + + diff --git a/tests/testthat/_snaps/geom-path/na-linetype.svg b/tests/testthat/_snaps/geom-path/na-linetype.svg new file mode 100644 index 0000000000..65f3c14304 --- /dev/null +++ b/tests/testthat/_snaps/geom-path/na-linetype.svg @@ -0,0 +1,57 @@ + + + + + + + + + + + + + + + + + + + + + + + + +1.00 +1.25 +1.50 +1.75 +2.00 + + + + + + + + + + +1.00 +1.25 +1.50 +1.75 +2.00 +x +y +NA linetype + + diff --git a/tests/testthat/_snaps/geom-polygon/basic-polygon-plot.svg b/tests/testthat/_snaps/geom-polygon/basic-polygon-plot.svg new file mode 100644 index 0000000000..e1a2dc6d8b --- /dev/null +++ b/tests/testthat/_snaps/geom-polygon/basic-polygon-plot.svg @@ -0,0 +1,55 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + +0 +10 +20 +30 + + + + + + + + +0 +10 +20 +30 +x +y +basic polygon plot + + diff --git a/tests/testthat/_snaps/geom-polygon/open-and-closed-munched-polygons.svg b/tests/testthat/_snaps/geom-polygon/open-and-closed-munched-polygons.svg new file mode 100644 index 0000000000..f134915d5f --- /dev/null +++ b/tests/testthat/_snaps/geom-polygon/open-and-closed-munched-polygons.svg @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + +colour + + +closed +open +open and closed munched polygons + + diff --git a/tests/testthat/_snaps/geom-raster/1-x-3-just-0-0.svg b/tests/testthat/_snaps/geom-raster/1-x-3-just-0-0.svg new file mode 100644 index 0000000000..3cda3a9d4a --- /dev/null +++ b/tests/testthat/_snaps/geom-raster/1-x-3-just-0-0.svg @@ -0,0 +1,77 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +-1.00 +-0.75 +-0.50 +-0.25 +0.00 + + + + + + + + + +-2 +-1 +0 +1 +x +y + +z + + + + + + + + + + + +1.0 +1.5 +2.0 +2.5 +3.0 +1 x 3, just = (0, 0) + + diff --git a/tests/testthat/_snaps/geom-raster/1-x-3-set-limits.svg b/tests/testthat/_snaps/geom-raster/1-x-3-set-limits.svg new file mode 100644 index 0000000000..e2ebc6bbc9 --- /dev/null +++ b/tests/testthat/_snaps/geom-raster/1-x-3-set-limits.svg @@ -0,0 +1,79 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +-2 +-1 +0 +1 +2 + + + + + + + + + + +-2 +-1 +0 +1 +2 +x +y + +z + + + + + + + + + + + +1.0 +1.5 +2.0 +2.5 +3.0 +1 x 3, set limits + + diff --git a/tests/testthat/_snaps/geom-raster/1-x-3.svg b/tests/testthat/_snaps/geom-raster/1-x-3.svg new file mode 100644 index 0000000000..40b3a41601 --- /dev/null +++ b/tests/testthat/_snaps/geom-raster/1-x-3.svg @@ -0,0 +1,75 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +-0.50 +-0.25 +0.00 +0.25 +0.50 + + + + + + + + +-1 +0 +1 +x +y + +z + + + + + + + + + + + +1.0 +1.5 +2.0 +2.5 +3.0 +1 x 3 + + diff --git a/tests/testthat/_snaps/geom-raster/3-x-1-just-0-0.svg b/tests/testthat/_snaps/geom-raster/3-x-1-just-0-0.svg new file mode 100644 index 0000000000..22d38e2920 --- /dev/null +++ b/tests/testthat/_snaps/geom-raster/3-x-1-just-0-0.svg @@ -0,0 +1,77 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +-2 +-1 +0 +1 + + + + + + + + + +-1.00 +-0.75 +-0.50 +-0.25 +0.00 +x +y + +z + + + + + + + + + + + +1.0 +1.5 +2.0 +2.5 +3.0 +3 x 1, just = (0, 0) + + diff --git a/tests/testthat/_snaps/geom-raster/3-x-1-set-limits.svg b/tests/testthat/_snaps/geom-raster/3-x-1-set-limits.svg new file mode 100644 index 0000000000..d979920d86 --- /dev/null +++ b/tests/testthat/_snaps/geom-raster/3-x-1-set-limits.svg @@ -0,0 +1,79 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +-2 +-1 +0 +1 +2 + + + + + + + + + + +-2 +-1 +0 +1 +2 +x +y + +z + + + + + + + + + + + +1.0 +1.5 +2.0 +2.5 +3.0 +3 x 1, set limits + + diff --git a/tests/testthat/_snaps/geom-raster/3-x-1.svg b/tests/testthat/_snaps/geom-raster/3-x-1.svg new file mode 100644 index 0000000000..66a91af91e --- /dev/null +++ b/tests/testthat/_snaps/geom-raster/3-x-1.svg @@ -0,0 +1,75 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +-1 +0 +1 + + + + + + + + +-0.50 +-0.25 +0.00 +0.25 +0.50 +x +y + +z + + + + + + + + + + + +1.0 +1.5 +2.0 +2.5 +3.0 +3 x 1 + + diff --git a/tests/testthat/_snaps/geom-raster/3-x-2-just-0-0.svg b/tests/testthat/_snaps/geom-raster/3-x-2-just-0-0.svg new file mode 100644 index 0000000000..436e69545e --- /dev/null +++ b/tests/testthat/_snaps/geom-raster/3-x-2-just-0-0.svg @@ -0,0 +1,83 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +-2 +-1 +0 +1 + + + + + + + + + +-3 +-2 +-1 +0 +1 +x +y + +z + + + + + + + + + + + + + +1 +2 +3 +4 +5 +6 +3 x 2, just = (0, 0) + + diff --git a/tests/testthat/_snaps/geom-raster/3-x-2-set-limits.svg b/tests/testthat/_snaps/geom-raster/3-x-2-set-limits.svg new file mode 100644 index 0000000000..3da4913fe1 --- /dev/null +++ b/tests/testthat/_snaps/geom-raster/3-x-2-set-limits.svg @@ -0,0 +1,85 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +-2 +-1 +0 +1 +2 + + + + + + + + + + +-2 +-1 +0 +1 +2 +x +y + +z + + + + + + + + + + + + + +1 +2 +3 +4 +5 +6 +3 x 2, set limits + + diff --git a/tests/testthat/_snaps/geom-raster/3-x-2.svg b/tests/testthat/_snaps/geom-raster/3-x-2.svg new file mode 100644 index 0000000000..072a3983c2 --- /dev/null +++ b/tests/testthat/_snaps/geom-raster/3-x-2.svg @@ -0,0 +1,81 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +-1 +0 +1 + + + + + + + + +-2 +-1 +0 +1 +2 +x +y + +z + + + + + + + + + + + + + +1 +2 +3 +4 +5 +6 +3 x 2 + + diff --git a/tests/testthat/_snaps/geom-raster/discrete-positions.svg b/tests/testthat/_snaps/geom-raster/discrete-positions.svg new file mode 100644 index 0000000000..5aca7daef6 --- /dev/null +++ b/tests/testthat/_snaps/geom-raster/discrete-positions.svg @@ -0,0 +1,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + +C +D + + + + +A +B +x +y + +interaction(x, y) + + + + + + + + +A.C +B.C +A.D +B.D +discrete positions + + diff --git a/tests/testthat/_snaps/geom-raster/irregular-categorical.svg b/tests/testthat/_snaps/geom-raster/irregular-categorical.svg new file mode 100644 index 0000000000..dc12288875 --- /dev/null +++ b/tests/testthat/_snaps/geom-raster/irregular-categorical.svg @@ -0,0 +1,69 @@ + + + + + + + + + + + + + + + + + + + + + + + + + +0.0 +2.5 +5.0 +7.5 +10.0 + + + + + + + + + + +0.0 +2.5 +5.0 +7.5 +10.0 +x +y + +factor(col) + + + + + + +0 +1 +NA +irregular categorical + + diff --git a/tests/testthat/_snaps/geom-raster/rectangle-fallback.svg b/tests/testthat/_snaps/geom-raster/rectangle-fallback.svg new file mode 100644 index 0000000000..ee53464264 --- /dev/null +++ b/tests/testthat/_snaps/geom-raster/rectangle-fallback.svg @@ -0,0 +1,78 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +1.0 +1.5 +2.0 +0.5/2.5 + + + +0.5 +1.0 +1.5 +2.0 +2.5 + + + + + +x +y + +fill + + + + + + + + +A +B +C +D +rectangle fallback + + diff --git a/tests/testthat/_snaps/geom-sf/geom-sf-line-legend.svg b/tests/testthat/_snaps/geom-sf/geom-sf-line-legend.svg new file mode 100644 index 0000000000..642a061bab --- /dev/null +++ b/tests/testthat/_snaps/geom-sf/geom-sf-line-legend.svg @@ -0,0 +1,82 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +3.0 +3.5 +4.0 +4.5 +5.0 +5.5 +6.0 + + + + + + + + + + + + + + +1.0 +1.5 +2.0 +2.5 +3.0 +3.5 +4.0 + +col + + + + +bar +foo +geom_sf line legend + + diff --git a/tests/testthat/_snaps/geom-sf/geom-sf-point-legend.svg b/tests/testthat/_snaps/geom-sf/geom-sf-point-legend.svg new file mode 100644 index 0000000000..e92ba98f8e --- /dev/null +++ b/tests/testthat/_snaps/geom-sf/geom-sf-point-legend.svg @@ -0,0 +1,78 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +3.0 +3.2 +3.4 +3.6 +3.8 +4.0 + + + + + + + + + + + + +1.0 +1.2 +1.4 +1.6 +1.8 +2.0 + +col + + + + +bar +foo +geom_sf point legend + + diff --git a/tests/testthat/_snaps/geom-sf/geom-sf-polygon-legend.svg b/tests/testthat/_snaps/geom-sf/geom-sf-polygon-legend.svg new file mode 100644 index 0000000000..6eb5d587a8 --- /dev/null +++ b/tests/testthat/_snaps/geom-sf/geom-sf-polygon-legend.svg @@ -0,0 +1,82 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +3.0 +3.5 +4.0 +4.5 +5.0 +5.5 +6.0 + + + + + + + + + + + + + + +1.0 +1.5 +2.0 +2.5 +3.0 +3.5 +4.0 + +col + + + + +bar +foo +geom_sf polygon legend + + diff --git a/tests/testthat/_snaps/geom-sf/labels-for-north-carolina.svg b/tests/testthat/_snaps/geom-sf/labels-for-north-carolina.svg new file mode 100644 index 0000000000..f11f41251b --- /dev/null +++ b/tests/testthat/_snaps/geom-sf/labels-for-north-carolina.svg @@ -0,0 +1,51 @@ + + + + + + + + + + + + + + + + + + + + + + +ashe + + + +4357807 +4357807 +4357807 + + + + + + +-9072027 +-9072027 +-9072027 +x +y +Labels for North Carolina + + diff --git a/tests/testthat/_snaps/geom-sf/mixed-geometry-types.svg b/tests/testthat/_snaps/geom-sf/mixed-geometry-types.svg new file mode 100644 index 0000000000..c8dc5b6922 --- /dev/null +++ b/tests/testthat/_snaps/geom-sf/mixed-geometry-types.svg @@ -0,0 +1,85 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +-1 + 0 + 1 + 2 + 3 + 4 + 5 + 6 + + + + + + + + + + + + + + + + +-1 + 0 + 1 + 2 + 3 + 4 + 5 + 6 +mixed geometry types + + diff --git a/tests/testthat/_snaps/geom-sf/north-carolina-county-boundaries-with-arrow.svg b/tests/testthat/_snaps/geom-sf/north-carolina-county-boundaries-with-arrow.svg new file mode 100644 index 0000000000..48beafdcdd --- /dev/null +++ b/tests/testthat/_snaps/geom-sf/north-carolina-county-boundaries-with-arrow.svg @@ -0,0 +1,72 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +36.25 +36.30 +36.35 +36.40 +36.45 +36.50 +36.55 +36.60 + + + + + + + + + + + + + +-81.7 +-81.6 +-81.5 +-81.4 +-81.3 +North Carolina county boundaries with arrow + + diff --git a/tests/testthat/_snaps/geom-sf/north-carolina-county-boundaries-with-more-than-one-arrow.svg b/tests/testthat/_snaps/geom-sf/north-carolina-county-boundaries-with-more-than-one-arrow.svg new file mode 100644 index 0000000000..165452b12f --- /dev/null +++ b/tests/testthat/_snaps/geom-sf/north-carolina-county-boundaries-with-more-than-one-arrow.svg @@ -0,0 +1,82 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +36.25 +36.30 +36.35 +36.40 +36.45 +36.50 +36.55 +36.60 + + + + + + + + + + + + + +-81.7 +-81.6 +-81.5 +-81.4 +-81.3 +North Carolina county boundaries with more than one arrow + + diff --git a/tests/testthat/_snaps/geom-sf/north-carolina-county-boundaries.svg b/tests/testthat/_snaps/geom-sf/north-carolina-county-boundaries.svg new file mode 100644 index 0000000000..ebb2ccaf03 --- /dev/null +++ b/tests/testthat/_snaps/geom-sf/north-carolina-county-boundaries.svg @@ -0,0 +1,97 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +36.25 +° +N +36.30 +° +N +36.35 +° +N +36.40 +° +N +36.45 +° +N +36.50 +° +N +36.55 +° +N +36.60 +° +N + + + + + + + + + + + + + +81.7 +° +W +81.6 +° +W +81.5 +° +W +81.4 +° +W +81.3 +° +W +North Carolina county boundaries + + diff --git a/tests/testthat/_snaps/geom-sf/spatial-points.svg b/tests/testthat/_snaps/geom-sf/spatial-points.svg new file mode 100644 index 0000000000..febfef41c3 --- /dev/null +++ b/tests/testthat/_snaps/geom-sf/spatial-points.svg @@ -0,0 +1,70 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +1.0 +1.2 +1.4 +1.6 +1.8 +2.0 + + + + + + + + + + + + + 0.0 + 0.2 + 0.4 + 0.6 + 0.8 + 1.0 +spatial points + + diff --git a/tests/testthat/_snaps/geom-sf/texts-for-north-carolina.svg b/tests/testthat/_snaps/geom-sf/texts-for-north-carolina.svg new file mode 100644 index 0000000000..ec2184a425 --- /dev/null +++ b/tests/testthat/_snaps/geom-sf/texts-for-north-carolina.svg @@ -0,0 +1,50 @@ + + + + + + + + + + + + + + + + + + + + + +ashe + + + +4357807 +4357807 +4357807 + + + + + + +-9072027 +-9072027 +-9072027 +x +y +Texts for North Carolina + + diff --git a/tests/testthat/_snaps/geom-smooth/ribbon-turned-off-in-geom-smooth.svg b/tests/testthat/_snaps/geom-smooth/ribbon-turned-off-in-geom-smooth.svg new file mode 100644 index 0000000000..9059156df4 --- /dev/null +++ b/tests/testthat/_snaps/geom-smooth/ribbon-turned-off-in-geom-smooth.svg @@ -0,0 +1,67 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + +1.0 +1.5 +2.0 +2.5 +3.0 + + + + + + + + + + +1.00 +1.25 +1.50 +1.75 +2.00 +x +y + +fill + + + + +A +B +ribbon turned off in geom_smooth + + diff --git a/tests/testthat/_snaps/geom-smooth/ribbon-turned-on-in-geom-smooth.svg b/tests/testthat/_snaps/geom-smooth/ribbon-turned-on-in-geom-smooth.svg new file mode 100644 index 0000000000..429004d485 --- /dev/null +++ b/tests/testthat/_snaps/geom-smooth/ribbon-turned-on-in-geom-smooth.svg @@ -0,0 +1,75 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +1.0 +1.5 +2.0 +2.5 +3.0 + + + + + + + + + + +1.00 +1.25 +1.50 +1.75 +2.00 +x +y + +fill + + + + + + +A +B +ribbon turned on in geom_smooth + + diff --git a/tests/testthat/_snaps/geom-violin/basic.svg b/tests/testthat/_snaps/geom-violin/basic.svg new file mode 100644 index 0000000000..16e7518c21 --- /dev/null +++ b/tests/testthat/_snaps/geom-violin/basic.svg @@ -0,0 +1,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + +-3 +-2 +-1 +0 +1 +2 +3 + + + + + + + + + + +A +B +C +x +y +basic + + diff --git a/tests/testthat/_snaps/geom-violin/continuous-x-axis-many-groups-center-should-be-at-2-0.svg b/tests/testthat/_snaps/geom-violin/continuous-x-axis-many-groups-center-should-be-at-2-0.svg new file mode 100644 index 0000000000..611f73f969 --- /dev/null +++ b/tests/testthat/_snaps/geom-violin/continuous-x-axis-many-groups-center-should-be-at-2-0.svg @@ -0,0 +1,58 @@ + + + + + + + + + + + + + + + + + + + + + + + + + +-3 +-2 +-1 +0 +1 +2 +3 + + + + + + + + + + +1.5 +2.0 +2.5 +as.numeric(x) +y +continuous x axis, many groups (center should be at 2.0) + + diff --git a/tests/testthat/_snaps/geom-violin/continuous-x-axis-single-group-center-should-be-at-1-0.svg b/tests/testthat/_snaps/geom-violin/continuous-x-axis-single-group-center-should-be-at-1-0.svg new file mode 100644 index 0000000000..74fc5ed64e --- /dev/null +++ b/tests/testthat/_snaps/geom-violin/continuous-x-axis-single-group-center-should-be-at-1-0.svg @@ -0,0 +1,58 @@ + + + + + + + + + + + + + + + + + + + + + + + + + +-3 +-2 +-1 +0 +1 +2 +3 + + + + + + + + + + +0.75 +1.00 +1.25 +as.numeric(1) +y +continuous x axis, single group (center should be at 1.0) + + diff --git a/tests/testthat/_snaps/geom-violin/coord-flip.svg b/tests/testthat/_snaps/geom-violin/coord-flip.svg new file mode 100644 index 0000000000..59f095248a --- /dev/null +++ b/tests/testthat/_snaps/geom-violin/coord-flip.svg @@ -0,0 +1,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + +A +B +C + + + + + + + + + + +-3 +-2 +-1 +0 +1 +2 +3 +y +x +coord_flip + + diff --git a/tests/testthat/_snaps/geom-violin/coord-polar.svg b/tests/testthat/_snaps/geom-violin/coord-polar.svg new file mode 100644 index 0000000000..5da2c31990 --- /dev/null +++ b/tests/testthat/_snaps/geom-violin/coord-polar.svg @@ -0,0 +1,64 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +A +B +C + + + +-3 +-2 +-1 +0 +1 +2 + + + + + + +x +y +coord_polar + + diff --git a/tests/testthat/_snaps/geom-violin/dodging-and-coord-flip.svg b/tests/testthat/_snaps/geom-violin/dodging-and-coord-flip.svg new file mode 100644 index 0000000000..6af10a6faa --- /dev/null +++ b/tests/testthat/_snaps/geom-violin/dodging-and-coord-flip.svg @@ -0,0 +1,67 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + +foo + + + + + + + + +-3 +-2 +-1 +0 +1 +2 +3 +y +x + +x + + + + + + +A +B +C +dodging and coord_flip + + diff --git a/tests/testthat/_snaps/geom-violin/dodging.svg b/tests/testthat/_snaps/geom-violin/dodging.svg new file mode 100644 index 0000000000..d1d537e3b2 --- /dev/null +++ b/tests/testthat/_snaps/geom-violin/dodging.svg @@ -0,0 +1,67 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + +-3 +-2 +-1 +0 +1 +2 +3 + + + + + + + + +foo +x +y + +x + + + + + + +A +B +C +dodging + + diff --git a/tests/testthat/_snaps/geom-violin/grouping-on-x-and-fill-dodge-width-0-5.svg b/tests/testthat/_snaps/geom-violin/grouping-on-x-and-fill-dodge-width-0-5.svg new file mode 100644 index 0000000000..fcf5700ada --- /dev/null +++ b/tests/testthat/_snaps/geom-violin/grouping-on-x-and-fill-dodge-width-0-5.svg @@ -0,0 +1,63 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +-2 +0 +2 + + + + + + +A +B +C +x +y + +g + + + + +e +f +grouping on x and fill, dodge width = 0.5 + + diff --git a/tests/testthat/_snaps/geom-violin/grouping-on-x-and-fill.svg b/tests/testthat/_snaps/geom-violin/grouping-on-x-and-fill.svg new file mode 100644 index 0000000000..477f9a02c5 --- /dev/null +++ b/tests/testthat/_snaps/geom-violin/grouping-on-x-and-fill.svg @@ -0,0 +1,63 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +-2 +0 +2 + + + + + + +A +B +C +x +y + +g + + + + +e +f +grouping on x and fill + + diff --git a/tests/testthat/_snaps/geom-violin/narrower-width-5.svg b/tests/testthat/_snaps/geom-violin/narrower-width-5.svg new file mode 100644 index 0000000000..d233183697 --- /dev/null +++ b/tests/testthat/_snaps/geom-violin/narrower-width-5.svg @@ -0,0 +1,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + +-3 +-2 +-1 +0 +1 +2 +3 + + + + + + + + + + +A +B +C +x +y +narrower (width=.5) + + diff --git a/tests/testthat/_snaps/geom-violin/scale-area-to-sample-size-c-is-smaller.svg b/tests/testthat/_snaps/geom-violin/scale-area-to-sample-size-c-is-smaller.svg new file mode 100644 index 0000000000..ca9f1bf889 --- /dev/null +++ b/tests/testthat/_snaps/geom-violin/scale-area-to-sample-size-c-is-smaller.svg @@ -0,0 +1,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + +-3 +-2 +-1 +0 +1 +2 +3 + + + + + + + + + + +A +B +C +x +y +scale area to sample size (C is smaller) + + diff --git a/tests/testthat/_snaps/geom-violin/styled-quantiles.svg b/tests/testthat/_snaps/geom-violin/styled-quantiles.svg new file mode 100644 index 0000000000..0b8d55329f --- /dev/null +++ b/tests/testthat/_snaps/geom-violin/styled-quantiles.svg @@ -0,0 +1,69 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +-3 +-2 +-1 +0 +1 +2 +3 + + + + + + + + + + +A +B +C +x +y +styled quantiles + + diff --git a/tests/testthat/_snaps/geom-violin/with-smaller-bandwidth-and-points.svg b/tests/testthat/_snaps/geom-violin/with-smaller-bandwidth-and-points.svg new file mode 100644 index 0000000000..3dc573d465 --- /dev/null +++ b/tests/testthat/_snaps/geom-violin/with-smaller-bandwidth-and-points.svg @@ -0,0 +1,135 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +-3 +-2 +-1 +0 +1 +2 +3 + + + + + + + + + + +A +B +C +x +y +with smaller bandwidth and points + + diff --git a/tests/testthat/_snaps/geom-violin/with-tails-and-points.svg b/tests/testthat/_snaps/geom-violin/with-tails-and-points.svg new file mode 100644 index 0000000000..d109c20fbc --- /dev/null +++ b/tests/testthat/_snaps/geom-violin/with-tails-and-points.svg @@ -0,0 +1,131 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +-5.0 +-2.5 +0.0 +2.5 +5.0 + + + + + + + + +A +B +C +x +y +with tails and points + + diff --git a/tests/testthat/_snaps/guide-axis/align-facet-labels-facets-horizontal.svg b/tests/testthat/_snaps/guide-axis/align-facet-labels-facets-horizontal.svg new file mode 100644 index 0000000000..525759cff3 --- /dev/null +++ b/tests/testthat/_snaps/guide-axis/align-facet-labels-facets-horizontal.svg @@ -0,0 +1,672 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +audi + + + + + + + + + + +chevrolet + + + + + + + + + + +dodge + + + + + + + + + + +ford + + + + + + + + + + +honda + + + + + + + + + + +hyundai + + + + + + + + + + +jeep + + + + + + + + + + +land rover + + + + + + + + + + +lincoln + + + + + + + + + + +mercury + + + + + + + + + + +nissan + + + + + + + + + + +pontiac + + + + + + + + + + +subaru + + + + + + + + + + +toyota + + + + + + + + + + +volkswagen + + + + + +20 +30 +40 +a6 quattro +a4 quattro +a4 + + + +k1500 tahoe 4wd +c1500 suburban 2wd +corvette +malibu + + + + +ram 1500 pickup 4wd +durango 4wd +dakota pickup 4wd +caravan 2wd + + + + +f150 pickup 4wd +expedition 2wd +explorer 4wd +mustang + + + + +civic + +tiburon +sonata + + +grand cherokee 4wd + +range rover + +navigator 2wd + +mountaineer 4wd + +pathfinder 4wd +maxima +altima + + + +grand prix + +forester awd +impreza awd + + +land cruiser wagon 4wd +4runner 4wd +toyota tacoma 4wd +camry solara +camry +corolla + + + + + + +gti +passat +jetta +new beetle + + + + +hwy +reorder(model, hwy) +align facet labels, facets horizontal + + diff --git a/tests/testthat/_snaps/guide-axis/align-facet-labels-facets-vertical.svg b/tests/testthat/_snaps/guide-axis/align-facet-labels-facets-vertical.svg new file mode 100644 index 0000000000..d1017d39bb --- /dev/null +++ b/tests/testthat/_snaps/guide-axis/align-facet-labels-facets-vertical.svg @@ -0,0 +1,672 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +audi + + + + + + + + + + +chevrolet + + + + + + + + + + +dodge + + + + + + + + + + +ford + + + + + + + + + + +honda + + + + + + + + + + +hyundai + + + + + + + + + + +jeep + + + + + + + + + + +land rover + + + + + + + + + + +lincoln + + + + + + + + + + +mercury + + + + + + + + + + +nissan + + + + + + + + + + +pontiac + + + + + + + + + + +subaru + + + + + + + + + + +toyota + + + + + + + + + + +volkswagen + + + + + +a6 quattro +a4 quattro +a4 + + + + +k1500 tahoe 4wd +c1500 suburban 2wd +corvette +malibu + + + + +ram 1500 pickup 4wd +durango 4wd +dakota pickup 4wd +caravan 2wd + + + + +f150 pickup 4wd +expedition 2wd +explorer 4wd +mustang + +civic + + +tiburon +sonata + +grand cherokee 4wd + +range rover + +navigator 2wd + +mountaineer 4wd + + + +pathfinder 4wd +maxima +altima + +grand prix + + +forester awd +impreza awd + + + + + + +land cruiser wagon 4wd +4runner 4wd +toyota tacoma 4wd +camry solara +camry +corolla + + + + +gti +passat +jetta +new beetle +20 +30 +40 + + + +reorder(model, hwy) +hwy +align facet labels, facets vertical + + diff --git a/tests/testthat/_snaps/guide-axis/axis-guides-basic.svg b/tests/testthat/_snaps/guide-axis/axis-guides-basic.svg new file mode 100644 index 0000000000..32f3b568eb --- /dev/null +++ b/tests/testthat/_snaps/guide-axis/axis-guides-basic.svg @@ -0,0 +1,50 @@ + + + + + + + + + + + + + + + + +1 +2 +3 + + + + +1 +2 +3 + + + + +1 +2 +3 + +1 +2 +3 + + + + + diff --git a/tests/testthat/_snaps/guide-axis/axis-guides-check-overlap.svg b/tests/testthat/_snaps/guide-axis/axis-guides-check-overlap.svg new file mode 100644 index 0000000000..ad9d4f2f71 --- /dev/null +++ b/tests/testthat/_snaps/guide-axis/axis-guides-check-overlap.svg @@ -0,0 +1,164 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +1,000,000,000 +20,000,000,000 +10,000,000,000 +5,000,000,000 +3,000,000,000 +7,000,000,000 +15,000,000,000 +12,000,000,000 +17,000,000,000 + + + + + + + + + + + + + + + + + + + + + +1,000,000,000 +20,000,000,000 +10,000,000,000 +5,000,000,000 +3,000,000,000 +2,000,000,000 +4,000,000,000 +7,000,000,000 +6,000,000,000 +8,000,000,000 +9,000,000,000 +15,000,000,000 +12,000,000,000 +11,000,000,000 +13,000,000,000 +14,000,000,000 +17,000,000,000 +16,000,000,000 +18,000,000,000 +19,000,000,000 + + + + + + + + + + + + + + + + + + + + + +1,000,000,000 +20,000,000,000 +10,000,000,000 +5,000,000,000 +3,000,000,000 +7,000,000,000 +15,000,000,000 +12,000,000,000 +17,000,000,000 + +1,000,000,000 +20,000,000,000 +10,000,000,000 +5,000,000,000 +3,000,000,000 +2,000,000,000 +4,000,000,000 +7,000,000,000 +6,000,000,000 +8,000,000,000 +9,000,000,000 +15,000,000,000 +12,000,000,000 +11,000,000,000 +13,000,000,000 +14,000,000,000 +17,000,000,000 +16,000,000,000 +18,000,000,000 +19,000,000,000 + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/testthat/_snaps/guide-axis/axis-guides-negative-rotation.svg b/tests/testthat/_snaps/guide-axis/axis-guides-negative-rotation.svg new file mode 100644 index 0000000000..8bb60d982b --- /dev/null +++ b/tests/testthat/_snaps/guide-axis/axis-guides-negative-rotation.svg @@ -0,0 +1,106 @@ + + + + + + + + + + + + + + + + + + + + + + + +1,000 +2,000 +3,000 +4,000 +5,000 +6,000 +7,000 +8,000 +9,000 +10,000 + + + + + + + + + + + +1,000 +2,000 +3,000 +4,000 +5,000 +6,000 +7,000 +8,000 +9,000 +10,000 + + + + + + + + + + + +1,000 +2,000 +3,000 +4,000 +5,000 +6,000 +7,000 +8,000 +9,000 +10,000 + +1,000 +2,000 +3,000 +4,000 +5,000 +6,000 +7,000 +8,000 +9,000 +10,000 + + + + + + + + + + + + diff --git a/tests/testthat/_snaps/guide-axis/axis-guides-positive-rotation.svg b/tests/testthat/_snaps/guide-axis/axis-guides-positive-rotation.svg new file mode 100644 index 0000000000..61084a3df1 --- /dev/null +++ b/tests/testthat/_snaps/guide-axis/axis-guides-positive-rotation.svg @@ -0,0 +1,106 @@ + + + + + + + + + + + + + + + + + + + + + + + +1,000 +2,000 +3,000 +4,000 +5,000 +6,000 +7,000 +8,000 +9,000 +10,000 + + + + + + + + + + + +1,000 +2,000 +3,000 +4,000 +5,000 +6,000 +7,000 +8,000 +9,000 +10,000 + + + + + + + + + + + +1,000 +2,000 +3,000 +4,000 +5,000 +6,000 +7,000 +8,000 +9,000 +10,000 + +1,000 +2,000 +3,000 +4,000 +5,000 +6,000 +7,000 +8,000 +9,000 +10,000 + + + + + + + + + + + + diff --git a/tests/testthat/_snaps/guide-axis/axis-guides-text-dodged-into-rows-cols.svg b/tests/testthat/_snaps/guide-axis/axis-guides-text-dodged-into-rows-cols.svg new file mode 100644 index 0000000000..0af3c6bcc1 --- /dev/null +++ b/tests/testthat/_snaps/guide-axis/axis-guides-text-dodged-into-rows-cols.svg @@ -0,0 +1,106 @@ + + + + + + + + + + + + + + + + + + + + + + + +1,000,000,000 +3,000,000,000 +5,000,000,000 +7,000,000,000 +9,000,000,000 +2,000,000,000 +4,000,000,000 +6,000,000,000 +8,000,000,000 +10,000,000,000 + + + + + + + + + + + +1,000,000,000 +3,000,000,000 +5,000,000,000 +7,000,000,000 +9,000,000,000 +2,000,000,000 +4,000,000,000 +6,000,000,000 +8,000,000,000 +10,000,000,000 + + + + + + + + + + + +1,000,000,000 +3,000,000,000 +5,000,000,000 +7,000,000,000 +9,000,000,000 +2,000,000,000 +4,000,000,000 +6,000,000,000 +8,000,000,000 +10,000,000,000 + +1,000,000,000 +3,000,000,000 +5,000,000,000 +7,000,000,000 +9,000,000,000 +2,000,000,000 +4,000,000,000 +6,000,000,000 +8,000,000,000 +10,000,000,000 + + + + + + + + + + + + diff --git a/tests/testthat/_snaps/guide-axis/axis-guides-vertical-negative-rotation.svg b/tests/testthat/_snaps/guide-axis/axis-guides-vertical-negative-rotation.svg new file mode 100644 index 0000000000..06d782e9c8 --- /dev/null +++ b/tests/testthat/_snaps/guide-axis/axis-guides-vertical-negative-rotation.svg @@ -0,0 +1,106 @@ + + + + + + + + + + + + + + + + + + + + + + + +1,000 +2,000 +3,000 +4,000 +5,000 +6,000 +7,000 +8,000 +9,000 +10,000 + + + + + + + + + + + +1,000 +2,000 +3,000 +4,000 +5,000 +6,000 +7,000 +8,000 +9,000 +10,000 + + + + + + + + + + + +1,000 +2,000 +3,000 +4,000 +5,000 +6,000 +7,000 +8,000 +9,000 +10,000 + +1,000 +2,000 +3,000 +4,000 +5,000 +6,000 +7,000 +8,000 +9,000 +10,000 + + + + + + + + + + + + diff --git a/tests/testthat/_snaps/guide-axis/axis-guides-vertical-rotation.svg b/tests/testthat/_snaps/guide-axis/axis-guides-vertical-rotation.svg new file mode 100644 index 0000000000..76adc31334 --- /dev/null +++ b/tests/testthat/_snaps/guide-axis/axis-guides-vertical-rotation.svg @@ -0,0 +1,106 @@ + + + + + + + + + + + + + + + + + + + + + + + +1,000 +2,000 +3,000 +4,000 +5,000 +6,000 +7,000 +8,000 +9,000 +10,000 + + + + + + + + + + + +1,000 +2,000 +3,000 +4,000 +5,000 +6,000 +7,000 +8,000 +9,000 +10,000 + + + + + + + + + + + +1,000 +2,000 +3,000 +4,000 +5,000 +6,000 +7,000 +8,000 +9,000 +10,000 + +1,000 +2,000 +3,000 +4,000 +5,000 +6,000 +7,000 +8,000 +9,000 +10,000 + + + + + + + + + + + + diff --git a/tests/testthat/_snaps/guide-axis/axis-guides-with-capped-ends.svg b/tests/testthat/_snaps/guide-axis/axis-guides-with-capped-ends.svg new file mode 100644 index 0000000000..393ffb017b --- /dev/null +++ b/tests/testthat/_snaps/guide-axis/axis-guides-with-capped-ends.svg @@ -0,0 +1,114 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +100 +200 +300 + +100 +200 +300 +400 + + + + + + + + + +100 +200 +300 +400 + + + + +100 +200 +300 +hp +disp +axis guides with capped ends + + diff --git a/tests/testthat/_snaps/guide-axis/axis-guides-zero-breaks.svg b/tests/testthat/_snaps/guide-axis/axis-guides-zero-breaks.svg new file mode 100644 index 0000000000..a89bf8e8f1 --- /dev/null +++ b/tests/testthat/_snaps/guide-axis/axis-guides-zero-breaks.svg @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + diff --git a/tests/testthat/_snaps/guide-axis/axis-guides-zero-rotation.svg b/tests/testthat/_snaps/guide-axis/axis-guides-zero-rotation.svg new file mode 100644 index 0000000000..8d5dad8f65 --- /dev/null +++ b/tests/testthat/_snaps/guide-axis/axis-guides-zero-rotation.svg @@ -0,0 +1,106 @@ + + + + + + + + + + + + + + + + + + + + + + + +1,000 +2,000 +3,000 +4,000 +5,000 +6,000 +7,000 +8,000 +9,000 +10,000 + + + + + + + + + + + +1,000 +2,000 +3,000 +4,000 +5,000 +6,000 +7,000 +8,000 +9,000 +10,000 + + + + + + + + + + + +1,000 +2,000 +3,000 +4,000 +5,000 +6,000 +7,000 +8,000 +9,000 +10,000 + +1,000 +2,000 +3,000 +4,000 +5,000 +6,000 +7,000 +8,000 +9,000 +10,000 + + + + + + + + + + + + diff --git a/tests/testthat/_snaps/guide-axis/guide-axis-customization.svg b/tests/testthat/_snaps/guide-axis/guide-axis-customization.svg new file mode 100644 index 0000000000..8bce541c00 --- /dev/null +++ b/tests/testthat/_snaps/guide-axis/guide-axis-customization.svg @@ -0,0 +1,298 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +20 +40 +30 + + + + + + +20 +40 +30 + + + + + + + +2seater +midsize +pickup +suv +compact +minivan +subcompact +class +hwy +hwy +guide_axis() customization + + diff --git a/tests/testthat/_snaps/guide-axis/guide-axis-theta-in-cartesian-coordinates.svg b/tests/testthat/_snaps/guide-axis/guide-axis-theta-in-cartesian-coordinates.svg new file mode 100644 index 0000000000..f9c50c7388 --- /dev/null +++ b/tests/testthat/_snaps/guide-axis/guide-axis-theta-in-cartesian-coordinates.svg @@ -0,0 +1,131 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +100 +200 +300 +400 + + + + + +10 +15 +20 +25 +30 +35 + + + + + + + +10 +15 +20 +25 +30 +35 + + + + + + + +100 +200 +300 +400 + + + + + +disp +mpg +guide_axis_theta in cartesian coordinates + + diff --git a/tests/testthat/_snaps/guide-axis/guide-axis-theta-with-angle-adapting-to-theta.svg b/tests/testthat/_snaps/guide-axis/guide-axis-theta-with-angle-adapting-to-theta.svg new file mode 100644 index 0000000000..79f3e27b8c --- /dev/null +++ b/tests/testthat/_snaps/guide-axis/guide-axis-theta-with-angle-adapting-to-theta.svg @@ -0,0 +1,197 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +75 +100 +125 +150 +175 +200 +225 +250 +275 +300 +325 +350 +375 +400 +425 +450 +475 + + + + + + + + + + + + + + + + + + +75 +100 +125 +150 +175 +200 +225 +250 +275 +300 +325 +350 +375 +400 +425 +450 +475 + + + + + + + + + + + + + + + + + + + +10 +15 +20 +25 +30 +35 + + + + + + +disp +mpg +guide_axis_theta with angle adapting to theta + + diff --git a/tests/testthat/_snaps/guide-axis/guide-titles-with-coord-trans.svg b/tests/testthat/_snaps/guide-axis/guide-titles-with-coord-trans.svg new file mode 100644 index 0000000000..4a658436f4 --- /dev/null +++ b/tests/testthat/_snaps/guide-axis/guide-titles-with-coord-trans.svg @@ -0,0 +1,80 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +0.950 +0.975 +1.000 +1.025 +1.050 +0.950 +0.975 +1.000 +1.025 +1.050 + + + + + + + + + + +0.950 +0.975 +1.000 +1.025 +1.050 + + + + + +0.950 +0.975 +1.000 +1.025 +1.050 +x (secondary) +x (primary) +y (primary) +y (secondary) +guide titles with coord_trans() + + diff --git a/tests/testthat/_snaps/guide-axis/guides-specified-in-guides.svg b/tests/testthat/_snaps/guide-axis/guides-specified-in-guides.svg new file mode 100644 index 0000000000..abdec7137c --- /dev/null +++ b/tests/testthat/_snaps/guide-axis/guides-specified-in-guides.svg @@ -0,0 +1,311 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +2seater +midsize +pickup +suv +compact +minivan +subcompact +20 +40 +30 + + + + + + +20 +40 +30 + + + + + + + +2seater +midsize +pickup +suv +compact +minivan +subcompact +class +hwy +guides specified in guides() + + diff --git a/tests/testthat/_snaps/guide-axis/guides-with-minor-ticks.svg b/tests/testthat/_snaps/guide-axis/guides-with-minor-ticks.svg new file mode 100644 index 0000000000..e661ca1969 --- /dev/null +++ b/tests/testthat/_snaps/guide-axis/guides-with-minor-ticks.svg @@ -0,0 +1,139 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +10 +2 +10 +3 +10 +4 +10 +5 +100 +200 +300 +400 + + + + + + + + + + + + +100 +200 +300 +400 + + + + + + + + + +10 +2 +10 +3 +10 +4 +10 +5 +wt +disp +guides with minor ticks + + diff --git a/tests/testthat/_snaps/guide-axis/logtick-axes-with-customisation.svg b/tests/testthat/_snaps/guide-axis/logtick-axes-with-customisation.svg new file mode 100644 index 0000000000..ec99938f19 --- /dev/null +++ b/tests/testthat/_snaps/guide-axis/logtick-axes-with-customisation.svg @@ -0,0 +1,206 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +-100 +-10 +-1 +0 +1 +10 +100 + +10 +100 +1000 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +10 +100 +1000 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +-100 +-10 +-1 +0 +1 +10 +100 +Negative length pseudo-logticks with 0.1 as smallest tick +Pseudo-logticks with 1 as smallest tick +Inverted logticks with swapped tick lengths +Capped and not-expanded inverted logticks +logtick axes with customisation + + diff --git a/tests/testthat/_snaps/guide-axis/position-guide-titles.svg b/tests/testthat/_snaps/guide-axis/position-guide-titles.svg new file mode 100644 index 0000000000..51c1f1c527 --- /dev/null +++ b/tests/testthat/_snaps/guide-axis/position-guide-titles.svg @@ -0,0 +1,40 @@ + + + + + + + + + + + + + + + + + + + + + + + + + +x (secondary) +x (primary) +y (primary) +y (secondary) +position guide titles + + diff --git a/tests/testthat/_snaps/guide-axis/stacked-axes.svg b/tests/testthat/_snaps/guide-axis/stacked-axes.svg new file mode 100644 index 0000000000..9ed86845f6 --- /dev/null +++ b/tests/testthat/_snaps/guide-axis/stacked-axes.svg @@ -0,0 +1,148 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +100 +200 +300 + + + + +100 +200 +300 + +100 +200 +300 +400 + + + + + +100 +200 +300 +400 + + + + + + + + + +100 +200 +300 +400 + + + + + +100 +200 +300 +400 + + + + +100 +200 +300 + + + + +100 +200 +300 +top +bottom +left +right +stacked axes + + diff --git a/tests/testthat/_snaps/guide-axis/stacked-radial-axes.svg b/tests/testthat/_snaps/guide-axis/stacked-radial-axes.svg new file mode 100644 index 0000000000..d8399aeb76 --- /dev/null +++ b/tests/testthat/_snaps/guide-axis/stacked-radial-axes.svg @@ -0,0 +1,147 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +100 +200 +300 + + + + +100 +200 +300 + + + + +100 +200 +300 + + + + +100 +200 +300 + + + + + +100 +200 +300 +400 + + + + + +100 +200 +300 +400 + + + + + + + + + +100 +200 +300 +400 + + + + + +100 +200 +300 +400 +hp +left +right +stacked radial axes + + diff --git a/tests/testthat/_snaps/guide-axis/thick-axis-lines.svg b/tests/testthat/_snaps/guide-axis/thick-axis-lines.svg new file mode 100644 index 0000000000..a714b00dfd --- /dev/null +++ b/tests/testthat/_snaps/guide-axis/thick-axis-lines.svg @@ -0,0 +1,91 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +10 +15 +20 +25 +30 +35 + + + + + + + + + + + +2 +3 +4 +5 +wt +mpg +thick axis lines + + diff --git a/tests/testthat/_snaps/guide-colorbar/combined-colour-and-fill-aesthetics.svg b/tests/testthat/_snaps/guide-colorbar/combined-colour-and-fill-aesthetics.svg new file mode 100644 index 0000000000..75f9b641d3 --- /dev/null +++ b/tests/testthat/_snaps/guide-colorbar/combined-colour-and-fill-aesthetics.svg @@ -0,0 +1,84 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + +5.0 +5.5 +6.0 +6.5 +7.0 + + + + + + + + + + +1.0 +1.5 +2.0 +2.5 +3.0 +x +y + +value + + + + + + + + + + + + + + + +1 +2 +3 +4 +5 +6 +7 +combined colour and fill aesthetics + + diff --git a/tests/testthat/_snaps/guide-colorbar/customized-colorbar.svg b/tests/testthat/_snaps/guide-colorbar/customized-colorbar.svg new file mode 100644 index 0000000000..2f0188be7a --- /dev/null +++ b/tests/testthat/_snaps/guide-colorbar/customized-colorbar.svg @@ -0,0 +1,80 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + +0.0 +0.5 +1.0 +1.5 +2.0 + + + + + + + + + + +0.0 +0.5 +1.0 +1.5 +2.0 +x +x + +x + + + + + + + + + + + + +0.0 +0.5 +1.0 +1.5 +2.0 +white-to-red semitransparent colorbar, long thick black ticks, green frame +customized colorbar + + diff --git a/tests/testthat/_snaps/guide-colorbar/white-to-red-colorbar-white-ticks-no-frame.svg b/tests/testthat/_snaps/guide-colorbar/white-to-red-colorbar-white-ticks-no-frame.svg new file mode 100644 index 0000000000..068063c944 --- /dev/null +++ b/tests/testthat/_snaps/guide-colorbar/white-to-red-colorbar-white-ticks-no-frame.svg @@ -0,0 +1,78 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + +0.0 +0.5 +1.0 +1.5 +2.0 + + + + + + + + + + +0.0 +0.5 +1.0 +1.5 +2.0 +x +x + +x + + + + + + + + + + + +0.0 +0.5 +1.0 +1.5 +2.0 +white-to-red colorbar, white ticks, no frame + + diff --git a/tests/testthat/_snaps/guide-legend/enlarged-guides.svg b/tests/testthat/_snaps/guide-legend/enlarged-guides.svg new file mode 100644 index 0000000000..69c7aaba61 --- /dev/null +++ b/tests/testthat/_snaps/guide-legend/enlarged-guides.svg @@ -0,0 +1,96 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +0.0 +0.5 +1.0 +1.5 +2.0 + + + + + + + + + + +0.0 +0.5 +1.0 +1.5 +2.0 +x +x + +x + + + + + + + + + + +0.0 +0.5 +1.0 +1.5 +2.0 + +2 - x + + + + + + + + + + +0.0 +0.5 +1.0 +1.5 +2.0 +enlarged guides + + diff --git a/tests/testthat/_snaps/guide-legend/horizontal-legend-direction.svg b/tests/testthat/_snaps/guide-legend/horizontal-legend-direction.svg new file mode 100644 index 0000000000..ed4b386f0b --- /dev/null +++ b/tests/testthat/_snaps/guide-legend/horizontal-legend-direction.svg @@ -0,0 +1,115 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +10 +15 +20 +25 +30 +35 + + + + + + + + + + +100 +200 +300 +400 +disp +mpg + +drat + + + + + + + + + +3.0 +3.5 +4.0 +4.5 + +factor(cyl) + + + + + + +4 +6 +8 +horizontal legend direction + + diff --git a/tests/testthat/_snaps/guide-legend/left-aligned-legend-key.svg b/tests/testthat/_snaps/guide-legend/left-aligned-legend-key.svg new file mode 100644 index 0000000000..fc84b274ea --- /dev/null +++ b/tests/testthat/_snaps/guide-legend/left-aligned-legend-key.svg @@ -0,0 +1,119 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +10 +15 +20 +25 +30 +35 + + + + + + + + + + + +100 +200 +300 +400 +disp +mpg + + + + + + + +4 +6 +8 +left aligned legend key + + diff --git a/tests/testthat/_snaps/guide-legend/legend-byrow-true.svg b/tests/testthat/_snaps/guide-legend/legend-byrow-true.svg new file mode 100644 index 0000000000..804a4a1dbe --- /dev/null +++ b/tests/testthat/_snaps/guide-legend/legend-byrow-true.svg @@ -0,0 +1,75 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +2 +4 +6 + + + + + + +2 +4 +6 +x +x + +f + + + + + + + + + + + + +A +B +C +D +E +F +legend.byrow = TRUE + + diff --git a/tests/testthat/_snaps/guide-legend/legend-key-justification.svg b/tests/testthat/_snaps/guide-legend/legend-key-justification.svg new file mode 100644 index 0000000000..25880c7d29 --- /dev/null +++ b/tests/testthat/_snaps/guide-legend/legend-key-justification.svg @@ -0,0 +1,136 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +100 +200 +300 +400 + + + + + + + + + + +10 +15 +20 +25 +30 +35 +mpg +disp + +drat + + + + + + +3 +4 +5 + +factor(cyl) + + + + + + +one line +up +to +four +lines +up +to +five +whole +lines +legend key justification + + diff --git a/tests/testthat/_snaps/guide-legend/legend-with-widely-spaced-keys.svg b/tests/testthat/_snaps/guide-legend/legend-with-widely-spaced-keys.svg new file mode 100644 index 0000000000..ee015eb369 --- /dev/null +++ b/tests/testthat/_snaps/guide-legend/legend-with-widely-spaced-keys.svg @@ -0,0 +1,109 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +10 +15 +20 +25 +30 +35 + + + + + + + + + + +100 +200 +300 +400 +disp +mpg + +factor(carb) + + + + + + + + + + + + +1 +2 +3 +4 +6 +8 +legend with widely spaced keys + + diff --git a/tests/testthat/_snaps/guide-legend/vertical-legend-direction.svg b/tests/testthat/_snaps/guide-legend/vertical-legend-direction.svg new file mode 100644 index 0000000000..1f44272cc8 --- /dev/null +++ b/tests/testthat/_snaps/guide-legend/vertical-legend-direction.svg @@ -0,0 +1,115 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +10 +15 +20 +25 +30 +35 + + + + + + + + + + +100 +200 +300 +400 +disp +mpg + +drat + + + + + + + + + +3.0 +3.5 +4.0 +4.5 + +factor(cyl) + + + + + + +4 +6 +8 +vertical legend direction + + diff --git a/tests/testthat/_snaps/guides/facet-grid-legend-on-bottom.svg b/tests/testthat/_snaps/guides/facet-grid-legend-on-bottom.svg new file mode 100644 index 0000000000..349070f266 --- /dev/null +++ b/tests/testthat/_snaps/guides/facet-grid-legend-on-bottom.svg @@ -0,0 +1,69 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +1 + + + + + + + + + + +1 + + + +very long axis label +very long axis label + +x +y + +z + + +a +title of plot + + diff --git a/tests/testthat/_snaps/guides/facet-grid-legend-on-left.svg b/tests/testthat/_snaps/guides/facet-grid-legend-on-left.svg new file mode 100644 index 0000000000..92080acc70 --- /dev/null +++ b/tests/testthat/_snaps/guides/facet-grid-legend-on-left.svg @@ -0,0 +1,69 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +1 + + + + + + + + + + +1 + + + +very long axis label +very long axis label + +x +y + +z + + +a +title of plot + + diff --git a/tests/testthat/_snaps/guides/facet-grid-legend-on-right.svg b/tests/testthat/_snaps/guides/facet-grid-legend-on-right.svg new file mode 100644 index 0000000000..20701db5a7 --- /dev/null +++ b/tests/testthat/_snaps/guides/facet-grid-legend-on-right.svg @@ -0,0 +1,69 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +1 + + + + + + + + + + +1 + + + +very long axis label +very long axis label + +x +y + +z + + +a +title of plot + + diff --git a/tests/testthat/_snaps/guides/facet-grid-legend-on-top.svg b/tests/testthat/_snaps/guides/facet-grid-legend-on-top.svg new file mode 100644 index 0000000000..544b4fb26e --- /dev/null +++ b/tests/testthat/_snaps/guides/facet-grid-legend-on-top.svg @@ -0,0 +1,69 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +1 + + + + + + + + + + +1 + + + +very long axis label +very long axis label + +x +y + +z + + +a +title of plot + + diff --git a/tests/testthat/_snaps/guides/facet-wrap-legend-on-bottom.svg b/tests/testthat/_snaps/guides/facet-wrap-legend-on-bottom.svg new file mode 100644 index 0000000000..a4e02c2d75 --- /dev/null +++ b/tests/testthat/_snaps/guides/facet-wrap-legend-on-bottom.svg @@ -0,0 +1,58 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +1 + + + +very long axis label +very long axis label + +x +y + +z + + +a +title of plot + + diff --git a/tests/testthat/_snaps/guides/facet-wrap-legend-on-left.svg b/tests/testthat/_snaps/guides/facet-wrap-legend-on-left.svg new file mode 100644 index 0000000000..236ad6d406 --- /dev/null +++ b/tests/testthat/_snaps/guides/facet-wrap-legend-on-left.svg @@ -0,0 +1,58 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +1 + + + +very long axis label +very long axis label + +x +y + +z + + +a +title of plot + + diff --git a/tests/testthat/_snaps/guides/facet-wrap-legend-on-right.svg b/tests/testthat/_snaps/guides/facet-wrap-legend-on-right.svg new file mode 100644 index 0000000000..0921550bd3 --- /dev/null +++ b/tests/testthat/_snaps/guides/facet-wrap-legend-on-right.svg @@ -0,0 +1,58 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +1 + + + +very long axis label +very long axis label + +x +y + +z + + +a +title of plot + + diff --git a/tests/testthat/_snaps/guides/facet-wrap-legend-on-top.svg b/tests/testthat/_snaps/guides/facet-wrap-legend-on-top.svg new file mode 100644 index 0000000000..fa05d59109 --- /dev/null +++ b/tests/testthat/_snaps/guides/facet-wrap-legend-on-top.svg @@ -0,0 +1,58 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +1 + + + +very long axis label +very long axis label + +x +y + +z + + +a +title of plot + + diff --git a/tests/testthat/_snaps/guides/guide-bins-can-remove-axis.svg b/tests/testthat/_snaps/guides/guide-bins-can-remove-axis.svg new file mode 100644 index 0000000000..c58ac5df8c --- /dev/null +++ b/tests/testthat/_snaps/guides/guide-bins-can-remove-axis.svg @@ -0,0 +1,73 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + +5.0 +5.5 +6.0 +6.5 +7.0 + + + + + + + + + + +1.0 +1.5 +2.0 +2.5 +3.0 +x +y + +x + + + + + + + + +1.5 +2.0 +2.5 +guide_bins can remove axis + + diff --git a/tests/testthat/_snaps/guides/guide-bins-can-show-arrows.svg b/tests/testthat/_snaps/guides/guide-bins-can-show-arrows.svg new file mode 100644 index 0000000000..442087e8c3 --- /dev/null +++ b/tests/testthat/_snaps/guides/guide-bins-can-show-arrows.svg @@ -0,0 +1,79 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + +5.0 +5.5 +6.0 +6.5 +7.0 + + + + + + + + + + +1.0 +1.5 +2.0 +2.5 +3.0 +x +y + +x + + + + + + + + + + + + + + +1.5 +2.0 +2.5 +guide_bins can show arrows + + diff --git a/tests/testthat/_snaps/guides/guide-bins-can-show-limits.svg b/tests/testthat/_snaps/guides/guide-bins-can-show-limits.svg new file mode 100644 index 0000000000..d2271a703e --- /dev/null +++ b/tests/testthat/_snaps/guides/guide-bins-can-show-limits.svg @@ -0,0 +1,81 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + +5.0 +5.5 +6.0 +6.5 +7.0 + + + + + + + + + + +1.0 +1.5 +2.0 +2.5 +3.0 +x +y + +x + + + + + + + + + + + + + + +1 +1.5 +2.0 +2.5 +3 +guide_bins can show limits + + diff --git a/tests/testthat/_snaps/guides/guide-bins-can-show-ticks-and-transparancy.svg b/tests/testthat/_snaps/guides/guide-bins-can-show-ticks-and-transparancy.svg new file mode 100644 index 0000000000..824123d482 --- /dev/null +++ b/tests/testthat/_snaps/guides/guide-bins-can-show-ticks-and-transparancy.svg @@ -0,0 +1,73 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + +5.0 +5.5 +6.0 +6.5 +7.0 + + + + + + + + + +1 +2 +3 +4 +x +y + +x + + + + + + + + + + +1.5 +2.0 +3.0 +guide_bins can show ticks and transparancy + + diff --git a/tests/testthat/_snaps/guides/guide-bins-looks-as-it-should.svg b/tests/testthat/_snaps/guides/guide-bins-looks-as-it-should.svg new file mode 100644 index 0000000000..14885226bf --- /dev/null +++ b/tests/testthat/_snaps/guides/guide-bins-looks-as-it-should.svg @@ -0,0 +1,77 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + +5.0 +5.5 +6.0 +6.5 +7.0 + + + + + + + + + + +1.0 +1.5 +2.0 +2.5 +3.0 +x +y + +x + + + + + + + + + + + + +1.5 +2.0 +2.5 +guide_bins looks as it should + + diff --git a/tests/testthat/_snaps/guides/guide-bins-sets-labels-when-limits-is-in-breaks.svg b/tests/testthat/_snaps/guides/guide-bins-sets-labels-when-limits-is-in-breaks.svg new file mode 100644 index 0000000000..aadb4a0b81 --- /dev/null +++ b/tests/testthat/_snaps/guides/guide-bins-sets-labels-when-limits-is-in-breaks.svg @@ -0,0 +1,312 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +20 +30 +40 + + + + + + + + + +10 +15 +20 +25 +30 +35 +cty +hwy + +year + + + + + + + + + + + + + + + + +1 +2 +3 +4 +5 +guide_bins sets labels when limits is in breaks + + diff --git a/tests/testthat/_snaps/guides/guide-bins-understands-coinciding-limits-and-bins-2.svg b/tests/testthat/_snaps/guides/guide-bins-understands-coinciding-limits-and-bins-2.svg new file mode 100644 index 0000000000..4139ddca47 --- /dev/null +++ b/tests/testthat/_snaps/guides/guide-bins-understands-coinciding-limits-and-bins-2.svg @@ -0,0 +1,312 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +20 +30 +40 + + + + + + + + + +10 +15 +20 +25 +30 +35 +cty +hwy + +year + + + + + + + + + + + + + + + + +2000 +2002 +2004 +2006 +2008 +guide_bins understands coinciding limits and bins 2 + + diff --git a/tests/testthat/_snaps/guides/guide-bins-understands-coinciding-limits-and-bins-3.svg b/tests/testthat/_snaps/guides/guide-bins-understands-coinciding-limits-and-bins-3.svg new file mode 100644 index 0000000000..5a89f75984 --- /dev/null +++ b/tests/testthat/_snaps/guides/guide-bins-understands-coinciding-limits-and-bins-3.svg @@ -0,0 +1,314 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +20 +30 +40 + + + + + + + + + +10 +15 +20 +25 +30 +35 +cty +hwy + +year + + + + + + + + + + + + + + + + + +1999 +2000 +2002 +2004 +2006 +2008 +guide_bins understands coinciding limits and bins 3 + + diff --git a/tests/testthat/_snaps/guides/guide-bins-understands-coinciding-limits-and-bins.svg b/tests/testthat/_snaps/guides/guide-bins-understands-coinciding-limits-and-bins.svg new file mode 100644 index 0000000000..db8bce73dd --- /dev/null +++ b/tests/testthat/_snaps/guides/guide-bins-understands-coinciding-limits-and-bins.svg @@ -0,0 +1,312 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +20 +30 +40 + + + + + + + + + +10 +15 +20 +25 +30 +35 +cty +hwy + +year + + + + + + + + + + + + + + + + +1999 +2000 +2002 +2004 +2006 +guide_bins understands coinciding limits and bins + + diff --git a/tests/testthat/_snaps/guides/guide-bins-work-horizontally.svg b/tests/testthat/_snaps/guides/guide-bins-work-horizontally.svg new file mode 100644 index 0000000000..587e0b20c3 --- /dev/null +++ b/tests/testthat/_snaps/guides/guide-bins-work-horizontally.svg @@ -0,0 +1,77 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + +5.0 +5.5 +6.0 +6.5 +7.0 + + + + + + + + + + +1.0 +1.5 +2.0 +2.5 +3.0 +x +y + +x + + + + + + + + + + + + +1.5 +2.0 +2.5 +guide_bins work horizontally + + diff --git a/tests/testthat/_snaps/guides/guide-colorsteps-sets-labels-when-limits-is-in-breaks.svg b/tests/testthat/_snaps/guides/guide-colorsteps-sets-labels-when-limits-is-in-breaks.svg new file mode 100644 index 0000000000..9575c4f9f9 --- /dev/null +++ b/tests/testthat/_snaps/guides/guide-colorsteps-sets-labels-when-limits-is-in-breaks.svg @@ -0,0 +1,301 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +20 +30 +40 + + + + + + + + + +10 +15 +20 +25 +30 +35 +cty +hwy + +year + + + + + +1 +2 +3 +4 +5 +guide_colorsteps sets labels when limits is in breaks + + diff --git a/tests/testthat/_snaps/guides/guide-colorsteps-understands-coinciding-limits-and-bins-2.svg b/tests/testthat/_snaps/guides/guide-colorsteps-understands-coinciding-limits-and-bins-2.svg new file mode 100644 index 0000000000..f1855cedf9 --- /dev/null +++ b/tests/testthat/_snaps/guides/guide-colorsteps-understands-coinciding-limits-and-bins-2.svg @@ -0,0 +1,301 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +20 +30 +40 + + + + + + + + + +10 +15 +20 +25 +30 +35 +cty +hwy + +year + + + + + +2000 +2002 +2004 +2006 +2008 +guide_colorsteps understands coinciding limits and bins 2 + + diff --git a/tests/testthat/_snaps/guides/guide-colorsteps-understands-coinciding-limits-and-bins-3.svg b/tests/testthat/_snaps/guides/guide-colorsteps-understands-coinciding-limits-and-bins-3.svg new file mode 100644 index 0000000000..3682f1b2e0 --- /dev/null +++ b/tests/testthat/_snaps/guides/guide-colorsteps-understands-coinciding-limits-and-bins-3.svg @@ -0,0 +1,302 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +20 +30 +40 + + + + + + + + + +10 +15 +20 +25 +30 +35 +cty +hwy + +year + + + + + +1999 +2000 +2002 +2004 +2006 +2008 +guide_colorsteps understands coinciding limits and bins 3 + + diff --git a/tests/testthat/_snaps/guides/guide-colorsteps-understands-coinciding-limits-and-bins.svg b/tests/testthat/_snaps/guides/guide-colorsteps-understands-coinciding-limits-and-bins.svg new file mode 100644 index 0000000000..61350097bc --- /dev/null +++ b/tests/testthat/_snaps/guides/guide-colorsteps-understands-coinciding-limits-and-bins.svg @@ -0,0 +1,301 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +20 +30 +40 + + + + + + + + + +10 +15 +20 +25 +30 +35 +cty +hwy + +year + + + + + +1999 +2000 +2002 +2004 +2006 +guide_colorsteps understands coinciding limits and bins + + diff --git a/tests/testthat/_snaps/guides/guide-coloursteps-can-have-bins-relative-to-binsize.svg b/tests/testthat/_snaps/guides/guide-coloursteps-can-have-bins-relative-to-binsize.svg new file mode 100644 index 0000000000..274ad91fbe --- /dev/null +++ b/tests/testthat/_snaps/guides/guide-coloursteps-can-have-bins-relative-to-binsize.svg @@ -0,0 +1,67 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + +5.0 +5.5 +6.0 +6.5 +7.0 + + + + + + + + + +1 +2 +3 +4 +x +y + +x + + + + +1.5 +2.0 +3.0 +guide_coloursteps can have bins relative to binsize + + diff --git a/tests/testthat/_snaps/guides/guide-coloursteps-can-show-limits.svg b/tests/testthat/_snaps/guides/guide-coloursteps-can-show-limits.svg new file mode 100644 index 0000000000..3601641e36 --- /dev/null +++ b/tests/testthat/_snaps/guides/guide-coloursteps-can-show-limits.svg @@ -0,0 +1,69 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + +5.0 +5.5 +6.0 +6.5 +7.0 + + + + + + + + + +1 +2 +3 +4 +x +y + +x + + + + +1 +1.5 +2.0 +3.0 +4 +guide_coloursteps can show limits + + diff --git a/tests/testthat/_snaps/guides/guide-coloursteps-looks-as-it-should.svg b/tests/testthat/_snaps/guides/guide-coloursteps-looks-as-it-should.svg new file mode 100644 index 0000000000..9a28d6ba0f --- /dev/null +++ b/tests/testthat/_snaps/guides/guide-coloursteps-looks-as-it-should.svg @@ -0,0 +1,67 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + +5.0 +5.5 +6.0 +6.5 +7.0 + + + + + + + + + +1 +2 +3 +4 +x +y + +x + + + + +1.5 +2.0 +3.0 +guide_coloursteps looks as it should + + diff --git a/tests/testthat/_snaps/guides/guide-custom-with-void-theme.svg b/tests/testthat/_snaps/guides/guide-custom-with-void-theme.svg new file mode 100644 index 0000000000..12b96037a8 --- /dev/null +++ b/tests/testthat/_snaps/guides/guide-custom-with-void-theme.svg @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + + + + + + + + + +custom guide + +guide_custom with void theme + + diff --git a/tests/testthat/_snaps/guides/guide-title-and-text-positioning-and-alignment-via-themes.svg b/tests/testthat/_snaps/guides/guide-title-and-text-positioning-and-alignment-via-themes.svg new file mode 100644 index 0000000000..97e54fd3fb --- /dev/null +++ b/tests/testthat/_snaps/guides/guide-title-and-text-positioning-and-alignment-via-themes.svg @@ -0,0 +1,89 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + +0 +25 +50 +75 +100 + + + + + + + + + + +0 +25 +50 +75 +100 +x +x + +x + + + + + + + + + +25 +50 +75 +100 + +x + + + + + + + + +25 +50 +75 +100 +guide title and text positioning and alignment via themes + + diff --git a/tests/testthat/_snaps/guides/horizontal-gap-of-1cm-between-guide-and-guide-text.svg b/tests/testthat/_snaps/guides/horizontal-gap-of-1cm-between-guide-and-guide-text.svg new file mode 100644 index 0000000000..c3591ec4e8 --- /dev/null +++ b/tests/testthat/_snaps/guides/horizontal-gap-of-1cm-between-guide-and-guide-text.svg @@ -0,0 +1,89 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + +1.0 +1.5 +2.0 +2.5 +3.0 + + + + + + + + + + +1.0 +1.5 +2.0 +2.5 +3.0 +x +y + +y + + + + + + + + + + + +1.0 +1.5 +2.0 +2.5 +3.0 + +factor(x) + + + + + + +1 +2 +3 +horizontal gap of 1cm between guide and guide text + + diff --git a/tests/testthat/_snaps/guides/legend-inside-plot-bottom-left-of-legend-at-center.svg b/tests/testthat/_snaps/guides/legend-inside-plot-bottom-left-of-legend-at-center.svg new file mode 100644 index 0000000000..86ccc60920 --- /dev/null +++ b/tests/testthat/_snaps/guides/legend-inside-plot-bottom-left-of-legend-at-center.svg @@ -0,0 +1,85 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + +0.00 +0.25 +0.50 +0.75 +1.00 + + + + + + + + +A +B +C +x +y + +1:3 + + + + + + + + + + + +1.0 +1.5 +2.0 +2.5 +3.0 + +x + + + + + + +A +B +C +legend inside plot, bottom left of legend at center + + diff --git a/tests/testthat/_snaps/guides/legend-inside-plot-bottom-left.svg b/tests/testthat/_snaps/guides/legend-inside-plot-bottom-left.svg new file mode 100644 index 0000000000..62b74251c4 --- /dev/null +++ b/tests/testthat/_snaps/guides/legend-inside-plot-bottom-left.svg @@ -0,0 +1,85 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + +0.00 +0.25 +0.50 +0.75 +1.00 + + + + + + + + +A +B +C +x +y + +1:3 + + + + + + + + + + + +1.0 +1.5 +2.0 +2.5 +3.0 + +x + + + + + + +A +B +C +legend inside plot, bottom left + + diff --git a/tests/testthat/_snaps/guides/legend-inside-plot-centered.svg b/tests/testthat/_snaps/guides/legend-inside-plot-centered.svg new file mode 100644 index 0000000000..58268d3724 --- /dev/null +++ b/tests/testthat/_snaps/guides/legend-inside-plot-centered.svg @@ -0,0 +1,85 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + +0.00 +0.25 +0.50 +0.75 +1.00 + + + + + + + + +A +B +C +x +y + +1:3 + + + + + + + + + + + +1.0 +1.5 +2.0 +2.5 +3.0 + +x + + + + + + +A +B +C +legend inside plot, centered + + diff --git a/tests/testthat/_snaps/guides/legend-inside-plot-multiple-positions.svg b/tests/testthat/_snaps/guides/legend-inside-plot-multiple-positions.svg new file mode 100644 index 0000000000..22481fa7cf --- /dev/null +++ b/tests/testthat/_snaps/guides/legend-inside-plot-multiple-positions.svg @@ -0,0 +1,85 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + +0.00 +0.25 +0.50 +0.75 +1.00 + + + + + + + + +A +B +C +x +y + +x + + + + + + +A +B +C + +1:3 + + + + + + + + + + + +1.0 +1.5 +2.0 +2.5 +3.0 +legend inside plot, multiple positions + + diff --git a/tests/testthat/_snaps/guides/legend-inside-plot-top-right.svg b/tests/testthat/_snaps/guides/legend-inside-plot-top-right.svg new file mode 100644 index 0000000000..4411920b60 --- /dev/null +++ b/tests/testthat/_snaps/guides/legend-inside-plot-top-right.svg @@ -0,0 +1,85 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + +0.00 +0.25 +0.50 +0.75 +1.00 + + + + + + + + +A +B +C +x +y + +1:3 + + + + + + + + + + + +1.0 +1.5 +2.0 +2.5 +3.0 + +x + + + + + + +A +B +C +legend inside plot, top right + + diff --git a/tests/testthat/_snaps/guides/legend-on-bottom.svg b/tests/testthat/_snaps/guides/legend-on-bottom.svg new file mode 100644 index 0000000000..f48c98f982 --- /dev/null +++ b/tests/testthat/_snaps/guides/legend-on-bottom.svg @@ -0,0 +1,47 @@ + + + + + + + + + + + + + + + + + + + + + + + + + +very long axis label + + +very long axis label +x +y + +z + + +a +title of plot + + diff --git a/tests/testthat/_snaps/guides/legend-on-left.svg b/tests/testthat/_snaps/guides/legend-on-left.svg new file mode 100644 index 0000000000..f5abc2cfe3 --- /dev/null +++ b/tests/testthat/_snaps/guides/legend-on-left.svg @@ -0,0 +1,47 @@ + + + + + + + + + + + + + + + + + + + + + + + + + +very long axis label + + +very long axis label +x +y + +z + + +a +title of plot + + diff --git a/tests/testthat/_snaps/guides/legend-on-right.svg b/tests/testthat/_snaps/guides/legend-on-right.svg new file mode 100644 index 0000000000..e212895aea --- /dev/null +++ b/tests/testthat/_snaps/guides/legend-on-right.svg @@ -0,0 +1,47 @@ + + + + + + + + + + + + + + + + + + + + + + + + + +very long axis label + + +very long axis label +x +y + +z + + +a +title of plot + + diff --git a/tests/testthat/_snaps/guides/legend-on-top.svg b/tests/testthat/_snaps/guides/legend-on-top.svg new file mode 100644 index 0000000000..550a22bb1c --- /dev/null +++ b/tests/testthat/_snaps/guides/legend-on-top.svg @@ -0,0 +1,47 @@ + + + + + + + + + + + + + + + + + + + + + + + + + +very long axis label + + +very long axis label +x +y + +z + + +a +title of plot + + diff --git a/tests/testthat/_snaps/guides/legends-with-all-title-justifications.svg b/tests/testthat/_snaps/guides/legends-with-all-title-justifications.svg new file mode 100644 index 0000000000..94011b6f1f --- /dev/null +++ b/tests/testthat/_snaps/guides/legends-with-all-title-justifications.svg @@ -0,0 +1,99 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + +1.00 +1.25 +1.50 +1.75 +2.00 + + + + + + + + + + +1.00 +1.25 +1.50 +1.75 +2.00 +x +x + +colour title with hjust = 0 + + + + +1 +2 + +fill title with hjust = 1 + + + + +1 +2 + +Title +for +alpha +with +vjust=0 + + + + +1 +2 + +Title +for +shape +with +vjust=1 + + + + +1 +2 +legends with all title justifications + + diff --git a/tests/testthat/_snaps/guides/multi-line-guide-title-works.svg b/tests/testthat/_snaps/guides/multi-line-guide-title-works.svg new file mode 100644 index 0000000000..3d9c7438f5 --- /dev/null +++ b/tests/testthat/_snaps/guides/multi-line-guide-title-works.svg @@ -0,0 +1,93 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + +1.0 +1.5 +2.0 +2.5 +3.0 + + + + + + + + + + +1.0 +1.5 +2.0 +2.5 +3.0 +x +y + +the +continuous +colorscale + + + + + + + + + + + +1.0 +1.5 +2.0 +2.5 +3.0 + +the +discrete +colorscale + + + + + + +1 +2 +3 +multi-line guide title works + + diff --git a/tests/testthat/_snaps/guides/old-s3-guide-drawing-a-circle.svg b/tests/testthat/_snaps/guides/old-s3-guide-drawing-a-circle.svg new file mode 100644 index 0000000000..35af42a85f --- /dev/null +++ b/tests/testthat/_snaps/guides/old-s3-guide-drawing-a-circle.svg @@ -0,0 +1,81 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +10 +15 +20 +25 +30 +35 + + + + + + + +mpg +old S3 guide drawing a circle + + diff --git a/tests/testthat/_snaps/guides/padding-in-legend-box.svg b/tests/testthat/_snaps/guides/padding-in-legend-box.svg new file mode 100644 index 0000000000..e8776944d0 --- /dev/null +++ b/tests/testthat/_snaps/guides/padding-in-legend-box.svg @@ -0,0 +1,85 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + +0.00 +0.25 +0.50 +0.75 +1.00 + + + + + + + + +A +B +C +x +y + +1:3 + + + + + + + + + + + +1.0 +1.5 +2.0 +2.5 +3.0 + +x + + + + + + +A +B +C +padding in legend box + + diff --git a/tests/testthat/_snaps/guides/reversed-guide-bins.svg b/tests/testthat/_snaps/guides/reversed-guide-bins.svg new file mode 100644 index 0000000000..16e8f7efca --- /dev/null +++ b/tests/testthat/_snaps/guides/reversed-guide-bins.svg @@ -0,0 +1,97 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + +0 +25 +50 +75 +100 + + + + + + + + + + +0 +25 +50 +75 +100 +x +x + +x + + + + + + + + + + + + + + +100 +75 +50 +25 +0 + +x + + + + + + + + + + + + +75 +50 +25 +reversed guide_bins + + diff --git a/tests/testthat/_snaps/guides/rotated-guide-titles-and-labels.svg b/tests/testthat/_snaps/guides/rotated-guide-titles-and-labels.svg new file mode 100644 index 0000000000..875a76f42f --- /dev/null +++ b/tests/testthat/_snaps/guides/rotated-guide-titles-and-labels.svg @@ -0,0 +1,89 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + +5.0 +7.5 +10.0 +12.5 +15.0 + + + + + + + + + + +5.0 +7.5 +10.0 +12.5 +15.0 +x +x + +fill value + + + + + + +long 5 +long 10 +long 15 + +value + + + + + + + + + + + +5.0 +7.5 +10.0 +12.5 +15.0 +rotated guide titles and labels + + diff --git a/tests/testthat/_snaps/guides/stylised-guide-custom.svg b/tests/testthat/_snaps/guides/stylised-guide-custom.svg new file mode 100644 index 0000000000..85d3aa01f9 --- /dev/null +++ b/tests/testthat/_snaps/guides/stylised-guide-custom.svg @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + + + + + + + + +custom guide + +stylised guide_custom + + diff --git a/tests/testthat/_snaps/guides/vertical-gap-of-1cm-between-guide-title-and-guide.svg b/tests/testthat/_snaps/guides/vertical-gap-of-1cm-between-guide-title-and-guide.svg new file mode 100644 index 0000000000..73345206cb --- /dev/null +++ b/tests/testthat/_snaps/guides/vertical-gap-of-1cm-between-guide-title-and-guide.svg @@ -0,0 +1,89 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + +1.0 +1.5 +2.0 +2.5 +3.0 + + + + + + + + + + +1.0 +1.5 +2.0 +2.5 +3.0 +x +y + +y + + + + + + + + + + + +1.0 +1.5 +2.0 +2.5 +3.0 + +factor(x) + + + + + + +1 +2 +3 +vertical gap of 1cm between guide title and guide + + diff --git a/tests/testthat/_snaps/labels/defaults.svg b/tests/testthat/_snaps/labels/defaults.svg new file mode 100644 index 0000000000..c6ab6410e1 --- /dev/null +++ b/tests/testthat/_snaps/labels/defaults.svg @@ -0,0 +1,64 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +2.5 +5.0 +7.5 +10.0 + + + + + + + + +2.5 +5.0 +7.5 +10.0 +x +y +defaults +Fig. A) + + diff --git a/tests/testthat/_snaps/labels/tag-in-margin.svg b/tests/testthat/_snaps/labels/tag-in-margin.svg new file mode 100644 index 0000000000..9a60fe22f9 --- /dev/null +++ b/tests/testthat/_snaps/labels/tag-in-margin.svg @@ -0,0 +1,79 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +2.5 +5.0 +7.5 +10.0 + + + + + + + + +2.5 +5.0 +7.5 +10.0 +x +y +Tag in margin +Fig. A) + + diff --git a/tests/testthat/_snaps/labels/tag-in-panel-as-character.svg b/tests/testthat/_snaps/labels/tag-in-panel-as-character.svg new file mode 100644 index 0000000000..3f6d287ae2 --- /dev/null +++ b/tests/testthat/_snaps/labels/tag-in-panel-as-character.svg @@ -0,0 +1,79 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +2.5 +5.0 +7.5 +10.0 + + + + + + + + +2.5 +5.0 +7.5 +10.0 +x +y +Tag in panel, as character +Fig. A) + + diff --git a/tests/testthat/_snaps/labels/tag-in-panel-as-numeric.svg b/tests/testthat/_snaps/labels/tag-in-panel-as-numeric.svg new file mode 100644 index 0000000000..9798dd575e --- /dev/null +++ b/tests/testthat/_snaps/labels/tag-in-panel-as-numeric.svg @@ -0,0 +1,79 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +2.5 +5.0 +7.5 +10.0 + + + + + + + + +2.5 +5.0 +7.5 +10.0 +x +y +Tag in panel, as numeric +Fig. A) + + diff --git a/tests/testthat/_snaps/labels/tag-in-plot-as-character.svg b/tests/testthat/_snaps/labels/tag-in-plot-as-character.svg new file mode 100644 index 0000000000..aca8c3e6ca --- /dev/null +++ b/tests/testthat/_snaps/labels/tag-in-plot-as-character.svg @@ -0,0 +1,79 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +2.5 +5.0 +7.5 +10.0 + + + + + + + + +2.5 +5.0 +7.5 +10.0 +x +y +Tag in plot, as character +Fig. A) + + diff --git a/tests/testthat/_snaps/labels/tag-in-plot-as-numeric.svg b/tests/testthat/_snaps/labels/tag-in-plot-as-numeric.svg new file mode 100644 index 0000000000..7d6ceebd40 --- /dev/null +++ b/tests/testthat/_snaps/labels/tag-in-plot-as-numeric.svg @@ -0,0 +1,79 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +2.5 +5.0 +7.5 +10.0 + + + + + + + + +2.5 +5.0 +7.5 +10.0 +x +y +Tag in plot, as numeric +Fig. A) + + diff --git a/tests/testthat/_snaps/legend-draw/all-legend-keys.svg b/tests/testthat/_snaps/legend-draw/all-legend-keys.svg new file mode 100644 index 0000000000..648b6dd354 --- /dev/null +++ b/tests/testthat/_snaps/legend-draw/all-legend-keys.svg @@ -0,0 +1,63 @@ + + + + + + + + + + + + +point + +abline + +rect + +polygon + +blank +boxplot + + + + + + +crossbar + + +path + +vpath + +dotplot + +linerange + +pointrange + + +smooth + +text +a +label + +a +vline + +timeseries + + + diff --git a/tests/testthat/_snaps/position-stack/area-stacking.svg b/tests/testthat/_snaps/position-stack/area-stacking.svg new file mode 100644 index 0000000000..dea44df744 --- /dev/null +++ b/tests/testthat/_snaps/position-stack/area-stacking.svg @@ -0,0 +1,61 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +0 +5 + + + + + + +1 +2 +3 +4 +x +value + +category + + + + +A +B +Area stacking + + diff --git a/tests/testthat/_snaps/scale_date/dates-along-x-default-breaks.svg b/tests/testthat/_snaps/scale_date/dates-along-x-default-breaks.svg new file mode 100644 index 0000000000..491b49ebdf --- /dev/null +++ b/tests/testthat/_snaps/scale_date/dates-along-x-default-breaks.svg @@ -0,0 +1,56 @@ + + + + + + + + + + + + + + + + + + + + + + + + + +0.00 +0.25 +0.50 +0.75 +1.00 + + + + + + + + + +Mar +Apr +May +Jun +dx +price +dates along x, default breaks + + diff --git a/tests/testthat/_snaps/scale_date/dates-along-y-default-breaks.svg b/tests/testthat/_snaps/scale_date/dates-along-y-default-breaks.svg new file mode 100644 index 0000000000..fc57a0a653 --- /dev/null +++ b/tests/testthat/_snaps/scale_date/dates-along-y-default-breaks.svg @@ -0,0 +1,56 @@ + + + + + + + + + + + + + + + + + + + + + + + + + +Mar +Apr +May +Jun + + + + + + + + + +0.00 +0.25 +0.50 +0.75 +1.00 +price +dx +dates along y, default breaks + + diff --git a/tests/testthat/_snaps/scale_date/scale-x-date-breaks-3-weeks.svg b/tests/testthat/_snaps/scale_date/scale-x-date-breaks-3-weeks.svg new file mode 100644 index 0000000000..85d5eb0bea --- /dev/null +++ b/tests/testthat/_snaps/scale_date/scale-x-date-breaks-3-weeks.svg @@ -0,0 +1,58 @@ + + + + + + + + + + + + + + + + + + + + + + + + + +0.00 +0.25 +0.50 +0.75 +1.00 + + + + + + + + + + +2012-03-12 +2012-04-02 +2012-04-23 +2012-05-14 +2012-06-04 +dx +price +scale_x_date(breaks = "3 weeks") + + diff --git a/tests/testthat/_snaps/scale_date/scale-x-date-breaks-breaks-width-2-weeks.svg b/tests/testthat/_snaps/scale_date/scale-x-date-breaks-breaks-width-2-weeks.svg new file mode 100644 index 0000000000..c1c9e62dc1 --- /dev/null +++ b/tests/testthat/_snaps/scale_date/scale-x-date-breaks-breaks-width-2-weeks.svg @@ -0,0 +1,64 @@ + + + + + + + + + + + + + + + + + + + + + + + + + +0.00 +0.25 +0.50 +0.75 +1.00 + + + + + + + + + + + + + +2012-03-05 +2012-03-19 +2012-04-02 +2012-04-16 +2012-04-30 +2012-05-14 +2012-05-28 +2012-06-11 +dx +price +scale_x_date(breaks = breaks_width("2 weeks")) + + diff --git a/tests/testthat/_snaps/scale_date/scale-x-date-labels-label-date-m-d.svg b/tests/testthat/_snaps/scale_date/scale-x-date-labels-label-date-m-d.svg new file mode 100644 index 0000000000..1fef513fa1 --- /dev/null +++ b/tests/testthat/_snaps/scale_date/scale-x-date-labels-label-date-m-d.svg @@ -0,0 +1,56 @@ + + + + + + + + + + + + + + + + + + + + + + + + + +0.00 +0.25 +0.50 +0.75 +1.00 + + + + + + + + + +03/01 +04/01 +05/01 +06/01 +dx +price +scale_x_date(labels = label_date("%m/%d")) + + diff --git a/tests/testthat/_snaps/scale_date/scale-x-date-labels-label-date-w-week.svg b/tests/testthat/_snaps/scale_date/scale-x-date-labels-label-date-w-week.svg new file mode 100644 index 0000000000..1748ed74f5 --- /dev/null +++ b/tests/testthat/_snaps/scale_date/scale-x-date-labels-label-date-w-week.svg @@ -0,0 +1,56 @@ + + + + + + + + + + + + + + + + + + + + + + + + + +0.00 +0.25 +0.50 +0.75 +1.00 + + + + + + + + + +09 +13 +18 +22 +week +price +scale_x_date(labels = label_date("%W"), "week") + + diff --git a/tests/testthat/_snaps/scale_date/scale-y-date-breaks-3-weeks.svg b/tests/testthat/_snaps/scale_date/scale-y-date-breaks-3-weeks.svg new file mode 100644 index 0000000000..db8ae9a3e6 --- /dev/null +++ b/tests/testthat/_snaps/scale_date/scale-y-date-breaks-3-weeks.svg @@ -0,0 +1,58 @@ + + + + + + + + + + + + + + + + + + + + + + + + + +2012-03-12 +2012-04-02 +2012-04-23 +2012-05-14 +2012-06-04 + + + + + + + + + + +0.00 +0.25 +0.50 +0.75 +1.00 +price +dx +scale_y_date(breaks = "3 weeks") + + diff --git a/tests/testthat/_snaps/scale_date/scale-y-date-breaks-breaks-width-2-weeks.svg b/tests/testthat/_snaps/scale_date/scale-y-date-breaks-breaks-width-2-weeks.svg new file mode 100644 index 0000000000..9bf67dbb6d --- /dev/null +++ b/tests/testthat/_snaps/scale_date/scale-y-date-breaks-breaks-width-2-weeks.svg @@ -0,0 +1,64 @@ + + + + + + + + + + + + + + + + + + + + + + + + + +2012-03-05 +2012-03-19 +2012-04-02 +2012-04-16 +2012-04-30 +2012-05-14 +2012-05-28 +2012-06-11 + + + + + + + + + + + + + +0.00 +0.25 +0.50 +0.75 +1.00 +price +dx +scale_y_date(breaks = breaks_width("2 weeks")) + + diff --git a/tests/testthat/_snaps/scales-breaks-labels/character.svg b/tests/testthat/_snaps/scales-breaks-labels/character.svg new file mode 100644 index 0000000000..71fef7b984 --- /dev/null +++ b/tests/testthat/_snaps/scales-breaks-labels/character.svg @@ -0,0 +1,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +1.0 +1.5 +2.0 +2.5 +3.0 + + + + + + + +a +b +character + + diff --git a/tests/testthat/_snaps/scales-breaks-labels/date.svg b/tests/testthat/_snaps/scales-breaks-labels/date.svg new file mode 100644 index 0000000000..d76a0f758a --- /dev/null +++ b/tests/testthat/_snaps/scales-breaks-labels/date.svg @@ -0,0 +1,82 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +1.0 +1.5 +2.0 +2.5 +3.0 + + + + + + + + + +03/01 +04/01 +05/01 +06/01 +date + + diff --git a/tests/testthat/_snaps/scales-breaks-labels/functional-limits.svg b/tests/testthat/_snaps/scales-breaks-labels/functional-limits.svg new file mode 100644 index 0000000000..e0c0a6ff98 --- /dev/null +++ b/tests/testthat/_snaps/scales-breaks-labels/functional-limits.svg @@ -0,0 +1,84 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +0 +25 +50 +75 +100 + + + + + + + + + + + + +2seater +compact +midsize +minivan +pickup +subcompact +suv +class +count + +drv + + + + + + +4 +f +r +functional limits + + diff --git a/tests/testthat/_snaps/scales-breaks-labels/no-alpha-breaks-no-legend.svg b/tests/testthat/_snaps/scales-breaks-labels/no-alpha-breaks-no-legend.svg new file mode 100644 index 0000000000..4e0e9dd658 --- /dev/null +++ b/tests/testthat/_snaps/scales-breaks-labels/no-alpha-breaks-no-legend.svg @@ -0,0 +1,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + +1.0 +1.5 +2.0 +2.5 +3.0 + + + + + + + + + + +0.950 +0.975 +1.000 +1.025 +1.050 +x +y +no alpha breaks (no legend) + + diff --git a/tests/testthat/_snaps/scales-breaks-labels/no-colour-breaks-no-legend.svg b/tests/testthat/_snaps/scales-breaks-labels/no-colour-breaks-no-legend.svg new file mode 100644 index 0000000000..d82e08c8ba --- /dev/null +++ b/tests/testthat/_snaps/scales-breaks-labels/no-colour-breaks-no-legend.svg @@ -0,0 +1,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + +1.0 +1.5 +2.0 +2.5 +3.0 + + + + + + + + + + +0.950 +0.975 +1.000 +1.025 +1.050 +x +y +no colour breaks (no legend) + + diff --git a/tests/testthat/_snaps/scales-breaks-labels/no-fill-breaks-no-legend.svg b/tests/testthat/_snaps/scales-breaks-labels/no-fill-breaks-no-legend.svg new file mode 100644 index 0000000000..191958aca4 --- /dev/null +++ b/tests/testthat/_snaps/scales-breaks-labels/no-fill-breaks-no-legend.svg @@ -0,0 +1,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + +1.0 +1.5 +2.0 +2.5 +3.0 + + + + + + + + + + +0.950 +0.975 +1.000 +1.025 +1.050 +x +y +no fill breaks (no legend) + + diff --git a/tests/testthat/_snaps/scales-breaks-labels/no-size-breaks-no-legend.svg b/tests/testthat/_snaps/scales-breaks-labels/no-size-breaks-no-legend.svg new file mode 100644 index 0000000000..10ce518e2d --- /dev/null +++ b/tests/testthat/_snaps/scales-breaks-labels/no-size-breaks-no-legend.svg @@ -0,0 +1,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + +1.0 +1.5 +2.0 +2.5 +3.0 + + + + + + + + + + +0.950 +0.975 +1.000 +1.025 +1.050 +x +y +no size breaks (no legend) + + diff --git a/tests/testthat/_snaps/scales-breaks-labels/no-x-breaks.svg b/tests/testthat/_snaps/scales-breaks-labels/no-x-breaks.svg new file mode 100644 index 0000000000..48d4654386 --- /dev/null +++ b/tests/testthat/_snaps/scales-breaks-labels/no-x-breaks.svg @@ -0,0 +1,50 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + +1.0 +1.5 +2.0 +2.5 +3.0 + + + + + +x +y +no x breaks + + diff --git a/tests/testthat/_snaps/scales-breaks-labels/no-y-breaks.svg b/tests/testthat/_snaps/scales-breaks-labels/no-y-breaks.svg new file mode 100644 index 0000000000..05111386d6 --- /dev/null +++ b/tests/testthat/_snaps/scales-breaks-labels/no-y-breaks.svg @@ -0,0 +1,50 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +1.0 +1.5 +2.0 +2.5 +3.0 +x +y +no y breaks + + diff --git a/tests/testthat/_snaps/scales-breaks-labels/numeric-exp.svg b/tests/testthat/_snaps/scales-breaks-labels/numeric-exp.svg new file mode 100644 index 0000000000..f7885d961a --- /dev/null +++ b/tests/testthat/_snaps/scales-breaks-labels/numeric-exp.svg @@ -0,0 +1,73 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +1.0 +1.5 +2.0 +2.5 +3.0 + + + + + + + + + + +1.0 +1.5 +2.0 +2.5 +3.0 +numeric-exp + + diff --git a/tests/testthat/_snaps/scales-breaks-labels/numeric-log.svg b/tests/testthat/_snaps/scales-breaks-labels/numeric-log.svg new file mode 100644 index 0000000000..12c34e845c --- /dev/null +++ b/tests/testthat/_snaps/scales-breaks-labels/numeric-log.svg @@ -0,0 +1,67 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +1 +10 +100 +1000 +10000 + + + + + + + + +8 +128 +2048 +numeric-log + + diff --git a/tests/testthat/_snaps/scales-breaks-labels/numeric-polar.svg b/tests/testthat/_snaps/scales-breaks-labels/numeric-polar.svg new file mode 100644 index 0000000000..3ab9d66e87 --- /dev/null +++ b/tests/testthat/_snaps/scales-breaks-labels/numeric-polar.svg @@ -0,0 +1,61 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +2 +1/3 + + + +1 +2 +3 + + + +numeric-polar + + diff --git a/tests/testthat/_snaps/scales-breaks-labels/numeric.svg b/tests/testthat/_snaps/scales-breaks-labels/numeric.svg new file mode 100644 index 0000000000..59fde2a92f --- /dev/null +++ b/tests/testthat/_snaps/scales-breaks-labels/numeric.svg @@ -0,0 +1,57 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +1 +2 +3 + + + + + + +1 +2 +3 +numeric + + diff --git a/tests/testthat/_snaps/sec-axis/sec-axis-custom-transform.svg b/tests/testthat/_snaps/sec-axis/sec-axis-custom-transform.svg new file mode 100644 index 0000000000..e94f6ea95e --- /dev/null +++ b/tests/testthat/_snaps/sec-axis/sec-axis-custom-transform.svg @@ -0,0 +1,110 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +0.001 +0.010 +0.100 +0.500 +0.600 +0.700 +0.800 +0.900 +1.000 + + + + + + + + + + + + + + + + + + +0.001 +0.010 +0.100 +0.250 +0.300 +0.350 +0.400 +0.450 +0.500 + + + + + +-1.0 +-0.5 +0.0 +0.5 +1.0 +x +y +sec_axis, custom transform + + diff --git a/tests/testthat/_snaps/sec-axis/sec-axis-datetime-scale.svg b/tests/testthat/_snaps/sec-axis/sec-axis-datetime-scale.svg new file mode 100644 index 0000000000..fb76b1ef79 --- /dev/null +++ b/tests/testthat/_snaps/sec-axis/sec-axis-datetime-scale.svg @@ -0,0 +1,137 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +04PM +06PM +08PM +10PM +12AM +02AM +04AM +06AM +08AM +10AM +12PM +02PM +04PM +-1.0 +-0.5 +0.0 +0.5 +1.0 + + + + + + + + + + + + + + + + + + +12AM +02AM +04AM +06AM +08AM +10AM +12PM +02PM +04PM +06PM +08PM +10PM +12AM +PST +UTC +y +sec_axis, datetime scale + + diff --git a/tests/testthat/_snaps/sec-axis/sec-axis-independent-transformations.svg b/tests/testthat/_snaps/sec-axis/sec-axis-independent-transformations.svg new file mode 100644 index 0000000000..cbfaa55e5b --- /dev/null +++ b/tests/testthat/_snaps/sec-axis/sec-axis-independent-transformations.svg @@ -0,0 +1,83 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +5 +10 +15 +20 +25 +0.2 +0.3 +0.4 +0.5 + + + + + + + +0.1 +0.2 +0.3 +Return Period +Probability +Value +sec_axis, independent transformations + + diff --git a/tests/testthat/_snaps/sec-axis/sec-axis-monotonicity-test.svg b/tests/testthat/_snaps/sec-axis/sec-axis-monotonicity-test.svg new file mode 100644 index 0000000000..abf6775b7f --- /dev/null +++ b/tests/testthat/_snaps/sec-axis/sec-axis-monotonicity-test.svg @@ -0,0 +1,85 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +0 +1 +2 +3 +4 + + + + + + + + + +1 +2 +3 +4 + + + + + +0.00 +0.25 +0.50 +0.75 +1.00 +x +y +y +sec axis monotonicity test + + diff --git a/tests/testthat/_snaps/sec-axis/sec-axis-sec-power-transform.svg b/tests/testthat/_snaps/sec-axis/sec-axis-sec-power-transform.svg new file mode 100644 index 0000000000..0a5ed00224 --- /dev/null +++ b/tests/testthat/_snaps/sec-axis/sec-axis-sec-power-transform.svg @@ -0,0 +1,94 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +-0.25 +0.00 +0.25 +0.50 +0.75 +1.00 +4.950 +4.975 +5.000 +5.025 +5.050 + + + + + + + + + +2.5 +5.0 +7.5 +10.0 +1:10 +rep(5, 10) +sec_axis, sec power transform + + diff --git a/tests/testthat/_snaps/sec-axis/sec-axis-skewed-transform.svg b/tests/testthat/_snaps/sec-axis/sec-axis-skewed-transform.svg new file mode 100644 index 0000000000..57ca1033e4 --- /dev/null +++ b/tests/testthat/_snaps/sec-axis/sec-axis-skewed-transform.svg @@ -0,0 +1,194 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +1e-01 +1e+00 +1e+01 +1e+02 +1e+03 +0.00 +0.25 +0.50 +0.75 +1.00 + + + + + + + + + + + + +1e-03 +1e-02 +1e-01 +1e+00 +1e+01 +1e+02 +1e+03 +Unit B +Unit A +y +sec_axis, skewed transform + + diff --git a/tests/testthat/_snaps/sec-axis/sec-axis-with-division.svg b/tests/testthat/_snaps/sec-axis/sec-axis-with-division.svg new file mode 100644 index 0000000000..9527441ed0 --- /dev/null +++ b/tests/testthat/_snaps/sec-axis/sec-axis-with-division.svg @@ -0,0 +1,315 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +20 +30 +40 + + + + + + +10 +15 +20 + + + + + + +2 +3 +4 +5 +6 +7 +displ +hwy +100km / L +sec_axis, with division + + diff --git a/tests/testthat/_snaps/stat-align/align-two-areas-with-cliff.svg b/tests/testthat/_snaps/stat-align/align-two-areas-with-cliff.svg new file mode 100644 index 0000000000..abb667a819 --- /dev/null +++ b/tests/testthat/_snaps/stat-align/align-two-areas-with-cliff.svg @@ -0,0 +1,63 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +0.0 +2.5 +5.0 +7.5 + + + + + + + +2 +4 +6 +x +y + +g + + + + +a +b +align two areas with cliff + + diff --git a/tests/testthat/_snaps/stat-align/align-two-areas-with-pos-neg-y.svg b/tests/testthat/_snaps/stat-align/align-two-areas-with-pos-neg-y.svg new file mode 100644 index 0000000000..49be47a3ea --- /dev/null +++ b/tests/testthat/_snaps/stat-align/align-two-areas-with-pos-neg-y.svg @@ -0,0 +1,63 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +-5 +0 +5 + + + + + + + +2 +4 +6 +8 +x +y + +g + + + + +a +b +align two areas with pos/neg y + + diff --git a/tests/testthat/_snaps/stat-align/align-two-areas.svg b/tests/testthat/_snaps/stat-align/align-two-areas.svg new file mode 100644 index 0000000000..90186a513c --- /dev/null +++ b/tests/testthat/_snaps/stat-align/align-two-areas.svg @@ -0,0 +1,63 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +0.0 +2.5 +5.0 +7.5 + + + + + + + +2 +4 +6 +x +y + +g + + + + +a +b +align two areas + + diff --git a/tests/testthat/_snaps/stat-sum/summary-with-color-and-lines.svg b/tests/testthat/_snaps/stat-sum/summary-with-color-and-lines.svg new file mode 100644 index 0000000000..0045dd43fc --- /dev/null +++ b/tests/testthat/_snaps/stat-sum/summary-with-color-and-lines.svg @@ -0,0 +1,103 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +10 +15 +20 +25 +30 +35 + + + + + + + + + + + +4 +5 +6 +7 +8 +cyl +mpg + +factor(vs) + + + + + + +0 +1 +summary with color and lines + + diff --git a/tests/testthat/_snaps/stat-sum/summary-with-crossbars-manual-grouping.svg b/tests/testthat/_snaps/stat-sum/summary-with-crossbars-manual-grouping.svg new file mode 100644 index 0000000000..ef35058862 --- /dev/null +++ b/tests/testthat/_snaps/stat-sum/summary-with-crossbars-manual-grouping.svg @@ -0,0 +1,97 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +10 +15 +20 +25 +30 +35 + + + + + + + + + + + +4 +5 +6 +7 +8 +cyl +mpg +summary with crossbars, manual grouping + + diff --git a/tests/testthat/_snaps/stat-sum/summary-with-crossbars-no-grouping.svg b/tests/testthat/_snaps/stat-sum/summary-with-crossbars-no-grouping.svg new file mode 100644 index 0000000000..ba5fd95b1b --- /dev/null +++ b/tests/testthat/_snaps/stat-sum/summary-with-crossbars-no-grouping.svg @@ -0,0 +1,97 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +10 +15 +20 +25 +30 +35 + + + + + + + + + + + +4 +5 +6 +7 +8 +cyl +mpg +summary with crossbars, no grouping + + diff --git a/tests/testthat/_snaps/theme/axes-styling.svg b/tests/testthat/_snaps/theme/axes-styling.svg new file mode 100644 index 0000000000..345db8bb68 --- /dev/null +++ b/tests/testthat/_snaps/theme/axes-styling.svg @@ -0,0 +1,100 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +2.5 +5.0 +7.5 +10.0 + +2.5 +5.0 +7.5 +10.0 + + + + + + + + + +2.5 +5.0 +7.5 +10.0 + + + + + +2.5 +5.0 +7.5 +10.0 +1:10 +1:10 +1:10 +1:10 +axes_styling + + diff --git a/tests/testthat/_snaps/theme/caption-aligned-to-entire-plot.svg b/tests/testthat/_snaps/theme/caption-aligned-to-entire-plot.svg new file mode 100644 index 0000000000..e5d8b37a9b --- /dev/null +++ b/tests/testthat/_snaps/theme/caption-aligned-to-entire-plot.svg @@ -0,0 +1,199 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +a + + + + + + + + + + +b + + + + + + + + + + +c + + + + + + + +1.0 +1.5 +2.0 +2.5 +3.0 + + + + + +1.0 +1.5 +2.0 +2.5 +3.0 + + + + + +1.0 +1.5 +2.0 +2.5 +3.0 +1.0 +1.5 +2.0 +2.5 +3.0 + + + + + +x +y + +z + + + + + + +a +b +c +Subtitle aligned to panels +Plot title aligned to panels +Caption aligned to entire plot + + diff --git a/tests/testthat/_snaps/theme/custom-strip-elements-can-render.svg b/tests/testthat/_snaps/theme/custom-strip-elements-can-render.svg new file mode 100644 index 0000000000..29efe8daca --- /dev/null +++ b/tests/testthat/_snaps/theme/custom-strip-elements-can-render.svg @@ -0,0 +1,186 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +1.0 +1.5 +2.0 +2.5 +3.0 + + + + + +1.0 +1.5 +2.0 +2.5 +3.0 + + + + + +1.0 +1.5 +2.0 +2.5 +3.0 +1.0 +1.5 +2.0 +2.5 +3.0 + + + + + +x +y +custom strip elements can render + + diff --git a/tests/testthat/_snaps/theme/height-is-3-times-width-2-column-facets.svg b/tests/testthat/_snaps/theme/height-is-3-times-width-2-column-facets.svg new file mode 100644 index 0000000000..96be65c332 --- /dev/null +++ b/tests/testthat/_snaps/theme/height-is-3-times-width-2-column-facets.svg @@ -0,0 +1,109 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +1 + + + + + + + + + + +2 + + + + + + +2 +4 +6 +8 + + + + +2 +4 +6 +8 +2 +4 +6 +8 + + + + +height is 3 times width, 2 column facets + + diff --git a/tests/testthat/_snaps/theme/height-is-3-times-width-2-row-facets.svg b/tests/testthat/_snaps/theme/height-is-3-times-width-2-row-facets.svg new file mode 100644 index 0000000000..c13fddecd9 --- /dev/null +++ b/tests/testthat/_snaps/theme/height-is-3-times-width-2-row-facets.svg @@ -0,0 +1,109 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +1 + + + + + + + + + + +2 + + + + + + +2 +4 +6 +8 +2 +4 +6 +8 + + + + +2 +4 +6 +8 + + + + +height is 3 times width, 2 row facets + + diff --git a/tests/testthat/_snaps/theme/height-is-3-times-width-2-wrap-facets.svg b/tests/testthat/_snaps/theme/height-is-3-times-width-2-wrap-facets.svg new file mode 100644 index 0000000000..2b9f10a1b8 --- /dev/null +++ b/tests/testthat/_snaps/theme/height-is-3-times-width-2-wrap-facets.svg @@ -0,0 +1,109 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +1 + + + + + + + + + + +2 + + + + + + +2 +4 +6 +8 + + + + +2 +4 +6 +8 +2 +4 +6 +8 + + + + +height is 3 times width, 2 wrap facets + + diff --git a/tests/testthat/_snaps/theme/height-is-3-times-width-2x2-facets.svg b/tests/testthat/_snaps/theme/height-is-3-times-width-2x2-facets.svg new file mode 100644 index 0000000000..22ebaea3e3 --- /dev/null +++ b/tests/testthat/_snaps/theme/height-is-3-times-width-2x2-facets.svg @@ -0,0 +1,161 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +1 + + + + + + + + + + +2 + + + + + + + + + + +1 + + + + + + + + + + +2 + + + + + + +2 +4 +6 +8 + + + + +2 +4 +6 +8 +2 +4 +6 +8 + + + + +2 +4 +6 +8 + + + + +height is 3 times width, 2x2 facets + + diff --git a/tests/testthat/_snaps/theme/height-is-3-times-width.svg b/tests/testthat/_snaps/theme/height-is-3-times-width.svg new file mode 100644 index 0000000000..b45750da28 --- /dev/null +++ b/tests/testthat/_snaps/theme/height-is-3-times-width.svg @@ -0,0 +1,68 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +2 +4 +6 +8 + + + + + + + + +2 +4 +6 +8 +height is 3 times width + + diff --git a/tests/testthat/_snaps/theme/large-margins.svg b/tests/testthat/_snaps/theme/large-margins.svg new file mode 100644 index 0000000000..1e4bfb10db --- /dev/null +++ b/tests/testthat/_snaps/theme/large-margins.svg @@ -0,0 +1,96 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +1 + + + + + + + +1.0 +1.5 +2.0 +2.5 +3.0 +1.0 +1.5 +2.0 +2.5 +3.0 + + + + + +x +y + +z + + + + +a +b +large margins + + diff --git a/tests/testthat/_snaps/theme/large-spacing.svg b/tests/testthat/_snaps/theme/large-spacing.svg new file mode 100644 index 0000000000..1680934c61 --- /dev/null +++ b/tests/testthat/_snaps/theme/large-spacing.svg @@ -0,0 +1,96 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +1 + + + + + + + +1.0 +1.5 +2.0 +2.5 +3.0 +1.0 +1.5 +2.0 +2.5 +3.0 + + + + + +x +y + +z + + + + +a +b +large spacing + + diff --git a/tests/testthat/_snaps/theme/legends-at-all-sides-with-justification.svg b/tests/testthat/_snaps/theme/legends-at-all-sides-with-justification.svg new file mode 100644 index 0000000000..9847f9f0c9 --- /dev/null +++ b/tests/testthat/_snaps/theme/legends-at-all-sides-with-justification.svg @@ -0,0 +1,157 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +10 +15 +20 +25 +30 +35 + + + + + + + + + + +100 +200 +300 +400 +disp +mpg + +wt + + + + + + + + +2 +3 +4 +5 + +drat + + + + + + + + +3.0 +3.5 +4.0 +4.5 + +hp + + + + + + + + + + + +100 +150 +200 +250 +300 + +factor(cyl) + + + + + + +4 +6 +8 + +factor(gear) + + + + + + +3 +4 +5 +legends at all sides with justification + + diff --git a/tests/testthat/_snaps/theme/point-elements.svg b/tests/testthat/_snaps/theme/point-elements.svg new file mode 100644 index 0000000000..f810f35c3b --- /dev/null +++ b/tests/testthat/_snaps/theme/point-elements.svg @@ -0,0 +1,27 @@ + + + + + + + + + + + + + + + + + + + diff --git a/tests/testthat/_snaps/theme/polygon-elements.svg b/tests/testthat/_snaps/theme/polygon-elements.svg new file mode 100644 index 0000000000..e6e0de8c72 --- /dev/null +++ b/tests/testthat/_snaps/theme/polygon-elements.svg @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + diff --git a/tests/testthat/_snaps/theme/rotated-x-axis-tick-labels.svg b/tests/testthat/_snaps/theme/rotated-x-axis-tick-labels.svg new file mode 100644 index 0000000000..c313d83ac1 --- /dev/null +++ b/tests/testthat/_snaps/theme/rotated-x-axis-tick-labels.svg @@ -0,0 +1,67 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +1.0 +1.5 +2.0 +2.5 +3.0 + + + + + + + + +medium size +short +very long label +label +y +rotated x axis tick labels + + diff --git a/tests/testthat/_snaps/theme/stretched-horizontal-legends.svg b/tests/testthat/_snaps/theme/stretched-horizontal-legends.svg new file mode 100644 index 0000000000..daa1c3c43e --- /dev/null +++ b/tests/testthat/_snaps/theme/stretched-horizontal-legends.svg @@ -0,0 +1,90 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + +1.0 +1.5 +2.0 +2.5 +3.0 + + + + + + + + + + +1.0 +1.5 +2.0 +2.5 +3.0 +x +y + + +a + + + + + + +a +b +c + +x + + + + + + + + + + + +1.0 +1.5 +2.0 +2.5 +3.0 +stretched horizontal legends + + diff --git a/tests/testthat/_snaps/theme/stretched-vertical-legends.svg b/tests/testthat/_snaps/theme/stretched-vertical-legends.svg new file mode 100644 index 0000000000..8fa4c8a8b6 --- /dev/null +++ b/tests/testthat/_snaps/theme/stretched-vertical-legends.svg @@ -0,0 +1,90 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + +1.0 +1.5 +2.0 +2.5 +3.0 + + + + + + + + + + +1.0 +1.5 +2.0 +2.5 +3.0 +x +y + + +a + + + + + + +a +b +c + +x + + + + + + + + + + + +1.0 +1.5 +2.0 +2.5 +3.0 +stretched vertical legends + + diff --git a/tests/testthat/_snaps/theme/strip-styling.svg b/tests/testthat/_snaps/theme/strip-styling.svg new file mode 100644 index 0000000000..0e4ce8e479 --- /dev/null +++ b/tests/testthat/_snaps/theme/strip-styling.svg @@ -0,0 +1,222 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +1 + + + + + + + + + + +2 + + + + + + + + + + +1 + + + + + + + + + + +2 + + + + + + + +1.00 +1.25 +1.50 +1.75 +2.00 + + + + + +1.00 +1.25 +1.50 +1.75 +2.00 +1.00 +1.25 +1.50 +1.75 +2.00 + + + + + +1.00 +1.25 +1.50 +1.75 +2.00 + + + + + +x +y +strip_styling + + diff --git a/tests/testthat/_snaps/theme/theme-bw-large.svg b/tests/testthat/_snaps/theme/theme-bw-large.svg new file mode 100644 index 0000000000..cbffb819ac --- /dev/null +++ b/tests/testthat/_snaps/theme/theme-bw-large.svg @@ -0,0 +1,97 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +1 + + + + + + + +1.0 +1.5 +2.0 +2.5 +3.0 +1.0 +1.5 +2.0 +2.5 +3.0 + + + + + +x +y + +z + + + + +a +b +theme_bw_large + + diff --git a/tests/testthat/_snaps/theme/theme-bw.svg b/tests/testthat/_snaps/theme/theme-bw.svg new file mode 100644 index 0000000000..d6634c2e52 --- /dev/null +++ b/tests/testthat/_snaps/theme/theme-bw.svg @@ -0,0 +1,97 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +1 + + + + + + + +1.0 +1.5 +2.0 +2.5 +3.0 +1.0 +1.5 +2.0 +2.5 +3.0 + + + + + +x +y + +z + + + + +a +b +theme_bw + + diff --git a/tests/testthat/_snaps/theme/theme-classic-large.svg b/tests/testthat/_snaps/theme/theme-classic-large.svg new file mode 100644 index 0000000000..7105d5474b --- /dev/null +++ b/tests/testthat/_snaps/theme/theme-classic-large.svg @@ -0,0 +1,80 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +1 + + + + + + + + +1.0 +1.5 +2.0 +2.5 +3.0 + +1.0 +1.5 +2.0 +2.5 +3.0 + + + + + +x +y + +z + + + + +a +b +theme_classic_large + + diff --git a/tests/testthat/_snaps/theme/theme-classic.svg b/tests/testthat/_snaps/theme/theme-classic.svg new file mode 100644 index 0000000000..45ef7ef076 --- /dev/null +++ b/tests/testthat/_snaps/theme/theme-classic.svg @@ -0,0 +1,80 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +1 + + + + + + + + +1.0 +1.5 +2.0 +2.5 +3.0 + +1.0 +1.5 +2.0 +2.5 +3.0 + + + + + +x +y + +z + + + + +a +b +theme_classic + + diff --git a/tests/testthat/_snaps/theme/theme-dark-large.svg b/tests/testthat/_snaps/theme/theme-dark-large.svg new file mode 100644 index 0000000000..f6f9c1058f --- /dev/null +++ b/tests/testthat/_snaps/theme/theme-dark-large.svg @@ -0,0 +1,96 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +1 + + + + + + + +1.0 +1.5 +2.0 +2.5 +3.0 +1.0 +1.5 +2.0 +2.5 +3.0 + + + + + +x +y + +z + + + + +a +b +theme_dark_large + + diff --git a/tests/testthat/_snaps/theme/theme-dark.svg b/tests/testthat/_snaps/theme/theme-dark.svg new file mode 100644 index 0000000000..c20df836ff --- /dev/null +++ b/tests/testthat/_snaps/theme/theme-dark.svg @@ -0,0 +1,96 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +1 + + + + + + + +1.0 +1.5 +2.0 +2.5 +3.0 +1.0 +1.5 +2.0 +2.5 +3.0 + + + + + +x +y + +z + + + + +a +b +theme_dark + + diff --git a/tests/testthat/_snaps/theme/theme-gray-large.svg b/tests/testthat/_snaps/theme/theme-gray-large.svg new file mode 100644 index 0000000000..4348638185 --- /dev/null +++ b/tests/testthat/_snaps/theme/theme-gray-large.svg @@ -0,0 +1,96 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +1 + + + + + + + +1.0 +1.5 +2.0 +2.5 +3.0 +1.0 +1.5 +2.0 +2.5 +3.0 + + + + + +x +y + +z + + + + +a +b +theme_gray_large + + diff --git a/tests/testthat/_snaps/theme/theme-gray.svg b/tests/testthat/_snaps/theme/theme-gray.svg new file mode 100644 index 0000000000..cc01144439 --- /dev/null +++ b/tests/testthat/_snaps/theme/theme-gray.svg @@ -0,0 +1,96 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +1 + + + + + + + +1.0 +1.5 +2.0 +2.5 +3.0 +1.0 +1.5 +2.0 +2.5 +3.0 + + + + + +x +y + +z + + + + +a +b +theme_gray + + diff --git a/tests/testthat/_snaps/theme/theme-light-large.svg b/tests/testthat/_snaps/theme/theme-light-large.svg new file mode 100644 index 0000000000..29fc210917 --- /dev/null +++ b/tests/testthat/_snaps/theme/theme-light-large.svg @@ -0,0 +1,97 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +1 + + + + + + + +1.0 +1.5 +2.0 +2.5 +3.0 +1.0 +1.5 +2.0 +2.5 +3.0 + + + + + +x +y + +z + + + + +a +b +theme_light_large + + diff --git a/tests/testthat/_snaps/theme/theme-light.svg b/tests/testthat/_snaps/theme/theme-light.svg new file mode 100644 index 0000000000..d334f2ffa2 --- /dev/null +++ b/tests/testthat/_snaps/theme/theme-light.svg @@ -0,0 +1,97 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +1 + + + + + + + +1.0 +1.5 +2.0 +2.5 +3.0 +1.0 +1.5 +2.0 +2.5 +3.0 + + + + + +x +y + +z + + + + +a +b +theme_light + + diff --git a/tests/testthat/_snaps/theme/theme-linedraw-large.svg b/tests/testthat/_snaps/theme/theme-linedraw-large.svg new file mode 100644 index 0000000000..e2aadff6e7 --- /dev/null +++ b/tests/testthat/_snaps/theme/theme-linedraw-large.svg @@ -0,0 +1,97 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +1 + + + + + + + +1.0 +1.5 +2.0 +2.5 +3.0 +1.0 +1.5 +2.0 +2.5 +3.0 + + + + + +x +y + +z + + + + +a +b +theme_linedraw_large + + diff --git a/tests/testthat/_snaps/theme/theme-linedraw.svg b/tests/testthat/_snaps/theme/theme-linedraw.svg new file mode 100644 index 0000000000..2715cc19eb --- /dev/null +++ b/tests/testthat/_snaps/theme/theme-linedraw.svg @@ -0,0 +1,97 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +1 + + + + + + + +1.0 +1.5 +2.0 +2.5 +3.0 +1.0 +1.5 +2.0 +2.5 +3.0 + + + + + +x +y + +z + + + + +a +b +theme_linedraw + + diff --git a/tests/testthat/_snaps/theme/theme-minimal-large.svg b/tests/testthat/_snaps/theme/theme-minimal-large.svg new file mode 100644 index 0000000000..1dc1caf61a --- /dev/null +++ b/tests/testthat/_snaps/theme/theme-minimal-large.svg @@ -0,0 +1,81 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +1 + + +1.0 +1.5 +2.0 +2.5 +3.0 +1.0 +1.5 +2.0 +2.5 +3.0 +x +y +z + + +a +b +theme_minimal_large + + diff --git a/tests/testthat/_snaps/theme/theme-minimal.svg b/tests/testthat/_snaps/theme/theme-minimal.svg new file mode 100644 index 0000000000..ce2799c95b --- /dev/null +++ b/tests/testthat/_snaps/theme/theme-minimal.svg @@ -0,0 +1,81 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +1 + + +1.0 +1.5 +2.0 +2.5 +3.0 +1.0 +1.5 +2.0 +2.5 +3.0 +x +y +z + + +a +b +theme_minimal + + diff --git a/tests/testthat/_snaps/theme/theme-void-large.svg b/tests/testthat/_snaps/theme/theme-void-large.svg new file mode 100644 index 0000000000..b4887d1aff --- /dev/null +++ b/tests/testthat/_snaps/theme/theme-void-large.svg @@ -0,0 +1,51 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +1 + + +z + + +a +b +theme_void_large + + diff --git a/tests/testthat/_snaps/theme/theme-void.svg b/tests/testthat/_snaps/theme/theme-void.svg new file mode 100644 index 0000000000..e537f6bb9d --- /dev/null +++ b/tests/testthat/_snaps/theme/theme-void.svg @@ -0,0 +1,51 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +1 + + +z + + +a +b +theme_void + + diff --git a/tests/testthat/_snaps/theme/theme-with-inverted-colours.svg b/tests/testthat/_snaps/theme/theme-with-inverted-colours.svg new file mode 100644 index 0000000000..760107a5c9 --- /dev/null +++ b/tests/testthat/_snaps/theme/theme-with-inverted-colours.svg @@ -0,0 +1,332 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Strip title + + + + + + + + +2 +3 +4 +5 +6 +7 +20 +30 +40 + + + +displ +hwy + +drv + + + + + + +4 +f +r +Subtitle +Main title +Caption +A + + diff --git a/tests/testthat/_snaps/theme/ticks-length.svg b/tests/testthat/_snaps/theme/ticks-length.svg new file mode 100644 index 0000000000..08b3a1a841 --- /dev/null +++ b/tests/testthat/_snaps/theme/ticks-length.svg @@ -0,0 +1,81 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +2.5 +5.0 +7.5 +10.0 +2.5 +5.0 +7.5 +10.0 + + + + + + + + +2.5 +5.0 +7.5 +10.0 + + + + +2.5 +5.0 +7.5 +10.0 +1:10 +1:10 +1:10 +1:10 +ticks_length + + diff --git a/tests/testthat/_snaps/theme/titles-aligned-to-entire-plot.svg b/tests/testthat/_snaps/theme/titles-aligned-to-entire-plot.svg new file mode 100644 index 0000000000..ba0727fbd7 --- /dev/null +++ b/tests/testthat/_snaps/theme/titles-aligned-to-entire-plot.svg @@ -0,0 +1,199 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +a + + + + + + + + + + +b + + + + + + + + + + +c + + + + + + + +1.0 +1.5 +2.0 +2.5 +3.0 + + + + + +1.0 +1.5 +2.0 +2.5 +3.0 + + + + + +1.0 +1.5 +2.0 +2.5 +3.0 +1.0 +1.5 +2.0 +2.5 +3.0 + + + + + +x +y + +z + + + + + + +a +b +c +Subtitle aligned to entire plot +Plot title aligned to entire plot +Caption aligned to panels + + diff --git a/tests/testthat/_snaps/theme/width-is-3-times-height.svg b/tests/testthat/_snaps/theme/width-is-3-times-height.svg new file mode 100644 index 0000000000..3210213d9b --- /dev/null +++ b/tests/testthat/_snaps/theme/width-is-3-times-height.svg @@ -0,0 +1,68 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +2 +4 +6 +8 + + + + + + + + +2 +4 +6 +8 +width is 3 times height + + From 930af266ed4e019ba3b1a2a82dad21a4612f0597 Mon Sep 17 00:00:00 2001 From: Teun van den Brand Date: Tue, 13 May 2025 13:44:07 +0200 Subject: [PATCH 7/8] revert 73949a2e-0bb6da2a --- man/ggplot2-ggproto.Rd | 2 +- .../_snaps/geom-dotplot/stackratio-1-5.svg | 0 tests/testthat/_snaps/ggsave.md | 9 + .../_snaps/legend-draw/all-legend-keys.svg | 4 +- .../patterns/pattern-fills-no-alpha.svg | 115 +++++++++++++ .../patterns/pattern-fills-through-scale.svg | 155 ++++++++++++++++++ .../patterns/pattern-fills-with-alpha.svg | 120 ++++++++++++++ .../_snaps/patterns/single-pattern-fill.svg | 120 ++++++++++++++ .../_snaps/theme/theme-void-large.svg | 10 +- 9 files changed, 527 insertions(+), 8 deletions(-) mode change 100644 => 100755 tests/testthat/_snaps/geom-dotplot/stackratio-1-5.svg create mode 100644 tests/testthat/_snaps/patterns/pattern-fills-no-alpha.svg create mode 100644 tests/testthat/_snaps/patterns/pattern-fills-through-scale.svg create mode 100644 tests/testthat/_snaps/patterns/pattern-fills-with-alpha.svg create mode 100644 tests/testthat/_snaps/patterns/single-pattern-fill.svg diff --git a/man/ggplot2-ggproto.Rd b/man/ggplot2-ggproto.Rd index dcd57c12a1..8fb7630c22 100644 --- a/man/ggplot2-ggproto.Rd +++ b/man/ggplot2-ggproto.Rd @@ -324,7 +324,7 @@ return an empty grob for each panel. \item \code{draw_front}: As above except the returned grob is placed between the layer stack and the foreground defined by the Coord object (usually empty). The default is, as above, to return an empty grob. -\item \code{draw_facet_panels}: Draws each panel for the facet. Should return a list +\item \code{draw_panel_content}: Draws each panel for the facet. Should return a list of grobs, one for each panel. The output is used by the \code{draw_panels} method. \item \code{draw_labels}: Given the gtable returned by \code{draw_panels}, diff --git a/tests/testthat/_snaps/geom-dotplot/stackratio-1-5.svg b/tests/testthat/_snaps/geom-dotplot/stackratio-1-5.svg old mode 100644 new mode 100755 diff --git a/tests/testthat/_snaps/ggsave.md b/tests/testthat/_snaps/ggsave.md index 9f12b1c6b1..03440c5eba 100644 --- a/tests/testthat/_snaps/ggsave.md +++ b/tests/testthat/_snaps/ggsave.md @@ -1,3 +1,12 @@ +# ggsave can create directories + + Code + ggsave(path, p) + Condition + Error in `ggsave()`: + ! Cannot find directory 'PATH' + i Please supply an existing directory or use `create.dir = TRUE`. + # ggsave warns about empty or multiple filenames Code diff --git a/tests/testthat/_snaps/legend-draw/all-legend-keys.svg b/tests/testthat/_snaps/legend-draw/all-legend-keys.svg index 648b6dd354..e535bebe99 100644 --- a/tests/testthat/_snaps/legend-draw/all-legend-keys.svg +++ b/tests/testthat/_snaps/legend-draw/all-legend-keys.svg @@ -53,8 +53,8 @@ text a label - -a + +a vline timeseries diff --git a/tests/testthat/_snaps/patterns/pattern-fills-no-alpha.svg b/tests/testthat/_snaps/patterns/pattern-fills-no-alpha.svg new file mode 100644 index 0000000000..bdf29df500 --- /dev/null +++ b/tests/testthat/_snaps/patterns/pattern-fills-no-alpha.svg @@ -0,0 +1,115 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +0 +1 +2 +3 +4 +5 + + + + + + + + + + +A +B +C +D +x +y +pattern fills, no alpha + + diff --git a/tests/testthat/_snaps/patterns/pattern-fills-through-scale.svg b/tests/testthat/_snaps/patterns/pattern-fills-through-scale.svg new file mode 100644 index 0000000000..a703f46c91 --- /dev/null +++ b/tests/testthat/_snaps/patterns/pattern-fills-through-scale.svg @@ -0,0 +1,155 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +0 +1 +2 +3 +4 +5 + + + + + + + + + + +A +B +C +D +x +y + +x + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +A +B +C +D +pattern fills through scale + + diff --git a/tests/testthat/_snaps/patterns/pattern-fills-with-alpha.svg b/tests/testthat/_snaps/patterns/pattern-fills-with-alpha.svg new file mode 100644 index 0000000000..964a5b714b --- /dev/null +++ b/tests/testthat/_snaps/patterns/pattern-fills-with-alpha.svg @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +0 +1 +2 +3 +4 +5 + + + + + + + + + + +A +B +C +D +x +y +pattern fills, with alpha + + diff --git a/tests/testthat/_snaps/patterns/single-pattern-fill.svg b/tests/testthat/_snaps/patterns/single-pattern-fill.svg new file mode 100644 index 0000000000..9126ab0c7f --- /dev/null +++ b/tests/testthat/_snaps/patterns/single-pattern-fill.svg @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +0 +1 +2 +3 +4 +5 + + + + + + + + + + +A +B +C +D +x +y +single pattern fill + + diff --git a/tests/testthat/_snaps/theme/theme-void-large.svg b/tests/testthat/_snaps/theme/theme-void-large.svg index b4887d1aff..58ac3525dd 100644 --- a/tests/testthat/_snaps/theme/theme-void-large.svg +++ b/tests/testthat/_snaps/theme/theme-void-large.svg @@ -26,9 +26,9 @@ - - - + + + @@ -42,8 +42,8 @@ z - - + + a b theme_void_large From 92f441966ceb14561e221f145d94818c32bf9dee Mon Sep 17 00:00:00 2001 From: Teun van den Brand Date: Tue, 13 May 2025 13:47:23 +0200 Subject: [PATCH 8/8] update theme snapshot --- tests/testthat/_snaps/theme/theme-void-large.svg | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/testthat/_snaps/theme/theme-void-large.svg b/tests/testthat/_snaps/theme/theme-void-large.svg index 58ac3525dd..b4887d1aff 100644 --- a/tests/testthat/_snaps/theme/theme-void-large.svg +++ b/tests/testthat/_snaps/theme/theme-void-large.svg @@ -26,9 +26,9 @@ - - - + + + @@ -42,8 +42,8 @@ z - - + + a b theme_void_large