diff --git a/DESCRIPTION b/DESCRIPTION index be8198f552..659dc3589a 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -65,7 +65,7 @@ Suggests: sf (>= 0.7-3), svglite (>= 1.2.0.9001), testthat (>= 2.1.0), - vdiffr (>= 0.3.0), + vdiffr (>= 1.0.0), xml2 Enhances: sp License: MIT + file LICENSE diff --git a/tests/figs/annotate/line-matches-points.svg b/tests/figs/annotate/line-matches-points.svg deleted file mode 100644 index ec0574e888..0000000000 --- a/tests/figs/annotate/line-matches-points.svg +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - -line matches points - diff --git a/tests/figs/coord-cartesian/clip-on-by-default-only-inside-visible.svg b/tests/figs/coord-cartesian/clip-on-by-default-only-inside-visible.svg deleted file mode 100644 index 0b824c2729..0000000000 --- a/tests/figs/coord-cartesian/clip-on-by-default-only-inside-visible.svg +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - - - - - - - - -inside -inside -inside -inside -outside -outside -outside -outside - - - - - -clip on by default, only 'inside' visible - diff --git a/tests/figs/coord-cartesian/clip-turned-off-both-inside-and-outside-visible.svg b/tests/figs/coord-cartesian/clip-turned-off-both-inside-and-outside-visible.svg deleted file mode 100644 index 5fc090fad8..0000000000 --- a/tests/figs/coord-cartesian/clip-turned-off-both-inside-and-outside-visible.svg +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - -inside -inside -inside -inside -outside -outside -outside -outside -clip turned off, both 'inside' and 'outside' visible - diff --git a/tests/figs/coord-cartesian/contract-range.svg b/tests/figs/coord-cartesian/contract-range.svg deleted file mode 100644 index 3d3cfbb1f0..0000000000 --- a/tests/figs/coord-cartesian/contract-range.svg +++ /dev/null @@ -1,83 +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/figs/coord-cartesian/expand-range.svg b/tests/figs/coord-cartesian/expand-range.svg deleted file mode 100644 index 30ad623041..0000000000 --- a/tests/figs/coord-cartesian/expand-range.svg +++ /dev/null @@ -1,85 +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/figs/coord-map/coord-map-switched-scale-position.svg b/tests/figs/coord-map/coord-map-switched-scale-position.svg deleted file mode 100644 index 7c176de525..0000000000 --- a/tests/figs/coord-map/coord-map-switched-scale-position.svg +++ /dev/null @@ -1,69 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --120 --100 --80 - - - - - - - - - -25 -30 -35 -40 -45 -50 -long -lat -coord_map switched scale position - diff --git a/tests/figs/coord-map/usa-mercator.svg b/tests/figs/coord-map/usa-mercator.svg deleted file mode 100644 index 3487cff3c3..0000000000 --- a/tests/figs/coord-map/usa-mercator.svg +++ /dev/null @@ -1,69 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -25 -30 -35 -40 -45 -50 - - - - - - - - - --120 --100 --80 -long -lat -USA mercator - diff --git a/tests/figs/coord-polar/racetrack-plot-closed-and-has-center-hole.svg b/tests/figs/coord-polar/racetrack-plot-closed-and-has-center-hole.svg deleted file mode 100644 index ac4d6e512c..0000000000 --- a/tests/figs/coord-polar/racetrack-plot-closed-and-has-center-hole.svg +++ /dev/null @@ -1,56 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -1 -2 -0/3 - - - - - - - - - -racetrack plot: closed and has center hole - diff --git a/tests/figs/coord-polar/racetrack-plot-closed-and-no-center-hole.svg b/tests/figs/coord-polar/racetrack-plot-closed-and-no-center-hole.svg deleted file mode 100644 index 9cc13a3e1b..0000000000 --- a/tests/figs/coord-polar/racetrack-plot-closed-and-no-center-hole.svg +++ /dev/null @@ -1,56 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -1 -2 -0/3 - - - - - - - - - -racetrack plot: closed and no center hole - diff --git a/tests/figs/coord-polar/rays-circular-arcs-and-spiral-arcs.svg b/tests/figs/coord-polar/rays-circular-arcs-and-spiral-arcs.svg deleted file mode 100644 index 4dbb9800cc..0000000000 --- a/tests/figs/coord-polar/rays-circular-arcs-and-spiral-arcs.svg +++ /dev/null @@ -1,349 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -0 -2 -4 -6 - - - - - - - - - - - -Rays, circular arcs, and spiral arcs - diff --git a/tests/figs/coord-polar/rose-plot-with-has-equal-spacing.svg b/tests/figs/coord-polar/rose-plot-with-has-equal-spacing.svg deleted file mode 100644 index 5956d4a0d6..0000000000 --- a/tests/figs/coord-polar/rose-plot-with-has-equal-spacing.svg +++ /dev/null @@ -1,57 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -A -B -C - - - - - - - - - - -rose plot with has equal spacing - diff --git a/tests/figs/coord-polar/secondary-axis-ticks-and-labels.svg b/tests/figs/coord-polar/secondary-axis-ticks-and-labels.svg deleted file mode 100644 index f86d5c2e83..0000000000 --- a/tests/figs/coord-polar/secondary-axis-ticks-and-labels.svg +++ /dev/null @@ -1,62 +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/figs/coord-polar/three-concentric-circles.svg b/tests/figs/coord-polar/three-concentric-circles.svg deleted file mode 100644 index 691f0e6bb1..0000000000 --- a/tests/figs/coord-polar/three-concentric-circles.svg +++ /dev/null @@ -1,61 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -0.25 -0.50 -0.75 -0.00/1.00 - - - - - - - - - - -three-concentric-circles - diff --git a/tests/figs/coord-sf/default-crs-turned-off.svg b/tests/figs/coord-sf/default-crs-turned-off.svg deleted file mode 100644 index a0923bdb7b..0000000000 --- a/tests/figs/coord-sf/default-crs-turned-off.svg +++ /dev/null @@ -1,90 +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 -default crs turned off - diff --git a/tests/figs/coord-sf/limits-specified-in-long-lat.svg b/tests/figs/coord-sf/limits-specified-in-long-lat.svg deleted file mode 100644 index 4ebd32b977..0000000000 --- a/tests/figs/coord-sf/limits-specified-in-long-lat.svg +++ /dev/null @@ -1,86 +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/figs/coord-sf/limits-specified-in-projected-coords.svg b/tests/figs/coord-sf/limits-specified-in-projected-coords.svg deleted file mode 100644 index 645887484f..0000000000 --- a/tests/figs/coord-sf/limits-specified-in-projected-coords.svg +++ /dev/null @@ -1,86 +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/figs/coord-sf/no-panel-grid.svg b/tests/figs/coord-sf/no-panel-grid.svg deleted file mode 100644 index efffd541b1..0000000000 --- a/tests/figs/coord-sf/no-panel-grid.svg +++ /dev/null @@ -1,63 +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/figs/coord-sf/non-sf-geoms-use-long-lat.svg b/tests/figs/coord-sf/non-sf-geoms-use-long-lat.svg deleted file mode 100644 index ce1f75cb76..0000000000 --- a/tests/figs/coord-sf/non-sf-geoms-use-long-lat.svg +++ /dev/null @@ -1,90 +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 use long-lat - diff --git a/tests/figs/coord-sf/sf-polygons.svg b/tests/figs/coord-sf/sf-polygons.svg deleted file mode 100644 index 62c30c94df..0000000000 --- a/tests/figs/coord-sf/sf-polygons.svg +++ /dev/null @@ -1,92 +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/figs/coord-trans/basic-coord-trans-plot.svg b/tests/figs/coord-trans/basic-coord-trans-plot.svg deleted file mode 100644 index 2465761e51..0000000000 --- a/tests/figs/coord-trans/basic-coord-trans-plot.svg +++ /dev/null @@ -1,285 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -20 -30 -40 - - - - - - - - - - -2seater -compact -midsize -minivan -pickup -subcompact -suv -class -hwy -basic coord_trans() plot - diff --git a/tests/figs/coord-trans/sec-axis-with-coord-trans.svg b/tests/figs/coord-trans/sec-axis-with-coord-trans.svg deleted file mode 100644 index 55015fbeff..0000000000 --- a/tests/figs/coord-trans/sec-axis-with-coord-trans.svg +++ /dev/null @@ -1,311 +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/figs/creating-aesthetic-mappings/alpha-set-in-alpha.svg b/tests/figs/creating-aesthetic-mappings/alpha-set-in-alpha.svg deleted file mode 100644 index f4e569b9aa..0000000000 --- a/tests/figs/creating-aesthetic-mappings/alpha-set-in-alpha.svg +++ /dev/null @@ -1,52 +0,0 @@ - - - - - - - - - - - - - - - - - - - - -0.950 -0.975 -1.000 -1.025 -1.050 - - - - - - - - - - -0.950 -0.975 -1.000 -1.025 -1.050 -1 -1 -Alpha set in alpha - diff --git a/tests/figs/creating-aesthetic-mappings/alpha-set-in-colour.svg b/tests/figs/creating-aesthetic-mappings/alpha-set-in-colour.svg deleted file mode 100644 index a083582bd4..0000000000 --- a/tests/figs/creating-aesthetic-mappings/alpha-set-in-colour.svg +++ /dev/null @@ -1,52 +0,0 @@ - - - - - - - - - - - - - - - - - - - - -0.950 -0.975 -1.000 -1.025 -1.050 - - - - - - - - - - -0.950 -0.975 -1.000 -1.025 -1.050 -1 -1 -Alpha set in colour - diff --git a/tests/figs/creating-aesthetic-mappings/stat-count-width-0-5.svg b/tests/figs/creating-aesthetic-mappings/stat-count-width-0-5.svg deleted file mode 100644 index 03be4ea394..0000000000 --- a/tests/figs/creating-aesthetic-mappings/stat-count-width-0-5.svg +++ /dev/null @@ -1,50 +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/figs/creating-aesthetic-mappings/stat-count.svg b/tests/figs/creating-aesthetic-mappings/stat-count.svg deleted file mode 100644 index f6dc541233..0000000000 --- a/tests/figs/creating-aesthetic-mappings/stat-count.svg +++ /dev/null @@ -1,50 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - -0.00 -0.25 -0.50 -0.75 -1.00 - - - - - - - - -a -b -c -xvar -count -stat='count' - diff --git a/tests/figs/creating-aesthetic-mappings/stat-identity-width-0-5.svg b/tests/figs/creating-aesthetic-mappings/stat-identity-width-0-5.svg deleted file mode 100644 index 255ecba122..0000000000 --- a/tests/figs/creating-aesthetic-mappings/stat-identity-width-0-5.svg +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - -0.0 -2.5 -5.0 -7.5 - - - - - - - -a -b -c -xvar -yvar -stat='identity', width=0.5 - diff --git a/tests/figs/creating-aesthetic-mappings/stat-identity.svg b/tests/figs/creating-aesthetic-mappings/stat-identity.svg deleted file mode 100644 index c767412876..0000000000 --- a/tests/figs/creating-aesthetic-mappings/stat-identity.svg +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - -0.0 -2.5 -5.0 -7.5 - - - - - - - -a -b -c -xvar -yvar -stat='identity' - diff --git a/tests/figs/deps.txt b/tests/figs/deps.txt deleted file mode 100644 index 1fcd925731..0000000000 --- a/tests/figs/deps.txt +++ /dev/null @@ -1,3 +0,0 @@ -- vdiffr-svg-engine: 1.0 -- vdiffr: 0.3.3 -- freetypeharfbuzz: 0.2.6 diff --git a/tests/figs/facet-labels/parsed-facet-labels.svg b/tests/figs/facet-labels/parsed-facet-labels.svg deleted file mode 100644 index 470bd484e9..0000000000 --- a/tests/figs/facet-labels/parsed-facet-labels.svg +++ /dev/null @@ -1,62 +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/figs/facet-strips/switched-facet-strips.svg b/tests/figs/facet-strips/switched-facet-strips.svg deleted file mode 100644 index 4411c402c7..0000000000 --- a/tests/figs/facet-strips/switched-facet-strips.svg +++ /dev/null @@ -1,227 +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/figs/facetting/left-justified-facet-labels-with-margins.svg b/tests/figs/facetting/left-justified-facet-labels-with-margins.svg deleted file mode 100644 index a4699f7654..0000000000 --- a/tests/figs/facetting/left-justified-facet-labels-with-margins.svg +++ /dev/null @@ -1,157 +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/figs/facetting/left-justified-rotated-facet-labels-with-margins.svg b/tests/figs/facetting/left-justified-rotated-facet-labels-with-margins.svg deleted file mode 100644 index ec70ebfe32..0000000000 --- a/tests/figs/facetting/left-justified-rotated-facet-labels-with-margins.svg +++ /dev/null @@ -1,157 +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/figs/geom-boxplot/outlier-colours.svg b/tests/figs/geom-boxplot/outlier-colours.svg deleted file mode 100644 index f97a8905f3..0000000000 --- a/tests/figs/geom-boxplot/outlier-colours.svg +++ /dev/null @@ -1,84 +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/figs/geom-dotplot/2-na-values-bin-along-y-stack-center.svg b/tests/figs/geom-dotplot/2-na-values-bin-along-y-stack-center.svg deleted file mode 100644 index 5d1b599d33..0000000000 --- a/tests/figs/geom-dotplot/2-na-values-bin-along-y-stack-center.svg +++ /dev/null @@ -1,65 +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/figs/geom-dotplot/2-na-values-dot-density-binning-binwidth-4.svg b/tests/figs/geom-dotplot/2-na-values-dot-density-binning-binwidth-4.svg deleted file mode 100644 index 9948402984..0000000000 --- a/tests/figs/geom-dotplot/2-na-values-dot-density-binning-binwidth-4.svg +++ /dev/null @@ -1,69 +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/figs/geom-dotplot/basic-dotplot-with-dot-density-binning-binwidth-4.svg b/tests/figs/geom-dotplot/basic-dotplot-with-dot-density-binning-binwidth-4.svg deleted file mode 100644 index 1d7bf10741..0000000000 --- a/tests/figs/geom-dotplot/basic-dotplot-with-dot-density-binning-binwidth-4.svg +++ /dev/null @@ -1,71 +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/figs/geom-dotplot/bin-along-y-stack-center.svg b/tests/figs/geom-dotplot/bin-along-y-stack-center.svg deleted file mode 100644 index 01aea43946..0000000000 --- a/tests/figs/geom-dotplot/bin-along-y-stack-center.svg +++ /dev/null @@ -1,67 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --2 --1 -0 -1 -2 - - - - - - - - --0.25 -0.00 -0.25 -x -x -bin along y, stack center - diff --git a/tests/figs/geom-dotplot/bin-along-y-stack-centerwhole-histodot.svg b/tests/figs/geom-dotplot/bin-along-y-stack-centerwhole-histodot.svg deleted file mode 100644 index ae64cd0fc7..0000000000 --- a/tests/figs/geom-dotplot/bin-along-y-stack-centerwhole-histodot.svg +++ /dev/null @@ -1,67 +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/figs/geom-dotplot/bin-along-y-stack-centerwhole.svg b/tests/figs/geom-dotplot/bin-along-y-stack-centerwhole.svg deleted file mode 100644 index 81a7087585..0000000000 --- a/tests/figs/geom-dotplot/bin-along-y-stack-centerwhole.svg +++ /dev/null @@ -1,67 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --2 --1 -0 -1 -2 - - - - - - - - --0.25 -0.00 -0.25 -x -x -bin along y, stack centerwhole - diff --git a/tests/figs/geom-dotplot/bin-y-continous-x-axis-grouping-by-x.svg b/tests/figs/geom-dotplot/bin-y-continous-x-axis-grouping-by-x.svg deleted file mode 100644 index 503e8b3651..0000000000 --- a/tests/figs/geom-dotplot/bin-y-continous-x-axis-grouping-by-x.svg +++ /dev/null @@ -1,137 +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/figs/geom-dotplot/bin-y-continous-x-axis-single-x-group.svg b/tests/figs/geom-dotplot/bin-y-continous-x-axis-single-x-group.svg deleted file mode 100644 index fa3277536b..0000000000 --- a/tests/figs/geom-dotplot/bin-y-continous-x-axis-single-x-group.svg +++ /dev/null @@ -1,137 +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/figs/geom-dotplot/bin-y-dodged-coord-flip.svg b/tests/figs/geom-dotplot/bin-y-dodged-coord-flip.svg deleted file mode 100644 index 3660c53f9d..0000000000 --- a/tests/figs/geom-dotplot/bin-y-dodged-coord-flip.svg +++ /dev/null @@ -1,160 +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/figs/geom-dotplot/bin-y-dodged.svg b/tests/figs/geom-dotplot/bin-y-dodged.svg deleted file mode 100644 index e2b87b2724..0000000000 --- a/tests/figs/geom-dotplot/bin-y-dodged.svg +++ /dev/null @@ -1,160 +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/figs/geom-dotplot/bin-y-dodging-3-stackgroups-histodot.svg b/tests/figs/geom-dotplot/bin-y-dodging-3-stackgroups-histodot.svg deleted file mode 100644 index b008396488..0000000000 --- a/tests/figs/geom-dotplot/bin-y-dodging-3-stackgroups-histodot.svg +++ /dev/null @@ -1,145 +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/figs/geom-dotplot/bin-y-three-x-groups-bins-aligned-across-groups.svg b/tests/figs/geom-dotplot/bin-y-three-x-groups-bins-aligned-across-groups.svg deleted file mode 100644 index 9442a7ef9b..0000000000 --- a/tests/figs/geom-dotplot/bin-y-three-x-groups-bins-aligned-across-groups.svg +++ /dev/null @@ -1,137 +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/figs/geom-dotplot/bin-y-three-x-groups-bins-aligned-coord-flip.svg b/tests/figs/geom-dotplot/bin-y-three-x-groups-bins-aligned-coord-flip.svg deleted file mode 100644 index 6e733f4783..0000000000 --- a/tests/figs/geom-dotplot/bin-y-three-x-groups-bins-aligned-coord-flip.svg +++ /dev/null @@ -1,137 +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/figs/geom-dotplot/bin-y-three-x-groups-fill-and-dodge.svg b/tests/figs/geom-dotplot/bin-y-three-x-groups-fill-and-dodge.svg deleted file mode 100644 index 6846d522e8..0000000000 --- a/tests/figs/geom-dotplot/bin-y-three-x-groups-fill-and-dodge.svg +++ /dev/null @@ -1,163 +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/figs/geom-dotplot/bin-y-three-x-groups-stack-centerwhole.svg b/tests/figs/geom-dotplot/bin-y-three-x-groups-stack-centerwhole.svg deleted file mode 100644 index 7f1d99df10..0000000000 --- a/tests/figs/geom-dotplot/bin-y-three-x-groups-stack-centerwhole.svg +++ /dev/null @@ -1,137 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --2 --1 -0 -1 -2 - - - - - - - - -A -B -C -x -y -bin y, three x groups, stack centerwhole - diff --git a/tests/figs/geom-dotplot/dots-stacked-closer-stackratio-5-fill-white.svg b/tests/figs/geom-dotplot/dots-stacked-closer-stackratio-5-fill-white.svg deleted file mode 100644 index b78d5400ec..0000000000 --- a/tests/figs/geom-dotplot/dots-stacked-closer-stackratio-5-fill-white.svg +++ /dev/null @@ -1,71 +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/figs/geom-dotplot/facets-3-groups-histodot-stackgroups.svg b/tests/figs/geom-dotplot/facets-3-groups-histodot-stackgroups.svg deleted file mode 100644 index bb71b40765..0000000000 --- a/tests/figs/geom-dotplot/facets-3-groups-histodot-stackgroups.svg +++ /dev/null @@ -1,229 +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/figs/geom-dotplot/histodot-binning-equal-bin-spacing.svg b/tests/figs/geom-dotplot/histodot-binning-equal-bin-spacing.svg deleted file mode 100644 index 1ff74433cc..0000000000 --- a/tests/figs/geom-dotplot/histodot-binning-equal-bin-spacing.svg +++ /dev/null @@ -1,71 +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/figs/geom-dotplot/larger-dots-dotsize-1-5-fill-white.svg b/tests/figs/geom-dotplot/larger-dots-dotsize-1-5-fill-white.svg deleted file mode 100644 index 8102a5e3a8..0000000000 --- a/tests/figs/geom-dotplot/larger-dots-dotsize-1-5-fill-white.svg +++ /dev/null @@ -1,71 +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/figs/geom-dotplot/multiple-groups-bins-aligned.svg b/tests/figs/geom-dotplot/multiple-groups-bins-aligned.svg deleted file mode 100644 index 0e8df645c7..0000000000 --- a/tests/figs/geom-dotplot/multiple-groups-bins-aligned.svg +++ /dev/null @@ -1,79 +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/figs/geom-dotplot/multiple-groups-bins-not-aligned.svg b/tests/figs/geom-dotplot/multiple-groups-bins-not-aligned.svg deleted file mode 100644 index 48641925ce..0000000000 --- a/tests/figs/geom-dotplot/multiple-groups-bins-not-aligned.svg +++ /dev/null @@ -1,79 +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/figs/geom-dotplot/stack-center-with-coord-flip.svg b/tests/figs/geom-dotplot/stack-center-with-coord-flip.svg deleted file mode 100644 index b0e9a4b111..0000000000 --- a/tests/figs/geom-dotplot/stack-center-with-coord-flip.svg +++ /dev/null @@ -1,71 +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/figs/geom-dotplot/stack-center.svg b/tests/figs/geom-dotplot/stack-center.svg deleted file mode 100644 index 16658ea8c6..0000000000 --- a/tests/figs/geom-dotplot/stack-center.svg +++ /dev/null @@ -1,71 +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/figs/geom-dotplot/stack-centerwhole-with-coord-flip.svg b/tests/figs/geom-dotplot/stack-centerwhole-with-coord-flip.svg deleted file mode 100644 index f58d500878..0000000000 --- a/tests/figs/geom-dotplot/stack-centerwhole-with-coord-flip.svg +++ /dev/null @@ -1,71 +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/figs/geom-dotplot/stack-centerwhole.svg b/tests/figs/geom-dotplot/stack-centerwhole.svg deleted file mode 100644 index e243a164d6..0000000000 --- a/tests/figs/geom-dotplot/stack-centerwhole.svg +++ /dev/null @@ -1,71 +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/figs/geom-dotplot/stack-down-with-coord-flip.svg b/tests/figs/geom-dotplot/stack-down-with-coord-flip.svg deleted file mode 100644 index c320c3778c..0000000000 --- a/tests/figs/geom-dotplot/stack-down-with-coord-flip.svg +++ /dev/null @@ -1,71 +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/figs/geom-dotplot/stack-down.svg b/tests/figs/geom-dotplot/stack-down.svg deleted file mode 100644 index ffc14cc4e3..0000000000 --- a/tests/figs/geom-dotplot/stack-down.svg +++ /dev/null @@ -1,71 +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/figs/geom-dotplot/stack-up-with-coord-flip.svg b/tests/figs/geom-dotplot/stack-up-with-coord-flip.svg deleted file mode 100644 index 85da513cea..0000000000 --- a/tests/figs/geom-dotplot/stack-up-with-coord-flip.svg +++ /dev/null @@ -1,71 +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/figs/geom-dotplot/stack-up.svg b/tests/figs/geom-dotplot/stack-up.svg deleted file mode 100644 index ed746873f9..0000000000 --- a/tests/figs/geom-dotplot/stack-up.svg +++ /dev/null @@ -1,71 +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/figs/geom-dotplot/stackgroups-with-3-groups-bin-y-histodot.svg b/tests/figs/geom-dotplot/stackgroups-with-3-groups-bin-y-histodot.svg deleted file mode 100644 index cbe3b8b3f5..0000000000 --- a/tests/figs/geom-dotplot/stackgroups-with-3-groups-bin-y-histodot.svg +++ /dev/null @@ -1,150 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --2 --1 -0 -1 -2 - - - - - - - - - -1.00 -1.25 -1.50 -1.75 -x -y - -x - - - - - - -A -B -C -stackgroups with 3 groups, bin y, histodot - diff --git a/tests/figs/geom-dotplot/stackgroups-with-3-groups-dot-density-with-aligned-bins.svg b/tests/figs/geom-dotplot/stackgroups-with-3-groups-dot-density-with-aligned-bins.svg deleted file mode 100644 index ea46ff6d0b..0000000000 --- a/tests/figs/geom-dotplot/stackgroups-with-3-groups-dot-density-with-aligned-bins.svg +++ /dev/null @@ -1,152 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -0.00 -0.25 -0.50 -0.75 -1.00 - - - - - - - - - - --2 --1 -0 -1 -2 -y -count - -x - - - - - - -A -B -C -stackgroups with 3 groups, dot-density with aligned bins - diff --git a/tests/figs/geom-dotplot/stackgroups-with-3-groups-histodot.svg b/tests/figs/geom-dotplot/stackgroups-with-3-groups-histodot.svg deleted file mode 100644 index f1b07f07f1..0000000000 --- a/tests/figs/geom-dotplot/stackgroups-with-3-groups-histodot.svg +++ /dev/null @@ -1,152 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -0.00 -0.25 -0.50 -0.75 -1.00 - - - - - - - - - - --2 --1 -0 -1 -2 -y -count - -x - - - - - - -A -B -C -stackgroups with 3 groups, histodot - diff --git a/tests/figs/geom-dotplot/variable-linetype-and-size-work-when-specified-as-aesthetics.svg b/tests/figs/geom-dotplot/variable-linetype-and-size-work-when-specified-as-aesthetics.svg deleted file mode 100644 index bd627d0990..0000000000 --- a/tests/figs/geom-dotplot/variable-linetype-and-size-work-when-specified-as-aesthetics.svg +++ /dev/null @@ -1,96 +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 work when specified as aesthetics - diff --git a/tests/figs/geom-hline-vline-abline/cartesian-lines-intersect-mid-bars.svg b/tests/figs/geom-hline-vline-abline/cartesian-lines-intersect-mid-bars.svg deleted file mode 100644 index bf15fd5f4b..0000000000 --- a/tests/figs/geom-hline-vline-abline/cartesian-lines-intersect-mid-bars.svg +++ /dev/null @@ -1,64 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -0 -1 -2 -3 -4 -5 - - - - - - - - - - - -A -B -C -D -E -cartesian lines intersect mid-bars - diff --git a/tests/figs/geom-hline-vline-abline/flipped-lines-intersect-mid-bars.svg b/tests/figs/geom-hline-vline-abline/flipped-lines-intersect-mid-bars.svg deleted file mode 100644 index 264aa9fd40..0000000000 --- a/tests/figs/geom-hline-vline-abline/flipped-lines-intersect-mid-bars.svg +++ /dev/null @@ -1,64 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -A -B -C -D -E - - - - - - - - - - - -0 -1 -2 -3 -4 -5 -flipped lines intersect mid-bars - diff --git a/tests/figs/geom-hline-vline-abline/lines-curved-in-azequalarea.svg b/tests/figs/geom-hline-vline-abline/lines-curved-in-azequalarea.svg deleted file mode 100644 index b87210903c..0000000000 --- a/tests/figs/geom-hline-vline-abline/lines-curved-in-azequalarea.svg +++ /dev/null @@ -1,56 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --40 --38 --36 - - - - - - -174 -176 -178 -long -lat -lines curved in azequalarea - diff --git a/tests/figs/geom-hline-vline-abline/polar-lines-intersect-mid-bars.svg b/tests/figs/geom-hline-vline-abline/polar-lines-intersect-mid-bars.svg deleted file mode 100644 index 07c9376f34..0000000000 --- a/tests/figs/geom-hline-vline-abline/polar-lines-intersect-mid-bars.svg +++ /dev/null @@ -1,69 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -A -B -C -D -E - - - - - - -0 -1 -2 -3 -4 -5 - - - - - - -polar lines intersect mid-bars - diff --git a/tests/figs/geom-hline-vline-abline/straight-lines-in-mercator.svg b/tests/figs/geom-hline-vline-abline/straight-lines-in-mercator.svg deleted file mode 100644 index c227e54c4c..0000000000 --- a/tests/figs/geom-hline-vline-abline/straight-lines-in-mercator.svg +++ /dev/null @@ -1,56 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --40 --38 --36 - - - - - - -174 -176 -178 -long -lat -straight lines in mercator - diff --git a/tests/figs/geom-path/lines-colour-with-changed-data-order-should-have-same-appearance.svg b/tests/figs/geom-path/lines-colour-with-changed-data-order-should-have-same-appearance.svg deleted file mode 100644 index 7ff8ea7a82..0000000000 --- a/tests/figs/geom-path/lines-colour-with-changed-data-order-should-have-same-appearance.svg +++ /dev/null @@ -1,81 +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, with changed data order, should have same appearance - diff --git a/tests/figs/geom-path/lines-colour.svg b/tests/figs/geom-path/lines-colour.svg deleted file mode 100644 index 1ddf23538d..0000000000 --- a/tests/figs/geom-path/lines-colour.svg +++ /dev/null @@ -1,81 +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/figs/geom-path/lines-with-changed-data-order-should-have-same-appearance.svg b/tests/figs/geom-path/lines-with-changed-data-order-should-have-same-appearance.svg deleted file mode 100644 index 04f3a18f88..0000000000 --- a/tests/figs/geom-path/lines-with-changed-data-order-should-have-same-appearance.svg +++ /dev/null @@ -1,61 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - -A -B -C -D -E - - - - - - - - - - - - -1 -2 -3 -4 -5 -6 -7 -value -category -lines with changed data order, should have same appearance - diff --git a/tests/figs/geom-path/lines.svg b/tests/figs/geom-path/lines.svg deleted file mode 100644 index c8f23c990b..0000000000 --- a/tests/figs/geom-path/lines.svg +++ /dev/null @@ -1,61 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - -A -B -C -D -E - - - - - - - - - - - - -1 -2 -3 -4 -5 -6 -7 -value -category -lines - diff --git a/tests/figs/geom-path/na-linetype.svg b/tests/figs/geom-path/na-linetype.svg deleted file mode 100644 index eccab9b237..0000000000 --- a/tests/figs/geom-path/na-linetype.svg +++ /dev/null @@ -1,51 +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/figs/geom-polygon/basic-polygon-plot.svg b/tests/figs/geom-polygon/basic-polygon-plot.svg deleted file mode 100644 index 29a3195d0d..0000000000 --- a/tests/figs/geom-polygon/basic-polygon-plot.svg +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - -0 -10 -20 -30 - - - - - - - - -0 -10 -20 -30 -x -y -basic polygon plot - diff --git a/tests/figs/geom-raster/1-x-3-just-0-0.svg b/tests/figs/geom-raster/1-x-3-just-0-0.svg deleted file mode 100644 index 114524f450..0000000000 --- a/tests/figs/geom-raster/1-x-3-just-0-0.svg +++ /dev/null @@ -1,71 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - --1.00 --0.75 --0.50 --0.25 -0.00 - - - - - - - - - --2 --1 -0 -1 -x -y - - -1.0 -1.5 -2.0 -2.5 -3.0 -z - - - - - - - - - - -1 x 3, just = (0, 0) - diff --git a/tests/figs/geom-raster/1-x-3-set-limits.svg b/tests/figs/geom-raster/1-x-3-set-limits.svg deleted file mode 100644 index a1dd5fdbc9..0000000000 --- a/tests/figs/geom-raster/1-x-3-set-limits.svg +++ /dev/null @@ -1,73 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - --2 --1 -0 -1 -2 - - - - - - - - - - --2 --1 -0 -1 -2 -x -y - - -1.0 -1.5 -2.0 -2.5 -3.0 -z - - - - - - - - - - -1 x 3, set limits - diff --git a/tests/figs/geom-raster/1-x-3.svg b/tests/figs/geom-raster/1-x-3.svg deleted file mode 100644 index 5b4fc66ca2..0000000000 --- a/tests/figs/geom-raster/1-x-3.svg +++ /dev/null @@ -1,69 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - --0.50 --0.25 -0.00 -0.25 -0.50 - - - - - - - - --1 -0 -1 -x -y - - -1.0 -1.5 -2.0 -2.5 -3.0 -z - - - - - - - - - - -1 x 3 - diff --git a/tests/figs/geom-raster/3-x-1-just-0-0.svg b/tests/figs/geom-raster/3-x-1-just-0-0.svg deleted file mode 100644 index 83e93def0b..0000000000 --- a/tests/figs/geom-raster/3-x-1-just-0-0.svg +++ /dev/null @@ -1,71 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - --2 --1 -0 -1 - - - - - - - - - --1.00 --0.75 --0.50 --0.25 -0.00 -x -y - - -1.0 -1.5 -2.0 -2.5 -3.0 -z - - - - - - - - - - -3 x 1, just = (0, 0) - diff --git a/tests/figs/geom-raster/3-x-1-set-limits.svg b/tests/figs/geom-raster/3-x-1-set-limits.svg deleted file mode 100644 index 90fafa19c1..0000000000 --- a/tests/figs/geom-raster/3-x-1-set-limits.svg +++ /dev/null @@ -1,73 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - --2 --1 -0 -1 -2 - - - - - - - - - - --2 --1 -0 -1 -2 -x -y - - -1.0 -1.5 -2.0 -2.5 -3.0 -z - - - - - - - - - - -3 x 1, set limits - diff --git a/tests/figs/geom-raster/3-x-1.svg b/tests/figs/geom-raster/3-x-1.svg deleted file mode 100644 index 089e142e72..0000000000 --- a/tests/figs/geom-raster/3-x-1.svg +++ /dev/null @@ -1,69 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - --1 -0 -1 - - - - - - - - --0.50 --0.25 -0.00 -0.25 -0.50 -x -y - - -1.0 -1.5 -2.0 -2.5 -3.0 -z - - - - - - - - - - -3 x 1 - diff --git a/tests/figs/geom-raster/3-x-2-just-0-0.svg b/tests/figs/geom-raster/3-x-2-just-0-0.svg deleted file mode 100644 index 66d9a85fdc..0000000000 --- a/tests/figs/geom-raster/3-x-2-just-0-0.svg +++ /dev/null @@ -1,77 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - --2 --1 -0 -1 - - - - - - - - - --3 --2 --1 -0 -1 -x -y - - -1 -2 -3 -4 -5 -6 -z - - - - - - - - - - - - -3 x 2, just = (0, 0) - diff --git a/tests/figs/geom-raster/3-x-2-set-limits.svg b/tests/figs/geom-raster/3-x-2-set-limits.svg deleted file mode 100644 index db9074cf90..0000000000 --- a/tests/figs/geom-raster/3-x-2-set-limits.svg +++ /dev/null @@ -1,79 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - --2 --1 -0 -1 -2 - - - - - - - - - - --2 --1 -0 -1 -2 -x -y - - -1 -2 -3 -4 -5 -6 -z - - - - - - - - - - - - -3 x 2, set limits - diff --git a/tests/figs/geom-raster/3-x-2.svg b/tests/figs/geom-raster/3-x-2.svg deleted file mode 100644 index 64e8a6ff9b..0000000000 --- a/tests/figs/geom-raster/3-x-2.svg +++ /dev/null @@ -1,75 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - --1 -0 -1 - - - - - - - - --2 --1 -0 -1 -2 -x -y - - -1 -2 -3 -4 -5 -6 -z - - - - - - - - - - - - -3 x 2 - diff --git a/tests/figs/geom-raster/irregular-categorical.svg b/tests/figs/geom-raster/irregular-categorical.svg deleted file mode 100644 index c856b08472..0000000000 --- a/tests/figs/geom-raster/irregular-categorical.svg +++ /dev/null @@ -1,63 +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/figs/geom-sf/labels-for-north-carolina.svg b/tests/figs/geom-sf/labels-for-north-carolina.svg deleted file mode 100644 index d5d41244c5..0000000000 --- a/tests/figs/geom-sf/labels-for-north-carolina.svg +++ /dev/null @@ -1,45 +0,0 @@ - - - - - - - - - - - - - - -ashe - - - - - - -4357807 -4357807 -4357807 - - - - - - --9072027 --9072027 --9072027 -x -y -Labels for North Carolina - diff --git a/tests/figs/geom-sf/north-carolina-county-boundaries.svg b/tests/figs/geom-sf/north-carolina-county-boundaries.svg deleted file mode 100644 index 429a3d8696..0000000000 --- a/tests/figs/geom-sf/north-carolina-county-boundaries.svg +++ /dev/null @@ -1,92 +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/figs/geom-sf/spatial-points.svg b/tests/figs/geom-sf/spatial-points.svg deleted file mode 100644 index a12e85703f..0000000000 --- a/tests/figs/geom-sf/spatial-points.svg +++ /dev/null @@ -1,65 +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/figs/geom-sf/texts-for-north-carolina.svg b/tests/figs/geom-sf/texts-for-north-carolina.svg deleted file mode 100644 index 3ab383d80a..0000000000 --- a/tests/figs/geom-sf/texts-for-north-carolina.svg +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - - - - - - - -ashe - - - - - - -4357807 -4357807 -4357807 - - - - - - --9072027 --9072027 --9072027 -x -y -Texts for North Carolina - diff --git a/tests/figs/geom-smooth/ribbon-turned-off-in-geom-smooth.svg b/tests/figs/geom-smooth/ribbon-turned-off-in-geom-smooth.svg deleted file mode 100644 index d2effdd0bf..0000000000 --- a/tests/figs/geom-smooth/ribbon-turned-off-in-geom-smooth.svg +++ /dev/null @@ -1,61 +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/figs/geom-smooth/ribbon-turned-on-in-geom-smooth.svg b/tests/figs/geom-smooth/ribbon-turned-on-in-geom-smooth.svg deleted file mode 100644 index 9f9b2ef8d4..0000000000 --- a/tests/figs/geom-smooth/ribbon-turned-on-in-geom-smooth.svg +++ /dev/null @@ -1,69 +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/figs/geom-violin/basic.svg b/tests/figs/geom-violin/basic.svg deleted file mode 100644 index ccc18aa3b6..0000000000 --- a/tests/figs/geom-violin/basic.svg +++ /dev/null @@ -1,54 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - --3 --2 --1 -0 -1 -2 -3 - - - - - - - - - - -A -B -C -x -y -basic - diff --git a/tests/figs/geom-violin/continuous-x-axis-multiple-groups-center-should-be-at-2-0.svg b/tests/figs/geom-violin/continuous-x-axis-multiple-groups-center-should-be-at-2-0.svg deleted file mode 100644 index 0083673043..0000000000 --- a/tests/figs/geom-violin/continuous-x-axis-multiple-groups-center-should-be-at-2-0.svg +++ /dev/null @@ -1,52 +0,0 @@ - - - - - - - - - - - - - - - - - - - - --3 --2 --1 -0 -1 -2 -3 - - - - - - - - - - -1.5 -2.0 -2.5 -as.numeric(x) -y -continuous x axis, multiple groups (center should be at 2.0) - diff --git a/tests/figs/geom-violin/continuous-x-axis-single-group-center-should-be-at-1-0.svg b/tests/figs/geom-violin/continuous-x-axis-single-group-center-should-be-at-1-0.svg deleted file mode 100644 index 1281752533..0000000000 --- a/tests/figs/geom-violin/continuous-x-axis-single-group-center-should-be-at-1-0.svg +++ /dev/null @@ -1,52 +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/figs/geom-violin/coord-flip.svg b/tests/figs/geom-violin/coord-flip.svg deleted file mode 100644 index 8e9daa0e69..0000000000 --- a/tests/figs/geom-violin/coord-flip.svg +++ /dev/null @@ -1,54 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - -A -B -C - - - - - - - - - - --3 --2 --1 -0 -1 -2 -3 -y -x -coord_flip - diff --git a/tests/figs/geom-violin/coord-polar.svg b/tests/figs/geom-violin/coord-polar.svg deleted file mode 100644 index cda2cdd775..0000000000 --- a/tests/figs/geom-violin/coord-polar.svg +++ /dev/null @@ -1,59 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - -A -B -C - - - - - - --3 --2 --1 -0 -1 -2 - - - - - - -x -y -coord_polar - diff --git a/tests/figs/geom-violin/dodging-and-coord-flip.svg b/tests/figs/geom-violin/dodging-and-coord-flip.svg deleted file mode 100644 index 13d66d5863..0000000000 --- a/tests/figs/geom-violin/dodging-and-coord-flip.svg +++ /dev/null @@ -1,61 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - -foo - - - - - - - - --3 --2 --1 -0 -1 -2 -3 -y -x - -x - - - - - - -A -B -C -dodging and coord_flip - diff --git a/tests/figs/geom-violin/dodging.svg b/tests/figs/geom-violin/dodging.svg deleted file mode 100644 index 6de498da6c..0000000000 --- a/tests/figs/geom-violin/dodging.svg +++ /dev/null @@ -1,61 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - --3 --2 --1 -0 -1 -2 -3 - - - - - - - - -foo -x -y - -x - - - - - - -A -B -C -dodging - diff --git a/tests/figs/geom-violin/grouping-on-x-and-fill-dodge-width-0-5.svg b/tests/figs/geom-violin/grouping-on-x-and-fill-dodge-width-0-5.svg deleted file mode 100644 index 0bb611dbc4..0000000000 --- a/tests/figs/geom-violin/grouping-on-x-and-fill-dodge-width-0-5.svg +++ /dev/null @@ -1,57 +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/figs/geom-violin/grouping-on-x-and-fill.svg b/tests/figs/geom-violin/grouping-on-x-and-fill.svg deleted file mode 100644 index 5e1615e261..0000000000 --- a/tests/figs/geom-violin/grouping-on-x-and-fill.svg +++ /dev/null @@ -1,57 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - --2 -0 -2 - - - - - - -A -B -C -x -y - -g - - - - -e -f -grouping on x and fill - diff --git a/tests/figs/geom-violin/narrower-width-5.svg b/tests/figs/geom-violin/narrower-width-5.svg deleted file mode 100644 index 6ac71ac178..0000000000 --- a/tests/figs/geom-violin/narrower-width-5.svg +++ /dev/null @@ -1,54 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - --3 --2 --1 -0 -1 -2 -3 - - - - - - - - - - -A -B -C -x -y -narrower (width=.5) - diff --git a/tests/figs/geom-violin/quantiles.svg b/tests/figs/geom-violin/quantiles.svg deleted file mode 100644 index cec75d18d5..0000000000 --- a/tests/figs/geom-violin/quantiles.svg +++ /dev/null @@ -1,63 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --3 --2 --1 -0 -1 -2 -3 - - - - - - - - - - -A -B -C -x -y -quantiles - diff --git a/tests/figs/geom-violin/scale-area-to-sample-size-c-is-smaller.svg b/tests/figs/geom-violin/scale-area-to-sample-size-c-is-smaller.svg deleted file mode 100644 index f0eb61c53f..0000000000 --- a/tests/figs/geom-violin/scale-area-to-sample-size-c-is-smaller.svg +++ /dev/null @@ -1,54 +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/figs/geom-violin/with-smaller-bandwidth-and-points.svg b/tests/figs/geom-violin/with-smaller-bandwidth-and-points.svg deleted file mode 100644 index 39830f3c2d..0000000000 --- a/tests/figs/geom-violin/with-smaller-bandwidth-and-points.svg +++ /dev/null @@ -1,129 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --3 --2 --1 -0 -1 -2 -3 - - - - - - - - - - -A -B -C -x -y -with smaller bandwidth and points - diff --git a/tests/figs/geom-violin/with-tails-and-points.svg b/tests/figs/geom-violin/with-tails-and-points.svg deleted file mode 100644 index 3081f4cf1d..0000000000 --- a/tests/figs/geom-violin/with-tails-and-points.svg +++ /dev/null @@ -1,125 +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/figs/guides/align-facet-labels-facets-horizontal.svg b/tests/figs/guides/align-facet-labels-facets-horizontal.svg deleted file mode 100644 index 85a1f113dd..0000000000 --- a/tests/figs/guides/align-facet-labels-facets-horizontal.svg +++ /dev/null @@ -1,695 +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/figs/guides/align-facet-labels-facets-vertical.svg b/tests/figs/guides/align-facet-labels-facets-vertical.svg deleted file mode 100644 index 781758395e..0000000000 --- a/tests/figs/guides/align-facet-labels-facets-vertical.svg +++ /dev/null @@ -1,695 +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/figs/guides/facet-grid-legend-on-bottom.svg b/tests/figs/guides/facet-grid-legend-on-bottom.svg deleted file mode 100644 index cd760f4380..0000000000 --- a/tests/figs/guides/facet-grid-legend-on-bottom.svg +++ /dev/null @@ -1,65 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - -1 - - - - - - - - - - - -1 - - - - - - -very long axis label -very long axis label - -x -y - -z - - -a -title of plot - diff --git a/tests/figs/guides/facet-grid-legend-on-left.svg b/tests/figs/guides/facet-grid-legend-on-left.svg deleted file mode 100644 index df68dfdda0..0000000000 --- a/tests/figs/guides/facet-grid-legend-on-left.svg +++ /dev/null @@ -1,65 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - -1 - - - - - - - - - - - -1 - - - - - - -very long axis label -very long axis label - -x -y - -z - - -a -title of plot - diff --git a/tests/figs/guides/facet-grid-legend-on-right.svg b/tests/figs/guides/facet-grid-legend-on-right.svg deleted file mode 100644 index de39d31d53..0000000000 --- a/tests/figs/guides/facet-grid-legend-on-right.svg +++ /dev/null @@ -1,65 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - -1 - - - - - - - - - - - -1 - - - - - - -very long axis label -very long axis label - -x -y - -z - - -a -title of plot - diff --git a/tests/figs/guides/facet-grid-legend-on-top.svg b/tests/figs/guides/facet-grid-legend-on-top.svg deleted file mode 100644 index df56a124c7..0000000000 --- a/tests/figs/guides/facet-grid-legend-on-top.svg +++ /dev/null @@ -1,65 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - -1 - - - - - - - - - - - -1 - - - - - - -very long axis label -very long axis label - -x -y - -z - - -a -title of plot - diff --git a/tests/figs/guides/facet-wrap-legend-on-bottom.svg b/tests/figs/guides/facet-wrap-legend-on-bottom.svg deleted file mode 100644 index 69b3109203..0000000000 --- a/tests/figs/guides/facet-wrap-legend-on-bottom.svg +++ /dev/null @@ -1,53 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - -1 - - - - - - -very long axis label -very long axis label - -x -y - -z - - -a -title of plot - diff --git a/tests/figs/guides/facet-wrap-legend-on-left.svg b/tests/figs/guides/facet-wrap-legend-on-left.svg deleted file mode 100644 index 8d72d84f70..0000000000 --- a/tests/figs/guides/facet-wrap-legend-on-left.svg +++ /dev/null @@ -1,53 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - -1 - - - - - - -very long axis label -very long axis label - -x -y - -z - - -a -title of plot - diff --git a/tests/figs/guides/facet-wrap-legend-on-right.svg b/tests/figs/guides/facet-wrap-legend-on-right.svg deleted file mode 100644 index 25498a2957..0000000000 --- a/tests/figs/guides/facet-wrap-legend-on-right.svg +++ /dev/null @@ -1,53 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - -1 - - - - - - -very long axis label -very long axis label - -x -y - -z - - -a -title of plot - diff --git a/tests/figs/guides/facet-wrap-legend-on-top.svg b/tests/figs/guides/facet-wrap-legend-on-top.svg deleted file mode 100644 index c4b18f16e7..0000000000 --- a/tests/figs/guides/facet-wrap-legend-on-top.svg +++ /dev/null @@ -1,53 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - -1 - - - - - - -very long axis label -very long axis label - -x -y - -z - - -a -title of plot - diff --git a/tests/figs/guides/guide-axis-customization.svg b/tests/figs/guides/guide-axis-customization.svg deleted file mode 100644 index a242c3b6a2..0000000000 --- a/tests/figs/guides/guide-axis-customization.svg +++ /dev/null @@ -1,292 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -30 -20 -40 - - - - - - -20 -40 -30 - - - - - - - -2seater -midsize -pickup -suv -compact -minivan -subcompact -class -hwy -hwy -guide_axis() customization - diff --git a/tests/figs/guides/guide-bins-can-remove-axis.svg b/tests/figs/guides/guide-bins-can-remove-axis.svg deleted file mode 100644 index 383f841c10..0000000000 --- a/tests/figs/guides/guide-bins-can-remove-axis.svg +++ /dev/null @@ -1,67 +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/figs/guides/guide-bins-can-show-arrows.svg b/tests/figs/guides/guide-bins-can-show-arrows.svg deleted file mode 100644 index 3415446818..0000000000 --- a/tests/figs/guides/guide-bins-can-show-arrows.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 show arrows - diff --git a/tests/figs/guides/guide-bins-can-show-limits.svg b/tests/figs/guides/guide-bins-can-show-limits.svg deleted file mode 100644 index c4b804a4d4..0000000000 --- a/tests/figs/guides/guide-bins-can-show-limits.svg +++ /dev/null @@ -1,75 +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.0 -1.5 -2.0 -2.5 -3.0 -guide_bins can show limits - diff --git a/tests/figs/guides/guide-bins-can-show-ticks.svg b/tests/figs/guides/guide-bins-can-show-ticks.svg deleted file mode 100644 index 3746b63a12..0000000000 --- a/tests/figs/guides/guide-bins-can-show-ticks.svg +++ /dev/null @@ -1,67 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - -5.0 -5.5 -6.0 -6.5 -7.0 - - - - - - - - - -1 -2 -3 -4 -x -y - - - - - -1.5 -2.0 -3.0 -x - - - - - - -guide_bins can show ticks - diff --git a/tests/figs/guides/guide-bins-looks-as-it-should.svg b/tests/figs/guides/guide-bins-looks-as-it-should.svg deleted file mode 100644 index 650baf4365..0000000000 --- a/tests/figs/guides/guide-bins-looks-as-it-should.svg +++ /dev/null @@ -1,71 +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/figs/guides/guide-bins-work-horizontally.svg b/tests/figs/guides/guide-bins-work-horizontally.svg deleted file mode 100644 index 7d5b3222bb..0000000000 --- a/tests/figs/guides/guide-bins-work-horizontally.svg +++ /dev/null @@ -1,71 +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/figs/guides/guide-coloursteps-can-have-bins-relative-to-binsize.svg b/tests/figs/guides/guide-coloursteps-can-have-bins-relative-to-binsize.svg deleted file mode 100644 index 009180678b..0000000000 --- a/tests/figs/guides/guide-coloursteps-can-have-bins-relative-to-binsize.svg +++ /dev/null @@ -1,157 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - -5.0 -5.5 -6.0 -6.5 -7.0 - - - - - - - - - -1 -2 -3 -4 -x -y - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -1.5 -2.0 -3.0 -x -guide_coloursteps can have bins relative to binsize - diff --git a/tests/figs/guides/guide-coloursteps-can-show-limits.svg b/tests/figs/guides/guide-coloursteps-can-show-limits.svg deleted file mode 100644 index a894fc9fcd..0000000000 --- a/tests/figs/guides/guide-coloursteps-can-show-limits.svg +++ /dev/null @@ -1,63 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - -5.0 -5.5 -6.0 -6.5 -7.0 - - - - - - - - - -1 -2 -3 -4 -x -y - - - - - -1 -1.5 -2.0 -3.0 -4 -x -guide_coloursteps can show limits - diff --git a/tests/figs/guides/guide-coloursteps-looks-as-it-should.svg b/tests/figs/guides/guide-coloursteps-looks-as-it-should.svg deleted file mode 100644 index ba8a0c49b2..0000000000 --- a/tests/figs/guides/guide-coloursteps-looks-as-it-should.svg +++ /dev/null @@ -1,61 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - -5.0 -5.5 -6.0 -6.5 -7.0 - - - - - - - - - -1 -2 -3 -4 -x -y - - - - - -1.5 -2.0 -3.0 -x -guide_coloursteps looks as it should - diff --git a/tests/figs/guides/guide-title-and-text-positioning-and-alignment-via-themes.svg b/tests/figs/guides/guide-title-and-text-positioning-and-alignment-via-themes.svg deleted file mode 100644 index dae2e7c107..0000000000 --- a/tests/figs/guides/guide-title-and-text-positioning-and-alignment-via-themes.svg +++ /dev/null @@ -1,83 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - -0 -25 -50 -75 -100 - - - - - - - - - - -0 -25 -50 -75 -100 -x -x - - -25 -50 -75 -100 -x - - - - - - - - - -x - - - - - - - - -25 -50 -75 -100 -guide title and text positioning and alignment via themes - diff --git a/tests/figs/guides/guides-specified-in-guides.svg b/tests/figs/guides/guides-specified-in-guides.svg deleted file mode 100644 index 9d3274dabb..0000000000 --- a/tests/figs/guides/guides-specified-in-guides.svg +++ /dev/null @@ -1,305 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -compact -minivan -subcompact -2seater -midsize -pickup -suv - - - - - - - -30 -20 -40 - - - - - - -20 -40 -30 - - - - - - - -2seater -midsize -pickup -suv -compact -minivan -subcompact -class -hwy -guides specified in guides() - diff --git a/tests/figs/guides/horizontal-gap-of-1cm-between-guide-and-guide-text.svg b/tests/figs/guides/horizontal-gap-of-1cm-between-guide-and-guide-text.svg deleted file mode 100644 index fadcc45eb1..0000000000 --- a/tests/figs/guides/horizontal-gap-of-1cm-between-guide-and-guide-text.svg +++ /dev/null @@ -1,83 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 - - - - - - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 -x -y - - -1.0 -1.5 -2.0 -2.5 -3.0 -y - - - - - - - - - - - -factor(x) - - - - - - -1 -2 -3 -horizontal gap of 1cm between guide and guide text - diff --git a/tests/figs/guides/legend-inside-plot-bottom-left-of-legend-at-center.svg b/tests/figs/guides/legend-inside-plot-bottom-left-of-legend-at-center.svg deleted file mode 100644 index b9cace887b..0000000000 --- a/tests/figs/guides/legend-inside-plot-bottom-left-of-legend-at-center.svg +++ /dev/null @@ -1,79 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - -0.00 -0.25 -0.50 -0.75 -1.00 - - - - - - - - -A -B -C -x -y - -x - - - - - - -A -B -C - - -1.0 -1.5 -2.0 -2.5 -3.0 -1:3 - - - - - - - - - - -legend inside plot, bottom left of legend at center - diff --git a/tests/figs/guides/legend-inside-plot-bottom-left.svg b/tests/figs/guides/legend-inside-plot-bottom-left.svg deleted file mode 100644 index 0e1ba6ee26..0000000000 --- a/tests/figs/guides/legend-inside-plot-bottom-left.svg +++ /dev/null @@ -1,79 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - -0.00 -0.25 -0.50 -0.75 -1.00 - - - - - - - - -A -B -C -x -y - -x - - - - - - -A -B -C - - -1.0 -1.5 -2.0 -2.5 -3.0 -1:3 - - - - - - - - - - -legend inside plot, bottom left - diff --git a/tests/figs/guides/legend-inside-plot-centered.svg b/tests/figs/guides/legend-inside-plot-centered.svg deleted file mode 100644 index cf71a88ffc..0000000000 --- a/tests/figs/guides/legend-inside-plot-centered.svg +++ /dev/null @@ -1,79 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - -0.00 -0.25 -0.50 -0.75 -1.00 - - - - - - - - -A -B -C -x -y - -x - - - - - - -A -B -C - - -1.0 -1.5 -2.0 -2.5 -3.0 -1:3 - - - - - - - - - - -legend inside plot, centered - diff --git a/tests/figs/guides/legend-inside-plot-top-right.svg b/tests/figs/guides/legend-inside-plot-top-right.svg deleted file mode 100644 index b0feec5e12..0000000000 --- a/tests/figs/guides/legend-inside-plot-top-right.svg +++ /dev/null @@ -1,79 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - -0.00 -0.25 -0.50 -0.75 -1.00 - - - - - - - - -A -B -C -x -y - -x - - - - - - -A -B -C - - -1.0 -1.5 -2.0 -2.5 -3.0 -1:3 - - - - - - - - - - -legend inside plot, top right - diff --git a/tests/figs/guides/legend-on-bottom.svg b/tests/figs/guides/legend-on-bottom.svg deleted file mode 100644 index f8cc08bc07..0000000000 --- a/tests/figs/guides/legend-on-bottom.svg +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - - - - - - - - - - - - - - -very long axis label - - -very long axis label -x -y - -z - - -a -title of plot - diff --git a/tests/figs/guides/legend-on-left.svg b/tests/figs/guides/legend-on-left.svg deleted file mode 100644 index b2540f7be4..0000000000 --- a/tests/figs/guides/legend-on-left.svg +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - - - - - - - - - - - - - - -very long axis label - - -very long axis label -x -y - -z - - -a -title of plot - diff --git a/tests/figs/guides/legend-on-right.svg b/tests/figs/guides/legend-on-right.svg deleted file mode 100644 index 48d76a4544..0000000000 --- a/tests/figs/guides/legend-on-right.svg +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - - - - - - - - - - - - - - -very long axis label - - -very long axis label -x -y - -z - - -a -title of plot - diff --git a/tests/figs/guides/legend-on-top.svg b/tests/figs/guides/legend-on-top.svg deleted file mode 100644 index 47998eb5b2..0000000000 --- a/tests/figs/guides/legend-on-top.svg +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - - - - - - - - - - - - - - -very long axis label - - -very long axis label -x -y - -z - - -a -title of plot - diff --git a/tests/figs/guides/multi-line-guide-title-works.svg b/tests/figs/guides/multi-line-guide-title-works.svg deleted file mode 100644 index c7ee1f67ab..0000000000 --- a/tests/figs/guides/multi-line-guide-title-works.svg +++ /dev/null @@ -1,87 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 - - - - - - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 -x -y - - -1.0 -1.5 -2.0 -2.5 -3.0 -the -continuous -colorscale - - - - - - - - - - - -the -discrete -colorscale - - - - - - -1 -2 -3 -multi-line guide title works - diff --git a/tests/figs/guides/one-combined-colorbar-for-colour-and-fill-aesthetics.svg b/tests/figs/guides/one-combined-colorbar-for-colour-and-fill-aesthetics.svg deleted file mode 100644 index 1965e13fa8..0000000000 --- a/tests/figs/guides/one-combined-colorbar-for-colour-and-fill-aesthetics.svg +++ /dev/null @@ -1,78 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - -5.0 -5.5 -6.0 -6.5 -7.0 - - - - - - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 -x -y - - -1 -2 -3 -4 -5 -6 -7 -value - - - - - - - - - - - - - - -one combined colorbar for colour and fill aesthetics - diff --git a/tests/figs/guides/padding-in-legend-box.svg b/tests/figs/guides/padding-in-legend-box.svg deleted file mode 100644 index 4d486e6126..0000000000 --- a/tests/figs/guides/padding-in-legend-box.svg +++ /dev/null @@ -1,79 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - -0.00 -0.25 -0.50 -0.75 -1.00 - - - - - - - - -A -B -C -x -y - -x - - - - - - -A -B -C - - -1.0 -1.5 -2.0 -2.5 -3.0 -1:3 - - - - - - - - - - -padding in legend box - diff --git a/tests/figs/guides/position-guide-titles.svg b/tests/figs/guides/position-guide-titles.svg deleted file mode 100644 index 69f3b2e748..0000000000 --- a/tests/figs/guides/position-guide-titles.svg +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - - - - - - - - - - - - - - - -x (secondary) -x (primary) -y (primary) -y (secondary) -position guide titles - diff --git a/tests/figs/guides/rotated-guide-titles-and-labels.svg b/tests/figs/guides/rotated-guide-titles-and-labels.svg deleted file mode 100644 index 1bfcfd86e9..0000000000 --- a/tests/figs/guides/rotated-guide-titles-and-labels.svg +++ /dev/null @@ -1,83 +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 - - -5.0 -7.5 -10.0 -12.5 -15.0 -value - - - - - - - - - - -rotated guide titles and labels - diff --git a/tests/figs/guides/thick-axis-lines.svg b/tests/figs/guides/thick-axis-lines.svg deleted file mode 100644 index 6522121d6d..0000000000 --- a/tests/figs/guides/thick-axis-lines.svg +++ /dev/null @@ -1,85 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -10 -15 -20 -25 -30 -35 - - - - - - - - - - - -2 -3 -4 -5 -wt -mpg -thick axis lines - diff --git a/tests/figs/guides/vertical-gap-of-1cm-between-guide-title-and-guide.svg b/tests/figs/guides/vertical-gap-of-1cm-between-guide-title-and-guide.svg deleted file mode 100644 index dd5f97b58e..0000000000 --- a/tests/figs/guides/vertical-gap-of-1cm-between-guide-title-and-guide.svg +++ /dev/null @@ -1,83 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 - - - - - - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 -x -y - - -1.0 -1.5 -2.0 -2.5 -3.0 -y - - - - - - - - - - - -factor(x) - - - - - - -1 -2 -3 -vertical gap of 1cm between guide title and guide - diff --git a/tests/figs/guides/white-to-red-gradient-colorbar-thick-black-tick-marks-green-frame.svg b/tests/figs/guides/white-to-red-gradient-colorbar-thick-black-tick-marks-green-frame.svg deleted file mode 100644 index 5ba8cfc8d6..0000000000 --- a/tests/figs/guides/white-to-red-gradient-colorbar-thick-black-tick-marks-green-frame.svg +++ /dev/null @@ -1,73 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - -0.0 -0.5 -1.0 -1.5 -2.0 - - - - - - - - - - -0.0 -0.5 -1.0 -1.5 -2.0 -x -x - - - -0.0 -0.5 -1.0 -1.5 -2.0 -x - - - - - - - - - - -white-to-red gradient colorbar, thick black tick marks, green frame - diff --git a/tests/figs/guides/white-to-red-gradient-colorbar-white-tick-marks-no-frame.svg b/tests/figs/guides/white-to-red-gradient-colorbar-white-tick-marks-no-frame.svg deleted file mode 100644 index 7b25664f0b..0000000000 --- a/tests/figs/guides/white-to-red-gradient-colorbar-white-tick-marks-no-frame.svg +++ /dev/null @@ -1,72 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - -0.0 -0.5 -1.0 -1.5 -2.0 - - - - - - - - - - -0.0 -0.5 -1.0 -1.5 -2.0 -x -x - - -0.0 -0.5 -1.0 -1.5 -2.0 -x - - - - - - - - - - -white-to-red gradient colorbar, white tick marks, no frame - diff --git a/tests/figs/labels/defaults.svg b/tests/figs/labels/defaults.svg deleted file mode 100644 index ed00f5bb29..0000000000 --- a/tests/figs/labels/defaults.svg +++ /dev/null @@ -1,58 +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/figs/labels/manual.svg b/tests/figs/labels/manual.svg deleted file mode 100644 index 0e3a0d128a..0000000000 --- a/tests/figs/labels/manual.svg +++ /dev/null @@ -1,73 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -2.5 -5.0 -7.5 -10.0 - - - - - - - - -2.5 -5.0 -7.5 -10.0 -x -y -Manual -Fig. A) - diff --git a/tests/figs/labels/other-position.svg b/tests/figs/labels/other-position.svg deleted file mode 100644 index 8eb91180b9..0000000000 --- a/tests/figs/labels/other-position.svg +++ /dev/null @@ -1,73 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -2.5 -5.0 -7.5 -10.0 - - - - - - - - -2.5 -5.0 -7.5 -10.0 -x -y -Other position -Fig. A) - diff --git a/tests/figs/legend-key-glyphs/rectangle-and-dotplot-key-glyphs.svg b/tests/figs/legend-key-glyphs/rectangle-and-dotplot-key-glyphs.svg deleted file mode 100644 index 5f58708482..0000000000 --- a/tests/figs/legend-key-glyphs/rectangle-and-dotplot-key-glyphs.svg +++ /dev/null @@ -1,71 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 - - - - - - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 -x -y - -colour - - -line - -z - - - - - - -a -b -c -rectangle and dotplot key glyphs - diff --git a/tests/figs/legend-key-glyphs/time-series-and-polygon-key-glyphs.svg b/tests/figs/legend-key-glyphs/time-series-and-polygon-key-glyphs.svg deleted file mode 100644 index 9d4ae8141d..0000000000 --- a/tests/figs/legend-key-glyphs/time-series-and-polygon-key-glyphs.svg +++ /dev/null @@ -1,71 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 - - - - - - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 -x -y - -colour - - -line - -z - - - - - - -a -b -c -time series and polygon key glyphs - diff --git a/tests/figs/position-stack/area-stacking.svg b/tests/figs/position-stack/area-stacking.svg deleted file mode 100644 index 5a4a9b2371..0000000000 --- a/tests/figs/position-stack/area-stacking.svg +++ /dev/null @@ -1,55 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - -0 -5 - - - - - - -1 -2 -3 -4 -x -value - -category - - - - -A -B -Area stacking - diff --git a/tests/figs/scale-date/dates-along-x-default-breaks.svg b/tests/figs/scale-date/dates-along-x-default-breaks.svg deleted file mode 100644 index 9a945e117b..0000000000 --- a/tests/figs/scale-date/dates-along-x-default-breaks.svg +++ /dev/null @@ -1,50 +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/figs/scale-date/dates-along-y-default-breaks.svg b/tests/figs/scale-date/dates-along-y-default-breaks.svg deleted file mode 100644 index 00c5119e66..0000000000 --- a/tests/figs/scale-date/dates-along-y-default-breaks.svg +++ /dev/null @@ -1,50 +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/figs/scale-date/scale-x-date-breaks-3-weeks.svg b/tests/figs/scale-date/scale-x-date-breaks-3-weeks.svg deleted file mode 100644 index d5f0067896..0000000000 --- a/tests/figs/scale-date/scale-x-date-breaks-3-weeks.svg +++ /dev/null @@ -1,52 +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/figs/scale-date/scale-x-date-breaks-date-breaks-2-weeks.svg b/tests/figs/scale-date/scale-x-date-breaks-date-breaks-2-weeks.svg deleted file mode 100644 index 643861c037..0000000000 --- a/tests/figs/scale-date/scale-x-date-breaks-date-breaks-2-weeks.svg +++ /dev/null @@ -1,58 +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 = date_breaks("2 weeks")) - diff --git a/tests/figs/scale-date/scale-x-date-labels-date-format-m-d.svg b/tests/figs/scale-date/scale-x-date-labels-date-format-m-d.svg deleted file mode 100644 index 3eadf50d54..0000000000 --- a/tests/figs/scale-date/scale-x-date-labels-date-format-m-d.svg +++ /dev/null @@ -1,50 +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 = date_format("%m/%d")) - diff --git a/tests/figs/scale-date/scale-x-date-labels-date-format-w-week.svg b/tests/figs/scale-date/scale-x-date-labels-date-format-w-week.svg deleted file mode 100644 index c88656d217..0000000000 --- a/tests/figs/scale-date/scale-x-date-labels-date-format-w-week.svg +++ /dev/null @@ -1,50 +0,0 @@ - - - - - - - - - - - - - - - - - - - - -0.00 -0.25 -0.50 -0.75 -1.00 - - - - - - - - - -09 -13 -18 -22 -week -price -scale_x_date(labels = date_format("%W"), "week") - diff --git a/tests/figs/scale-date/scale-y-date-breaks-3-weeks.svg b/tests/figs/scale-date/scale-y-date-breaks-3-weeks.svg deleted file mode 100644 index a17c140000..0000000000 --- a/tests/figs/scale-date/scale-y-date-breaks-3-weeks.svg +++ /dev/null @@ -1,52 +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/figs/scale-date/scale-y-date-breaks-date-breaks-2-weeks.svg b/tests/figs/scale-date/scale-y-date-breaks-date-breaks-2-weeks.svg deleted file mode 100644 index 287f86dc45..0000000000 --- a/tests/figs/scale-date/scale-y-date-breaks-date-breaks-2-weeks.svg +++ /dev/null @@ -1,58 +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 = date_breaks("2 weeks")) - diff --git a/tests/figs/scales-breaks-and-labels/character.svg b/tests/figs/scales-breaks-and-labels/character.svg deleted file mode 100644 index 8cd54b49ad..0000000000 --- a/tests/figs/scales-breaks-and-labels/character.svg +++ /dev/null @@ -1,54 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 - - - - - - - -a -b -character - diff --git a/tests/figs/scales-breaks-and-labels/date.svg b/tests/figs/scales-breaks-and-labels/date.svg deleted file mode 100644 index 1c4f90c6cd..0000000000 --- a/tests/figs/scales-breaks-and-labels/date.svg +++ /dev/null @@ -1,76 +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/figs/scales-breaks-and-labels/functional-limits.svg b/tests/figs/scales-breaks-and-labels/functional-limits.svg deleted file mode 100644 index 22999ec4d2..0000000000 --- a/tests/figs/scales-breaks-and-labels/functional-limits.svg +++ /dev/null @@ -1,78 +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/figs/scales-breaks-and-labels/no-alpha-breaks-no-legend.svg b/tests/figs/scales-breaks-and-labels/no-alpha-breaks-no-legend.svg deleted file mode 100644 index 821cedb808..0000000000 --- a/tests/figs/scales-breaks-and-labels/no-alpha-breaks-no-legend.svg +++ /dev/null @@ -1,54 +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/figs/scales-breaks-and-labels/no-colour-breaks-no-legend.svg b/tests/figs/scales-breaks-and-labels/no-colour-breaks-no-legend.svg deleted file mode 100644 index b90aea07e7..0000000000 --- a/tests/figs/scales-breaks-and-labels/no-colour-breaks-no-legend.svg +++ /dev/null @@ -1,54 +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/figs/scales-breaks-and-labels/no-fill-breaks-no-legend.svg b/tests/figs/scales-breaks-and-labels/no-fill-breaks-no-legend.svg deleted file mode 100644 index d22b126d68..0000000000 --- a/tests/figs/scales-breaks-and-labels/no-fill-breaks-no-legend.svg +++ /dev/null @@ -1,54 +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/figs/scales-breaks-and-labels/no-size-breaks-no-legend.svg b/tests/figs/scales-breaks-and-labels/no-size-breaks-no-legend.svg deleted file mode 100644 index c4f5c2c830..0000000000 --- a/tests/figs/scales-breaks-and-labels/no-size-breaks-no-legend.svg +++ /dev/null @@ -1,54 +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/figs/scales-breaks-and-labels/no-x-breaks.svg b/tests/figs/scales-breaks-and-labels/no-x-breaks.svg deleted file mode 100644 index 6da605dd15..0000000000 --- a/tests/figs/scales-breaks-and-labels/no-x-breaks.svg +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 - - - - - -x -y -no x breaks - diff --git a/tests/figs/scales-breaks-and-labels/no-y-breaks.svg b/tests/figs/scales-breaks-and-labels/no-y-breaks.svg deleted file mode 100644 index c2a214baa9..0000000000 --- a/tests/figs/scales-breaks-and-labels/no-y-breaks.svg +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - -1.0 -1.5 -2.0 -2.5 -3.0 -x -y -no y breaks - diff --git a/tests/figs/scales-breaks-and-labels/numeric-exp.svg b/tests/figs/scales-breaks-and-labels/numeric-exp.svg deleted file mode 100644 index 6f81ca5425..0000000000 --- a/tests/figs/scales-breaks-and-labels/numeric-exp.svg +++ /dev/null @@ -1,67 +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/figs/scales-breaks-and-labels/numeric-log.svg b/tests/figs/scales-breaks-and-labels/numeric-log.svg deleted file mode 100644 index 05b117e09a..0000000000 --- a/tests/figs/scales-breaks-and-labels/numeric-log.svg +++ /dev/null @@ -1,61 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -1 -10 -100 -1000 -10000 - - - - - - - - -8 -128 -2048 -numeric-log - diff --git a/tests/figs/scales-breaks-and-labels/numeric-polar.svg b/tests/figs/scales-breaks-and-labels/numeric-polar.svg deleted file mode 100644 index 3ec3f49ee1..0000000000 --- a/tests/figs/scales-breaks-and-labels/numeric-polar.svg +++ /dev/null @@ -1,56 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -2 -1/3 - - - - - - -1 -2 -3 - - - -numeric-polar - diff --git a/tests/figs/scales-breaks-and-labels/numeric.svg b/tests/figs/scales-breaks-and-labels/numeric.svg deleted file mode 100644 index ae50e8134e..0000000000 --- a/tests/figs/scales-breaks-and-labels/numeric.svg +++ /dev/null @@ -1,51 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -1 -2 -3 - - - - - - -1 -2 -3 -numeric - diff --git a/tests/figs/sec-axis/sec-axis-custom-transform.svg b/tests/figs/sec-axis/sec-axis-custom-transform.svg deleted file mode 100644 index 0dbe8af171..0000000000 --- a/tests/figs/sec-axis/sec-axis-custom-transform.svg +++ /dev/null @@ -1,104 +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/figs/sec-axis/sec-axis-datetime-scale.svg b/tests/figs/sec-axis/sec-axis-datetime-scale.svg deleted file mode 100644 index 725fd0c833..0000000000 --- a/tests/figs/sec-axis/sec-axis-datetime-scale.svg +++ /dev/null @@ -1,131 +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/figs/sec-axis/sec-axis-independent-transformations.svg b/tests/figs/sec-axis/sec-axis-independent-transformations.svg deleted file mode 100644 index 3e3764dffe..0000000000 --- a/tests/figs/sec-axis/sec-axis-independent-transformations.svg +++ /dev/null @@ -1,77 +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/figs/sec-axis/sec-axis-monotonicity-test.svg b/tests/figs/sec-axis/sec-axis-monotonicity-test.svg deleted file mode 100644 index cd76b3c44e..0000000000 --- a/tests/figs/sec-axis/sec-axis-monotonicity-test.svg +++ /dev/null @@ -1,77 +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/figs/sec-axis/sec-axis-sec-power-transform.svg b/tests/figs/sec-axis/sec-axis-sec-power-transform.svg deleted file mode 100644 index 19517dabc6..0000000000 --- a/tests/figs/sec-axis/sec-axis-sec-power-transform.svg +++ /dev/null @@ -1,88 +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/figs/sec-axis/sec-axis-skewed-transform.svg b/tests/figs/sec-axis/sec-axis-skewed-transform.svg deleted file mode 100644 index c5b429b83a..0000000000 --- a/tests/figs/sec-axis/sec-axis-skewed-transform.svg +++ /dev/null @@ -1,188 +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/figs/sec-axis/sec-axis-with-division.svg b/tests/figs/sec-axis/sec-axis-with-division.svg deleted file mode 100644 index 364b556ead..0000000000 --- a/tests/figs/sec-axis/sec-axis-with-division.svg +++ /dev/null @@ -1,309 +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/figs/stat-sum/summary-with-color-and-lines.svg b/tests/figs/stat-sum/summary-with-color-and-lines.svg deleted file mode 100644 index 3c271e1ad9..0000000000 --- a/tests/figs/stat-sum/summary-with-color-and-lines.svg +++ /dev/null @@ -1,97 +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/figs/stat-sum/summary-with-crossbars-manual-grouping.svg b/tests/figs/stat-sum/summary-with-crossbars-manual-grouping.svg deleted file mode 100644 index 53ef2d299c..0000000000 --- a/tests/figs/stat-sum/summary-with-crossbars-manual-grouping.svg +++ /dev/null @@ -1,91 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -10 -15 -20 -25 -30 -35 - - - - - - - - - - - -4 -5 -6 -7 -8 -cyl -mpg -summary with crossbars, manual grouping - diff --git a/tests/figs/stat-sum/summary-with-crossbars-no-grouping.svg b/tests/figs/stat-sum/summary-with-crossbars-no-grouping.svg deleted file mode 100644 index 6d45c41b03..0000000000 --- a/tests/figs/stat-sum/summary-with-crossbars-no-grouping.svg +++ /dev/null @@ -1,91 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -10 -15 -20 -25 -30 -35 - - - - - - - - - - - -4 -5 -6 -7 -8 -cyl -mpg -summary with crossbars, no grouping - diff --git a/tests/figs/test-coord-flip-r/turning-off-secondary-title-with-coord-flip.svg b/tests/figs/test-coord-flip-r/turning-off-secondary-title-with-coord-flip.svg deleted file mode 100644 index dd5bff660d..0000000000 --- a/tests/figs/test-coord-flip-r/turning-off-secondary-title-with-coord-flip.svg +++ /dev/null @@ -1,97 +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/figs/themes/axes-styling.svg b/tests/figs/themes/axes-styling.svg deleted file mode 100644 index eb4192ff84..0000000000 --- a/tests/figs/themes/axes-styling.svg +++ /dev/null @@ -1,94 +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/figs/themes/caption-aligned-to-entire-plot.svg b/tests/figs/themes/caption-aligned-to-entire-plot.svg deleted file mode 100644 index 8edbac9519..0000000000 --- a/tests/figs/themes/caption-aligned-to-entire-plot.svg +++ /dev/null @@ -1,198 +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/figs/themes/custom-strip-elements-can-render.svg b/tests/figs/themes/custom-strip-elements-can-render.svg deleted file mode 100644 index 7f9bad8712..0000000000 --- a/tests/figs/themes/custom-strip-elements-can-render.svg +++ /dev/null @@ -1,185 +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 -custom strip elements can render - diff --git a/tests/figs/themes/height-is-3-times-width-2-column-facets.svg b/tests/figs/themes/height-is-3-times-width-2-column-facets.svg deleted file mode 100644 index 5465fc9781..0000000000 --- a/tests/figs/themes/height-is-3-times-width-2-column-facets.svg +++ /dev/null @@ -1,107 +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/figs/themes/height-is-3-times-width-2-row-facets.svg b/tests/figs/themes/height-is-3-times-width-2-row-facets.svg deleted file mode 100644 index 63444e2e64..0000000000 --- a/tests/figs/themes/height-is-3-times-width-2-row-facets.svg +++ /dev/null @@ -1,107 +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/figs/themes/height-is-3-times-width-2-wrap-facets.svg b/tests/figs/themes/height-is-3-times-width-2-wrap-facets.svg deleted file mode 100644 index 49ca95b9ae..0000000000 --- a/tests/figs/themes/height-is-3-times-width-2-wrap-facets.svg +++ /dev/null @@ -1,107 +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/figs/themes/height-is-3-times-width-2x2-facets.svg b/tests/figs/themes/height-is-3-times-width-2x2-facets.svg deleted file mode 100644 index 0e0cb3b59f..0000000000 --- a/tests/figs/themes/height-is-3-times-width-2x2-facets.svg +++ /dev/null @@ -1,163 +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/figs/themes/height-is-3-times-width.svg b/tests/figs/themes/height-is-3-times-width.svg deleted file mode 100644 index 6aa16b79c2..0000000000 --- a/tests/figs/themes/height-is-3-times-width.svg +++ /dev/null @@ -1,63 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -2 -4 -6 -8 - - - - - - - - -2 -4 -6 -8 -height is 3 times width - diff --git a/tests/figs/themes/rotated-x-axis-tick-labels.svg b/tests/figs/themes/rotated-x-axis-tick-labels.svg deleted file mode 100644 index 006b4ad1a8..0000000000 --- a/tests/figs/themes/rotated-x-axis-tick-labels.svg +++ /dev/null @@ -1,61 +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/figs/themes/strip-styling.svg b/tests/figs/themes/strip-styling.svg deleted file mode 100644 index 7a67871fc7..0000000000 --- a/tests/figs/themes/strip-styling.svg +++ /dev/null @@ -1,223 +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/figs/themes/theme-bw-large.svg b/tests/figs/themes/theme-bw-large.svg deleted file mode 100644 index 25b8813bf2..0000000000 --- a/tests/figs/themes/theme-bw-large.svg +++ /dev/null @@ -1,92 +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/figs/themes/theme-bw.svg b/tests/figs/themes/theme-bw.svg deleted file mode 100644 index a5a2f25315..0000000000 --- a/tests/figs/themes/theme-bw.svg +++ /dev/null @@ -1,92 +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/figs/themes/theme-classic-large.svg b/tests/figs/themes/theme-classic-large.svg deleted file mode 100644 index b5a64c0536..0000000000 --- a/tests/figs/themes/theme-classic-large.svg +++ /dev/null @@ -1,73 +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/figs/themes/theme-classic.svg b/tests/figs/themes/theme-classic.svg deleted file mode 100644 index f583c492ad..0000000000 --- a/tests/figs/themes/theme-classic.svg +++ /dev/null @@ -1,73 +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/figs/themes/theme-dark-large.svg b/tests/figs/themes/theme-dark-large.svg deleted file mode 100644 index 82e662f791..0000000000 --- a/tests/figs/themes/theme-dark-large.svg +++ /dev/null @@ -1,91 +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/figs/themes/theme-dark.svg b/tests/figs/themes/theme-dark.svg deleted file mode 100644 index 0968012e1e..0000000000 --- a/tests/figs/themes/theme-dark.svg +++ /dev/null @@ -1,91 +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/figs/themes/theme-gray-large.svg b/tests/figs/themes/theme-gray-large.svg deleted file mode 100644 index e6d1979bb3..0000000000 --- a/tests/figs/themes/theme-gray-large.svg +++ /dev/null @@ -1,91 +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/figs/themes/theme-gray.svg b/tests/figs/themes/theme-gray.svg deleted file mode 100644 index f8233decea..0000000000 --- a/tests/figs/themes/theme-gray.svg +++ /dev/null @@ -1,91 +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/figs/themes/theme-light-large.svg b/tests/figs/themes/theme-light-large.svg deleted file mode 100644 index d813d5928e..0000000000 --- a/tests/figs/themes/theme-light-large.svg +++ /dev/null @@ -1,92 +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/figs/themes/theme-light.svg b/tests/figs/themes/theme-light.svg deleted file mode 100644 index 02b576d6a7..0000000000 --- a/tests/figs/themes/theme-light.svg +++ /dev/null @@ -1,92 +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/figs/themes/theme-linedraw-large.svg b/tests/figs/themes/theme-linedraw-large.svg deleted file mode 100644 index b17de5d1fb..0000000000 --- a/tests/figs/themes/theme-linedraw-large.svg +++ /dev/null @@ -1,92 +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/figs/themes/theme-linedraw.svg b/tests/figs/themes/theme-linedraw.svg deleted file mode 100644 index 214f809431..0000000000 --- a/tests/figs/themes/theme-linedraw.svg +++ /dev/null @@ -1,92 +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/figs/themes/theme-minimal-large.svg b/tests/figs/themes/theme-minimal-large.svg deleted file mode 100644 index c51d9f1d13..0000000000 --- a/tests/figs/themes/theme-minimal-large.svg +++ /dev/null @@ -1,75 +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/figs/themes/theme-minimal.svg b/tests/figs/themes/theme-minimal.svg deleted file mode 100644 index 96a3d07ce9..0000000000 --- a/tests/figs/themes/theme-minimal.svg +++ /dev/null @@ -1,75 +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/figs/themes/theme-void-large.svg b/tests/figs/themes/theme-void-large.svg deleted file mode 100644 index 0f6f299b5a..0000000000 --- a/tests/figs/themes/theme-void-large.svg +++ /dev/null @@ -1,45 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - -1 - - - - - -z - - -a -b -theme_void_large - diff --git a/tests/figs/themes/theme-void.svg b/tests/figs/themes/theme-void.svg deleted file mode 100644 index 5209064dba..0000000000 --- a/tests/figs/themes/theme-void.svg +++ /dev/null @@ -1,45 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - -1 - - - - - -z - - -a -b -theme_void - diff --git a/tests/figs/themes/ticks-length.svg b/tests/figs/themes/ticks-length.svg deleted file mode 100644 index 99e8d21ff9..0000000000 --- a/tests/figs/themes/ticks-length.svg +++ /dev/null @@ -1,75 +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/figs/themes/title-aligned-to-entire-plot.svg b/tests/figs/themes/title-aligned-to-entire-plot.svg deleted file mode 100644 index 4d86911d17..0000000000 --- a/tests/figs/themes/title-aligned-to-entire-plot.svg +++ /dev/null @@ -1,198 +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 entire plot - diff --git a/tests/figs/themes/titles-aligned-to-entire-plot.svg b/tests/figs/themes/titles-aligned-to-entire-plot.svg deleted file mode 100644 index 3e329cf8c4..0000000000 --- a/tests/figs/themes/titles-aligned-to-entire-plot.svg +++ /dev/null @@ -1,198 +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/figs/themes/width-is-3-times-height.svg b/tests/figs/themes/width-is-3-times-height.svg deleted file mode 100644 index c60a33bc25..0000000000 --- a/tests/figs/themes/width-is-3-times-height.svg +++ /dev/null @@ -1,63 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -2 -4 -6 -8 - - - - - - - - -2 -4 -6 -8 -width is 3 times height - 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..e0d8c10fbf --- /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 +1 +1 +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..d6f345d408 --- /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 +1 +1 +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..e983a40604 --- /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..c3f3abbb96 --- /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..e669375ed3 --- /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..c7707bd82c --- /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..6f424b0c4a --- /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..89932b9196 --- /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..808508ac55 --- /dev/null +++ b/tests/testthat/_snaps/coord-flip/turning-off-secondary-title-with-coord-flip.svg @@ -0,0 +1,103 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +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..44b8697d86 --- /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..de2a70c04f --- /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/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..f92366fdaf --- /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..a920ac8382 --- /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..dfc63cb3d9 --- /dev/null +++ b/tests/testthat/_snaps/coord-polar/rays-circular-arcs-and-spiral-arcs.svg @@ -0,0 +1,354 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +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..ea6d713540 --- /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..abfad410e5 --- /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..e00a3d6a7c --- /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..05714336c7 --- /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/default-crs-turned-off.svg b/tests/testthat/_snaps/coord_sf/default-crs-turned-off.svg new file mode 100644 index 0000000000..1e27b491ae --- /dev/null +++ b/tests/testthat/_snaps/coord_sf/default-crs-turned-off.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 +default crs turned off + + 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..aed4074275 --- /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..01ad38ec0f --- /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-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-use-long-lat.svg b/tests/testthat/_snaps/coord_sf/non-sf-geoms-use-long-lat.svg new file mode 100644 index 0000000000..313d7b5086 --- /dev/null +++ b/tests/testthat/_snaps/coord_sf/non-sf-geoms-use-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 use long-lat + + 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..dc682bfc86 --- /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/rectangle-and-dotplot-key-glyphs.svg b/tests/testthat/_snaps/draw-key/rectangle-and-dotplot-key-glyphs.svg new file mode 100644 index 0000000000..b777379e15 --- /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 + +colour + + +line + +z + + + + + + +a +b +c +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..9f3f1b321c --- /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 + +colour + + +line + +z + + + + + + +a +b +c +time series and polygon key glyphs + + 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..5ee270737c --- /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/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-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/outlier-colours.svg b/tests/testthat/_snaps/geom-boxplot/outlier-colours.svg new file mode 100644 index 0000000000..9fe68765e5 --- /dev/null +++ b/tests/testthat/_snaps/geom-boxplot/outlier-colours.svg @@ -0,0 +1,90 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +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-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..1dc6177a07 --- /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..60d7a9c242 --- /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..98fb6ca6e1 --- /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..46d3c57a45 --- /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..c5590ea87c --- /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..9cff877a24 --- /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..88b364c02a --- /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..ebe5b625d3 --- /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..195f4e2d30 --- /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-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..5081a3f5fb --- /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..a4ee53e833 --- /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..e8bea27789 --- /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..883307c0de --- /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..b93fe6d07c --- /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..96f941b067 --- /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..6204deb780 --- /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..e2e5527d47 --- /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..184dd556f2 --- /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..6112554a3e --- /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..33a7b0c0e0 --- /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..2d0906d883 --- /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..46696349be --- /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..186529d039 --- /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..89c5c95ebc --- /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..13432f057f --- /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..9bda01b0c3 --- /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..51fc5d5ecb --- /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..349635d4e9 --- /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..e85720ceee --- /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..b85943c371 --- /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..14ea4f7e97 --- /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..fc804fdbee --- /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/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..39d778d6db --- /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-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..7626c78bb6 --- /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..3f22659a78 --- /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..9ac5fc7739 --- /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-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..01e2e01c6f --- /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-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..ce0763cff1 --- /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 + + +1.0 +1.5 +2.0 +2.5 +3.0 +z + + + + + + + + + + +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..8d30468d6d --- /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 + + +1.0 +1.5 +2.0 +2.5 +3.0 +z + + + + + + + + + + +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..cb1b36f7a1 --- /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 + + +1.0 +1.5 +2.0 +2.5 +3.0 +z + + + + + + + + + + +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..28f62d9499 --- /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 + + +1.0 +1.5 +2.0 +2.5 +3.0 +z + + + + + + + + + + +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..8f0ea47377 --- /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 + + +1.0 +1.5 +2.0 +2.5 +3.0 +z + + + + + + + + + + +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..bc44868920 --- /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 + + +1.0 +1.5 +2.0 +2.5 +3.0 +z + + + + + + + + + + +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..10dc0076d0 --- /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 + + +1 +2 +3 +4 +5 +6 +z + + + + + + + + + + + + +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..049016291e --- /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 + + +1 +2 +3 +4 +5 +6 +z + + + + + + + + + + + + +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..a2a9405c1f --- /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 + + +1 +2 +3 +4 +5 +6 +z + + + + + + + + + + + + +3 x 2 + + 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..68dda93cfe --- /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-sf/labels-for-north-carolina.svg b/tests/testthat/_snaps/geom-sf/labels-for-north-carolina.svg new file mode 100644 index 0000000000..4bba0503d4 --- /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/north-carolina-county-boundaries.svg b/tests/testthat/_snaps/geom-sf/north-carolina-county-boundaries.svg new file mode 100644 index 0000000000..ad792fb43c --- /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..96ffe43109 --- /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..f4e502e9be --- /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..7b7b48e8e1 --- /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..8ae2a01166 --- /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..be2909a5e3 --- /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..de956c3d0c --- /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..aaf695e14d --- /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..485b5db7d2 --- /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..305199eb22 --- /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..85ac63dec4 --- /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..c74994eb8c --- /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..0c0af24bef --- /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/quantiles.svg b/tests/testthat/_snaps/geom-violin/quantiles.svg new file mode 100644 index 0000000000..1c8a03cc5d --- /dev/null +++ b/tests/testthat/_snaps/geom-violin/quantiles.svg @@ -0,0 +1,69 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +-3 +-2 +-1 +0 +1 +2 +3 + + + + + + + + + + +A +B +C +x +y +quantiles + + 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..a2fd1b9e99 --- /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/with-smaller-bandwidth-and-points.svg b/tests/testthat/_snaps/geom-violin/with-smaller-bandwidth-and-points.svg new file mode 100644 index 0000000000..134a00178e --- /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..d2b441c84d --- /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/guides/align-facet-labels-facets-horizontal.svg b/tests/testthat/_snaps/guides/align-facet-labels-facets-horizontal.svg new file mode 100644 index 0000000000..84b81e2ba2 --- /dev/null +++ b/tests/testthat/_snaps/guides/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/guides/align-facet-labels-facets-vertical.svg b/tests/testthat/_snaps/guides/align-facet-labels-facets-vertical.svg new file mode 100644 index 0000000000..c86d890439 --- /dev/null +++ b/tests/testthat/_snaps/guides/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/figs/guides/axis-guides-basic.svg b/tests/testthat/_snaps/guides/axis-guides-basic.svg similarity index 72% rename from tests/figs/guides/axis-guides-basic.svg rename to tests/testthat/_snaps/guides/axis-guides-basic.svg index efc918fbba..fd0aa28b32 100644 --- a/tests/figs/guides/axis-guides-basic.svg +++ b/tests/testthat/_snaps/guides/axis-guides-basic.svg @@ -1,8 +1,8 @@ - + + + + + + + @@ -54,9 +60,9 @@ -1 -2 -3 +1 +2 +3 @@ -64,21 +70,22 @@ -1 -2 -3 +1 +2 +3 -1 -2 -3 +1 +2 +3 -1 -2 -3 +1 +2 +3 + diff --git a/tests/figs/guides/axis-guides-check-overlap.svg b/tests/testthat/_snaps/guides/axis-guides-check-overlap.svg similarity index 59% rename from tests/figs/guides/axis-guides-check-overlap.svg rename to tests/testthat/_snaps/guides/axis-guides-check-overlap.svg index dc9faa4c64..ca5e199e8e 100644 --- a/tests/figs/guides/axis-guides-check-overlap.svg +++ b/tests/testthat/_snaps/guides/axis-guides-check-overlap.svg @@ -1,8 +1,8 @@ - + + + + + + + @@ -54,15 +60,15 @@ -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 +7,000,000,000 +15,000,000,000 +12,000,000,000 +17,000,000,000 @@ -104,26 +110,26 @@ -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 +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 @@ -145,36 +151,36 @@ -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 +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 +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 @@ -195,4 +201,5 @@ + diff --git a/tests/figs/guides/axis-guides-negative-rotation.svg b/tests/testthat/_snaps/guides/axis-guides-negative-rotation.svg similarity index 58% rename from tests/figs/guides/axis-guides-negative-rotation.svg rename to tests/testthat/_snaps/guides/axis-guides-negative-rotation.svg index fb9c1da5d3..f4999ff374 100644 --- a/tests/figs/guides/axis-guides-negative-rotation.svg +++ b/tests/testthat/_snaps/guides/axis-guides-negative-rotation.svg @@ -1,8 +1,8 @@ - + + + + + + + @@ -54,16 +60,16 @@ -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 @@ -85,16 +91,16 @@ -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 @@ -106,27 +112,27 @@ -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 @@ -137,4 +143,5 @@ + diff --git a/tests/figs/guides/axis-guides-positive-rotation.svg b/tests/testthat/_snaps/guides/axis-guides-positive-rotation.svg similarity index 58% rename from tests/figs/guides/axis-guides-positive-rotation.svg rename to tests/testthat/_snaps/guides/axis-guides-positive-rotation.svg index fe73c5aa16..cd88e34aeb 100644 --- a/tests/figs/guides/axis-guides-positive-rotation.svg +++ b/tests/testthat/_snaps/guides/axis-guides-positive-rotation.svg @@ -1,8 +1,8 @@ - + + + + + + + @@ -54,16 +60,16 @@ -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 @@ -85,16 +91,16 @@ -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 @@ -106,27 +112,27 @@ -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 @@ -137,4 +143,5 @@ + diff --git a/tests/figs/guides/axis-guides-text-dodged-into-rows-cols.svg b/tests/testthat/_snaps/guides/axis-guides-text-dodged-into-rows-cols.svg similarity index 56% rename from tests/figs/guides/axis-guides-text-dodged-into-rows-cols.svg rename to tests/testthat/_snaps/guides/axis-guides-text-dodged-into-rows-cols.svg index 224723b0c0..404aaa6f45 100644 --- a/tests/figs/guides/axis-guides-text-dodged-into-rows-cols.svg +++ b/tests/testthat/_snaps/guides/axis-guides-text-dodged-into-rows-cols.svg @@ -1,8 +1,8 @@ - + + + + + + + @@ -54,16 +60,16 @@ -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 @@ -85,16 +91,16 @@ -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 @@ -106,27 +112,27 @@ -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 -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 @@ -137,4 +143,5 @@ + diff --git a/tests/figs/guides/axis-guides-vertical-negative-rotation.svg b/tests/testthat/_snaps/guides/axis-guides-vertical-negative-rotation.svg similarity index 55% rename from tests/figs/guides/axis-guides-vertical-negative-rotation.svg rename to tests/testthat/_snaps/guides/axis-guides-vertical-negative-rotation.svg index ade52eeafd..7a90c21e3c 100644 --- a/tests/figs/guides/axis-guides-vertical-negative-rotation.svg +++ b/tests/testthat/_snaps/guides/axis-guides-vertical-negative-rotation.svg @@ -1,8 +1,8 @@ - + + + + + + + @@ -54,16 +60,16 @@ -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 @@ -85,16 +91,16 @@ -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 @@ -106,27 +112,27 @@ -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 @@ -137,4 +143,5 @@ + diff --git a/tests/figs/guides/axis-guides-vertical-rotation.svg b/tests/testthat/_snaps/guides/axis-guides-vertical-rotation.svg similarity index 55% rename from tests/figs/guides/axis-guides-vertical-rotation.svg rename to tests/testthat/_snaps/guides/axis-guides-vertical-rotation.svg index 66f71a4725..0f4dbb29fa 100644 --- a/tests/figs/guides/axis-guides-vertical-rotation.svg +++ b/tests/testthat/_snaps/guides/axis-guides-vertical-rotation.svg @@ -1,8 +1,8 @@ - + + + + + + + @@ -54,16 +60,16 @@ -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 @@ -85,16 +91,16 @@ -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 @@ -106,27 +112,27 @@ -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 @@ -137,4 +143,5 @@ + diff --git a/tests/figs/guides/axis-guides-zero-breaks.svg b/tests/testthat/_snaps/guides/axis-guides-zero-breaks.svg similarity index 91% rename from tests/figs/guides/axis-guides-zero-breaks.svg rename to tests/testthat/_snaps/guides/axis-guides-zero-breaks.svg index b157ad8d9b..2ef933e31b 100644 --- a/tests/figs/guides/axis-guides-zero-breaks.svg +++ b/tests/testthat/_snaps/guides/axis-guides-zero-breaks.svg @@ -1,8 +1,8 @@ - + + + + + + + @@ -57,4 +63,5 @@ + diff --git a/tests/figs/guides/axis-guides-zero-rotation.svg b/tests/testthat/_snaps/guides/axis-guides-zero-rotation.svg similarity index 59% rename from tests/figs/guides/axis-guides-zero-rotation.svg rename to tests/testthat/_snaps/guides/axis-guides-zero-rotation.svg index e3d93e9a3c..ba629bd0f5 100644 --- a/tests/figs/guides/axis-guides-zero-rotation.svg +++ b/tests/testthat/_snaps/guides/axis-guides-zero-rotation.svg @@ -1,8 +1,8 @@ - + + + + + + + @@ -54,16 +60,16 @@ -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 @@ -85,16 +91,16 @@ -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 @@ -106,27 +112,27 @@ -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 @@ -137,4 +143,5 @@ + 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-axis-customization.svg b/tests/testthat/_snaps/guides/guide-axis-customization.svg new file mode 100644 index 0000000000..5e47dae137 --- /dev/null +++ b/tests/testthat/_snaps/guides/guide-axis-customization.svg @@ -0,0 +1,298 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +30 +20 +40 + + + + + + +20 +40 +30 + + + + + + + +2seater +midsize +pickup +suv +compact +minivan +subcompact +class +hwy +hwy +guide_axis() customization + + 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..1d3dca0376 --- /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..4b6e1addad --- /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.0 +1.5 +2.0 +2.5 +3.0 +guide_bins can show limits + + diff --git a/tests/testthat/_snaps/guides/guide-bins-can-show-ticks.svg b/tests/testthat/_snaps/guides/guide-bins-can-show-ticks.svg new file mode 100644 index 0000000000..af4c9e0caa --- /dev/null +++ b/tests/testthat/_snaps/guides/guide-bins-can-show-ticks.svg @@ -0,0 +1,73 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + +5.0 +5.5 +6.0 +6.5 +7.0 + + + + + + + + + +1 +2 +3 +4 +x +y + + + + + +1.5 +2.0 +3.0 +x + + + + + + +guide_bins can show ticks + + 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..042535c950 --- /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-work-horizontally.svg b/tests/testthat/_snaps/guides/guide-bins-work-horizontally.svg new file mode 100644 index 0000000000..92e45677ae --- /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-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..f6ba570bce --- /dev/null +++ b/tests/testthat/_snaps/guides/guide-coloursteps-can-have-bins-relative-to-binsize.svg @@ -0,0 +1,163 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + +5.0 +5.5 +6.0 +6.5 +7.0 + + + + + + + + + +1 +2 +3 +4 +x +y + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +1.5 +2.0 +3.0 +x +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..78c5da475f --- /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 + + + + + +1 +1.5 +2.0 +3.0 +4 +x +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..06c2992fca --- /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 + + + + + +1.5 +2.0 +3.0 +x +guide_coloursteps looks as it should + + 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..40e6580d27 --- /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 + + +25 +50 +75 +100 +x + + + + + + + + + +x + + + + + + + + +25 +50 +75 +100 +guide title and text positioning and alignment via themes + + diff --git a/tests/testthat/_snaps/guides/guides-specified-in-guides.svg b/tests/testthat/_snaps/guides/guides-specified-in-guides.svg new file mode 100644 index 0000000000..81d6765c86 --- /dev/null +++ b/tests/testthat/_snaps/guides/guides-specified-in-guides.svg @@ -0,0 +1,311 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +compact +minivan +subcompact +2seater +midsize +pickup +suv + + + + + + + +30 +20 +40 + + + + + + +20 +40 +30 + + + + + + + +2seater +midsize +pickup +suv +compact +minivan +subcompact +class +hwy +guides specified in guides() + + 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..bde5f6ee07 --- /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 + + +1.0 +1.5 +2.0 +2.5 +3.0 +y + + + + + + + + + + + +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..2e2cb20118 --- /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 + +x + + + + + + +A +B +C + + +1.0 +1.5 +2.0 +2.5 +3.0 +1:3 + + + + + + + + + + +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..62007709dd --- /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 + +x + + + + + + +A +B +C + + +1.0 +1.5 +2.0 +2.5 +3.0 +1:3 + + + + + + + + + + +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..b6edb4bece --- /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 + +x + + + + + + +A +B +C + + +1.0 +1.5 +2.0 +2.5 +3.0 +1:3 + + + + + + + + + + +legend inside plot, centered + + 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..ab25b11b5c --- /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 + +x + + + + + + +A +B +C + + +1.0 +1.5 +2.0 +2.5 +3.0 +1:3 + + + + + + + + + + +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/multi-line-guide-title-works.svg b/tests/testthat/_snaps/guides/multi-line-guide-title-works.svg new file mode 100644 index 0000000000..4ae49eb03b --- /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 + + +1.0 +1.5 +2.0 +2.5 +3.0 +the +continuous +colorscale + + + + + + + + + + + +the +discrete +colorscale + + + + + + +1 +2 +3 +multi-line guide title works + + diff --git a/tests/testthat/_snaps/guides/one-combined-colorbar-for-colour-and-fill-aesthetics.svg b/tests/testthat/_snaps/guides/one-combined-colorbar-for-colour-and-fill-aesthetics.svg new file mode 100644 index 0000000000..f49185354d --- /dev/null +++ b/tests/testthat/_snaps/guides/one-combined-colorbar-for-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 + + +1 +2 +3 +4 +5 +6 +7 +value + + + + + + + + + + + + + + +one combined colorbar for colour and fill aesthetics + + 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..1ad20d0047 --- /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 + +x + + + + + + +A +B +C + + +1.0 +1.5 +2.0 +2.5 +3.0 +1:3 + + + + + + + + + + +padding in legend box + + diff --git a/tests/testthat/_snaps/guides/position-guide-titles.svg b/tests/testthat/_snaps/guides/position-guide-titles.svg new file mode 100644 index 0000000000..7e836db38d --- /dev/null +++ b/tests/testthat/_snaps/guides/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/guides/rotated-guide-titles-and-labels.svg b/tests/testthat/_snaps/guides/rotated-guide-titles-and-labels.svg new file mode 100644 index 0000000000..c24ce9cfe3 --- /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 + + +5.0 +7.5 +10.0 +12.5 +15.0 +value + + + + + + + + + + +rotated guide titles and labels + + diff --git a/tests/testthat/_snaps/guides/thick-axis-lines.svg b/tests/testthat/_snaps/guides/thick-axis-lines.svg new file mode 100644 index 0000000000..a714b00dfd --- /dev/null +++ b/tests/testthat/_snaps/guides/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/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..c3a9aeeb4e --- /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 + + +1.0 +1.5 +2.0 +2.5 +3.0 +y + + + + + + + + + + + +factor(x) + + + + + + +1 +2 +3 +vertical gap of 1cm between guide title and guide + + diff --git a/tests/testthat/_snaps/guides/white-to-red-colorbar-thick-black-ticks-green-frame.svg b/tests/testthat/_snaps/guides/white-to-red-colorbar-thick-black-ticks-green-frame.svg new file mode 100644 index 0000000000..601ce5379f --- /dev/null +++ b/tests/testthat/_snaps/guides/white-to-red-colorbar-thick-black-ticks-green-frame.svg @@ -0,0 +1,79 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + +0.0 +0.5 +1.0 +1.5 +2.0 + + + + + + + + + + +0.0 +0.5 +1.0 +1.5 +2.0 +x +x + + + +0.0 +0.5 +1.0 +1.5 +2.0 +x + + + + + + + + + + +white-to-red colorbar, thick black ticks, green frame + + diff --git a/tests/testthat/_snaps/guides/white-to-red-colorbar-white-ticks-no-frame.svg b/tests/testthat/_snaps/guides/white-to-red-colorbar-white-ticks-no-frame.svg new file mode 100644 index 0000000000..94d8822b7e --- /dev/null +++ b/tests/testthat/_snaps/guides/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 + + +0.0 +0.5 +1.0 +1.5 +2.0 +x + + + + + + + + + + +white-to-red colorbar, white ticks, no frame + + 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/manual.svg b/tests/testthat/_snaps/labels/manual.svg new file mode 100644 index 0000000000..e908279714 --- /dev/null +++ b/tests/testthat/_snaps/labels/manual.svg @@ -0,0 +1,79 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +2.5 +5.0 +7.5 +10.0 + + + + + + + + +2.5 +5.0 +7.5 +10.0 +x +y +Manual +Fig. A) + + diff --git a/tests/testthat/_snaps/labels/other-position.svg b/tests/testthat/_snaps/labels/other-position.svg new file mode 100644 index 0000000000..f89c5248c3 --- /dev/null +++ b/tests/testthat/_snaps/labels/other-position.svg @@ -0,0 +1,79 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +2.5 +5.0 +7.5 +10.0 + + + + + + + + +2.5 +5.0 +7.5 +10.0 +x +y +Other position +Fig. A) + + 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..7792c90d03 --- /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-date-breaks-2-weeks.svg b/tests/testthat/_snaps/scale_date/scale-x-date-breaks-date-breaks-2-weeks.svg new file mode 100644 index 0000000000..a3d93d4fab --- /dev/null +++ b/tests/testthat/_snaps/scale_date/scale-x-date-breaks-date-breaks-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 = date_breaks("2 weeks")) + + diff --git a/tests/testthat/_snaps/scale_date/scale-x-date-labels-date-format-m-d.svg b/tests/testthat/_snaps/scale_date/scale-x-date-labels-date-format-m-d.svg new file mode 100644 index 0000000000..49346a1c5e --- /dev/null +++ b/tests/testthat/_snaps/scale_date/scale-x-date-labels-date-format-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 = date_format("%m/%d")) + + diff --git a/tests/testthat/_snaps/scale_date/scale-x-date-labels-date-format-w-week.svg b/tests/testthat/_snaps/scale_date/scale-x-date-labels-date-format-w-week.svg new file mode 100644 index 0000000000..fa832b94e5 --- /dev/null +++ b/tests/testthat/_snaps/scale_date/scale-x-date-labels-date-format-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 = date_format("%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-date-breaks-2-weeks.svg b/tests/testthat/_snaps/scale_date/scale-y-date-breaks-date-breaks-2-weeks.svg new file mode 100644 index 0000000000..de947d86b3 --- /dev/null +++ b/tests/testthat/_snaps/scale_date/scale-y-date-breaks-date-breaks-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 = date_breaks("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..ec7759f0db --- /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..67f0fe7f65 --- /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..0e82d87623 --- /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..93049aae99 --- /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..0d7652d395 --- /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..481dde58fc --- /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..c86ec7ebae --- /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..5dcce9ef1d --- /dev/null +++ b/tests/testthat/_snaps/sec-axis/sec-axis-monotonicity-test.svg @@ -0,0 +1,83 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +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..26401f5fac --- /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..e138753b76 --- /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..1a684f576a --- /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-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..02ab3d0f35 --- /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..dc3bc16932 --- /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..19febe3af7 --- /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..dbf642230b --- /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..6afd7491f4 --- /dev/null +++ b/tests/testthat/_snaps/theme/custom-strip-elements-can-render.svg @@ -0,0 +1,186 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +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 +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/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/strip-styling.svg b/tests/testthat/_snaps/theme/strip-styling.svg new file mode 100644 index 0000000000..572b8d8af7 --- /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..31f3838761 --- /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..c203fe649b --- /dev/null +++ b/tests/testthat/_snaps/theme/theme-classic-large.svg @@ -0,0 +1,78 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +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..41663236ff --- /dev/null +++ b/tests/testthat/_snaps/theme/theme-classic.svg @@ -0,0 +1,78 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +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..0ca41842c0 --- /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..e055d00f11 --- /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..dad37dc2ff --- /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..385756f9d5 --- /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..5e0bcaed90 --- /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..4673e9cc60 --- /dev/null +++ b/tests/testthat/_snaps/theme/theme-minimal-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_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..aa5fbe37d8 --- /dev/null +++ b/tests/testthat/_snaps/theme/theme-minimal.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_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..8135cd36d3 --- /dev/null +++ b/tests/testthat/_snaps/theme/theme-void-large.svg @@ -0,0 +1,50 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +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..b69c91ef30 --- /dev/null +++ b/tests/testthat/_snaps/theme/theme-void.svg @@ -0,0 +1,50 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +1 + + +z + + +a +b +theme_void + + diff --git a/tests/testthat/_snaps/theme/ticks-length.svg b/tests/testthat/_snaps/theme/ticks-length.svg new file mode 100644 index 0000000000..0110a6ca1c --- /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..f4dc6068aa --- /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 + + diff --git a/tests/testthat/test-geom-dotplot.R b/tests/testthat/test-geom-dotplot.R index 1368d781c4..e2829fec99 100644 --- a/tests/testthat/test-geom-dotplot.R +++ b/tests/testthat/test-geom-dotplot.R @@ -181,7 +181,7 @@ test_that("geom_dotplot draws correctly", { # border width and size expect_doppelganger( - "variable linetype and size work when specified as aesthetics", + "variable linetype and size specified as aesthetics", ggplot( dat, aes( @@ -195,13 +195,13 @@ test_that("geom_dotplot draws correctly", { ) # Stacking groups - expect_doppelganger("stackgroups with 3 groups, dot-density with aligned bins", + expect_doppelganger("3 stackgroups, dot-density with aligned bins", ggplot(dat2, aes(y, fill = x)) + geom_dotplot(binwidth = .25, stackgroups = TRUE, binpositions = "all", alpha = 0.5) ) - expect_doppelganger("stackgroups with 3 groups, histodot", + expect_doppelganger("3 stackgroups, histodot", ggplot(dat2, aes(y, fill = x)) + geom_dotplot(binwidth = .25, stackgroups = TRUE, method = "histodot", alpha = 0.5) ) - expect_doppelganger("stackgroups with 3 groups, bin y, histodot", + expect_doppelganger("3 stackgroups, bin y, histodot", ggplot(dat2, aes(1, y, fill = x)) + geom_dotplot(binaxis = "y", binwidth = .25, stackgroups = TRUE, method = "histodot", alpha = 0.5) ) diff --git a/tests/testthat/test-geom-path.R b/tests/testthat/test-geom-path.R index a0f5e94308..40e7b210e9 100644 --- a/tests/testthat/test-geom-path.R +++ b/tests/testthat/test-geom-path.R @@ -58,13 +58,13 @@ test_that("geom_path draws correctly", { expect_doppelganger("lines", ggplot(df) + geom_path(aes(x = value, y = category, group = item)) ) - expect_doppelganger("lines with changed data order, should have same appearance", + expect_doppelganger("lines, changed order, should have same appearance", ggplot(df2) + geom_path(aes(x = value, y = category, group = item)) ) expect_doppelganger("lines, colour", ggplot(df) + geom_path(aes(x = value, y = category, group = item, colour = item)) ) - expect_doppelganger("lines, colour, with changed data order, should have same appearance", + expect_doppelganger("lines, colour, changed order, should have same appearance", ggplot(df2) + geom_path(aes(x = value, y = category, group = item, colour = item)) ) }) diff --git a/tests/testthat/test-geom-violin.R b/tests/testthat/test-geom-violin.R index 1dd50a542c..751596d3b2 100644 --- a/tests/testthat/test-geom-violin.R +++ b/tests/testthat/test-geom-violin.R @@ -83,7 +83,7 @@ test_that("geom_violin draws correctly", { expect_doppelganger("dodging and coord_flip", ggplot(dat, aes(x = "foo", y = y, fill = x)) + geom_violin() + coord_flip() ) - expect_doppelganger("continuous x axis, multiple groups (center should be at 2.0)", + expect_doppelganger("continuous x axis, many groups (center should be at 2.0)", ggplot(dat, aes(x = as.numeric(x), y = y)) + geom_violin() ) expect_doppelganger("continuous x axis, single group (center should be at 1.0)", diff --git a/tests/testthat/test-guides.R b/tests/testthat/test-guides.R index 2680bacf27..e5eca8a9ab 100644 --- a/tests/testthat/test-guides.R +++ b/tests/testthat/test-guides.R @@ -451,11 +451,11 @@ test_that("colorbar can be styled", { df <- data_frame(x = c(0, 1, 2)) p <- ggplot(df, aes(x, x, color = x)) + geom_point() - expect_doppelganger("white-to-red gradient colorbar, white tick marks, no frame", + expect_doppelganger("white-to-red colorbar, white ticks, no frame", p + scale_color_gradient(low = 'white', high = 'red') ) - expect_doppelganger("white-to-red gradient colorbar, thick black tick marks, green frame", + expect_doppelganger("white-to-red colorbar, thick black ticks, green frame", p + scale_color_gradient( low = 'white', high = 'red', guide = guide_colorbar(