diff --git a/DESCRIPTION b/DESCRIPTION
index 318fd9d49b..4a4e15a253 100644
--- a/DESCRIPTION
+++ b/DESCRIPTION
@@ -1,6 +1,6 @@
Package: plotly
Title: Create Interactive Web Graphics via 'plotly.js'
-Version: 4.10.4.9000
+Version: 4.11.0
Authors@R: c(person("Carson", "Sievert", role = c("aut", "cre"),
email = "cpsievert1@gmail.com", comment = c(ORCID = "0000-0002-4958-2844")),
person("Chris", "Parmer", role = "aut",
@@ -83,6 +83,7 @@ Encoding: UTF-8
Roxygen: list(markdown = TRUE)
Config/Needs/check:
tidyverse/ggplot2,
+ ggobi/GGally,
rcmdcheck,
devtools,
reshape2,
diff --git a/NEWS.md b/NEWS.md
index ad7e39f553..0b0f1ef121 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -1,4 +1,4 @@
-# plotly (development version)
+# plotly 4.11.0
## New features
diff --git a/demo/animation-tour-USArrests.R b/demo/animation-tour-USArrests.R
index 887101bc38..5d983d4b83 100644
--- a/demo/animation-tour-USArrests.R
+++ b/demo/animation-tour-USArrests.R
@@ -1,16 +1,21 @@
# adapted from https://github.com/rstudio/ggvis/blob/master/demo/tourr.r
-library(tourr)
library(plotly)
data("USArrests")
+# Avoids R CMD check NOTE about using `tourr` without mentioning it in DESCRIPTION
+# Install it via CRAN `install.packages("tourr")`
+rescale <- getFromNamespace("rescale", "tourr")
+new_tour <- getFromNamespace("new_tour", "tourr")
+grand_tour <- getFromNamespace("grand_tour", "tourr")
+
mat <- rescale(USArrests[, 1:4])
tour <- new_tour(mat, grand_tour(), NULL)
# projection of each observation
tour_dat <- function(step_size) {
step <- tour(step_size)
- proj <- center(mat %*% step$proj)
+ proj <- scale(mat %*% step$proj, center = TRUE, scale = FALSE)
data.frame(x = proj[,1], y = proj[,2], state = rownames(mat))
}
diff --git a/demo/animation-tour-basic.R b/demo/animation-tour-basic.R
index b56a313132..0d337a77cb 100644
--- a/demo/animation-tour-basic.R
+++ b/demo/animation-tour-basic.R
@@ -1,13 +1,22 @@
# adapted from https://github.com/rstudio/ggvis/blob/master/demo/tourr.r
-library(tourr)
library(plotly)
+# Avoids R CMD check NOTE about using `tourr` without mentioning it in DESCRIPTION
+# Install it `install.packages("tourr")`
+rescale <- getFromNamespace("rescale", "tourr")
+new_tour <- getFromNamespace("new_tour", "tourr")
+grand_tour <- getFromNamespace("grand_tour", "tourr")
+lazyLoad(
+ file.path(system.file("data", package = "tourr"), "Rdata"),
+ filter = function(x) x == "flea"
+)
+
mat <- rescale(as.matrix(flea[1:6]))
tour <- new_tour(mat, grand_tour(), NULL)
tour_dat <- function(step_size) {
step <- tour(step_size)
- proj <- center(mat %*% step$proj)
+ proj <- scale(mat %*% step$proj, center = TRUE, scale = FALSE)
data.frame(x = proj[,1], y = proj[,2],
species = flea$species)
}
diff --git a/demo/crosstalk-filter-lines.R b/demo/crosstalk-filter-lines.R
index 893ba591ab..6fb8aa90af 100644
--- a/demo/crosstalk-filter-lines.R
+++ b/demo/crosstalk-filter-lines.R
@@ -1,8 +1,14 @@
library(crosstalk)
library(ggplot2)
-library(gapminder)
library(plotly)
+# Equivalent to data(gapminder, package = "gapminder"), but avoids R CMD check NOTE
+# about `gapminder` not being in DESCRIPTION. Install it `install.packages("gapminder")`
+lazyLoad(
+ file.path(system.file("data", package = "gapminder"), "Rdata"),
+ filter = function(x) x == "gapminder"
+)
+
sd <- highlight_key(gapminder)
g <- ggplot(sd, aes(year, lifeExp, color = country, group = country)) +
diff --git a/demo/crosstalk-highlight-leaflet.R b/demo/crosstalk-highlight-leaflet.R
index eb0fd89cf4..a5662de38e 100644
--- a/demo/crosstalk-highlight-leaflet.R
+++ b/demo/crosstalk-highlight-leaflet.R
@@ -1,6 +1,4 @@
library(plotly)
-# devtools::install_github("rstudio/leaflet#346")
-library(leaflet)
library(crosstalk)
library(htmltools)
@@ -13,8 +11,11 @@ p <- plot_ly(sd, x = ~depth, y = ~mag) %>%
add_markers(alpha = 0.5) %>%
highlight("plotly_selected", dynamic = TRUE)
-map <- leaflet(sd) %>%
- addTiles() %>%
- addCircles()
+# Requires devtools::install_github("rstudio/leaflet#346")
+withr::with_namespace("leaflet", {
+ map <- leaflet(sd) %>%
+ addTiles() %>%
+ addCircles()
+})
bscols(p, map)
diff --git a/demo/sf-dt.R b/demo/sf-dt.R
index 6bbadf8a86..d3a37050f3 100644
--- a/demo/sf-dt.R
+++ b/demo/sf-dt.R
@@ -9,4 +9,5 @@ map <- plot_ly(ncsd, split = ~NAME, color = I("gray"), hoveron = "fills") %>%
layout(title = "Click on counties to query them", showlegend = FALSE) %>%
config(displayModeBar = FALSE)
-bscols(map, DT::datatable(ncsd))
+datatable <- getFromNamespace("datatable", "DT")
+bscols(map, datatable(ncsd))
diff --git a/demo/sf-mapbox-data.R b/demo/sf-mapbox-data.R
index a0e6ceca85..2bf27040c0 100644
--- a/demo/sf-mapbox-data.R
+++ b/demo/sf-mapbox-data.R
@@ -11,10 +11,11 @@ plot_mapbox(res_mn, split = ~INDRESNAME, color = ~AREA, stroke = ~PERIMETER, spa
# linking with DT
mn <- highlight_key(res_mn)
+datatable <- getFromNamespace("datatable", "DT")
bscols(
plot_mapbox(mn, split = ~INDRESNAME, text = ~INDRESNAME, hoverinfo = "text", hoveron = "fills") %>%
layout(title = "Click a reservation", showlegend = FALSE),
- DT::datatable(mn)
+ datatable(mn)
)
# linking with plotly
@@ -31,5 +32,3 @@ bscols(
layout(barmode = "overlay") %>%
highlight("plotly_selected", persistent = TRUE)
)
-
-
diff --git a/demo/sf-mapbox-layout.R b/demo/sf-mapbox-layout.R
index 61461cecdc..b1bf48d940 100644
--- a/demo/sf-mapbox-layout.R
+++ b/demo/sf-mapbox-layout.R
@@ -7,7 +7,8 @@ nc <- sf::st_read(system.file("shape/nc.shp", package = "sf"), quiet = TRUE)
sf_to_geojson <- function(x) {
tmp <- tempfile(fileext = ".geojson")
st_write(x, tmp, driver = "GEOJSON")
- geojsonio::geojson_read(tmp, "local")
+ geojson_read <- getFromNamespace("geojson_read", "geojsonio")
+ geojson_read(tmp, "local")
}
# By converting sf to geojson and routing to mapbox.layers, rendering
diff --git a/tests/testthat/_snaps/cookbook-axes/cookbook-axes-blank-minor-major.svg b/tests/testthat/_snaps/cookbook-axes/cookbook-axes-blank-minor-major.svg
index f0d7eef4a6..a101d1160d 100644
--- a/tests/testthat/_snaps/cookbook-axes/cookbook-axes-blank-minor-major.svg
+++ b/tests/testthat/_snaps/cookbook-axes/cookbook-axes-blank-minor-major.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/cookbook-axes/cookbook-axes-blank-minor.svg b/tests/testthat/_snaps/cookbook-axes/cookbook-axes-blank-minor.svg
index c241809a66..86bb073e55 100644
--- a/tests/testthat/_snaps/cookbook-axes/cookbook-axes-blank-minor.svg
+++ b/tests/testthat/_snaps/cookbook-axes/cookbook-axes-blank-minor.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/cookbook-axes/cookbook-axes-blank-x.svg b/tests/testthat/_snaps/cookbook-axes/cookbook-axes-blank-x.svg
index 457c8ef4bd..a066656087 100644
--- a/tests/testthat/_snaps/cookbook-axes/cookbook-axes-blank-x.svg
+++ b/tests/testthat/_snaps/cookbook-axes/cookbook-axes-blank-x.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/cookbook-axes/cookbook-axes-blank-y.svg b/tests/testthat/_snaps/cookbook-axes/cookbook-axes-blank-y.svg
index 6a927a043c..f37ee2e2a5 100644
--- a/tests/testthat/_snaps/cookbook-axes/cookbook-axes-blank-y.svg
+++ b/tests/testthat/_snaps/cookbook-axes/cookbook-axes-blank-y.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/cookbook-axes/cookbook-axes-coord-ylim.svg b/tests/testthat/_snaps/cookbook-axes/cookbook-axes-coord-ylim.svg
index 0546ba361c..e68a7cecbb 100644
--- a/tests/testthat/_snaps/cookbook-axes/cookbook-axes-coord-ylim.svg
+++ b/tests/testthat/_snaps/cookbook-axes/cookbook-axes-coord-ylim.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/cookbook-axes/cookbook-axes-custom-formatter.svg b/tests/testthat/_snaps/cookbook-axes/cookbook-axes-custom-formatter.svg
index 5bf1c6c44d..9bada9ef53 100644
--- a/tests/testthat/_snaps/cookbook-axes/cookbook-axes-custom-formatter.svg
+++ b/tests/testthat/_snaps/cookbook-axes/cookbook-axes-custom-formatter.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/cookbook-axes/cookbook-axes-flevels.svg b/tests/testthat/_snaps/cookbook-axes/cookbook-axes-flevels.svg
index 534e55efc6..d7e693bf9d 100644
--- a/tests/testthat/_snaps/cookbook-axes/cookbook-axes-flevels.svg
+++ b/tests/testthat/_snaps/cookbook-axes/cookbook-axes-flevels.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/cookbook-axes/cookbook-axes-fonts.svg b/tests/testthat/_snaps/cookbook-axes/cookbook-axes-fonts.svg
index 97adb0109e..1882834967 100644
--- a/tests/testthat/_snaps/cookbook-axes/cookbook-axes-fonts.svg
+++ b/tests/testthat/_snaps/cookbook-axes/cookbook-axes-fonts.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/cookbook-axes/cookbook-axes-label-funs.svg b/tests/testthat/_snaps/cookbook-axes/cookbook-axes-label-funs.svg
index 3753200564..0cbdc2ac10 100644
--- a/tests/testthat/_snaps/cookbook-axes/cookbook-axes-label-funs.svg
+++ b/tests/testthat/_snaps/cookbook-axes/cookbook-axes-label-funs.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/cookbook-axes/cookbook-axes-linear-axes.svg b/tests/testthat/_snaps/cookbook-axes/cookbook-axes-linear-axes.svg
index 20083ff15a..4d690dbb0d 100644
--- a/tests/testthat/_snaps/cookbook-axes/cookbook-axes-linear-axes.svg
+++ b/tests/testthat/_snaps/cookbook-axes/cookbook-axes-linear-axes.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/cookbook-axes/cookbook-axes-log2-coord.svg b/tests/testthat/_snaps/cookbook-axes/cookbook-axes-log2-coord.svg
index 436c8ff705..c5b3aed832 100644
--- a/tests/testthat/_snaps/cookbook-axes/cookbook-axes-log2-coord.svg
+++ b/tests/testthat/_snaps/cookbook-axes/cookbook-axes-log2-coord.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/cookbook-axes/cookbook-axes-log2-labels.svg b/tests/testthat/_snaps/cookbook-axes/cookbook-axes-log2-labels.svg
index caa5d42f44..f90bfda233 100644
--- a/tests/testthat/_snaps/cookbook-axes/cookbook-axes-log2-labels.svg
+++ b/tests/testthat/_snaps/cookbook-axes/cookbook-axes-log2-labels.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/cookbook-axes/cookbook-axes-log2-scale.svg b/tests/testthat/_snaps/cookbook-axes/cookbook-axes-log2-scale.svg
index a3cf8d5b79..e4824f44cb 100644
--- a/tests/testthat/_snaps/cookbook-axes/cookbook-axes-log2-scale.svg
+++ b/tests/testthat/_snaps/cookbook-axes/cookbook-axes-log2-scale.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/cookbook-axes/cookbook-axes-no-x-title.svg b/tests/testthat/_snaps/cookbook-axes/cookbook-axes-no-x-title.svg
index 3cbaa95330..3ccde61f03 100644
--- a/tests/testthat/_snaps/cookbook-axes/cookbook-axes-no-x-title.svg
+++ b/tests/testthat/_snaps/cookbook-axes/cookbook-axes-no-x-title.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/cookbook-axes/cookbook-axes-scale-hide.svg b/tests/testthat/_snaps/cookbook-axes/cookbook-axes-scale-hide.svg
index 22bf7e6c39..b7daaed970 100644
--- a/tests/testthat/_snaps/cookbook-axes/cookbook-axes-scale-hide.svg
+++ b/tests/testthat/_snaps/cookbook-axes/cookbook-axes-scale-hide.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/cookbook-axes/cookbook-axes-scale-name.svg b/tests/testthat/_snaps/cookbook-axes/cookbook-axes-scale-name.svg
index f2e8e9a753..00611de2f5 100644
--- a/tests/testthat/_snaps/cookbook-axes/cookbook-axes-scale-name.svg
+++ b/tests/testthat/_snaps/cookbook-axes/cookbook-axes-scale-name.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/cookbook-axes/cookbook-axes-scale-y-log10-labels.svg b/tests/testthat/_snaps/cookbook-axes/cookbook-axes-scale-y-log10-labels.svg
index d9bc2b0cce..887896d2af 100644
--- a/tests/testthat/_snaps/cookbook-axes/cookbook-axes-scale-y-log10-labels.svg
+++ b/tests/testthat/_snaps/cookbook-axes/cookbook-axes-scale-y-log10-labels.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/cookbook-axes/cookbook-axes-scale-y-log10.svg b/tests/testthat/_snaps/cookbook-axes/cookbook-axes-scale-y-log10.svg
index a758a127a6..d39c3a35de 100644
--- a/tests/testthat/_snaps/cookbook-axes/cookbook-axes-scale-y-log10.svg
+++ b/tests/testthat/_snaps/cookbook-axes/cookbook-axes-scale-y-log10.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/cookbook-axes/cookbook-axes-ylim-hide.svg b/tests/testthat/_snaps/cookbook-axes/cookbook-axes-ylim-hide.svg
index 22bf7e6c39..b7daaed970 100644
--- a/tests/testthat/_snaps/cookbook-axes/cookbook-axes-ylim-hide.svg
+++ b/tests/testthat/_snaps/cookbook-axes/cookbook-axes-ylim-hide.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/cookbook-lines/cookbook-axes-bar-dodge-color-err4.svg b/tests/testthat/_snaps/cookbook-lines/cookbook-axes-bar-dodge-color-err4.svg
index e0dded05d8..e2302135fb 100644
--- a/tests/testthat/_snaps/cookbook-lines/cookbook-axes-bar-dodge-color-err4.svg
+++ b/tests/testthat/_snaps/cookbook-lines/cookbook-axes-bar-dodge-color-err4.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/cookbook-lines/cookbook-axes-bar-dodge-color-error.svg b/tests/testthat/_snaps/cookbook-lines/cookbook-axes-bar-dodge-color-error.svg
index 1b7267cd65..1dc8185811 100644
--- a/tests/testthat/_snaps/cookbook-lines/cookbook-axes-bar-dodge-color-error.svg
+++ b/tests/testthat/_snaps/cookbook-lines/cookbook-axes-bar-dodge-color-error.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/cookbook-lines/cookbook-axes-bar-dodge-color.svg b/tests/testthat/_snaps/cookbook-lines/cookbook-axes-bar-dodge-color.svg
index 420edab7f6..6f17146f7c 100644
--- a/tests/testthat/_snaps/cookbook-lines/cookbook-axes-bar-dodge-color.svg
+++ b/tests/testthat/_snaps/cookbook-lines/cookbook-axes-bar-dodge-color.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/cookbook-lines/cookbook-axes-bar-error-diff.svg b/tests/testthat/_snaps/cookbook-lines/cookbook-axes-bar-error-diff.svg
index ca2d611da7..6e9db2ac57 100644
--- a/tests/testthat/_snaps/cookbook-lines/cookbook-axes-bar-error-diff.svg
+++ b/tests/testthat/_snaps/cookbook-lines/cookbook-axes-bar-error-diff.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/cookbook-lines/cookbook-axes-bar-error-narrow.svg b/tests/testthat/_snaps/cookbook-lines/cookbook-axes-bar-error-narrow.svg
index 2d99f7bfd7..33b394fc81 100644
--- a/tests/testthat/_snaps/cookbook-lines/cookbook-axes-bar-error-narrow.svg
+++ b/tests/testthat/_snaps/cookbook-lines/cookbook-axes-bar-error-narrow.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/cookbook-lines/cookbook-axes-bar-error-wide.svg b/tests/testthat/_snaps/cookbook-lines/cookbook-axes-bar-error-wide.svg
index ca2d611da7..6e9db2ac57 100644
--- a/tests/testthat/_snaps/cookbook-lines/cookbook-axes-bar-error-wide.svg
+++ b/tests/testthat/_snaps/cookbook-lines/cookbook-axes-bar-error-wide.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/cookbook-lines/cookbook-axes-basic-bar.svg b/tests/testthat/_snaps/cookbook-lines/cookbook-axes-basic-bar.svg
index 8bacd9ccd6..e5c7ab1926 100644
--- a/tests/testthat/_snaps/cookbook-lines/cookbook-axes-basic-bar.svg
+++ b/tests/testthat/_snaps/cookbook-lines/cookbook-axes-basic-bar.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/cookbook-lines/cookbook-axes-basic-horizontal-line.svg b/tests/testthat/_snaps/cookbook-lines/cookbook-axes-basic-horizontal-line.svg
index ede802bf90..0b1955a570 100644
--- a/tests/testthat/_snaps/cookbook-lines/cookbook-axes-basic-horizontal-line.svg
+++ b/tests/testthat/_snaps/cookbook-lines/cookbook-axes-basic-horizontal-line.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/cookbook-lines/cookbook-axes-dashed-red-line.svg b/tests/testthat/_snaps/cookbook-lines/cookbook-axes-dashed-red-line.svg
index 9248c079d0..b6bf220a47 100644
--- a/tests/testthat/_snaps/cookbook-lines/cookbook-axes-dashed-red-line.svg
+++ b/tests/testthat/_snaps/cookbook-lines/cookbook-axes-dashed-red-line.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/cookbook-lines/cookbook-axes-scatter-basic.svg b/tests/testthat/_snaps/cookbook-lines/cookbook-axes-scatter-basic.svg
index d541f6f0af..9741892726 100644
--- a/tests/testthat/_snaps/cookbook-lines/cookbook-axes-scatter-basic.svg
+++ b/tests/testthat/_snaps/cookbook-lines/cookbook-axes-scatter-basic.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/cookbook-lines/cookbook-axes-scatter-facet-hline-vline.svg b/tests/testthat/_snaps/cookbook-lines/cookbook-axes-scatter-facet-hline-vline.svg
index 82e3c7b6c7..5ed1c004f6 100644
--- a/tests/testthat/_snaps/cookbook-lines/cookbook-axes-scatter-facet-hline-vline.svg
+++ b/tests/testthat/_snaps/cookbook-lines/cookbook-axes-scatter-facet-hline-vline.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/cookbook-lines/cookbook-axes-scatter-facet-hline.svg b/tests/testthat/_snaps/cookbook-lines/cookbook-axes-scatter-facet-hline.svg
index 7494965fb2..e3f13cd02b 100644
--- a/tests/testthat/_snaps/cookbook-lines/cookbook-axes-scatter-facet-hline.svg
+++ b/tests/testthat/_snaps/cookbook-lines/cookbook-axes-scatter-facet-hline.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/cookbook-lines/cookbook-axes-scatter-facet.svg b/tests/testthat/_snaps/cookbook-lines/cookbook-axes-scatter-facet.svg
index 5441b02f76..de6a32ea85 100644
--- a/tests/testthat/_snaps/cookbook-lines/cookbook-axes-scatter-facet.svg
+++ b/tests/testthat/_snaps/cookbook-lines/cookbook-axes-scatter-facet.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/cookbook-lines/cookbook-axes-scatter-hline-vline.svg b/tests/testthat/_snaps/cookbook-lines/cookbook-axes-scatter-hline-vline.svg
index 904829216a..ce4c4400e1 100644
--- a/tests/testthat/_snaps/cookbook-lines/cookbook-axes-scatter-hline-vline.svg
+++ b/tests/testthat/_snaps/cookbook-lines/cookbook-axes-scatter-hline-vline.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/cookbook-lines/cookbook-axes-scatter-hline.svg b/tests/testthat/_snaps/cookbook-lines/cookbook-axes-scatter-hline.svg
index 59691c783f..e8a933e41c 100644
--- a/tests/testthat/_snaps/cookbook-lines/cookbook-axes-scatter-hline.svg
+++ b/tests/testthat/_snaps/cookbook-lines/cookbook-axes-scatter-hline.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/cookbook-scatterplots/color.svg b/tests/testthat/_snaps/cookbook-scatterplots/color.svg
index c42ed48037..4bbfd50829 100644
--- a/tests/testthat/_snaps/cookbook-scatterplots/color.svg
+++ b/tests/testthat/_snaps/cookbook-scatterplots/color.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/cookbook-scatterplots/full-range.svg b/tests/testthat/_snaps/cookbook-scatterplots/full-range.svg
index 62e3c94e08..fa6aee11f8 100644
--- a/tests/testthat/_snaps/cookbook-scatterplots/full-range.svg
+++ b/tests/testthat/_snaps/cookbook-scatterplots/full-range.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/cookbook-scatterplots/geom-jitter.svg b/tests/testthat/_snaps/cookbook-scatterplots/geom-jitter.svg
index 5927395b31..08c4cac223 100644
--- a/tests/testthat/_snaps/cookbook-scatterplots/geom-jitter.svg
+++ b/tests/testthat/_snaps/cookbook-scatterplots/geom-jitter.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/cookbook-scatterplots/hollow.svg b/tests/testthat/_snaps/cookbook-scatterplots/hollow.svg
index 65d2de3008..c3dda960c5 100644
--- a/tests/testthat/_snaps/cookbook-scatterplots/hollow.svg
+++ b/tests/testthat/_snaps/cookbook-scatterplots/hollow.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/cookbook-scatterplots/jitter.svg b/tests/testthat/_snaps/cookbook-scatterplots/jitter.svg
index 5927395b31..08c4cac223 100644
--- a/tests/testthat/_snaps/cookbook-scatterplots/jitter.svg
+++ b/tests/testthat/_snaps/cookbook-scatterplots/jitter.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/cookbook-scatterplots/loess.svg b/tests/testthat/_snaps/cookbook-scatterplots/loess.svg
index 6bf599e4de..cc7d446776 100644
--- a/tests/testthat/_snaps/cookbook-scatterplots/loess.svg
+++ b/tests/testthat/_snaps/cookbook-scatterplots/loess.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/cookbook-scatterplots/overlap.svg b/tests/testthat/_snaps/cookbook-scatterplots/overlap.svg
index eaf629ce74..702e6ebd52 100644
--- a/tests/testthat/_snaps/cookbook-scatterplots/overlap.svg
+++ b/tests/testthat/_snaps/cookbook-scatterplots/overlap.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/cookbook-scatterplots/scale-color-hue.svg b/tests/testthat/_snaps/cookbook-scatterplots/scale-color-hue.svg
index a5596b8994..794061e96d 100644
--- a/tests/testthat/_snaps/cookbook-scatterplots/scale-color-hue.svg
+++ b/tests/testthat/_snaps/cookbook-scatterplots/scale-color-hue.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/cookbook-scatterplots/shape-manual.svg b/tests/testthat/_snaps/cookbook-scatterplots/shape-manual.svg
index 64053d126b..ff8115fa16 100644
--- a/tests/testthat/_snaps/cookbook-scatterplots/shape-manual.svg
+++ b/tests/testthat/_snaps/cookbook-scatterplots/shape-manual.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/cookbook-scatterplots/shape.svg b/tests/testthat/_snaps/cookbook-scatterplots/shape.svg
index f56d222584..edc54d24a7 100644
--- a/tests/testthat/_snaps/cookbook-scatterplots/shape.svg
+++ b/tests/testthat/_snaps/cookbook-scatterplots/shape.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/cookbook-scatterplots/smooth-lm-se-false.svg b/tests/testthat/_snaps/cookbook-scatterplots/smooth-lm-se-false.svg
index aef0a48e9c..2e40d6e55d 100644
--- a/tests/testthat/_snaps/cookbook-scatterplots/smooth-lm-se-false.svg
+++ b/tests/testthat/_snaps/cookbook-scatterplots/smooth-lm-se-false.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/cookbook-scatterplots/smooth-lm.svg b/tests/testthat/_snaps/cookbook-scatterplots/smooth-lm.svg
index c81653df41..05871f8bf3 100644
--- a/tests/testthat/_snaps/cookbook-scatterplots/smooth-lm.svg
+++ b/tests/testthat/_snaps/cookbook-scatterplots/smooth-lm.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/geom-errorbar-flipped-aes/errobar-flipped-aes.svg b/tests/testthat/_snaps/geom-errorbar-flipped-aes/errobar-flipped-aes.svg
index ff1aaec4c2..0a3c10272e 100644
--- a/tests/testthat/_snaps/geom-errorbar-flipped-aes/errobar-flipped-aes.svg
+++ b/tests/testthat/_snaps/geom-errorbar-flipped-aes/errobar-flipped-aes.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/geom-errorbar-issue-1751/errobar-no-aes-y.svg b/tests/testthat/_snaps/geom-errorbar-issue-1751/errobar-no-aes-y.svg
index c7941592be..292285897c 100644
--- a/tests/testthat/_snaps/geom-errorbar-issue-1751/errobar-no-aes-y.svg
+++ b/tests/testthat/_snaps/geom-errorbar-issue-1751/errobar-no-aes-y.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggalluvial/stratum-alluvium-color.svg b/tests/testthat/_snaps/ggalluvial/stratum-alluvium-color.svg
index d201562295..4d361e74de 100644
--- a/tests/testthat/_snaps/ggalluvial/stratum-alluvium-color.svg
+++ b/tests/testthat/_snaps/ggalluvial/stratum-alluvium-color.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggalluvial/stratum-alluvium.svg b/tests/testthat/_snaps/ggalluvial/stratum-alluvium.svg
index f80bf4a8b1..5373864dff 100644
--- a/tests/testthat/_snaps/ggalluvial/stratum-alluvium.svg
+++ b/tests/testthat/_snaps/ggalluvial/stratum-alluvium.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-abline/cookbook-axes-multiple-abline.svg b/tests/testthat/_snaps/ggplot-abline/cookbook-axes-multiple-abline.svg
index 9d82f364af..9ee86c7b41 100644
--- a/tests/testthat/_snaps/ggplot-abline/cookbook-axes-multiple-abline.svg
+++ b/tests/testthat/_snaps/ggplot-abline/cookbook-axes-multiple-abline.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-abline/cookbook-axes-single-abline.svg b/tests/testthat/_snaps/ggplot-abline/cookbook-axes-single-abline.svg
index b74f85f3d7..60dbaa3a33 100644
--- a/tests/testthat/_snaps/ggplot-abline/cookbook-axes-single-abline.svg
+++ b/tests/testthat/_snaps/ggplot-abline/cookbook-axes-single-abline.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-area/area-area-fillcolor.svg b/tests/testthat/_snaps/ggplot-area/area-area-fillcolor.svg
index 92873ddac8..8160dcf346 100644
--- a/tests/testthat/_snaps/ggplot-area/area-area-fillcolor.svg
+++ b/tests/testthat/_snaps/ggplot-area/area-area-fillcolor.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-area/area-simple.svg b/tests/testthat/_snaps/ggplot-area/area-simple.svg
index 5730c6fcba..89af7b902f 100644
--- a/tests/testthat/_snaps/ggplot-area/area-simple.svg
+++ b/tests/testthat/_snaps/ggplot-area/area-simple.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-area/area-traces-order.svg b/tests/testthat/_snaps/ggplot-area/area-traces-order.svg
index d1e4cbe457..fff3b035ab 100644
--- a/tests/testthat/_snaps/ggplot-area/area-traces-order.svg
+++ b/tests/testthat/_snaps/ggplot-area/area-traces-order.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-bar/bar-aes-colour-guides-fill-false.svg b/tests/testthat/_snaps/ggplot-bar/bar-aes-colour-guides-fill-false.svg
index e61d04b8b1..1a1656ef74 100644
--- a/tests/testthat/_snaps/ggplot-bar/bar-aes-colour-guides-fill-false.svg
+++ b/tests/testthat/_snaps/ggplot-bar/bar-aes-colour-guides-fill-false.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-bar/bar-aes-fill-guides-color-none.svg b/tests/testthat/_snaps/ggplot-bar/bar-aes-fill-guides-color-none.svg
index 9210ff2e47..0ae4078c30 100644
--- a/tests/testthat/_snaps/ggplot-bar/bar-aes-fill-guides-color-none.svg
+++ b/tests/testthat/_snaps/ggplot-bar/bar-aes-fill-guides-color-none.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-bar/bar-black-outline.svg b/tests/testthat/_snaps/ggplot-bar/bar-black-outline.svg
index 9210ff2e47..0ae4078c30 100644
--- a/tests/testthat/_snaps/ggplot-bar/bar-black-outline.svg
+++ b/tests/testthat/_snaps/ggplot-bar/bar-black-outline.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-bar/bar-category-names.svg b/tests/testthat/_snaps/ggplot-bar/bar-category-names.svg
index c87920ec85..a93d6da437 100644
--- a/tests/testthat/_snaps/ggplot-bar/bar-category-names.svg
+++ b/tests/testthat/_snaps/ggplot-bar/bar-category-names.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-bar/bar-color.svg b/tests/testthat/_snaps/ggplot-bar/bar-color.svg
index 4207f7be9e..a3e65f9fc8 100644
--- a/tests/testthat/_snaps/ggplot-bar/bar-color.svg
+++ b/tests/testthat/_snaps/ggplot-bar/bar-color.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-bar/bar-coord-flip.svg b/tests/testthat/_snaps/ggplot-bar/bar-coord-flip.svg
index 8d9169aadf..6bb07e13dd 100644
--- a/tests/testthat/_snaps/ggplot-bar/bar-coord-flip.svg
+++ b/tests/testthat/_snaps/ggplot-bar/bar-coord-flip.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-bar/bar-dates.svg b/tests/testthat/_snaps/ggplot-bar/bar-dates.svg
index a1d36da629..055d232f0a 100644
--- a/tests/testthat/_snaps/ggplot-bar/bar-dates.svg
+++ b/tests/testthat/_snaps/ggplot-bar/bar-dates.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-bar/bar-dodge.svg b/tests/testthat/_snaps/ggplot-bar/bar-dodge.svg
index a9c8866335..565421be6f 100644
--- a/tests/testthat/_snaps/ggplot-bar/bar-dodge.svg
+++ b/tests/testthat/_snaps/ggplot-bar/bar-dodge.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-bar/bar-identity.svg b/tests/testthat/_snaps/ggplot-bar/bar-identity.svg
index 70cd8f1dea..f75af064e0 100644
--- a/tests/testthat/_snaps/ggplot-bar/bar-identity.svg
+++ b/tests/testthat/_snaps/ggplot-bar/bar-identity.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-bar/bar-nocolor.svg b/tests/testthat/_snaps/ggplot-bar/bar-nocolor.svg
index b34edcfd91..80a0f70555 100644
--- a/tests/testthat/_snaps/ggplot-bar/bar-nocolor.svg
+++ b/tests/testthat/_snaps/ggplot-bar/bar-nocolor.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-bar/bar-position-fill.svg b/tests/testthat/_snaps/ggplot-bar/bar-position-fill.svg
index 39e333a92e..4b89d79b54 100644
--- a/tests/testthat/_snaps/ggplot-bar/bar-position-fill.svg
+++ b/tests/testthat/_snaps/ggplot-bar/bar-position-fill.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-bar/bar-position-stack.svg b/tests/testthat/_snaps/ggplot-bar/bar-position-stack.svg
index 7079232fca..44e9e33df8 100644
--- a/tests/testthat/_snaps/ggplot-bar/bar-position-stack.svg
+++ b/tests/testthat/_snaps/ggplot-bar/bar-position-stack.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-bar/bar-stack.svg b/tests/testthat/_snaps/ggplot-bar/bar-stack.svg
index 127dba9725..b7474e31ef 100644
--- a/tests/testthat/_snaps/ggplot-bar/bar-stack.svg
+++ b/tests/testthat/_snaps/ggplot-bar/bar-stack.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-boxplot/boxplot-datetime.svg b/tests/testthat/_snaps/ggplot-boxplot/boxplot-datetime.svg
index 0c47c98fa4..b30bd53ae3 100644
--- a/tests/testthat/_snaps/ggplot-boxplot/boxplot-datetime.svg
+++ b/tests/testthat/_snaps/ggplot-boxplot/boxplot-datetime.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-boxplot/boxplot-fillcolor.svg b/tests/testthat/_snaps/ggplot-boxplot/boxplot-fillcolor.svg
index e77446a7d2..2765fb176d 100644
--- a/tests/testthat/_snaps/ggplot-boxplot/boxplot-fillcolor.svg
+++ b/tests/testthat/_snaps/ggplot-boxplot/boxplot-fillcolor.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-boxplot/boxplot-legends-for-fill.svg b/tests/testthat/_snaps/ggplot-boxplot/boxplot-legends-for-fill.svg
index 68a85faf81..dda3c05dca 100644
--- a/tests/testthat/_snaps/ggplot-boxplot/boxplot-legends-for-fill.svg
+++ b/tests/testthat/_snaps/ggplot-boxplot/boxplot-legends-for-fill.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-boxplot/boxplot.svg b/tests/testthat/_snaps/ggplot-boxplot/boxplot.svg
index 0d796f0a5e..0a5e327f7d 100644
--- a/tests/testthat/_snaps/ggplot-boxplot/boxplot.svg
+++ b/tests/testthat/_snaps/ggplot-boxplot/boxplot.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-col/col.svg b/tests/testthat/_snaps/ggplot-col/col.svg
index 515c34c421..3ec40841d2 100644
--- a/tests/testthat/_snaps/ggplot-col/col.svg
+++ b/tests/testthat/_snaps/ggplot-col/col.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-contour/contour.svg b/tests/testthat/_snaps/ggplot-contour/contour.svg
index e4777fc4a4..b4c92209c7 100644
--- a/tests/testthat/_snaps/ggplot-contour/contour.svg
+++ b/tests/testthat/_snaps/ggplot-contour/contour.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-contour/raster-contour-binned.svg b/tests/testthat/_snaps/ggplot-contour/raster-contour-binned.svg
index 43c67fca5a..5577becaa9 100644
--- a/tests/testthat/_snaps/ggplot-contour/raster-contour-binned.svg
+++ b/tests/testthat/_snaps/ggplot-contour/raster-contour-binned.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-date/date-class-date.svg b/tests/testthat/_snaps/ggplot-date/date-class-date.svg
index bfed127dea..8ebd20f59e 100644
--- a/tests/testthat/_snaps/ggplot-date/date-class-date.svg
+++ b/tests/testthat/_snaps/ggplot-date/date-class-date.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-date/date-irregular-time-series.svg b/tests/testthat/_snaps/ggplot-date/date-irregular-time-series.svg
index 8c1770ae8c..c36d00b032 100644
--- a/tests/testthat/_snaps/ggplot-date/date-irregular-time-series.svg
+++ b/tests/testthat/_snaps/ggplot-date/date-irregular-time-series.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-date/date-strings.svg b/tests/testthat/_snaps/ggplot-date/date-strings.svg
index 9992f312a1..4f4fecaf17 100644
--- a/tests/testthat/_snaps/ggplot-date/date-strings.svg
+++ b/tests/testthat/_snaps/ggplot-date/date-strings.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-density/density-color.svg b/tests/testthat/_snaps/ggplot-density/density-color.svg
index 37b2aac673..0f5ad23cae 100644
--- a/tests/testthat/_snaps/ggplot-density/density-color.svg
+++ b/tests/testthat/_snaps/ggplot-density/density-color.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-density/density-fill.svg b/tests/testthat/_snaps/ggplot-density/density-fill.svg
index 10048115c7..1094073aca 100644
--- a/tests/testthat/_snaps/ggplot-density/density-fill.svg
+++ b/tests/testthat/_snaps/ggplot-density/density-fill.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-density/density-histogram.svg b/tests/testthat/_snaps/ggplot-density/density-histogram.svg
index b04eb749f6..cb689d7924 100644
--- a/tests/testthat/_snaps/ggplot-density/density-histogram.svg
+++ b/tests/testthat/_snaps/ggplot-density/density-histogram.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-density/density-simple.svg b/tests/testthat/_snaps/ggplot-density/density-simple.svg
index caa094e4ad..f4cea066d5 100644
--- a/tests/testthat/_snaps/ggplot-density/density-simple.svg
+++ b/tests/testthat/_snaps/ggplot-density/density-simple.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-density/density-traces-order.svg b/tests/testthat/_snaps/ggplot-density/density-traces-order.svg
index cffbfa414f..98ca79b7e5 100644
--- a/tests/testthat/_snaps/ggplot-density/density-traces-order.svg
+++ b/tests/testthat/_snaps/ggplot-density/density-traces-order.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-density2d/density2d.svg b/tests/testthat/_snaps/ggplot-density2d/density2d.svg
index 31dd9ce9a7..f2fa02a93f 100644
--- a/tests/testthat/_snaps/ggplot-density2d/density2d.svg
+++ b/tests/testthat/_snaps/ggplot-density2d/density2d.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-errorbar-horizontal/errorbar-horizontal.svg b/tests/testthat/_snaps/ggplot-errorbar-horizontal/errorbar-horizontal.svg
index e67b178ca4..9f88cdfab5 100644
--- a/tests/testthat/_snaps/ggplot-errorbar-horizontal/errorbar-horizontal.svg
+++ b/tests/testthat/_snaps/ggplot-errorbar-horizontal/errorbar-horizontal.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-errorbar/errorbar-unique-groups.svg b/tests/testthat/_snaps/ggplot-errorbar/errorbar-unique-groups.svg
index 2ed1cbd84d..4a8f1a1fc8 100644
--- a/tests/testthat/_snaps/ggplot-errorbar/errorbar-unique-groups.svg
+++ b/tests/testthat/_snaps/ggplot-errorbar/errorbar-unique-groups.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-errorbar/errorbar.svg b/tests/testthat/_snaps/ggplot-errorbar/errorbar.svg
index c649b2f318..d530cfe4d3 100644
--- a/tests/testthat/_snaps/ggplot-errorbar/errorbar.svg
+++ b/tests/testthat/_snaps/ggplot-errorbar/errorbar.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-facets/3-panels.svg b/tests/testthat/_snaps/ggplot-facets/3-panels.svg
index 00587badec..09b6db3468 100644
--- a/tests/testthat/_snaps/ggplot-facets/3-panels.svg
+++ b/tests/testthat/_snaps/ggplot-facets/3-panels.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-facets/barley.svg b/tests/testthat/_snaps/ggplot-facets/barley.svg
index f302ea46d8..e381a09743 100644
--- a/tests/testthat/_snaps/ggplot-facets/barley.svg
+++ b/tests/testthat/_snaps/ggplot-facets/barley.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-facets/facet-grid-free-x.svg b/tests/testthat/_snaps/ggplot-facets/facet-grid-free-x.svg
index 5d91940ffc..36b62aa901 100644
--- a/tests/testthat/_snaps/ggplot-facets/facet-grid-free-x.svg
+++ b/tests/testthat/_snaps/ggplot-facets/facet-grid-free-x.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-facets/facet-grid-free-y.svg b/tests/testthat/_snaps/ggplot-facets/facet-grid-free-y.svg
index 49ea936cf4..cde8d9507b 100644
--- a/tests/testthat/_snaps/ggplot-facets/facet-grid-free-y.svg
+++ b/tests/testthat/_snaps/ggplot-facets/facet-grid-free-y.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-facets/facet-grid-free.svg b/tests/testthat/_snaps/ggplot-facets/facet-grid-free.svg
index 749a77e2ef..91585dbb69 100644
--- a/tests/testthat/_snaps/ggplot-facets/facet-grid-free.svg
+++ b/tests/testthat/_snaps/ggplot-facets/facet-grid-free.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-facets/facet-grid-labeller.svg b/tests/testthat/_snaps/ggplot-facets/facet-grid-labeller.svg
index b64d9dea6a..83a3d217d0 100644
--- a/tests/testthat/_snaps/ggplot-facets/facet-grid-labeller.svg
+++ b/tests/testthat/_snaps/ggplot-facets/facet-grid-labeller.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-facets/facet-wrap-free-mult.svg b/tests/testthat/_snaps/ggplot-facets/facet-wrap-free-mult.svg
index 8c5362adbd..50481ff749 100644
--- a/tests/testthat/_snaps/ggplot-facets/facet-wrap-free-mult.svg
+++ b/tests/testthat/_snaps/ggplot-facets/facet-wrap-free-mult.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-facets/facet-wrap-free-x.svg b/tests/testthat/_snaps/ggplot-facets/facet-wrap-free-x.svg
index 141052b850..9dc2300fe9 100644
--- a/tests/testthat/_snaps/ggplot-facets/facet-wrap-free-x.svg
+++ b/tests/testthat/_snaps/ggplot-facets/facet-wrap-free-x.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-facets/facet-wrap-free-y-2.svg b/tests/testthat/_snaps/ggplot-facets/facet-wrap-free-y-2.svg
index 066d9187bd..7c232c6140 100644
--- a/tests/testthat/_snaps/ggplot-facets/facet-wrap-free-y-2.svg
+++ b/tests/testthat/_snaps/ggplot-facets/facet-wrap-free-y-2.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-facets/facet-wrap-free-y.svg b/tests/testthat/_snaps/ggplot-facets/facet-wrap-free-y.svg
index 0c2231fcd6..e19577ae39 100644
--- a/tests/testthat/_snaps/ggplot-facets/facet-wrap-free-y.svg
+++ b/tests/testthat/_snaps/ggplot-facets/facet-wrap-free-y.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-facets/facet-wrap-free.svg b/tests/testthat/_snaps/ggplot-facets/facet-wrap-free.svg
index a7198e04b8..0de10fef70 100644
--- a/tests/testthat/_snaps/ggplot-facets/facet-wrap-free.svg
+++ b/tests/testthat/_snaps/ggplot-facets/facet-wrap-free.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-facets/facet-wrap-labeller.svg b/tests/testthat/_snaps/ggplot-facets/facet-wrap-labeller.svg
index 039088e077..51847ed161 100644
--- a/tests/testthat/_snaps/ggplot-facets/facet-wrap-labeller.svg
+++ b/tests/testthat/_snaps/ggplot-facets/facet-wrap-labeller.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-facets/facet-wrap.svg b/tests/testthat/_snaps/ggplot-facets/facet-wrap.svg
index ac90bfffc2..00487b8afc 100644
--- a/tests/testthat/_snaps/ggplot-facets/facet-wrap.svg
+++ b/tests/testthat/_snaps/ggplot-facets/facet-wrap.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-function/geomfunction.svg b/tests/testthat/_snaps/ggplot-function/geomfunction.svg
index 015d3ccd9a..8709acff47 100644
--- a/tests/testthat/_snaps/ggplot-function/geomfunction.svg
+++ b/tests/testthat/_snaps/ggplot-function/geomfunction.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-function/stat-function.svg b/tests/testthat/_snaps/ggplot-function/stat-function.svg
index 16629e1848..bba0270fc1 100644
--- a/tests/testthat/_snaps/ggplot-function/stat-function.svg
+++ b/tests/testthat/_snaps/ggplot-function/stat-function.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-heatmap/heatmap-discrete.svg b/tests/testthat/_snaps/ggplot-heatmap/heatmap-discrete.svg
index 12ac197a96..dac93c814b 100644
--- a/tests/testthat/_snaps/ggplot-heatmap/heatmap-discrete.svg
+++ b/tests/testthat/_snaps/ggplot-heatmap/heatmap-discrete.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-heatmap/heatmap-midpoint.svg b/tests/testthat/_snaps/ggplot-heatmap/heatmap-midpoint.svg
index 7a2fb04789..bd148140f5 100644
--- a/tests/testthat/_snaps/ggplot-heatmap/heatmap-midpoint.svg
+++ b/tests/testthat/_snaps/ggplot-heatmap/heatmap-midpoint.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-heatmap/heatmap.svg b/tests/testthat/_snaps/ggplot-heatmap/heatmap.svg
index d6881103cb..b5b3bb2883 100644
--- a/tests/testthat/_snaps/ggplot-heatmap/heatmap.svg
+++ b/tests/testthat/_snaps/ggplot-heatmap/heatmap.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-heatmap/tile-no-fill.svg b/tests/testthat/_snaps/ggplot-heatmap/tile-no-fill.svg
index 3ffb60481b..59a2d34b17 100644
--- a/tests/testthat/_snaps/ggplot-heatmap/tile-no-fill.svg
+++ b/tests/testthat/_snaps/ggplot-heatmap/tile-no-fill.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-hex/hex-basic.svg b/tests/testthat/_snaps/ggplot-hex/hex-basic.svg
index 0a6cbd6985..e9f2112c61 100644
--- a/tests/testthat/_snaps/ggplot-hex/hex-basic.svg
+++ b/tests/testthat/_snaps/ggplot-hex/hex-basic.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-hex/hex-bins.svg b/tests/testthat/_snaps/ggplot-hex/hex-bins.svg
index ba07778dc8..efc8573776 100644
--- a/tests/testthat/_snaps/ggplot-hex/hex-bins.svg
+++ b/tests/testthat/_snaps/ggplot-hex/hex-bins.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-hex/hex-binwidth.svg b/tests/testthat/_snaps/ggplot-hex/hex-binwidth.svg
index 0faa47f44a..1e3dc06b31 100644
--- a/tests/testthat/_snaps/ggplot-hex/hex-binwidth.svg
+++ b/tests/testthat/_snaps/ggplot-hex/hex-binwidth.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-histogram/histogram-counts.svg b/tests/testthat/_snaps/ggplot-histogram/histogram-counts.svg
index 3f11fee71d..9b334ee38d 100644
--- a/tests/testthat/_snaps/ggplot-histogram/histogram-counts.svg
+++ b/tests/testthat/_snaps/ggplot-histogram/histogram-counts.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-histogram/histogram-date-bins.svg b/tests/testthat/_snaps/ggplot-histogram/histogram-date-bins.svg
index c8665a3ae3..8bb51ff15e 100644
--- a/tests/testthat/_snaps/ggplot-histogram/histogram-date-bins.svg
+++ b/tests/testthat/_snaps/ggplot-histogram/histogram-date-bins.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-histogram/histogram-dates.svg b/tests/testthat/_snaps/ggplot-histogram/histogram-dates.svg
index 64339e615d..1980345982 100644
--- a/tests/testthat/_snaps/ggplot-histogram/histogram-dates.svg
+++ b/tests/testthat/_snaps/ggplot-histogram/histogram-dates.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-histogram/histogram-density-binwidth.svg b/tests/testthat/_snaps/ggplot-histogram/histogram-density-binwidth.svg
index 82ba19fe00..f12bc523f8 100644
--- a/tests/testthat/_snaps/ggplot-histogram/histogram-density-binwidth.svg
+++ b/tests/testthat/_snaps/ggplot-histogram/histogram-density-binwidth.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-histogram/histogram-density.svg b/tests/testthat/_snaps/ggplot-histogram/histogram-density.svg
index d77a828a4b..c6d455f617 100644
--- a/tests/testthat/_snaps/ggplot-histogram/histogram-density.svg
+++ b/tests/testthat/_snaps/ggplot-histogram/histogram-density.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-histogram/histogram-fill-factor-dodge.svg b/tests/testthat/_snaps/ggplot-histogram/histogram-fill-factor-dodge.svg
index 10277ea74f..45d0c3ac1d 100644
--- a/tests/testthat/_snaps/ggplot-histogram/histogram-fill-factor-dodge.svg
+++ b/tests/testthat/_snaps/ggplot-histogram/histogram-fill-factor-dodge.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-histogram/histogram-fill-factor-facets.svg b/tests/testthat/_snaps/ggplot-histogram/histogram-fill-factor-facets.svg
index f2513aa43b..4ea40fbedf 100644
--- a/tests/testthat/_snaps/ggplot-histogram/histogram-fill-factor-facets.svg
+++ b/tests/testthat/_snaps/ggplot-histogram/histogram-fill-factor-facets.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-histogram/histogram-fill-factor-identity.svg b/tests/testthat/_snaps/ggplot-histogram/histogram-fill-factor-identity.svg
index f8d3559ab4..7d418f0672 100644
--- a/tests/testthat/_snaps/ggplot-histogram/histogram-fill-factor-identity.svg
+++ b/tests/testthat/_snaps/ggplot-histogram/histogram-fill-factor-identity.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-histogram/histogram-fill-factor.svg b/tests/testthat/_snaps/ggplot-histogram/histogram-fill-factor.svg
index 289e96ad5a..3e68da3804 100644
--- a/tests/testthat/_snaps/ggplot-histogram/histogram-fill-factor.svg
+++ b/tests/testthat/_snaps/ggplot-histogram/histogram-fill-factor.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-histogram/histogram-fill.svg b/tests/testthat/_snaps/ggplot-histogram/histogram-fill.svg
index 5f5cc0b318..1302eee0a7 100644
--- a/tests/testthat/_snaps/ggplot-histogram/histogram-fill.svg
+++ b/tests/testthat/_snaps/ggplot-histogram/histogram-fill.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-histogram/histogram-fixed-fill-color.svg b/tests/testthat/_snaps/ggplot-histogram/histogram-fixed-fill-color.svg
index c27869c9d6..bdbff1c26a 100644
--- a/tests/testthat/_snaps/ggplot-histogram/histogram-fixed-fill-color.svg
+++ b/tests/testthat/_snaps/ggplot-histogram/histogram-fixed-fill-color.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-histogram/histogram-posixt-bins.svg b/tests/testthat/_snaps/ggplot-histogram/histogram-posixt-bins.svg
index c8665a3ae3..8bb51ff15e 100644
--- a/tests/testthat/_snaps/ggplot-histogram/histogram-posixt-bins.svg
+++ b/tests/testthat/_snaps/ggplot-histogram/histogram-posixt-bins.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-histogram/histogram-vline.svg b/tests/testthat/_snaps/ggplot-histogram/histogram-vline.svg
index 5032a9d799..24655e26a8 100644
--- a/tests/testthat/_snaps/ggplot-histogram/histogram-vline.svg
+++ b/tests/testthat/_snaps/ggplot-histogram/histogram-vline.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-hline/hline-factor.svg b/tests/testthat/_snaps/ggplot-hline/hline-factor.svg
index ede802bf90..0b1955a570 100644
--- a/tests/testthat/_snaps/ggplot-hline/hline-factor.svg
+++ b/tests/testthat/_snaps/ggplot-hline/hline-factor.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-hline/hline-multiple.svg b/tests/testthat/_snaps/ggplot-hline/hline-multiple.svg
index adb80b42f2..216997380d 100644
--- a/tests/testthat/_snaps/ggplot-hline/hline-multiple.svg
+++ b/tests/testthat/_snaps/ggplot-hline/hline-multiple.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-hline/hline.svg b/tests/testthat/_snaps/ggplot-hline/hline.svg
index 3d5ec05e4f..6524268763 100644
--- a/tests/testthat/_snaps/ggplot-hline/hline.svg
+++ b/tests/testthat/_snaps/ggplot-hline/hline.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-hline/split-hline-vline-abline.svg b/tests/testthat/_snaps/ggplot-hline/split-hline-vline-abline.svg
index 29987b5fa6..b82fab37a1 100644
--- a/tests/testthat/_snaps/ggplot-hline/split-hline-vline-abline.svg
+++ b/tests/testthat/_snaps/ggplot-hline/split-hline-vline-abline.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-jitter/jitter-basic.svg b/tests/testthat/_snaps/ggplot-jitter/jitter-basic.svg
index e4367c1212..23c1798316 100644
--- a/tests/testthat/_snaps/ggplot-jitter/jitter-basic.svg
+++ b/tests/testthat/_snaps/ggplot-jitter/jitter-basic.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-labels/factor-labels.svg b/tests/testthat/_snaps/ggplot-labels/factor-labels.svg
index b6e619ca26..024f1c52a7 100644
--- a/tests/testthat/_snaps/ggplot-labels/factor-labels.svg
+++ b/tests/testthat/_snaps/ggplot-labels/factor-labels.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-labels/labels-angles.svg b/tests/testthat/_snaps/ggplot-labels/labels-angles.svg
index ade134eefa..0fbd285591 100644
--- a/tests/testthat/_snaps/ggplot-labels/labels-angles.svg
+++ b/tests/testthat/_snaps/ggplot-labels/labels-angles.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-labels/labels-ggtitle.svg b/tests/testthat/_snaps/ggplot-labels/labels-ggtitle.svg
index b6930b30c0..31096ee68d 100644
--- a/tests/testthat/_snaps/ggplot-labels/labels-ggtitle.svg
+++ b/tests/testthat/_snaps/ggplot-labels/labels-ggtitle.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-labels/labels-scale-x-continuous-name.svg b/tests/testthat/_snaps/ggplot-labels/labels-scale-x-continuous-name.svg
index c6a2e2fa76..7abd86d62f 100644
--- a/tests/testthat/_snaps/ggplot-labels/labels-scale-x-continuous-name.svg
+++ b/tests/testthat/_snaps/ggplot-labels/labels-scale-x-continuous-name.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-labels/labels-ylab.svg b/tests/testthat/_snaps/ggplot-labels/labels-ylab.svg
index 1ce257ca25..c56fc48a7d 100644
--- a/tests/testthat/_snaps/ggplot-labels/labels-ylab.svg
+++ b/tests/testthat/_snaps/ggplot-labels/labels-ylab.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-labels/labs-element-blank.svg b/tests/testthat/_snaps/ggplot-labels/labs-element-blank.svg
index 4bf70aa91b..0f28e2b07a 100644
--- a/tests/testthat/_snaps/ggplot-labels/labs-element-blank.svg
+++ b/tests/testthat/_snaps/ggplot-labels/labs-element-blank.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-legend/guide-aes-none.svg b/tests/testthat/_snaps/ggplot-legend/guide-aes-none.svg
index 7085010541..8faa71dc34 100644
--- a/tests/testthat/_snaps/ggplot-legend/guide-aes-none.svg
+++ b/tests/testthat/_snaps/ggplot-legend/guide-aes-none.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-legend/legend-hide-legend.svg b/tests/testthat/_snaps/ggplot-legend/legend-hide-legend.svg
index 0fe238e7ff..e3f1e128ba 100644
--- a/tests/testthat/_snaps/ggplot-legend/legend-hide-legend.svg
+++ b/tests/testthat/_snaps/ggplot-legend/legend-hide-legend.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-legend/legend-hide.svg b/tests/testthat/_snaps/ggplot-legend/legend-hide.svg
index 1eac5ec625..88c041570e 100644
--- a/tests/testthat/_snaps/ggplot-legend/legend-hide.svg
+++ b/tests/testthat/_snaps/ggplot-legend/legend-hide.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-legend/legend-many-legend-items.svg b/tests/testthat/_snaps/ggplot-legend/legend-many-legend-items.svg
index 63fe204462..412e5e9a70 100644
--- a/tests/testthat/_snaps/ggplot-legend/legend-many-legend-items.svg
+++ b/tests/testthat/_snaps/ggplot-legend/legend-many-legend-items.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-legend/legend-one-entry.svg b/tests/testthat/_snaps/ggplot-legend/legend-one-entry.svg
index 8fe7fb905f..ca23482179 100644
--- a/tests/testthat/_snaps/ggplot-legend/legend-one-entry.svg
+++ b/tests/testthat/_snaps/ggplot-legend/legend-one-entry.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-legend/legend-varying-aes-guide.svg b/tests/testthat/_snaps/ggplot-legend/legend-varying-aes-guide.svg
index 6654130403..f9a6aa8e5b 100644
--- a/tests/testthat/_snaps/ggplot-legend/legend-varying-aes-guide.svg
+++ b/tests/testthat/_snaps/ggplot-legend/legend-varying-aes-guide.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-legend/legend-very-long-legend-items.svg b/tests/testthat/_snaps/ggplot-legend/legend-very-long-legend-items.svg
index a51cdf9442..1d3c009246 100644
--- a/tests/testthat/_snaps/ggplot-legend/legend-very-long-legend-items.svg
+++ b/tests/testthat/_snaps/ggplot-legend/legend-very-long-legend-items.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-legend/respect-guides.svg b/tests/testthat/_snaps/ggplot-legend/respect-guides.svg
index f007554a74..7d581ec51f 100644
--- a/tests/testthat/_snaps/ggplot-legend/respect-guides.svg
+++ b/tests/testthat/_snaps/ggplot-legend/respect-guides.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-legend/scatter-legend.svg b/tests/testthat/_snaps/ggplot-legend/scatter-legend.svg
index 957ecb8e73..0ca901f7d3 100644
--- a/tests/testthat/_snaps/ggplot-legend/scatter-legend.svg
+++ b/tests/testthat/_snaps/ggplot-legend/scatter-legend.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-lines/line-milliseconds.svg b/tests/testthat/_snaps/ggplot-lines/line-milliseconds.svg
index 596b7e2547..583ea7cc6b 100644
--- a/tests/testthat/_snaps/ggplot-lines/line-milliseconds.svg
+++ b/tests/testthat/_snaps/ggplot-lines/line-milliseconds.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-lines/linetype-colors.svg b/tests/testthat/_snaps/ggplot-lines/linetype-colors.svg
index 6cc2c9f04d..ca2886acd8 100644
--- a/tests/testthat/_snaps/ggplot-lines/linetype-colors.svg
+++ b/tests/testthat/_snaps/ggplot-lines/linetype-colors.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-lines/linetype-types.svg b/tests/testthat/_snaps/ggplot-lines/linetype-types.svg
index 6dab503d86..da9da6022d 100644
--- a/tests/testthat/_snaps/ggplot-lines/linetype-types.svg
+++ b/tests/testthat/_snaps/ggplot-lines/linetype-types.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-map/map-facet.svg b/tests/testthat/_snaps/ggplot-map/map-facet.svg
index 5f09eb6169..b882328a6a 100644
--- a/tests/testthat/_snaps/ggplot-map/map-facet.svg
+++ b/tests/testthat/_snaps/ggplot-map/map-facet.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-path/path-colored-groups-stay-together.svg b/tests/testthat/_snaps/ggplot-path/path-colored-groups-stay-together.svg
index 5ec7af553f..f7db9c2f5a 100644
--- a/tests/testthat/_snaps/ggplot-path/path-colored-groups-stay-together.svg
+++ b/tests/testthat/_snaps/ggplot-path/path-colored-groups-stay-together.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-path/path-colors.svg b/tests/testthat/_snaps/ggplot-path/path-colors.svg
index 6683900020..687e7d1e91 100644
--- a/tests/testthat/_snaps/ggplot-path/path-colors.svg
+++ b/tests/testthat/_snaps/ggplot-path/path-colors.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-path/path-colors2.svg b/tests/testthat/_snaps/ggplot-path/path-colors2.svg
index bdbb31640b..ed58f0bf38 100644
--- a/tests/testthat/_snaps/ggplot-path/path-colors2.svg
+++ b/tests/testthat/_snaps/ggplot-path/path-colors2.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-path/path-line-symbols.svg b/tests/testthat/_snaps/ggplot-path/path-line-symbols.svg
index 9c5fd660e5..13cd9fdaa2 100644
--- a/tests/testthat/_snaps/ggplot-path/path-line-symbols.svg
+++ b/tests/testthat/_snaps/ggplot-path/path-line-symbols.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-path/path-lines-diff-from-paths.svg b/tests/testthat/_snaps/ggplot-path/path-lines-diff-from-paths.svg
index 64dfa51f37..de8924b03b 100644
--- a/tests/testthat/_snaps/ggplot-path/path-lines-diff-from-paths.svg
+++ b/tests/testthat/_snaps/ggplot-path/path-lines-diff-from-paths.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-point/all-shapes.svg b/tests/testthat/_snaps/ggplot-point/all-shapes.svg
index 8e927f22f4..b2d160f56b 100644
--- a/tests/testthat/_snaps/ggplot-point/all-shapes.svg
+++ b/tests/testthat/_snaps/ggplot-point/all-shapes.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-point/open-shapes.svg b/tests/testthat/_snaps/ggplot-point/open-shapes.svg
index e00266818e..057f058ca8 100644
--- a/tests/testthat/_snaps/ggplot-point/open-shapes.svg
+++ b/tests/testthat/_snaps/ggplot-point/open-shapes.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-point/point-flip.svg b/tests/testthat/_snaps/ggplot-point/point-flip.svg
index 4f22b75dce..e647a0631e 100644
--- a/tests/testthat/_snaps/ggplot-point/point-flip.svg
+++ b/tests/testthat/_snaps/ggplot-point/point-flip.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-point/point-size-alpha.svg b/tests/testthat/_snaps/ggplot-point/point-size-alpha.svg
index fb8826dd88..3d18e14f40 100644
--- a/tests/testthat/_snaps/ggplot-point/point-size-alpha.svg
+++ b/tests/testthat/_snaps/ggplot-point/point-size-alpha.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-point/point-size-alpha2.svg b/tests/testthat/_snaps/ggplot-point/point-size-alpha2.svg
index e4e6424e2e..3d182154b9 100644
--- a/tests/testthat/_snaps/ggplot-point/point-size-alpha2.svg
+++ b/tests/testthat/_snaps/ggplot-point/point-size-alpha2.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-polygons/polygon-aes-color.svg b/tests/testthat/_snaps/ggplot-polygons/polygon-aes-color.svg
index 7231b5a716..45ef65ec40 100644
--- a/tests/testthat/_snaps/ggplot-polygons/polygon-aes-color.svg
+++ b/tests/testthat/_snaps/ggplot-polygons/polygon-aes-color.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-polygons/polygon-aes-fill.svg b/tests/testthat/_snaps/ggplot-polygons/polygon-aes-fill.svg
index 5042d54dbf..b6d0ebed72 100644
--- a/tests/testthat/_snaps/ggplot-polygons/polygon-aes-fill.svg
+++ b/tests/testthat/_snaps/ggplot-polygons/polygon-aes-fill.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-polygons/polygon-black.svg b/tests/testthat/_snaps/ggplot-polygons/polygon-black.svg
index f1972bde00..17df596ffb 100644
--- a/tests/testthat/_snaps/ggplot-polygons/polygon-black.svg
+++ b/tests/testthat/_snaps/ggplot-polygons/polygon-black.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-polygons/polygon-color-aes-fill.svg b/tests/testthat/_snaps/ggplot-polygons/polygon-color-aes-fill.svg
index 8138b1e61e..242041bb17 100644
--- a/tests/testthat/_snaps/ggplot-polygons/polygon-color-aes-fill.svg
+++ b/tests/testthat/_snaps/ggplot-polygons/polygon-color-aes-fill.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-polygons/polygon-color-fill-aes-linetype.svg b/tests/testthat/_snaps/ggplot-polygons/polygon-color-fill-aes-linetype.svg
index 9465f76437..3bb952748d 100644
--- a/tests/testthat/_snaps/ggplot-polygons/polygon-color-fill-aes-linetype.svg
+++ b/tests/testthat/_snaps/ggplot-polygons/polygon-color-fill-aes-linetype.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-polygons/polygon-color-fill-aes-size.svg b/tests/testthat/_snaps/ggplot-polygons/polygon-color-fill-aes-size.svg
index eeed59b7f1..bdd5692218 100644
--- a/tests/testthat/_snaps/ggplot-polygons/polygon-color-fill-aes-size.svg
+++ b/tests/testthat/_snaps/ggplot-polygons/polygon-color-fill-aes-size.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-polygons/polygon-star-fill-color.svg b/tests/testthat/_snaps/ggplot-polygons/polygon-star-fill-color.svg
index 03f2d08b34..94d80d36fa 100644
--- a/tests/testthat/_snaps/ggplot-polygons/polygon-star-fill-color.svg
+++ b/tests/testthat/_snaps/ggplot-polygons/polygon-star-fill-color.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-polygons/polygon-star-group-color.svg b/tests/testthat/_snaps/ggplot-polygons/polygon-star-group-color.svg
index d7fa657933..55c1c16df8 100644
--- a/tests/testthat/_snaps/ggplot-polygons/polygon-star-group-color.svg
+++ b/tests/testthat/_snaps/ggplot-polygons/polygon-star-group-color.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-polygons/polygon-star-group.svg b/tests/testthat/_snaps/ggplot-polygons/polygon-star-group.svg
index f3493f31f1..d7ef8f8995 100644
--- a/tests/testthat/_snaps/ggplot-polygons/polygon-star-group.svg
+++ b/tests/testthat/_snaps/ggplot-polygons/polygon-star-group.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-polygons/polygons-canada-borders.svg b/tests/testthat/_snaps/ggplot-polygons/polygons-canada-borders.svg
index 7766906aef..9092b3fff5 100644
--- a/tests/testthat/_snaps/ggplot-polygons/polygons-canada-borders.svg
+++ b/tests/testthat/_snaps/ggplot-polygons/polygons-canada-borders.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-rect/rect-black.svg b/tests/testthat/_snaps/ggplot-rect/rect-black.svg
index 92ac20958d..6f2bb7cbba 100644
--- a/tests/testthat/_snaps/ggplot-rect/rect-black.svg
+++ b/tests/testthat/_snaps/ggplot-rect/rect-black.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-rect/rect-black4.svg b/tests/testthat/_snaps/ggplot-rect/rect-black4.svg
index cf663a74e3..ff6e03978d 100644
--- a/tests/testthat/_snaps/ggplot-rect/rect-black4.svg
+++ b/tests/testthat/_snaps/ggplot-rect/rect-black4.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-rect/rect-color.svg b/tests/testthat/_snaps/ggplot-rect/rect-color.svg
index aa9b5d5753..0637a71c77 100644
--- a/tests/testthat/_snaps/ggplot-rect/rect-color.svg
+++ b/tests/testthat/_snaps/ggplot-rect/rect-color.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-rect/rect-fill-color.svg b/tests/testthat/_snaps/ggplot-rect/rect-fill-color.svg
index 910c1d0b3f..cfa53d7b4c 100644
--- a/tests/testthat/_snaps/ggplot-rect/rect-fill-color.svg
+++ b/tests/testthat/_snaps/ggplot-rect/rect-fill-color.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-rect/rect-fill-hex-alpha.svg b/tests/testthat/_snaps/ggplot-rect/rect-fill-hex-alpha.svg
index 0871b4dfe5..361eaae375 100644
--- a/tests/testthat/_snaps/ggplot-rect/rect-fill-hex-alpha.svg
+++ b/tests/testthat/_snaps/ggplot-rect/rect-fill-hex-alpha.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-rect/rect-fill.svg b/tests/testthat/_snaps/ggplot-rect/rect-fill.svg
index 8102e9a2c8..e6d89c35ea 100644
--- a/tests/testthat/_snaps/ggplot-rect/rect-fill.svg
+++ b/tests/testthat/_snaps/ggplot-rect/rect-fill.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-ribbon/ribbon-alpha.svg b/tests/testthat/_snaps/ggplot-ribbon/ribbon-alpha.svg
index 14c440608b..4489454ac1 100644
--- a/tests/testthat/_snaps/ggplot-ribbon/ribbon-alpha.svg
+++ b/tests/testthat/_snaps/ggplot-ribbon/ribbon-alpha.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-ribbon/ribbon-colour.svg b/tests/testthat/_snaps/ggplot-ribbon/ribbon-colour.svg
index c0f16e0a9f..c7e2d06bac 100644
--- a/tests/testthat/_snaps/ggplot-ribbon/ribbon-colour.svg
+++ b/tests/testthat/_snaps/ggplot-ribbon/ribbon-colour.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-ribbon/ribbon-fill.svg b/tests/testthat/_snaps/ggplot-ribbon/ribbon-fill.svg
index b318846e69..ae0455e51e 100644
--- a/tests/testthat/_snaps/ggplot-ribbon/ribbon-fill.svg
+++ b/tests/testthat/_snaps/ggplot-ribbon/ribbon-fill.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-ribbon/ribbon-group.svg b/tests/testthat/_snaps/ggplot-ribbon/ribbon-group.svg
index 9021f288b2..8c765840e9 100644
--- a/tests/testthat/_snaps/ggplot-ribbon/ribbon-group.svg
+++ b/tests/testthat/_snaps/ggplot-ribbon/ribbon-group.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-segment/segment-multiple-non-numeric.svg b/tests/testthat/_snaps/ggplot-segment/segment-multiple-non-numeric.svg
index 50e1168d0e..4ce79186eb 100644
--- a/tests/testthat/_snaps/ggplot-segment/segment-multiple-non-numeric.svg
+++ b/tests/testthat/_snaps/ggplot-segment/segment-multiple-non-numeric.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-segment/segment.svg b/tests/testthat/_snaps/ggplot-segment/segment.svg
index 2dd5777cf5..290b7b3b32 100644
--- a/tests/testthat/_snaps/ggplot-segment/segment.svg
+++ b/tests/testthat/_snaps/ggplot-segment/segment.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-sf/sf-aspect.svg b/tests/testthat/_snaps/ggplot-sf/sf-aspect.svg
index 80ed0adb19..faa3ae8cbf 100644
--- a/tests/testthat/_snaps/ggplot-sf/sf-aspect.svg
+++ b/tests/testthat/_snaps/ggplot-sf/sf-aspect.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-sf/sf-axis-ticks.svg b/tests/testthat/_snaps/ggplot-sf/sf-axis-ticks.svg
index bcf58955aa..fd55356dab 100644
--- a/tests/testthat/_snaps/ggplot-sf/sf-axis-ticks.svg
+++ b/tests/testthat/_snaps/ggplot-sf/sf-axis-ticks.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-sf/sf-fill-text.svg b/tests/testthat/_snaps/ggplot-sf/sf-fill-text.svg
index f08c00b5b4..bd5af427f0 100644
--- a/tests/testthat/_snaps/ggplot-sf/sf-fill-text.svg
+++ b/tests/testthat/_snaps/ggplot-sf/sf-fill-text.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-sf/sf-geom-collection.svg b/tests/testthat/_snaps/ggplot-sf/sf-geom-collection.svg
index ee7e5c3fe0..f1f00e98c5 100644
--- a/tests/testthat/_snaps/ggplot-sf/sf-geom-collection.svg
+++ b/tests/testthat/_snaps/ggplot-sf/sf-geom-collection.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-sf/sf-points.svg b/tests/testthat/_snaps/ggplot-sf/sf-points.svg
index 996e36953b..e7e38dba0f 100644
--- a/tests/testthat/_snaps/ggplot-sf/sf-points.svg
+++ b/tests/testthat/_snaps/ggplot-sf/sf-points.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-sf/sf-theme-map.svg b/tests/testthat/_snaps/ggplot-sf/sf-theme-map.svg
index 0f57f9ef68..3ca3ecc161 100644
--- a/tests/testthat/_snaps/ggplot-sf/sf-theme-map.svg
+++ b/tests/testthat/_snaps/ggplot-sf/sf-theme-map.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-sf/sf.svg b/tests/testthat/_snaps/ggplot-sf/sf.svg
index 80ed0adb19..faa3ae8cbf 100644
--- a/tests/testthat/_snaps/ggplot-sf/sf.svg
+++ b/tests/testthat/_snaps/ggplot-sf/sf.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-size/size-global-scaling.svg b/tests/testthat/_snaps/ggplot-size/size-global-scaling.svg
index 97ef59ffda..dfe2446ba1 100644
--- a/tests/testthat/_snaps/ggplot-size/size-global-scaling.svg
+++ b/tests/testthat/_snaps/ggplot-size/size-global-scaling.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-size/size-is-a-vector.svg b/tests/testthat/_snaps/ggplot-size/size-is-a-vector.svg
index fd237980dd..fd03bfd113 100644
--- a/tests/testthat/_snaps/ggplot-size/size-is-a-vector.svg
+++ b/tests/testthat/_snaps/ggplot-size/size-is-a-vector.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-smooth/smooth-basic.svg b/tests/testthat/_snaps/ggplot-smooth/smooth-basic.svg
index 2506f47c2e..44a3885a75 100644
--- a/tests/testthat/_snaps/ggplot-smooth/smooth-basic.svg
+++ b/tests/testthat/_snaps/ggplot-smooth/smooth-basic.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-smooth/smooth-colour.svg b/tests/testthat/_snaps/ggplot-smooth/smooth-colour.svg
index 67cc0b12d4..f4e756f2fd 100644
--- a/tests/testthat/_snaps/ggplot-smooth/smooth-colour.svg
+++ b/tests/testthat/_snaps/ggplot-smooth/smooth-colour.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-smooth/smooth-facet.svg b/tests/testthat/_snaps/ggplot-smooth/smooth-facet.svg
index 42407153f1..e79f872772 100644
--- a/tests/testthat/_snaps/ggplot-smooth/smooth-facet.svg
+++ b/tests/testthat/_snaps/ggplot-smooth/smooth-facet.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-smooth/smooth-fill2.svg b/tests/testthat/_snaps/ggplot-smooth/smooth-fill2.svg
index 7b70b851a9..eff0152619 100644
--- a/tests/testthat/_snaps/ggplot-smooth/smooth-fill2.svg
+++ b/tests/testthat/_snaps/ggplot-smooth/smooth-fill2.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-smooth/smooth-group.svg b/tests/testthat/_snaps/ggplot-smooth/smooth-group.svg
index 2be5891b6a..1136e92a57 100644
--- a/tests/testthat/_snaps/ggplot-smooth/smooth-group.svg
+++ b/tests/testthat/_snaps/ggplot-smooth/smooth-group.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-smooth/smooth-se-false.svg b/tests/testthat/_snaps/ggplot-smooth/smooth-se-false.svg
index beb87bd962..35eb4f06e1 100644
--- a/tests/testthat/_snaps/ggplot-smooth/smooth-se-false.svg
+++ b/tests/testthat/_snaps/ggplot-smooth/smooth-se-false.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-step/step-ecdf-multiple.svg b/tests/testthat/_snaps/ggplot-step/step-ecdf-multiple.svg
index ca27c1ff68..b849d2e983 100644
--- a/tests/testthat/_snaps/ggplot-step/step-ecdf-multiple.svg
+++ b/tests/testthat/_snaps/ggplot-step/step-ecdf-multiple.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-step/step-ecdf.svg b/tests/testthat/_snaps/ggplot-step/step-ecdf.svg
index b8485676a6..f9b84e1c8f 100644
--- a/tests/testthat/_snaps/ggplot-step/step-ecdf.svg
+++ b/tests/testthat/_snaps/ggplot-step/step-ecdf.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-step/step-gg-hv.svg b/tests/testthat/_snaps/ggplot-step/step-gg-hv.svg
index 218b1391a6..1dc4c90100 100644
--- a/tests/testthat/_snaps/ggplot-step/step-gg-hv.svg
+++ b/tests/testthat/_snaps/ggplot-step/step-gg-hv.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-step/step-gg-hvh.svg b/tests/testthat/_snaps/ggplot-step/step-gg-hvh.svg
index 0195372ccc..33f830c206 100644
--- a/tests/testthat/_snaps/ggplot-step/step-gg-hvh.svg
+++ b/tests/testthat/_snaps/ggplot-step/step-gg-hvh.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-step/step-gg-vh.svg b/tests/testthat/_snaps/ggplot-step/step-gg-vh.svg
index 46a47cb1b8..dd11fbcab9 100644
--- a/tests/testthat/_snaps/ggplot-step/step-gg-vh.svg
+++ b/tests/testthat/_snaps/ggplot-step/step-gg-vh.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-step/step-gg-vhv.svg b/tests/testthat/_snaps/ggplot-step/step-gg-vhv.svg
index d10f58a217..44493a5b23 100644
--- a/tests/testthat/_snaps/ggplot-step/step-gg-vhv.svg
+++ b/tests/testthat/_snaps/ggplot-step/step-gg-vhv.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-summary/stat-summary.svg b/tests/testthat/_snaps/ggplot-summary/stat-summary.svg
index f0f682369d..3734737f5e 100644
--- a/tests/testthat/_snaps/ggplot-summary/stat-summary.svg
+++ b/tests/testthat/_snaps/ggplot-summary/stat-summary.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-text/text-colour.svg b/tests/testthat/_snaps/ggplot-text/text-colour.svg
index 963ddf31fc..ceca677a50 100644
--- a/tests/testthat/_snaps/ggplot-text/text-colour.svg
+++ b/tests/testthat/_snaps/ggplot-text/text-colour.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-text/text.svg b/tests/testthat/_snaps/ggplot-text/text.svg
index 0c3e6682de..da7f524e10 100644
--- a/tests/testthat/_snaps/ggplot-text/text.svg
+++ b/tests/testthat/_snaps/ggplot-text/text.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-theme/theme-background.svg b/tests/testthat/_snaps/ggplot-theme/theme-background.svg
index 334203e35b..574fb1ab96 100644
--- a/tests/testthat/_snaps/ggplot-theme/theme-background.svg
+++ b/tests/testthat/_snaps/ggplot-theme/theme-background.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-theme/theme-marker-default.svg b/tests/testthat/_snaps/ggplot-theme/theme-marker-default.svg
index 1af59b7b80..8120ead62a 100644
--- a/tests/testthat/_snaps/ggplot-theme/theme-marker-default.svg
+++ b/tests/testthat/_snaps/ggplot-theme/theme-marker-default.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-theme/theme-panel-border-1.svg b/tests/testthat/_snaps/ggplot-theme/theme-panel-border-1.svg
index e70a58a863..835bc4940d 100644
--- a/tests/testthat/_snaps/ggplot-theme/theme-panel-border-1.svg
+++ b/tests/testthat/_snaps/ggplot-theme/theme-panel-border-1.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-theme/theme-panel-border-2.svg b/tests/testthat/_snaps/ggplot-theme/theme-panel-border-2.svg
index 468c3ffe77..05f2aceb78 100644
--- a/tests/testthat/_snaps/ggplot-theme/theme-panel-border-2.svg
+++ b/tests/testthat/_snaps/ggplot-theme/theme-panel-border-2.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-theme/theme-ticks-and-grids.svg b/tests/testthat/_snaps/ggplot-theme/theme-ticks-and-grids.svg
index db97c407e8..bac9a647cb 100644
--- a/tests/testthat/_snaps/ggplot-theme/theme-ticks-and-grids.svg
+++ b/tests/testthat/_snaps/ggplot-theme/theme-ticks-and-grids.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-theme/theme-ticks-default.svg b/tests/testthat/_snaps/ggplot-theme/theme-ticks-default.svg
index e70a58a863..835bc4940d 100644
--- a/tests/testthat/_snaps/ggplot-theme/theme-ticks-default.svg
+++ b/tests/testthat/_snaps/ggplot-theme/theme-ticks-default.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-theme/theme-zeroline-default.svg b/tests/testthat/_snaps/ggplot-theme/theme-zeroline-default.svg
index e70a58a863..835bc4940d 100644
--- a/tests/testthat/_snaps/ggplot-theme/theme-zeroline-default.svg
+++ b/tests/testthat/_snaps/ggplot-theme/theme-zeroline-default.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-ticks/continuous-x-missing.svg b/tests/testthat/_snaps/ggplot-ticks/continuous-x-missing.svg
index 605826dd68..e7699649bc 100644
--- a/tests/testthat/_snaps/ggplot-ticks/continuous-x-missing.svg
+++ b/tests/testthat/_snaps/ggplot-ticks/continuous-x-missing.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-ticks/ticks-boxes-facet-grid.svg b/tests/testthat/_snaps/ggplot-ticks/ticks-boxes-facet-grid.svg
index dfe4483a60..359835b4b2 100644
--- a/tests/testthat/_snaps/ggplot-ticks/ticks-boxes-facet-grid.svg
+++ b/tests/testthat/_snaps/ggplot-ticks/ticks-boxes-facet-grid.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-ticks/ticks-boxes-scales-free.svg b/tests/testthat/_snaps/ggplot-ticks/ticks-boxes-scales-free.svg
index e7f78d8ae4..0eb029b5a2 100644
--- a/tests/testthat/_snaps/ggplot-ticks/ticks-boxes-scales-free.svg
+++ b/tests/testthat/_snaps/ggplot-ticks/ticks-boxes-scales-free.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-ticks/ticks-boxes-space-free.svg b/tests/testthat/_snaps/ggplot-ticks/ticks-boxes-space-free.svg
index e7f78d8ae4..0eb029b5a2 100644
--- a/tests/testthat/_snaps/ggplot-ticks/ticks-boxes-space-free.svg
+++ b/tests/testthat/_snaps/ggplot-ticks/ticks-boxes-space-free.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-ticks/ticks-boxes.svg b/tests/testthat/_snaps/ggplot-ticks/ticks-boxes.svg
index c241809a66..86bb073e55 100644
--- a/tests/testthat/_snaps/ggplot-ticks/ticks-boxes.svg
+++ b/tests/testthat/_snaps/ggplot-ticks/ticks-boxes.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-ticks/ticks-breaks-less.svg b/tests/testthat/_snaps/ggplot-ticks/ticks-breaks-less.svg
index b7aba9837a..f2e21ffbd3 100644
--- a/tests/testthat/_snaps/ggplot-ticks/ticks-breaks-less.svg
+++ b/tests/testthat/_snaps/ggplot-ticks/ticks-breaks-less.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-ticks/ticks-breaks-more.svg b/tests/testthat/_snaps/ggplot-ticks/ticks-breaks-more.svg
index 40f6d87a82..052b54e17e 100644
--- a/tests/testthat/_snaps/ggplot-ticks/ticks-breaks-more.svg
+++ b/tests/testthat/_snaps/ggplot-ticks/ticks-breaks-more.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-ticks/ticks-breaks-nochange.svg b/tests/testthat/_snaps/ggplot-ticks/ticks-breaks-nochange.svg
index 40f6d87a82..052b54e17e 100644
--- a/tests/testthat/_snaps/ggplot-ticks/ticks-breaks-nochange.svg
+++ b/tests/testthat/_snaps/ggplot-ticks/ticks-breaks-nochange.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-ticks/ticks-evenly-spaced-ticks.svg b/tests/testthat/_snaps/ggplot-ticks/ticks-evenly-spaced-ticks.svg
index 56468c2ee2..95595145d2 100644
--- a/tests/testthat/_snaps/ggplot-ticks/ticks-evenly-spaced-ticks.svg
+++ b/tests/testthat/_snaps/ggplot-ticks/ticks-evenly-spaced-ticks.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-ticks/ticks-flip-grid-free.svg b/tests/testthat/_snaps/ggplot-ticks/ticks-flip-grid-free.svg
index 581e4ec6d1..915134426d 100644
--- a/tests/testthat/_snaps/ggplot-ticks/ticks-flip-grid-free.svg
+++ b/tests/testthat/_snaps/ggplot-ticks/ticks-flip-grid-free.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-ticks/ticks-flip-grid.svg b/tests/testthat/_snaps/ggplot-ticks/ticks-flip-grid.svg
index 1575e6421b..bb1439462f 100644
--- a/tests/testthat/_snaps/ggplot-ticks/ticks-flip-grid.svg
+++ b/tests/testthat/_snaps/ggplot-ticks/ticks-flip-grid.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-ticks/ticks-flip.svg b/tests/testthat/_snaps/ggplot-ticks/ticks-flip.svg
index d639c93a1f..7773483cc0 100644
--- a/tests/testthat/_snaps/ggplot-ticks/ticks-flip.svg
+++ b/tests/testthat/_snaps/ggplot-ticks/ticks-flip.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-ticks/ticks-hide-ticks-labels.svg b/tests/testthat/_snaps/ggplot-ticks/ticks-hide-ticks-labels.svg
index 1db7aab1ec..0f75a8dc6b 100644
--- a/tests/testthat/_snaps/ggplot-ticks/ticks-hide-ticks-labels.svg
+++ b/tests/testthat/_snaps/ggplot-ticks/ticks-hide-ticks-labels.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-ticks/ticks-hide-ticks-lines-labels.svg b/tests/testthat/_snaps/ggplot-ticks/ticks-hide-ticks-lines-labels.svg
index b195101b75..1ebd2e95b6 100644
--- a/tests/testthat/_snaps/ggplot-ticks/ticks-hide-ticks-lines-labels.svg
+++ b/tests/testthat/_snaps/ggplot-ticks/ticks-hide-ticks-lines-labels.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-ticks/ticks-limits-gap.svg b/tests/testthat/_snaps/ggplot-ticks/ticks-limits-gap.svg
index 2025075bf7..4a1387a668 100644
--- a/tests/testthat/_snaps/ggplot-ticks/ticks-limits-gap.svg
+++ b/tests/testthat/_snaps/ggplot-ticks/ticks-limits-gap.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-ticks/ticks-limits-hide.svg b/tests/testthat/_snaps/ggplot-ticks/ticks-limits-hide.svg
index 298bf0df58..0f9390c79d 100644
--- a/tests/testthat/_snaps/ggplot-ticks/ticks-limits-hide.svg
+++ b/tests/testthat/_snaps/ggplot-ticks/ticks-limits-hide.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-ticks/ticks-line-breaks.svg b/tests/testthat/_snaps/ggplot-ticks/ticks-line-breaks.svg
index c8fab07556..6b4fd56bfe 100644
--- a/tests/testthat/_snaps/ggplot-ticks/ticks-line-breaks.svg
+++ b/tests/testthat/_snaps/ggplot-ticks/ticks-line-breaks.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-ticks/ticks-scale-labels.svg b/tests/testthat/_snaps/ggplot-ticks/ticks-scale-labels.svg
index f2a4573775..30f8a837cf 100644
--- a/tests/testthat/_snaps/ggplot-ticks/ticks-scale-labels.svg
+++ b/tests/testthat/_snaps/ggplot-ticks/ticks-scale-labels.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-ticks/ticks-uneven.svg b/tests/testthat/_snaps/ggplot-ticks/ticks-uneven.svg
index 4d59ec12f6..bcb9aa6440 100644
--- a/tests/testthat/_snaps/ggplot-ticks/ticks-uneven.svg
+++ b/tests/testthat/_snaps/ggplot-ticks/ticks-uneven.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-ticks/ticks-ycontinuous-ranges.svg b/tests/testthat/_snaps/ggplot-ticks/ticks-ycontinuous-ranges.svg
index 296a415676..c6c2394cc8 100644
--- a/tests/testthat/_snaps/ggplot-ticks/ticks-ycontinuous-ranges.svg
+++ b/tests/testthat/_snaps/ggplot-ticks/ticks-ycontinuous-ranges.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-ticks/ticks-ylim-ranges.svg b/tests/testthat/_snaps/ggplot-ticks/ticks-ylim-ranges.svg
index 296a415676..c6c2394cc8 100644
--- a/tests/testthat/_snaps/ggplot-ticks/ticks-ylim-ranges.svg
+++ b/tests/testthat/_snaps/ggplot-ticks/ticks-ylim-ranges.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-ticks/ticks-ylim-reversed-ranges.svg b/tests/testthat/_snaps/ggplot-ticks/ticks-ylim-reversed-ranges.svg
index e9c6d7c9de..6e6f10d3fe 100644
--- a/tests/testthat/_snaps/ggplot-ticks/ticks-ylim-reversed-ranges.svg
+++ b/tests/testthat/_snaps/ggplot-ticks/ticks-ylim-reversed-ranges.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-ticks/ticks-yreverse-limits-ranges.svg b/tests/testthat/_snaps/ggplot-ticks/ticks-yreverse-limits-ranges.svg
index 885e4705c7..5c9204bfe2 100644
--- a/tests/testthat/_snaps/ggplot-ticks/ticks-yreverse-limits-ranges.svg
+++ b/tests/testthat/_snaps/ggplot-ticks/ticks-yreverse-limits-ranges.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-ticks/ticks-yreverse-ranges.svg b/tests/testthat/_snaps/ggplot-ticks/ticks-yreverse-ranges.svg
index 58c07f6906..fc6ee4aa3c 100644
--- a/tests/testthat/_snaps/ggplot-ticks/ticks-yreverse-ranges.svg
+++ b/tests/testthat/_snaps/ggplot-ticks/ticks-yreverse-ranges.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-tooltip/group-lines-hovertext.svg b/tests/testthat/_snaps/ggplot-tooltip/group-lines-hovertext.svg
index fdb98d6fcb..37849921c0 100644
--- a/tests/testthat/_snaps/ggplot-tooltip/group-lines-hovertext.svg
+++ b/tests/testthat/_snaps/ggplot-tooltip/group-lines-hovertext.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-tooltip/heatmap-discrete-tooltip.svg b/tests/testthat/_snaps/ggplot-tooltip/heatmap-discrete-tooltip.svg
index baab83207f..df205b1bee 100644
--- a/tests/testthat/_snaps/ggplot-tooltip/heatmap-discrete-tooltip.svg
+++ b/tests/testthat/_snaps/ggplot-tooltip/heatmap-discrete-tooltip.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-tooltip/hovertext-display.svg b/tests/testthat/_snaps/ggplot-tooltip/hovertext-display.svg
index fdb98d6fcb..37849921c0 100644
--- a/tests/testthat/_snaps/ggplot-tooltip/hovertext-display.svg
+++ b/tests/testthat/_snaps/ggplot-tooltip/hovertext-display.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-tooltip/tooltip-date.svg b/tests/testthat/_snaps/ggplot-tooltip/tooltip-date.svg
index 4567e8aa2d..e7d9d0073f 100644
--- a/tests/testthat/_snaps/ggplot-tooltip/tooltip-date.svg
+++ b/tests/testthat/_snaps/ggplot-tooltip/tooltip-date.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-tooltip/tooltip-datetime.svg b/tests/testthat/_snaps/ggplot-tooltip/tooltip-datetime.svg
index 3a58cd05ba..9635ef3dd5 100644
--- a/tests/testthat/_snaps/ggplot-tooltip/tooltip-datetime.svg
+++ b/tests/testthat/_snaps/ggplot-tooltip/tooltip-datetime.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-violin/violin-aes.svg b/tests/testthat/_snaps/ggplot-violin/violin-aes.svg
index 9e19480d10..8dcbf661b4 100644
--- a/tests/testthat/_snaps/ggplot-violin/violin-aes.svg
+++ b/tests/testthat/_snaps/ggplot-violin/violin-aes.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-violin/violin.svg b/tests/testthat/_snaps/ggplot-violin/violin.svg
index 6dda4ede50..df755131e0 100644
--- a/tests/testthat/_snaps/ggplot-violin/violin.svg
+++ b/tests/testthat/_snaps/ggplot-violin/violin.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-vline/vline-multiple.svg b/tests/testthat/_snaps/ggplot-vline/vline-multiple.svg
index ddb34e6b17..e7a9e532ce 100644
--- a/tests/testthat/_snaps/ggplot-vline/vline-multiple.svg
+++ b/tests/testthat/_snaps/ggplot-vline/vline-multiple.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-vline/vline.svg b/tests/testthat/_snaps/ggplot-vline/vline.svg
index ad134a9c72..11665516e6 100644
--- a/tests/testthat/_snaps/ggplot-vline/vline.svg
+++ b/tests/testthat/_snaps/ggplot-vline/vline.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggplot-ylim/ylim-one-trace.svg b/tests/testthat/_snaps/ggplot-ylim/ylim-one-trace.svg
index e3584961f6..df97194e9a 100644
--- a/tests/testthat/_snaps/ggplot-ylim/ylim-one-trace.svg
+++ b/tests/testthat/_snaps/ggplot-ylim/ylim-one-trace.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggridges/basic-ridgeline.svg b/tests/testthat/_snaps/ggridges/basic-ridgeline.svg
index 6470518639..0f77494cac 100644
--- a/tests/testthat/_snaps/ggridges/basic-ridgeline.svg
+++ b/tests/testthat/_snaps/ggridges/basic-ridgeline.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggridges/cutting-tails.svg b/tests/testthat/_snaps/ggridges/cutting-tails.svg
index 4c2e9ec36c..9126c02532 100644
--- a/tests/testthat/_snaps/ggridges/cutting-tails.svg
+++ b/tests/testthat/_snaps/ggridges/cutting-tails.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggridges/density-ridgeline.svg b/tests/testthat/_snaps/ggridges/density-ridgeline.svg
index 7d5012aabf..9d336bc53a 100644
--- a/tests/testthat/_snaps/ggridges/density-ridgeline.svg
+++ b/tests/testthat/_snaps/ggridges/density-ridgeline.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggridges/density-ridgeline2.svg b/tests/testthat/_snaps/ggridges/density-ridgeline2.svg
index 7648b6d017..141756c0ed 100644
--- a/tests/testthat/_snaps/ggridges/density-ridgeline2.svg
+++ b/tests/testthat/_snaps/ggridges/density-ridgeline2.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggridges/histogram-ridges.svg b/tests/testthat/_snaps/ggridges/histogram-ridges.svg
index ac26c65566..f154afb649 100644
--- a/tests/testthat/_snaps/ggridges/histogram-ridges.svg
+++ b/tests/testthat/_snaps/ggridges/histogram-ridges.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggridges/jittering-points.svg b/tests/testthat/_snaps/ggridges/jittering-points.svg
index 7579dbb5dd..7b7ebe6f9d 100644
--- a/tests/testthat/_snaps/ggridges/jittering-points.svg
+++ b/tests/testthat/_snaps/ggridges/jittering-points.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggridges/manual-densities-stat-identity.svg b/tests/testthat/_snaps/ggridges/manual-densities-stat-identity.svg
index 287d171f60..35885e928e 100644
--- a/tests/testthat/_snaps/ggridges/manual-densities-stat-identity.svg
+++ b/tests/testthat/_snaps/ggridges/manual-densities-stat-identity.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggridges/multiple-ridgelines.svg b/tests/testthat/_snaps/ggridges/multiple-ridgelines.svg
index 8f81ceab01..4e61f425af 100644
--- a/tests/testthat/_snaps/ggridges/multiple-ridgelines.svg
+++ b/tests/testthat/_snaps/ggridges/multiple-ridgelines.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggridges/negative-height-cut.svg b/tests/testthat/_snaps/ggridges/negative-height-cut.svg
index ada40d8242..b18549cdbb 100644
--- a/tests/testthat/_snaps/ggridges/negative-height-cut.svg
+++ b/tests/testthat/_snaps/ggridges/negative-height-cut.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggridges/negative-height-retained.svg b/tests/testthat/_snaps/ggridges/negative-height-retained.svg
index 6619000ff9..f4bea16da7 100644
--- a/tests/testthat/_snaps/ggridges/negative-height-retained.svg
+++ b/tests/testthat/_snaps/ggridges/negative-height-retained.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggridges/numeric-grouping.svg b/tests/testthat/_snaps/ggridges/numeric-grouping.svg
index c995d8607e..673ad1628c 100644
--- a/tests/testthat/_snaps/ggridges/numeric-grouping.svg
+++ b/tests/testthat/_snaps/ggridges/numeric-grouping.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggridges/overlapping-facet-touching.svg b/tests/testthat/_snaps/ggridges/overlapping-facet-touching.svg
index 636bf14e81..54a26d7ede 100644
--- a/tests/testthat/_snaps/ggridges/overlapping-facet-touching.svg
+++ b/tests/testthat/_snaps/ggridges/overlapping-facet-touching.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggridges/overlapping-lot.svg b/tests/testthat/_snaps/ggridges/overlapping-lot.svg
index 8474194f3f..8d0562a06b 100644
--- a/tests/testthat/_snaps/ggridges/overlapping-lot.svg
+++ b/tests/testthat/_snaps/ggridges/overlapping-lot.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggridges/overlapping-none.svg b/tests/testthat/_snaps/ggridges/overlapping-none.svg
index 3a19ed95bc..aed29008cc 100644
--- a/tests/testthat/_snaps/ggridges/overlapping-none.svg
+++ b/tests/testthat/_snaps/ggridges/overlapping-none.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggridges/overlapping-touching.svg b/tests/testthat/_snaps/ggridges/overlapping-touching.svg
index 465ae2f348..15f91764f7 100644
--- a/tests/testthat/_snaps/ggridges/overlapping-touching.svg
+++ b/tests/testthat/_snaps/ggridges/overlapping-touching.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggridges/quantile-colouring-tails-only.svg b/tests/testthat/_snaps/ggridges/quantile-colouring-tails-only.svg
index 2f5ec62269..1242776c5a 100644
--- a/tests/testthat/_snaps/ggridges/quantile-colouring-tails-only.svg
+++ b/tests/testthat/_snaps/ggridges/quantile-colouring-tails-only.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggridges/quantile-colouring.svg b/tests/testthat/_snaps/ggridges/quantile-colouring.svg
index 98d3c65a6d..76410aa145 100644
--- a/tests/testthat/_snaps/ggridges/quantile-colouring.svg
+++ b/tests/testthat/_snaps/ggridges/quantile-colouring.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggridges/quantile-cut-points.svg b/tests/testthat/_snaps/ggridges/quantile-cut-points.svg
index 155980eae8..b73eebe3cf 100644
--- a/tests/testthat/_snaps/ggridges/quantile-cut-points.svg
+++ b/tests/testthat/_snaps/ggridges/quantile-cut-points.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggridges/quantile-lines-1.svg b/tests/testthat/_snaps/ggridges/quantile-lines-1.svg
index a3eb51cf34..0a623ca927 100644
--- a/tests/testthat/_snaps/ggridges/quantile-lines-1.svg
+++ b/tests/testthat/_snaps/ggridges/quantile-lines-1.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggridges/quantile-lines-multi.svg b/tests/testthat/_snaps/ggridges/quantile-lines-multi.svg
index b3c2996a82..783f5f0a7d 100644
--- a/tests/testthat/_snaps/ggridges/quantile-lines-multi.svg
+++ b/tests/testthat/_snaps/ggridges/quantile-lines-multi.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggridges/raincloud-effect.svg b/tests/testthat/_snaps/ggridges/raincloud-effect.svg
index f31c3c3b89..2879a68a67 100644
--- a/tests/testthat/_snaps/ggridges/raincloud-effect.svg
+++ b/tests/testthat/_snaps/ggridges/raincloud-effect.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggridges/raincloud-vertical-line-points.svg b/tests/testthat/_snaps/ggridges/raincloud-vertical-line-points.svg
index 735b868783..7f223979f0 100644
--- a/tests/testthat/_snaps/ggridges/raincloud-vertical-line-points.svg
+++ b/tests/testthat/_snaps/ggridges/raincloud-vertical-line-points.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggridges/stat-density.svg b/tests/testthat/_snaps/ggridges/stat-density.svg
index ae4c3f0f97..4eb7470c44 100644
--- a/tests/testthat/_snaps/ggridges/stat-density.svg
+++ b/tests/testthat/_snaps/ggridges/stat-density.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggridges/stat-identity.svg b/tests/testthat/_snaps/ggridges/stat-identity.svg
index bfd9b447e7..d76b6456c6 100644
--- a/tests/testthat/_snaps/ggridges/stat-identity.svg
+++ b/tests/testthat/_snaps/ggridges/stat-identity.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggridges/styling-points.svg b/tests/testthat/_snaps/ggridges/styling-points.svg
index 7f5ab6e9fe..0ddcb228af 100644
--- a/tests/testthat/_snaps/ggridges/styling-points.svg
+++ b/tests/testthat/_snaps/ggridges/styling-points.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggridges/styling-points2.svg b/tests/testthat/_snaps/ggridges/styling-points2.svg
index ed541a2a1e..7a6268547c 100644
--- a/tests/testthat/_snaps/ggridges/styling-points2.svg
+++ b/tests/testthat/_snaps/ggridges/styling-points2.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ggridges/varying-fill-colours.svg b/tests/testthat/_snaps/ggridges/varying-fill-colours.svg
index 697afa35d7..30ecccd097 100644
--- a/tests/testthat/_snaps/ggridges/varying-fill-colours.svg
+++ b/tests/testthat/_snaps/ggridges/varying-fill-colours.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/mean-error-bars/error-rect-alpha.svg b/tests/testthat/_snaps/mean-error-bars/error-rect-alpha.svg
index 1ef4b2a3de..3a6d45697c 100644
--- a/tests/testthat/_snaps/mean-error-bars/error-rect-alpha.svg
+++ b/tests/testthat/_snaps/mean-error-bars/error-rect-alpha.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/mean-error-bars/error-simple-line-point-crazy.svg b/tests/testthat/_snaps/mean-error-bars/error-simple-line-point-crazy.svg
index e5e1b819c7..923abc9ce5 100644
--- a/tests/testthat/_snaps/mean-error-bars/error-simple-line-point-crazy.svg
+++ b/tests/testthat/_snaps/mean-error-bars/error-simple-line-point-crazy.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/mean-error-bars/error-simple-line-point.svg b/tests/testthat/_snaps/mean-error-bars/error-simple-line-point.svg
index 25a0a181da..e092a3499d 100644
--- a/tests/testthat/_snaps/mean-error-bars/error-simple-line-point.svg
+++ b/tests/testthat/_snaps/mean-error-bars/error-simple-line-point.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/mean-error-bars/error-simple-line.svg b/tests/testthat/_snaps/mean-error-bars/error-simple-line.svg
index 2c117a0e68..81265d73d1 100644
--- a/tests/testthat/_snaps/mean-error-bars/error-simple-line.svg
+++ b/tests/testthat/_snaps/mean-error-bars/error-simple-line.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/mean-error-bars/error-simple.svg b/tests/testthat/_snaps/mean-error-bars/error-simple.svg
index 7340440e8a..bb1990f703 100644
--- a/tests/testthat/_snaps/mean-error-bars/error-simple.svg
+++ b/tests/testthat/_snaps/mean-error-bars/error-simple.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/plotly-subplot/ggally-ggcorr.svg b/tests/testthat/_snaps/plotly-subplot/ggally-ggcorr.svg
index 14f39817be..2c517caeb1 100644
--- a/tests/testthat/_snaps/plotly-subplot/ggally-ggcorr.svg
+++ b/tests/testthat/_snaps/plotly-subplot/ggally-ggcorr.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/plotly-subplot/plotly-subplot-ggmatrix.svg b/tests/testthat/_snaps/plotly-subplot/plotly-subplot-ggmatrix.svg
index 7c3e107830..b65affb2c4 100644
--- a/tests/testthat/_snaps/plotly-subplot/plotly-subplot-ggmatrix.svg
+++ b/tests/testthat/_snaps/plotly-subplot/plotly-subplot-ggmatrix.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/plotly-subplot/plotly-subplot-width-height.svg b/tests/testthat/_snaps/plotly-subplot/plotly-subplot-width-height.svg
index 6d5b52e667..0e2fe8621f 100644
--- a/tests/testthat/_snaps/plotly-subplot/plotly-subplot-width-height.svg
+++ b/tests/testthat/_snaps/plotly-subplot/plotly-subplot-width-height.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ticktext-linebreaks/ticktext-linebreaks-no-linebreaks.svg b/tests/testthat/_snaps/ticktext-linebreaks/ticktext-linebreaks-no-linebreaks.svg
index 0632ea4ef4..42e2952593 100644
--- a/tests/testthat/_snaps/ticktext-linebreaks/ticktext-linebreaks-no-linebreaks.svg
+++ b/tests/testthat/_snaps/ticktext-linebreaks/ticktext-linebreaks-no-linebreaks.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ticktext-linebreaks/ticktext-linebreaks-one-cat.svg b/tests/testthat/_snaps/ticktext-linebreaks/ticktext-linebreaks-one-cat.svg
index a3a5456a33..88c1a9bbfd 100644
--- a/tests/testthat/_snaps/ticktext-linebreaks/ticktext-linebreaks-one-cat.svg
+++ b/tests/testthat/_snaps/ticktext-linebreaks/ticktext-linebreaks-one-cat.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/_snaps/ticktext-linebreaks/ticktext-linebreaks.svg b/tests/testthat/_snaps/ticktext-linebreaks/ticktext-linebreaks.svg
index 2a0cf41390..c996497512 100644
--- a/tests/testthat/_snaps/ticktext-linebreaks/ticktext-linebreaks.svg
+++ b/tests/testthat/_snaps/ticktext-linebreaks/ticktext-linebreaks.svg
@@ -1 +1 @@
-
+
diff --git a/tests/testthat/test-rotated-ticks.R b/tests/testthat/test-rotated-ticks.R
index e710fa64ac..7aadf4232e 100644
--- a/tests/testthat/test-rotated-ticks.R
+++ b/tests/testthat/test-rotated-ticks.R
@@ -1,3 +1,5 @@
+testthat::skip_if_not(getRversion() >= "4.3.0")
+
ss <- data.frame(State=paste("some long text", c("CA", "NY", "TX")),
Prop.Inv=c(0, 1, 0.7),
diff --git a/tests/testthat/test-ticktext-linebreaks.R b/tests/testthat/test-ticktext-linebreaks.R
index 09973e48c1..315e2f9e4a 100644
--- a/tests/testthat/test-ticktext-linebreaks.R
+++ b/tests/testthat/test-ticktext-linebreaks.R
@@ -25,33 +25,47 @@ expect_margin <- function(L, gg, ticktext) {
expect_equal(round(L$layout$margin$l, 10), round(margin_l, 10))
}
-# Linebreaks
-d <- data.frame(x = c(1, 2, 3), y = c("ticktext\nlong_ticktext\nticktext", "ticktext", "ticktext"))
-gg <- ggplot(d, aes(x, y)) + geom_bar(stat = "identity")
+
test_that("ggplotly takes account of linebreaks in ticktext", {
+ testthat::skip_if_not(getRversion() >= "4.3.0")
+
+ # Linebreaks
+ d <- data.frame(
+ x = c(1, 2, 3),
+ y = c("ticktext\nlong_ticktext\nticktext", "ticktext", "ticktext")
+ )
+ gg <- ggplot(d, aes(x, y)) + geom_bar(stat = "identity")
+
# Visual Test
L <- expect_doppelganger_built(gg, "ticktext-linebreaks")
# ggplotly returns correct margin
expect_margin(L, gg, "long_ticktext")
})
-# Linebreaks one category
-d <- data.frame(x = c(1), y = c("ticktext\nlong_ticktext\nticktext"))
-gg <- ggplot(d, aes(x, y)) + geom_bar(stat = "identity")
-
test_that("ggplotly takes account of linebreaks in ticktext with only one category", {
+ testthat::skip_if_not(getRversion() >= "4.3.0")
+
+ # Linebreaks one category
+ d <- data.frame(x = c(1), y = c("ticktext\nlong_ticktext\nticktext"))
+ gg <- ggplot(d, aes(x, y)) + geom_bar(stat = "identity")
+
# Visual Test
L <- expect_doppelganger_built(gg, "ticktext-linebreaks-one-cat")
# ggplotly returns correct margin
expect_margin(L, gg, "long_ticktext")
})
-# No linebreaks
-d <- data.frame(x = c(1, 2, 3), y = c("ticktext long_ticktext ticktext", "ticktext", "ticktext"))
-gg <- ggplot(d, aes(x, y)) + geom_bar(stat = "identity")
-
test_that("ggplotly works with no linebreaks in ticktext", {
+ testthat::skip_if_not(getRversion() >= "4.3.0")
+
+ # No linebreaks
+ d <- data.frame(
+ x = c(1, 2, 3),
+ y = c("ticktext long_ticktext ticktext", "ticktext", "ticktext")
+ )
+ gg <- ggplot(d, aes(x, y)) + geom_bar(stat = "identity")
+
# Visual Test
L <- expect_doppelganger_built(gg, "ticktext-linebreaks-no-linebreaks")
# ggplotly returns correct margin