From 453b10e796c0afa81b99a46331137e4855493e18 Mon Sep 17 00:00:00 2001 From: Abdessabour Moutik Date: Tue, 28 Sep 2021 00:50:58 -0700 Subject: [PATCH 01/13] Solved the LaTeX2exp error. Closes #2027 --- R/ggplotly.R | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/R/ggplotly.R b/R/ggplotly.R index e29dd2b907..7249b22de0 100644 --- a/R/ggplotly.R +++ b/R/ggplotly.R @@ -1300,14 +1300,24 @@ faced <- function(txt, face = "plain") { bold <- function(x) paste("", x, "") italic <- function(x) paste("", x, "") +# generic S3 method to allow for class specific implementations +uniq <- function(x){ + UseMethod("uniq", x) +} + # if a vector that has one unique value (ignoring missings), return that value -uniq <- function(x) { +uniq.default <- function(x) { u <- unique(x) if (identical(u, NA) || length(u) == 0) return(u) u <- u[!is.na(u)] if (length(u) == 1) u else x } +# if TeX object convert to character first +uniq.TeX <- function(x){ + print(uniq.default(as.character(x))) +} + # theme(strip.background) -> plotly.js rect shape make_strip_rect <- function(xdom, ydom, theme, side = "top") { rekt <- rect2shape(theme[["strip.background"]]) From 823c5163e8e35532940f0824cf78f7fd3e8d5084 Mon Sep 17 00:00:00 2001 From: Abdessabour Moutik Date: Tue, 28 Sep 2021 01:17:37 -0700 Subject: [PATCH 02/13] Solved issues with the checks --- R/ggplotly.R | 2 +- .../_snaps/cookbook-axes/cookbook-axes-blank-minor-major.svg | 1 - .../testthat/_snaps/cookbook-axes/cookbook-axes-blank-minor.svg | 1 - tests/testthat/_snaps/cookbook-axes/cookbook-axes-blank-x.svg | 1 - tests/testthat/_snaps/cookbook-axes/cookbook-axes-blank-y.svg | 1 - .../testthat/_snaps/cookbook-axes/cookbook-axes-coord-ylim.svg | 1 - .../_snaps/cookbook-axes/cookbook-axes-custom-formatter.svg | 1 - tests/testthat/_snaps/cookbook-axes/cookbook-axes-flevels.svg | 1 - tests/testthat/_snaps/cookbook-axes/cookbook-axes-fonts.svg | 1 - .../testthat/_snaps/cookbook-axes/cookbook-axes-label-funs.svg | 1 - .../testthat/_snaps/cookbook-axes/cookbook-axes-linear-axes.svg | 1 - .../testthat/_snaps/cookbook-axes/cookbook-axes-log2-coord.svg | 1 - .../testthat/_snaps/cookbook-axes/cookbook-axes-log2-labels.svg | 1 - .../testthat/_snaps/cookbook-axes/cookbook-axes-log2-scale.svg | 1 - .../testthat/_snaps/cookbook-axes/cookbook-axes-no-x-title.svg | 1 - .../testthat/_snaps/cookbook-axes/cookbook-axes-scale-hide.svg | 1 - .../testthat/_snaps/cookbook-axes/cookbook-axes-scale-name.svg | 1 - .../_snaps/cookbook-axes/cookbook-axes-scale-y-log10-labels.svg | 1 - .../_snaps/cookbook-axes/cookbook-axes-scale-y-log10.svg | 1 - tests/testthat/_snaps/cookbook-axes/cookbook-axes-ylim-hide.svg | 1 - .../cookbook-lines/cookbook-axes-bar-dodge-color-err4.svg | 1 - .../cookbook-lines/cookbook-axes-bar-dodge-color-error.svg | 1 - .../_snaps/cookbook-lines/cookbook-axes-bar-dodge-color.svg | 1 - .../_snaps/cookbook-lines/cookbook-axes-bar-error-diff.svg | 1 - .../_snaps/cookbook-lines/cookbook-axes-bar-error-narrow.svg | 1 - .../_snaps/cookbook-lines/cookbook-axes-bar-error-wide.svg | 1 - .../testthat/_snaps/cookbook-lines/cookbook-axes-basic-bar.svg | 1 - .../cookbook-lines/cookbook-axes-basic-horizontal-line.svg | 1 - .../_snaps/cookbook-lines/cookbook-axes-dashed-red-line.svg | 1 - .../_snaps/cookbook-lines/cookbook-axes-scatter-basic.svg | 1 - .../cookbook-lines/cookbook-axes-scatter-facet-hline-vline.svg | 1 - .../_snaps/cookbook-lines/cookbook-axes-scatter-facet-hline.svg | 1 - .../_snaps/cookbook-lines/cookbook-axes-scatter-facet.svg | 1 - .../_snaps/cookbook-lines/cookbook-axes-scatter-hline-vline.svg | 1 - .../_snaps/cookbook-lines/cookbook-axes-scatter-hline.svg | 1 - tests/testthat/_snaps/cookbook-scatterplots/color.svg | 1 - tests/testthat/_snaps/cookbook-scatterplots/full-range.svg | 1 - tests/testthat/_snaps/cookbook-scatterplots/geom-jitter.svg | 1 - tests/testthat/_snaps/cookbook-scatterplots/hollow.svg | 1 - tests/testthat/_snaps/cookbook-scatterplots/jitter.svg | 1 - tests/testthat/_snaps/cookbook-scatterplots/loess.svg | 1 - tests/testthat/_snaps/cookbook-scatterplots/overlap.svg | 1 - tests/testthat/_snaps/cookbook-scatterplots/scale-color-hue.svg | 1 - tests/testthat/_snaps/cookbook-scatterplots/shape-manual.svg | 1 - tests/testthat/_snaps/cookbook-scatterplots/shape.svg | 1 - .../_snaps/cookbook-scatterplots/smooth-lm-se-false.svg | 1 - tests/testthat/_snaps/cookbook-scatterplots/smooth-lm.svg | 1 - .../_snaps/geom-errorbar-flipped-aes/errobar-flipped-aes.svg | 1 - .../_snaps/geom-errorbar-issue-1751/errobar-no-aes-y.svg | 1 - .../_snaps/ggplot-abline/cookbook-axes-multiple-abline.svg | 1 - .../_snaps/ggplot-abline/cookbook-axes-single-abline.svg | 1 - tests/testthat/_snaps/ggplot-area/area-area-fillcolor.svg | 1 - tests/testthat/_snaps/ggplot-area/area-simple.svg | 1 - tests/testthat/_snaps/ggplot-area/area-traces-order.svg | 1 - .../_snaps/ggplot-bar/bar-aes-colour-guides-fill-false.svg | 1 - .../_snaps/ggplot-bar/bar-aes-fill-guides-color-none.svg | 1 - tests/testthat/_snaps/ggplot-bar/bar-black-outline.svg | 1 - tests/testthat/_snaps/ggplot-bar/bar-category-names.svg | 1 - tests/testthat/_snaps/ggplot-bar/bar-color.svg | 1 - tests/testthat/_snaps/ggplot-bar/bar-coord-flip.svg | 1 - tests/testthat/_snaps/ggplot-bar/bar-dates.svg | 1 - tests/testthat/_snaps/ggplot-bar/bar-dodge.svg | 1 - tests/testthat/_snaps/ggplot-bar/bar-identity.svg | 1 - tests/testthat/_snaps/ggplot-bar/bar-nocolor.svg | 1 - tests/testthat/_snaps/ggplot-bar/bar-position-fill.svg | 1 - tests/testthat/_snaps/ggplot-bar/bar-position-stack.svg | 1 - tests/testthat/_snaps/ggplot-bar/bar-stack.svg | 1 - tests/testthat/_snaps/ggplot-boxplot/boxplot-datetime.svg | 1 - tests/testthat/_snaps/ggplot-boxplot/boxplot-fillcolor.svg | 1 - .../testthat/_snaps/ggplot-boxplot/boxplot-legends-for-fill.svg | 1 - tests/testthat/_snaps/ggplot-boxplot/boxplot.svg | 1 - tests/testthat/_snaps/ggplot-col/col.svg | 1 - tests/testthat/_snaps/ggplot-contour/contour.svg | 1 - tests/testthat/_snaps/ggplot-date/date-class-date.svg | 1 - .../testthat/_snaps/ggplot-date/date-irregular-time-series.svg | 1 - tests/testthat/_snaps/ggplot-date/date-strings.svg | 1 - tests/testthat/_snaps/ggplot-density/density-color.svg | 1 - tests/testthat/_snaps/ggplot-density/density-fill.svg | 1 - tests/testthat/_snaps/ggplot-density/density-histogram.svg | 1 - tests/testthat/_snaps/ggplot-density/density-simple.svg | 1 - tests/testthat/_snaps/ggplot-density/density-traces-order.svg | 1 - tests/testthat/_snaps/ggplot-density2d/density2d.svg | 1 - .../_snaps/ggplot-errorbar-horizontal/errorbar-horizontal.svg | 1 - .../testthat/_snaps/ggplot-errorbar/errorbar-unique-groups.svg | 1 - tests/testthat/_snaps/ggplot-errorbar/errorbar.svg | 1 - tests/testthat/_snaps/ggplot-facets/3-panels.svg | 1 - tests/testthat/_snaps/ggplot-facets/barley.svg | 1 - tests/testthat/_snaps/ggplot-facets/facet-grid-free-x.svg | 1 - tests/testthat/_snaps/ggplot-facets/facet-grid-free-y.svg | 1 - tests/testthat/_snaps/ggplot-facets/facet-grid-free.svg | 1 - tests/testthat/_snaps/ggplot-facets/facet-grid-labeller.svg | 1 - tests/testthat/_snaps/ggplot-facets/facet-wrap-free-mult.svg | 1 - tests/testthat/_snaps/ggplot-facets/facet-wrap-free-x.svg | 1 - tests/testthat/_snaps/ggplot-facets/facet-wrap-free-y-2.svg | 1 - tests/testthat/_snaps/ggplot-facets/facet-wrap-free-y.svg | 1 - tests/testthat/_snaps/ggplot-facets/facet-wrap-free.svg | 1 - tests/testthat/_snaps/ggplot-facets/facet-wrap-labeller.svg | 1 - tests/testthat/_snaps/ggplot-facets/facet-wrap.svg | 1 - tests/testthat/_snaps/ggplot-heatmap/heatmap-discrete.svg | 1 - tests/testthat/_snaps/ggplot-heatmap/heatmap-midpoint.svg | 1 - tests/testthat/_snaps/ggplot-heatmap/heatmap.svg | 1 - tests/testthat/_snaps/ggplot-hex/hex-basic.svg | 1 - tests/testthat/_snaps/ggplot-hex/hex-bins.svg | 1 - tests/testthat/_snaps/ggplot-hex/hex-binwidth.svg | 1 - tests/testthat/_snaps/ggplot-histogram/histogram-counts.svg | 1 - tests/testthat/_snaps/ggplot-histogram/histogram-date-bins.svg | 1 - tests/testthat/_snaps/ggplot-histogram/histogram-dates.svg | 1 - .../_snaps/ggplot-histogram/histogram-density-binwidth.svg | 1 - tests/testthat/_snaps/ggplot-histogram/histogram-density.svg | 1 - .../_snaps/ggplot-histogram/histogram-fill-factor-dodge.svg | 1 - .../_snaps/ggplot-histogram/histogram-fill-factor-facets.svg | 1 - .../_snaps/ggplot-histogram/histogram-fill-factor-identity.svg | 1 - .../testthat/_snaps/ggplot-histogram/histogram-fill-factor.svg | 1 - tests/testthat/_snaps/ggplot-histogram/histogram-fill.svg | 1 - .../_snaps/ggplot-histogram/histogram-fixed-fill-color.svg | 1 - .../testthat/_snaps/ggplot-histogram/histogram-posixt-bins.svg | 1 - tests/testthat/_snaps/ggplot-histogram/histogram-vline.svg | 1 - tests/testthat/_snaps/ggplot-hline/hline-factor.svg | 1 - tests/testthat/_snaps/ggplot-hline/hline-multiple.svg | 1 - tests/testthat/_snaps/ggplot-hline/hline.svg | 1 - tests/testthat/_snaps/ggplot-hline/split-hline-vline-abline.svg | 1 - tests/testthat/_snaps/ggplot-jitter/jitter-basic.svg | 1 - tests/testthat/_snaps/ggplot-labels/factor-labels.svg | 1 - tests/testthat/_snaps/ggplot-labels/labels-angles.svg | 1 - tests/testthat/_snaps/ggplot-labels/labels-ggtitle.svg | 1 - .../_snaps/ggplot-labels/labels-scale-x-continuous-name.svg | 1 - tests/testthat/_snaps/ggplot-labels/labels-ylab.svg | 1 - tests/testthat/_snaps/ggplot-labels/labs-element-blank.svg | 1 - tests/testthat/_snaps/ggplot-legend/legend-hide-legend.svg | 1 - tests/testthat/_snaps/ggplot-legend/legend-hide.svg | 1 - .../testthat/_snaps/ggplot-legend/legend-many-legend-items.svg | 1 - tests/testthat/_snaps/ggplot-legend/legend-one-entry.svg | 1 - .../_snaps/ggplot-legend/legend-very-long-legend-items.svg | 1 - tests/testthat/_snaps/ggplot-legend/scatter-legend.svg | 1 - tests/testthat/_snaps/ggplot-lines/line-milliseconds.svg | 1 - tests/testthat/_snaps/ggplot-lines/linetype-colors.svg | 1 - tests/testthat/_snaps/ggplot-lines/linetype-types.svg | 1 - tests/testthat/_snaps/ggplot-map/map-facet.svg | 1 - .../_snaps/ggplot-path/path-colored-groups-stay-together.svg | 1 - tests/testthat/_snaps/ggplot-path/path-colors.svg | 1 - tests/testthat/_snaps/ggplot-path/path-colors2.svg | 1 - tests/testthat/_snaps/ggplot-path/path-line-symbols.svg | 1 - .../testthat/_snaps/ggplot-path/path-lines-diff-from-paths.svg | 1 - tests/testthat/_snaps/ggplot-point/all-shapes.svg | 1 - tests/testthat/_snaps/ggplot-point/open-shapes.svg | 1 - tests/testthat/_snaps/ggplot-point/point-flip.svg | 1 - tests/testthat/_snaps/ggplot-point/point-size-alpha.svg | 1 - tests/testthat/_snaps/ggplot-point/point-size-alpha2.svg | 1 - tests/testthat/_snaps/ggplot-polygons/polygon-aes-color.svg | 1 - tests/testthat/_snaps/ggplot-polygons/polygon-aes-fill.svg | 1 - tests/testthat/_snaps/ggplot-polygons/polygon-black.svg | 1 - .../testthat/_snaps/ggplot-polygons/polygon-color-aes-fill.svg | 1 - .../_snaps/ggplot-polygons/polygon-color-fill-aes-linetype.svg | 1 - .../_snaps/ggplot-polygons/polygon-color-fill-aes-size.svg | 1 - .../testthat/_snaps/ggplot-polygons/polygon-star-fill-color.svg | 1 - .../_snaps/ggplot-polygons/polygon-star-group-color.svg | 1 - tests/testthat/_snaps/ggplot-polygons/polygon-star-group.svg | 1 - .../testthat/_snaps/ggplot-polygons/polygons-canada-borders.svg | 1 - tests/testthat/_snaps/ggplot-rect/rect-black.svg | 1 - tests/testthat/_snaps/ggplot-rect/rect-black4.svg | 1 - tests/testthat/_snaps/ggplot-rect/rect-color.svg | 1 - tests/testthat/_snaps/ggplot-rect/rect-fill-color.svg | 1 - tests/testthat/_snaps/ggplot-rect/rect-fill-hex-alpha.svg | 1 - tests/testthat/_snaps/ggplot-rect/rect-fill.svg | 1 - tests/testthat/_snaps/ggplot-ribbon/ribbon-alpha.svg | 1 - tests/testthat/_snaps/ggplot-ribbon/ribbon-colour.svg | 1 - tests/testthat/_snaps/ggplot-ribbon/ribbon-fill.svg | 1 - tests/testthat/_snaps/ggplot-ribbon/ribbon-group.svg | 1 - .../_snaps/ggplot-segment/segment-multiple-non-numeric.svg | 1 - tests/testthat/_snaps/ggplot-segment/segment.svg | 1 - tests/testthat/_snaps/ggplot-sf/sf-aspect.svg | 1 - tests/testthat/_snaps/ggplot-sf/sf-axis-ticks.svg | 1 - tests/testthat/_snaps/ggplot-sf/sf-fill-text.svg | 1 - tests/testthat/_snaps/ggplot-sf/sf-geom-collection.svg | 1 - tests/testthat/_snaps/ggplot-sf/sf-points.svg | 1 - tests/testthat/_snaps/ggplot-sf/sf-theme-map.svg | 1 - tests/testthat/_snaps/ggplot-sf/sf.svg | 1 - tests/testthat/_snaps/ggplot-size/size-global-scaling.svg | 1 - tests/testthat/_snaps/ggplot-size/size-is-a-vector.svg | 1 - tests/testthat/_snaps/ggplot-smooth/smooth-basic.svg | 1 - tests/testthat/_snaps/ggplot-smooth/smooth-colour.svg | 1 - tests/testthat/_snaps/ggplot-smooth/smooth-facet.svg | 1 - tests/testthat/_snaps/ggplot-smooth/smooth-fill2.svg | 1 - tests/testthat/_snaps/ggplot-smooth/smooth-group.svg | 1 - tests/testthat/_snaps/ggplot-smooth/smooth-se-false.svg | 1 - tests/testthat/_snaps/ggplot-step/step-gg-hv.svg | 1 - tests/testthat/_snaps/ggplot-step/step-gg-hvh.svg | 1 - tests/testthat/_snaps/ggplot-step/step-gg-vh.svg | 1 - tests/testthat/_snaps/ggplot-step/step-gg-vhv.svg | 1 - tests/testthat/_snaps/ggplot-text/text-colour.svg | 1 - tests/testthat/_snaps/ggplot-text/text.svg | 1 - tests/testthat/_snaps/ggplot-theme/theme-background.svg | 1 - tests/testthat/_snaps/ggplot-theme/theme-marker-default.svg | 1 - tests/testthat/_snaps/ggplot-theme/theme-panel-border-1.svg | 1 - tests/testthat/_snaps/ggplot-theme/theme-panel-border-2.svg | 1 - tests/testthat/_snaps/ggplot-theme/theme-ticks-and-grids.svg | 1 - tests/testthat/_snaps/ggplot-theme/theme-ticks-default.svg | 1 - tests/testthat/_snaps/ggplot-theme/theme-zeroline-default.svg | 1 - tests/testthat/_snaps/ggplot-ticks/continuous-x-missing.svg | 1 - tests/testthat/_snaps/ggplot-ticks/ticks-boxes-facet-grid.svg | 1 - tests/testthat/_snaps/ggplot-ticks/ticks-boxes-scales-free.svg | 1 - tests/testthat/_snaps/ggplot-ticks/ticks-boxes-space-free.svg | 1 - tests/testthat/_snaps/ggplot-ticks/ticks-boxes.svg | 1 - tests/testthat/_snaps/ggplot-ticks/ticks-breaks-less.svg | 1 - tests/testthat/_snaps/ggplot-ticks/ticks-breaks-more.svg | 1 - tests/testthat/_snaps/ggplot-ticks/ticks-breaks-nochange.svg | 1 - .../testthat/_snaps/ggplot-ticks/ticks-evenly-spaced-ticks.svg | 1 - tests/testthat/_snaps/ggplot-ticks/ticks-flip-grid-free.svg | 1 - tests/testthat/_snaps/ggplot-ticks/ticks-flip-grid.svg | 1 - tests/testthat/_snaps/ggplot-ticks/ticks-flip.svg | 1 - tests/testthat/_snaps/ggplot-ticks/ticks-hide-ticks-labels.svg | 1 - .../_snaps/ggplot-ticks/ticks-hide-ticks-lines-labels.svg | 1 - tests/testthat/_snaps/ggplot-ticks/ticks-limits-gap.svg | 1 - tests/testthat/_snaps/ggplot-ticks/ticks-limits-hide.svg | 1 - tests/testthat/_snaps/ggplot-ticks/ticks-line-breaks.svg | 1 - tests/testthat/_snaps/ggplot-ticks/ticks-scale-labels.svg | 1 - tests/testthat/_snaps/ggplot-ticks/ticks-uneven.svg | 1 - tests/testthat/_snaps/ggplot-ticks/ticks-ycontinuous-ranges.svg | 1 - tests/testthat/_snaps/ggplot-ticks/ticks-ylim-ranges.svg | 1 - .../testthat/_snaps/ggplot-ticks/ticks-ylim-reversed-ranges.svg | 1 - .../_snaps/ggplot-ticks/ticks-yreverse-limits-ranges.svg | 1 - tests/testthat/_snaps/ggplot-ticks/ticks-yreverse-ranges.svg | 1 - tests/testthat/_snaps/ggplot-tooltip/group-lines-hovertext.svg | 1 - .../testthat/_snaps/ggplot-tooltip/heatmap-discrete-tooltip.svg | 1 - tests/testthat/_snaps/ggplot-tooltip/hovertext-display.svg | 1 - tests/testthat/_snaps/ggplot-tooltip/tooltip-date.svg | 1 - tests/testthat/_snaps/ggplot-tooltip/tooltip-datetime.svg | 1 - tests/testthat/_snaps/ggplot-violin/violin-aes.svg | 1 - tests/testthat/_snaps/ggplot-violin/violin.svg | 1 - tests/testthat/_snaps/ggplot-vline/vline-multiple.svg | 1 - tests/testthat/_snaps/ggplot-vline/vline.svg | 1 - tests/testthat/_snaps/ggplot-ylim/ylim-one-trace.svg | 1 - tests/testthat/_snaps/icicle/uniformtext-icicle.svg | 1 - tests/testthat/_snaps/mean-error-bars/error-rect-alpha.svg | 1 - .../_snaps/mean-error-bars/error-simple-line-point-crazy.svg | 1 - .../testthat/_snaps/mean-error-bars/error-simple-line-point.svg | 1 - tests/testthat/_snaps/mean-error-bars/error-simple-line.svg | 1 - tests/testthat/_snaps/mean-error-bars/error-simple.svg | 1 - .../plotly-color/plotly-color-bar-color-factor-custom.svg | 1 - .../_snaps/plotly-color/plotly-color-box-color-stroke.svg | 1 - .../testthat/_snaps/plotly-color/plotly-color-color-manual.svg | 1 - .../plotly-color-scatterplot-color-factor-custom.svg | 1 - .../plotly-color-scatterplot-color-factor-custom2.svg | 1 - .../plotly-color/plotly-color-scatterplot-color-factor.svg | 1 - .../plotly-color-scatterplot-color-numeric-custom.svg | 1 - .../plotly-color/plotly-color-scatterplot-color-numeric.svg | 1 - .../plotly-color/plotly-color-scatterplot-scatter3d-axes.svg | 1 - .../testthat/_snaps/plotly-colorbar/plotly-colorbar-expand.svg | 1 - .../_snaps/plotly-colorbar/plotly-colorbar-restrict.svg | 1 - .../_snaps/plotly-colorbar/plotly-colorbar-z-expand.svg | 1 - .../_snaps/plotly-colorbar/plotly-colorbar-z-restrict.svg | 1 - tests/testthat/_snaps/plotly-colorbar/plotly-colorbar.svg | 1 - tests/testthat/_snaps/plotly-colorscale/colorramp.svg | 1 - tests/testthat/_snaps/plotly-colorscale/contour-alpha.svg | 1 - tests/testthat/_snaps/plotly-colorscale/contour-colorscale.svg | 1 - tests/testthat/_snaps/plotly-colorscale/marker-colorscale.svg | 1 - tests/testthat/_snaps/plotly-colorscale/test-df.svg | 1 - tests/testthat/_snaps/plotly-colorscale/test-list-2.svg | 1 - tests/testthat/_snaps/plotly-colorscale/test-list-3.svg | 1 - tests/testthat/_snaps/plotly-colorscale/test-list.svg | 1 - tests/testthat/_snaps/plotly-colorscale/test-matrix.svg | 1 - tests/testthat/_snaps/plotly-group/plotly-nas-connect.svg | 1 - tests/testthat/_snaps/plotly-group/plotly-nas-within-color.svg | 1 - tests/testthat/_snaps/plotly-group/plotly-nas-within-color2.svg | 1 - tests/testthat/_snaps/plotly-group/plotly-nas-within-group.svg | 1 - tests/testthat/_snaps/plotly-group/plotly-nas.svg | 1 - .../_snaps/plotly-group/plotly-no-nas-for-irrelevant-group.svg | 1 - .../_snaps/plotly-group/simple-scatter-marker-color-group.svg | 1 - tests/testthat/_snaps/plotly-image-trace/colormodel.svg | 1 - tests/testthat/_snaps/plotly-image-trace/raster-basic.svg | 1 - .../_snaps/plotly-linetype/plotly-linetype-alphabetical.svg | 1 - .../_snaps/plotly-linetype/plotly-linetype-linetype.svg | 1 - .../_snaps/plotly-linetype/plotly-linetype-linetype2.svg | 1 - .../_snaps/plotly-linetype/plotly-linetype-linetype3.svg | 1 - .../testthat/_snaps/plotly-linetype/plotly-linetype-manual.svg | 1 - .../_snaps/plotly-linetype/plotly-linetype-ordering.svg | 1 - tests/testthat/_snaps/plotly-size/marker-size.svg | 1 - tests/testthat/_snaps/plotly-size/sizemode.svg | 1 - .../_snaps/plotly-subplot/plotly-subplot-geo-cartesian.svg | 1 - .../testthat/_snaps/plotly-subplot/plotly-subplot-ggmatrix.svg | 1 - tests/testthat/_snaps/plotly-subplot/plotly-subplot-group.svg | 1 - .../testthat/_snaps/plotly-subplot/plotly-subplot-plot-list.svg | 1 - .../testthat/_snaps/plotly-subplot/plotly-subplot-recursive.svg | 1 - .../testthat/_snaps/plotly-subplot/plotly-subplot-shareboth.svg | 1 - tests/testthat/_snaps/plotly-subplot/plotly-subplot-sharex.svg | 1 - tests/testthat/_snaps/plotly-subplot/plotly-subplot-sharey.svg | 1 - tests/testthat/_snaps/plotly-subplot/plotly-subplot-simple.svg | 1 - tests/testthat/_snaps/plotly-subplot/plotly-subplot-simple2.svg | 1 - .../plotly-subplot/plotly-subplot-subplot-legendgroup.svg | 1 - .../_snaps/plotly-subplot/plotly-subplot-width-height.svg | 1 - .../plotly-subplot/subplot-bump-axis-annotation-shared.svg | 1 - .../subplot-bump-axis-annotation-traces-shared.svg | 1 - .../plotly-subplot/subplot-bump-axis-annotation-traces.svg | 1 - .../_snaps/plotly-subplot/subplot-bump-axis-annotation.svg | 1 - .../testthat/_snaps/plotly-subplot/subplot-bump-axis-image.svg | 1 - .../_snaps/plotly-subplot/subplot-bump-axis-shape-shared.svg | 1 - .../testthat/_snaps/plotly-subplot/subplot-bump-axis-shape.svg | 1 - .../_snaps/plotly-subplot/subplot-reposition-annotation.svg | 1 - .../testthat/_snaps/plotly-subplot/subplot-reposition-image.svg | 1 - .../_snaps/plotly-subplot/subplot-reposition-shape-fixed.svg | 1 - .../testthat/_snaps/plotly-subplot/subplot-reposition-shape.svg | 1 - tests/testthat/_snaps/plotly-sunburst/sunburst.svg | 1 - .../_snaps/plotly-symbol/plotly-symbol-alphabetical.svg | 1 - tests/testthat/_snaps/plotly-symbol/plotly-symbol-logical.svg | 1 - tests/testthat/_snaps/plotly-symbol/plotly-symbol-ordering.svg | 1 - tests/testthat/_snaps/plotly-symbol/plotly-symbol-pch.svg | 1 - .../_snaps/plotly-symbol/plotly-symbol-scatterplot-symbol.svg | 1 - .../_snaps/plotly-symbol/plotly-symbol-scatterplot-symbol2.svg | 1 - .../_snaps/plotly-symbol/plotly-symbol-symbol-manual.svg | 1 - tests/testthat/_snaps/plotly-treemaps/advanced.svg | 1 - tests/testthat/_snaps/plotly-treemaps/basic.svg | 1 - tests/testthat/_snaps/plotly-waterfall/waterfall-simple.svg | 1 - tests/testthat/_snaps/plotly/errorbar-width.svg | 1 - tests/testthat/_snaps/plotly/layout-grid.svg | 1 - tests/testthat/_snaps/plotly/plotly-alpha-blending.svg | 1 - tests/testthat/_snaps/plotly/plotly-alpha-no-color.svg | 1 - tests/testthat/_snaps/plotly/plotly-bar-inference.svg | 1 - tests/testthat/_snaps/plotly/plotly-box-data-array.svg | 1 - tests/testthat/_snaps/plotly/plotly-character-axis.svg | 1 - tests/testthat/_snaps/plotly/plotly-factor-axis.svg | 1 - tests/testthat/_snaps/plotly/plotly-group-within-trace.svg | 1 - tests/testthat/_snaps/plotly/plotly-histogram-vert.svg | 1 - tests/testthat/_snaps/plotly/plotly-histogram.svg | 1 - tests/testthat/_snaps/plotly/plotly-inherit-false.svg | 1 - tests/testthat/_snaps/plotly/plotly-scatterplot.svg | 1 - tests/testthat/_snaps/plotly/plotly-time-series-summary.svg | 1 - .../ticktext-linebreaks/ticktext-linebreaks-no-linebreaks.svg | 1 - .../_snaps/ticktext-linebreaks/ticktext-linebreaks-one-cat.svg | 1 - .../testthat/_snaps/ticktext-linebreaks/ticktext-linebreaks.svg | 1 - 329 files changed, 1 insertion(+), 329 deletions(-) delete mode 100644 tests/testthat/_snaps/cookbook-axes/cookbook-axes-blank-minor-major.svg delete mode 100644 tests/testthat/_snaps/cookbook-axes/cookbook-axes-blank-minor.svg delete mode 100644 tests/testthat/_snaps/cookbook-axes/cookbook-axes-blank-x.svg delete mode 100644 tests/testthat/_snaps/cookbook-axes/cookbook-axes-blank-y.svg delete mode 100644 tests/testthat/_snaps/cookbook-axes/cookbook-axes-coord-ylim.svg delete mode 100644 tests/testthat/_snaps/cookbook-axes/cookbook-axes-custom-formatter.svg delete mode 100644 tests/testthat/_snaps/cookbook-axes/cookbook-axes-flevels.svg delete mode 100644 tests/testthat/_snaps/cookbook-axes/cookbook-axes-fonts.svg delete mode 100644 tests/testthat/_snaps/cookbook-axes/cookbook-axes-label-funs.svg delete mode 100644 tests/testthat/_snaps/cookbook-axes/cookbook-axes-linear-axes.svg delete mode 100644 tests/testthat/_snaps/cookbook-axes/cookbook-axes-log2-coord.svg delete mode 100644 tests/testthat/_snaps/cookbook-axes/cookbook-axes-log2-labels.svg delete mode 100644 tests/testthat/_snaps/cookbook-axes/cookbook-axes-log2-scale.svg delete mode 100644 tests/testthat/_snaps/cookbook-axes/cookbook-axes-no-x-title.svg delete mode 100644 tests/testthat/_snaps/cookbook-axes/cookbook-axes-scale-hide.svg delete mode 100644 tests/testthat/_snaps/cookbook-axes/cookbook-axes-scale-name.svg delete mode 100644 tests/testthat/_snaps/cookbook-axes/cookbook-axes-scale-y-log10-labels.svg delete mode 100644 tests/testthat/_snaps/cookbook-axes/cookbook-axes-scale-y-log10.svg delete mode 100644 tests/testthat/_snaps/cookbook-axes/cookbook-axes-ylim-hide.svg delete mode 100644 tests/testthat/_snaps/cookbook-lines/cookbook-axes-bar-dodge-color-err4.svg delete mode 100644 tests/testthat/_snaps/cookbook-lines/cookbook-axes-bar-dodge-color-error.svg delete mode 100644 tests/testthat/_snaps/cookbook-lines/cookbook-axes-bar-dodge-color.svg delete mode 100644 tests/testthat/_snaps/cookbook-lines/cookbook-axes-bar-error-diff.svg delete mode 100644 tests/testthat/_snaps/cookbook-lines/cookbook-axes-bar-error-narrow.svg delete mode 100644 tests/testthat/_snaps/cookbook-lines/cookbook-axes-bar-error-wide.svg delete mode 100644 tests/testthat/_snaps/cookbook-lines/cookbook-axes-basic-bar.svg delete mode 100644 tests/testthat/_snaps/cookbook-lines/cookbook-axes-basic-horizontal-line.svg delete mode 100644 tests/testthat/_snaps/cookbook-lines/cookbook-axes-dashed-red-line.svg delete mode 100644 tests/testthat/_snaps/cookbook-lines/cookbook-axes-scatter-basic.svg delete mode 100644 tests/testthat/_snaps/cookbook-lines/cookbook-axes-scatter-facet-hline-vline.svg delete mode 100644 tests/testthat/_snaps/cookbook-lines/cookbook-axes-scatter-facet-hline.svg delete mode 100644 tests/testthat/_snaps/cookbook-lines/cookbook-axes-scatter-facet.svg delete mode 100644 tests/testthat/_snaps/cookbook-lines/cookbook-axes-scatter-hline-vline.svg delete mode 100644 tests/testthat/_snaps/cookbook-lines/cookbook-axes-scatter-hline.svg delete mode 100644 tests/testthat/_snaps/cookbook-scatterplots/color.svg delete mode 100644 tests/testthat/_snaps/cookbook-scatterplots/full-range.svg delete mode 100644 tests/testthat/_snaps/cookbook-scatterplots/geom-jitter.svg delete mode 100644 tests/testthat/_snaps/cookbook-scatterplots/hollow.svg delete mode 100644 tests/testthat/_snaps/cookbook-scatterplots/jitter.svg delete mode 100644 tests/testthat/_snaps/cookbook-scatterplots/loess.svg delete mode 100644 tests/testthat/_snaps/cookbook-scatterplots/overlap.svg delete mode 100644 tests/testthat/_snaps/cookbook-scatterplots/scale-color-hue.svg delete mode 100644 tests/testthat/_snaps/cookbook-scatterplots/shape-manual.svg delete mode 100644 tests/testthat/_snaps/cookbook-scatterplots/shape.svg delete mode 100644 tests/testthat/_snaps/cookbook-scatterplots/smooth-lm-se-false.svg delete mode 100644 tests/testthat/_snaps/cookbook-scatterplots/smooth-lm.svg delete mode 100644 tests/testthat/_snaps/geom-errorbar-flipped-aes/errobar-flipped-aes.svg delete mode 100644 tests/testthat/_snaps/geom-errorbar-issue-1751/errobar-no-aes-y.svg delete mode 100644 tests/testthat/_snaps/ggplot-abline/cookbook-axes-multiple-abline.svg delete mode 100644 tests/testthat/_snaps/ggplot-abline/cookbook-axes-single-abline.svg delete mode 100644 tests/testthat/_snaps/ggplot-area/area-area-fillcolor.svg delete mode 100644 tests/testthat/_snaps/ggplot-area/area-simple.svg delete mode 100644 tests/testthat/_snaps/ggplot-area/area-traces-order.svg delete mode 100644 tests/testthat/_snaps/ggplot-bar/bar-aes-colour-guides-fill-false.svg delete mode 100644 tests/testthat/_snaps/ggplot-bar/bar-aes-fill-guides-color-none.svg delete mode 100644 tests/testthat/_snaps/ggplot-bar/bar-black-outline.svg delete mode 100644 tests/testthat/_snaps/ggplot-bar/bar-category-names.svg delete mode 100644 tests/testthat/_snaps/ggplot-bar/bar-color.svg delete mode 100644 tests/testthat/_snaps/ggplot-bar/bar-coord-flip.svg delete mode 100644 tests/testthat/_snaps/ggplot-bar/bar-dates.svg delete mode 100644 tests/testthat/_snaps/ggplot-bar/bar-dodge.svg delete mode 100644 tests/testthat/_snaps/ggplot-bar/bar-identity.svg delete mode 100644 tests/testthat/_snaps/ggplot-bar/bar-nocolor.svg delete mode 100644 tests/testthat/_snaps/ggplot-bar/bar-position-fill.svg delete mode 100644 tests/testthat/_snaps/ggplot-bar/bar-position-stack.svg delete mode 100644 tests/testthat/_snaps/ggplot-bar/bar-stack.svg delete mode 100644 tests/testthat/_snaps/ggplot-boxplot/boxplot-datetime.svg delete mode 100644 tests/testthat/_snaps/ggplot-boxplot/boxplot-fillcolor.svg delete mode 100644 tests/testthat/_snaps/ggplot-boxplot/boxplot-legends-for-fill.svg delete mode 100644 tests/testthat/_snaps/ggplot-boxplot/boxplot.svg delete mode 100644 tests/testthat/_snaps/ggplot-col/col.svg delete mode 100644 tests/testthat/_snaps/ggplot-contour/contour.svg delete mode 100644 tests/testthat/_snaps/ggplot-date/date-class-date.svg delete mode 100644 tests/testthat/_snaps/ggplot-date/date-irregular-time-series.svg delete mode 100644 tests/testthat/_snaps/ggplot-date/date-strings.svg delete mode 100644 tests/testthat/_snaps/ggplot-density/density-color.svg delete mode 100644 tests/testthat/_snaps/ggplot-density/density-fill.svg delete mode 100644 tests/testthat/_snaps/ggplot-density/density-histogram.svg delete mode 100644 tests/testthat/_snaps/ggplot-density/density-simple.svg delete mode 100644 tests/testthat/_snaps/ggplot-density/density-traces-order.svg delete mode 100644 tests/testthat/_snaps/ggplot-density2d/density2d.svg delete mode 100644 tests/testthat/_snaps/ggplot-errorbar-horizontal/errorbar-horizontal.svg delete mode 100644 tests/testthat/_snaps/ggplot-errorbar/errorbar-unique-groups.svg delete mode 100644 tests/testthat/_snaps/ggplot-errorbar/errorbar.svg delete mode 100644 tests/testthat/_snaps/ggplot-facets/3-panels.svg delete mode 100644 tests/testthat/_snaps/ggplot-facets/barley.svg delete mode 100644 tests/testthat/_snaps/ggplot-facets/facet-grid-free-x.svg delete mode 100644 tests/testthat/_snaps/ggplot-facets/facet-grid-free-y.svg delete mode 100644 tests/testthat/_snaps/ggplot-facets/facet-grid-free.svg delete mode 100644 tests/testthat/_snaps/ggplot-facets/facet-grid-labeller.svg delete mode 100644 tests/testthat/_snaps/ggplot-facets/facet-wrap-free-mult.svg delete mode 100644 tests/testthat/_snaps/ggplot-facets/facet-wrap-free-x.svg delete mode 100644 tests/testthat/_snaps/ggplot-facets/facet-wrap-free-y-2.svg delete mode 100644 tests/testthat/_snaps/ggplot-facets/facet-wrap-free-y.svg delete mode 100644 tests/testthat/_snaps/ggplot-facets/facet-wrap-free.svg delete mode 100644 tests/testthat/_snaps/ggplot-facets/facet-wrap-labeller.svg delete mode 100644 tests/testthat/_snaps/ggplot-facets/facet-wrap.svg delete mode 100644 tests/testthat/_snaps/ggplot-heatmap/heatmap-discrete.svg delete mode 100644 tests/testthat/_snaps/ggplot-heatmap/heatmap-midpoint.svg delete mode 100644 tests/testthat/_snaps/ggplot-heatmap/heatmap.svg delete mode 100644 tests/testthat/_snaps/ggplot-hex/hex-basic.svg delete mode 100644 tests/testthat/_snaps/ggplot-hex/hex-bins.svg delete mode 100644 tests/testthat/_snaps/ggplot-hex/hex-binwidth.svg delete mode 100644 tests/testthat/_snaps/ggplot-histogram/histogram-counts.svg delete mode 100644 tests/testthat/_snaps/ggplot-histogram/histogram-date-bins.svg delete mode 100644 tests/testthat/_snaps/ggplot-histogram/histogram-dates.svg delete mode 100644 tests/testthat/_snaps/ggplot-histogram/histogram-density-binwidth.svg delete mode 100644 tests/testthat/_snaps/ggplot-histogram/histogram-density.svg delete mode 100644 tests/testthat/_snaps/ggplot-histogram/histogram-fill-factor-dodge.svg delete mode 100644 tests/testthat/_snaps/ggplot-histogram/histogram-fill-factor-facets.svg delete mode 100644 tests/testthat/_snaps/ggplot-histogram/histogram-fill-factor-identity.svg delete mode 100644 tests/testthat/_snaps/ggplot-histogram/histogram-fill-factor.svg delete mode 100644 tests/testthat/_snaps/ggplot-histogram/histogram-fill.svg delete mode 100644 tests/testthat/_snaps/ggplot-histogram/histogram-fixed-fill-color.svg delete mode 100644 tests/testthat/_snaps/ggplot-histogram/histogram-posixt-bins.svg delete mode 100644 tests/testthat/_snaps/ggplot-histogram/histogram-vline.svg delete mode 100644 tests/testthat/_snaps/ggplot-hline/hline-factor.svg delete mode 100644 tests/testthat/_snaps/ggplot-hline/hline-multiple.svg delete mode 100644 tests/testthat/_snaps/ggplot-hline/hline.svg delete mode 100644 tests/testthat/_snaps/ggplot-hline/split-hline-vline-abline.svg delete mode 100644 tests/testthat/_snaps/ggplot-jitter/jitter-basic.svg delete mode 100644 tests/testthat/_snaps/ggplot-labels/factor-labels.svg delete mode 100644 tests/testthat/_snaps/ggplot-labels/labels-angles.svg delete mode 100644 tests/testthat/_snaps/ggplot-labels/labels-ggtitle.svg delete mode 100644 tests/testthat/_snaps/ggplot-labels/labels-scale-x-continuous-name.svg delete mode 100644 tests/testthat/_snaps/ggplot-labels/labels-ylab.svg delete mode 100644 tests/testthat/_snaps/ggplot-labels/labs-element-blank.svg delete mode 100644 tests/testthat/_snaps/ggplot-legend/legend-hide-legend.svg delete mode 100644 tests/testthat/_snaps/ggplot-legend/legend-hide.svg delete mode 100644 tests/testthat/_snaps/ggplot-legend/legend-many-legend-items.svg delete mode 100644 tests/testthat/_snaps/ggplot-legend/legend-one-entry.svg delete mode 100644 tests/testthat/_snaps/ggplot-legend/legend-very-long-legend-items.svg delete mode 100644 tests/testthat/_snaps/ggplot-legend/scatter-legend.svg delete mode 100644 tests/testthat/_snaps/ggplot-lines/line-milliseconds.svg delete mode 100644 tests/testthat/_snaps/ggplot-lines/linetype-colors.svg delete mode 100644 tests/testthat/_snaps/ggplot-lines/linetype-types.svg delete mode 100644 tests/testthat/_snaps/ggplot-map/map-facet.svg delete mode 100644 tests/testthat/_snaps/ggplot-path/path-colored-groups-stay-together.svg delete mode 100644 tests/testthat/_snaps/ggplot-path/path-colors.svg delete mode 100644 tests/testthat/_snaps/ggplot-path/path-colors2.svg delete mode 100644 tests/testthat/_snaps/ggplot-path/path-line-symbols.svg delete mode 100644 tests/testthat/_snaps/ggplot-path/path-lines-diff-from-paths.svg delete mode 100644 tests/testthat/_snaps/ggplot-point/all-shapes.svg delete mode 100644 tests/testthat/_snaps/ggplot-point/open-shapes.svg delete mode 100644 tests/testthat/_snaps/ggplot-point/point-flip.svg delete mode 100644 tests/testthat/_snaps/ggplot-point/point-size-alpha.svg delete mode 100644 tests/testthat/_snaps/ggplot-point/point-size-alpha2.svg delete mode 100644 tests/testthat/_snaps/ggplot-polygons/polygon-aes-color.svg delete mode 100644 tests/testthat/_snaps/ggplot-polygons/polygon-aes-fill.svg delete mode 100644 tests/testthat/_snaps/ggplot-polygons/polygon-black.svg delete mode 100644 tests/testthat/_snaps/ggplot-polygons/polygon-color-aes-fill.svg delete mode 100644 tests/testthat/_snaps/ggplot-polygons/polygon-color-fill-aes-linetype.svg delete mode 100644 tests/testthat/_snaps/ggplot-polygons/polygon-color-fill-aes-size.svg delete mode 100644 tests/testthat/_snaps/ggplot-polygons/polygon-star-fill-color.svg delete mode 100644 tests/testthat/_snaps/ggplot-polygons/polygon-star-group-color.svg delete mode 100644 tests/testthat/_snaps/ggplot-polygons/polygon-star-group.svg delete mode 100644 tests/testthat/_snaps/ggplot-polygons/polygons-canada-borders.svg delete mode 100644 tests/testthat/_snaps/ggplot-rect/rect-black.svg delete mode 100644 tests/testthat/_snaps/ggplot-rect/rect-black4.svg delete mode 100644 tests/testthat/_snaps/ggplot-rect/rect-color.svg delete mode 100644 tests/testthat/_snaps/ggplot-rect/rect-fill-color.svg delete mode 100644 tests/testthat/_snaps/ggplot-rect/rect-fill-hex-alpha.svg delete mode 100644 tests/testthat/_snaps/ggplot-rect/rect-fill.svg delete mode 100644 tests/testthat/_snaps/ggplot-ribbon/ribbon-alpha.svg delete mode 100644 tests/testthat/_snaps/ggplot-ribbon/ribbon-colour.svg delete mode 100644 tests/testthat/_snaps/ggplot-ribbon/ribbon-fill.svg delete mode 100644 tests/testthat/_snaps/ggplot-ribbon/ribbon-group.svg delete mode 100644 tests/testthat/_snaps/ggplot-segment/segment-multiple-non-numeric.svg delete mode 100644 tests/testthat/_snaps/ggplot-segment/segment.svg delete mode 100644 tests/testthat/_snaps/ggplot-sf/sf-aspect.svg delete mode 100644 tests/testthat/_snaps/ggplot-sf/sf-axis-ticks.svg delete mode 100644 tests/testthat/_snaps/ggplot-sf/sf-fill-text.svg delete mode 100644 tests/testthat/_snaps/ggplot-sf/sf-geom-collection.svg delete mode 100644 tests/testthat/_snaps/ggplot-sf/sf-points.svg delete mode 100644 tests/testthat/_snaps/ggplot-sf/sf-theme-map.svg delete mode 100644 tests/testthat/_snaps/ggplot-sf/sf.svg delete mode 100644 tests/testthat/_snaps/ggplot-size/size-global-scaling.svg delete mode 100644 tests/testthat/_snaps/ggplot-size/size-is-a-vector.svg delete mode 100644 tests/testthat/_snaps/ggplot-smooth/smooth-basic.svg delete mode 100644 tests/testthat/_snaps/ggplot-smooth/smooth-colour.svg delete mode 100644 tests/testthat/_snaps/ggplot-smooth/smooth-facet.svg delete mode 100644 tests/testthat/_snaps/ggplot-smooth/smooth-fill2.svg delete mode 100644 tests/testthat/_snaps/ggplot-smooth/smooth-group.svg delete mode 100644 tests/testthat/_snaps/ggplot-smooth/smooth-se-false.svg delete mode 100644 tests/testthat/_snaps/ggplot-step/step-gg-hv.svg delete mode 100644 tests/testthat/_snaps/ggplot-step/step-gg-hvh.svg delete mode 100644 tests/testthat/_snaps/ggplot-step/step-gg-vh.svg delete mode 100644 tests/testthat/_snaps/ggplot-step/step-gg-vhv.svg delete mode 100644 tests/testthat/_snaps/ggplot-text/text-colour.svg delete mode 100644 tests/testthat/_snaps/ggplot-text/text.svg delete mode 100644 tests/testthat/_snaps/ggplot-theme/theme-background.svg delete mode 100644 tests/testthat/_snaps/ggplot-theme/theme-marker-default.svg delete mode 100644 tests/testthat/_snaps/ggplot-theme/theme-panel-border-1.svg delete mode 100644 tests/testthat/_snaps/ggplot-theme/theme-panel-border-2.svg delete mode 100644 tests/testthat/_snaps/ggplot-theme/theme-ticks-and-grids.svg delete mode 100644 tests/testthat/_snaps/ggplot-theme/theme-ticks-default.svg delete mode 100644 tests/testthat/_snaps/ggplot-theme/theme-zeroline-default.svg delete mode 100644 tests/testthat/_snaps/ggplot-ticks/continuous-x-missing.svg delete mode 100644 tests/testthat/_snaps/ggplot-ticks/ticks-boxes-facet-grid.svg delete mode 100644 tests/testthat/_snaps/ggplot-ticks/ticks-boxes-scales-free.svg delete mode 100644 tests/testthat/_snaps/ggplot-ticks/ticks-boxes-space-free.svg delete mode 100644 tests/testthat/_snaps/ggplot-ticks/ticks-boxes.svg delete mode 100644 tests/testthat/_snaps/ggplot-ticks/ticks-breaks-less.svg delete mode 100644 tests/testthat/_snaps/ggplot-ticks/ticks-breaks-more.svg delete mode 100644 tests/testthat/_snaps/ggplot-ticks/ticks-breaks-nochange.svg delete mode 100644 tests/testthat/_snaps/ggplot-ticks/ticks-evenly-spaced-ticks.svg delete mode 100644 tests/testthat/_snaps/ggplot-ticks/ticks-flip-grid-free.svg delete mode 100644 tests/testthat/_snaps/ggplot-ticks/ticks-flip-grid.svg delete mode 100644 tests/testthat/_snaps/ggplot-ticks/ticks-flip.svg delete mode 100644 tests/testthat/_snaps/ggplot-ticks/ticks-hide-ticks-labels.svg delete mode 100644 tests/testthat/_snaps/ggplot-ticks/ticks-hide-ticks-lines-labels.svg delete mode 100644 tests/testthat/_snaps/ggplot-ticks/ticks-limits-gap.svg delete mode 100644 tests/testthat/_snaps/ggplot-ticks/ticks-limits-hide.svg delete mode 100644 tests/testthat/_snaps/ggplot-ticks/ticks-line-breaks.svg delete mode 100644 tests/testthat/_snaps/ggplot-ticks/ticks-scale-labels.svg delete mode 100644 tests/testthat/_snaps/ggplot-ticks/ticks-uneven.svg delete mode 100644 tests/testthat/_snaps/ggplot-ticks/ticks-ycontinuous-ranges.svg delete mode 100644 tests/testthat/_snaps/ggplot-ticks/ticks-ylim-ranges.svg delete mode 100644 tests/testthat/_snaps/ggplot-ticks/ticks-ylim-reversed-ranges.svg delete mode 100644 tests/testthat/_snaps/ggplot-ticks/ticks-yreverse-limits-ranges.svg delete mode 100644 tests/testthat/_snaps/ggplot-ticks/ticks-yreverse-ranges.svg delete mode 100644 tests/testthat/_snaps/ggplot-tooltip/group-lines-hovertext.svg delete mode 100644 tests/testthat/_snaps/ggplot-tooltip/heatmap-discrete-tooltip.svg delete mode 100644 tests/testthat/_snaps/ggplot-tooltip/hovertext-display.svg delete mode 100644 tests/testthat/_snaps/ggplot-tooltip/tooltip-date.svg delete mode 100644 tests/testthat/_snaps/ggplot-tooltip/tooltip-datetime.svg delete mode 100644 tests/testthat/_snaps/ggplot-violin/violin-aes.svg delete mode 100644 tests/testthat/_snaps/ggplot-violin/violin.svg delete mode 100644 tests/testthat/_snaps/ggplot-vline/vline-multiple.svg delete mode 100644 tests/testthat/_snaps/ggplot-vline/vline.svg delete mode 100644 tests/testthat/_snaps/ggplot-ylim/ylim-one-trace.svg delete mode 100644 tests/testthat/_snaps/icicle/uniformtext-icicle.svg delete mode 100644 tests/testthat/_snaps/mean-error-bars/error-rect-alpha.svg delete mode 100644 tests/testthat/_snaps/mean-error-bars/error-simple-line-point-crazy.svg delete mode 100644 tests/testthat/_snaps/mean-error-bars/error-simple-line-point.svg delete mode 100644 tests/testthat/_snaps/mean-error-bars/error-simple-line.svg delete mode 100644 tests/testthat/_snaps/mean-error-bars/error-simple.svg delete mode 100644 tests/testthat/_snaps/plotly-color/plotly-color-bar-color-factor-custom.svg delete mode 100644 tests/testthat/_snaps/plotly-color/plotly-color-box-color-stroke.svg delete mode 100644 tests/testthat/_snaps/plotly-color/plotly-color-color-manual.svg delete mode 100644 tests/testthat/_snaps/plotly-color/plotly-color-scatterplot-color-factor-custom.svg delete mode 100644 tests/testthat/_snaps/plotly-color/plotly-color-scatterplot-color-factor-custom2.svg delete mode 100644 tests/testthat/_snaps/plotly-color/plotly-color-scatterplot-color-factor.svg delete mode 100644 tests/testthat/_snaps/plotly-color/plotly-color-scatterplot-color-numeric-custom.svg delete mode 100644 tests/testthat/_snaps/plotly-color/plotly-color-scatterplot-color-numeric.svg delete mode 100644 tests/testthat/_snaps/plotly-color/plotly-color-scatterplot-scatter3d-axes.svg delete mode 100644 tests/testthat/_snaps/plotly-colorbar/plotly-colorbar-expand.svg delete mode 100644 tests/testthat/_snaps/plotly-colorbar/plotly-colorbar-restrict.svg delete mode 100644 tests/testthat/_snaps/plotly-colorbar/plotly-colorbar-z-expand.svg delete mode 100644 tests/testthat/_snaps/plotly-colorbar/plotly-colorbar-z-restrict.svg delete mode 100644 tests/testthat/_snaps/plotly-colorbar/plotly-colorbar.svg delete mode 100644 tests/testthat/_snaps/plotly-colorscale/colorramp.svg delete mode 100644 tests/testthat/_snaps/plotly-colorscale/contour-alpha.svg delete mode 100644 tests/testthat/_snaps/plotly-colorscale/contour-colorscale.svg delete mode 100644 tests/testthat/_snaps/plotly-colorscale/marker-colorscale.svg delete mode 100644 tests/testthat/_snaps/plotly-colorscale/test-df.svg delete mode 100644 tests/testthat/_snaps/plotly-colorscale/test-list-2.svg delete mode 100644 tests/testthat/_snaps/plotly-colorscale/test-list-3.svg delete mode 100644 tests/testthat/_snaps/plotly-colorscale/test-list.svg delete mode 100644 tests/testthat/_snaps/plotly-colorscale/test-matrix.svg delete mode 100644 tests/testthat/_snaps/plotly-group/plotly-nas-connect.svg delete mode 100644 tests/testthat/_snaps/plotly-group/plotly-nas-within-color.svg delete mode 100644 tests/testthat/_snaps/plotly-group/plotly-nas-within-color2.svg delete mode 100644 tests/testthat/_snaps/plotly-group/plotly-nas-within-group.svg delete mode 100644 tests/testthat/_snaps/plotly-group/plotly-nas.svg delete mode 100644 tests/testthat/_snaps/plotly-group/plotly-no-nas-for-irrelevant-group.svg delete mode 100644 tests/testthat/_snaps/plotly-group/simple-scatter-marker-color-group.svg delete mode 100644 tests/testthat/_snaps/plotly-image-trace/colormodel.svg delete mode 100644 tests/testthat/_snaps/plotly-image-trace/raster-basic.svg delete mode 100644 tests/testthat/_snaps/plotly-linetype/plotly-linetype-alphabetical.svg delete mode 100644 tests/testthat/_snaps/plotly-linetype/plotly-linetype-linetype.svg delete mode 100644 tests/testthat/_snaps/plotly-linetype/plotly-linetype-linetype2.svg delete mode 100644 tests/testthat/_snaps/plotly-linetype/plotly-linetype-linetype3.svg delete mode 100644 tests/testthat/_snaps/plotly-linetype/plotly-linetype-manual.svg delete mode 100644 tests/testthat/_snaps/plotly-linetype/plotly-linetype-ordering.svg delete mode 100644 tests/testthat/_snaps/plotly-size/marker-size.svg delete mode 100644 tests/testthat/_snaps/plotly-size/sizemode.svg delete mode 100644 tests/testthat/_snaps/plotly-subplot/plotly-subplot-geo-cartesian.svg delete mode 100644 tests/testthat/_snaps/plotly-subplot/plotly-subplot-ggmatrix.svg delete mode 100644 tests/testthat/_snaps/plotly-subplot/plotly-subplot-group.svg delete mode 100644 tests/testthat/_snaps/plotly-subplot/plotly-subplot-plot-list.svg delete mode 100644 tests/testthat/_snaps/plotly-subplot/plotly-subplot-recursive.svg delete mode 100644 tests/testthat/_snaps/plotly-subplot/plotly-subplot-shareboth.svg delete mode 100644 tests/testthat/_snaps/plotly-subplot/plotly-subplot-sharex.svg delete mode 100644 tests/testthat/_snaps/plotly-subplot/plotly-subplot-sharey.svg delete mode 100644 tests/testthat/_snaps/plotly-subplot/plotly-subplot-simple.svg delete mode 100644 tests/testthat/_snaps/plotly-subplot/plotly-subplot-simple2.svg delete mode 100644 tests/testthat/_snaps/plotly-subplot/plotly-subplot-subplot-legendgroup.svg delete mode 100644 tests/testthat/_snaps/plotly-subplot/plotly-subplot-width-height.svg delete mode 100644 tests/testthat/_snaps/plotly-subplot/subplot-bump-axis-annotation-shared.svg delete mode 100644 tests/testthat/_snaps/plotly-subplot/subplot-bump-axis-annotation-traces-shared.svg delete mode 100644 tests/testthat/_snaps/plotly-subplot/subplot-bump-axis-annotation-traces.svg delete mode 100644 tests/testthat/_snaps/plotly-subplot/subplot-bump-axis-annotation.svg delete mode 100644 tests/testthat/_snaps/plotly-subplot/subplot-bump-axis-image.svg delete mode 100644 tests/testthat/_snaps/plotly-subplot/subplot-bump-axis-shape-shared.svg delete mode 100644 tests/testthat/_snaps/plotly-subplot/subplot-bump-axis-shape.svg delete mode 100644 tests/testthat/_snaps/plotly-subplot/subplot-reposition-annotation.svg delete mode 100644 tests/testthat/_snaps/plotly-subplot/subplot-reposition-image.svg delete mode 100644 tests/testthat/_snaps/plotly-subplot/subplot-reposition-shape-fixed.svg delete mode 100644 tests/testthat/_snaps/plotly-subplot/subplot-reposition-shape.svg delete mode 100644 tests/testthat/_snaps/plotly-sunburst/sunburst.svg delete mode 100644 tests/testthat/_snaps/plotly-symbol/plotly-symbol-alphabetical.svg delete mode 100644 tests/testthat/_snaps/plotly-symbol/plotly-symbol-logical.svg delete mode 100644 tests/testthat/_snaps/plotly-symbol/plotly-symbol-ordering.svg delete mode 100644 tests/testthat/_snaps/plotly-symbol/plotly-symbol-pch.svg delete mode 100644 tests/testthat/_snaps/plotly-symbol/plotly-symbol-scatterplot-symbol.svg delete mode 100644 tests/testthat/_snaps/plotly-symbol/plotly-symbol-scatterplot-symbol2.svg delete mode 100644 tests/testthat/_snaps/plotly-symbol/plotly-symbol-symbol-manual.svg delete mode 100644 tests/testthat/_snaps/plotly-treemaps/advanced.svg delete mode 100644 tests/testthat/_snaps/plotly-treemaps/basic.svg delete mode 100644 tests/testthat/_snaps/plotly-waterfall/waterfall-simple.svg delete mode 100644 tests/testthat/_snaps/plotly/errorbar-width.svg delete mode 100644 tests/testthat/_snaps/plotly/layout-grid.svg delete mode 100644 tests/testthat/_snaps/plotly/plotly-alpha-blending.svg delete mode 100644 tests/testthat/_snaps/plotly/plotly-alpha-no-color.svg delete mode 100644 tests/testthat/_snaps/plotly/plotly-bar-inference.svg delete mode 100644 tests/testthat/_snaps/plotly/plotly-box-data-array.svg delete mode 100644 tests/testthat/_snaps/plotly/plotly-character-axis.svg delete mode 100644 tests/testthat/_snaps/plotly/plotly-factor-axis.svg delete mode 100644 tests/testthat/_snaps/plotly/plotly-group-within-trace.svg delete mode 100644 tests/testthat/_snaps/plotly/plotly-histogram-vert.svg delete mode 100644 tests/testthat/_snaps/plotly/plotly-histogram.svg delete mode 100644 tests/testthat/_snaps/plotly/plotly-inherit-false.svg delete mode 100644 tests/testthat/_snaps/plotly/plotly-scatterplot.svg delete mode 100644 tests/testthat/_snaps/plotly/plotly-time-series-summary.svg delete mode 100644 tests/testthat/_snaps/ticktext-linebreaks/ticktext-linebreaks-no-linebreaks.svg delete mode 100644 tests/testthat/_snaps/ticktext-linebreaks/ticktext-linebreaks-one-cat.svg delete mode 100644 tests/testthat/_snaps/ticktext-linebreaks/ticktext-linebreaks.svg diff --git a/R/ggplotly.R b/R/ggplotly.R index 7249b22de0..47993f9aa9 100644 --- a/R/ggplotly.R +++ b/R/ggplotly.R @@ -1315,7 +1315,7 @@ uniq.default <- function(x) { # if TeX object convert to character first uniq.TeX <- function(x){ - print(uniq.default(as.character(x))) + print(uniq(as.character(x))) } # theme(strip.background) -> plotly.js rect shape 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 deleted file mode 100644 index 0ac7eecfea..0000000000 --- a/tests/testthat/_snaps/cookbook-axes/cookbook-axes-blank-minor-major.svg +++ /dev/null @@ -1 +0,0 @@ -ctrltrt1trt23.54.04.55.05.56.0groupweight diff --git a/tests/testthat/_snaps/cookbook-axes/cookbook-axes-blank-minor.svg b/tests/testthat/_snaps/cookbook-axes/cookbook-axes-blank-minor.svg deleted file mode 100644 index 19a4a64b2b..0000000000 --- a/tests/testthat/_snaps/cookbook-axes/cookbook-axes-blank-minor.svg +++ /dev/null @@ -1 +0,0 @@ -ctrltrt1trt23.54.04.55.05.56.0groupweight diff --git a/tests/testthat/_snaps/cookbook-axes/cookbook-axes-blank-x.svg b/tests/testthat/_snaps/cookbook-axes/cookbook-axes-blank-x.svg deleted file mode 100644 index 0cccabc7fb..0000000000 --- a/tests/testthat/_snaps/cookbook-axes/cookbook-axes-blank-x.svg +++ /dev/null @@ -1 +0,0 @@ -ctrltrt1trt23.54.04.55.05.56.0groupweight diff --git a/tests/testthat/_snaps/cookbook-axes/cookbook-axes-blank-y.svg b/tests/testthat/_snaps/cookbook-axes/cookbook-axes-blank-y.svg deleted file mode 100644 index 068daa026a..0000000000 --- a/tests/testthat/_snaps/cookbook-axes/cookbook-axes-blank-y.svg +++ /dev/null @@ -1 +0,0 @@ -ctrltrt1trt23.54.04.55.05.56.0groupweight diff --git a/tests/testthat/_snaps/cookbook-axes/cookbook-axes-coord-ylim.svg b/tests/testthat/_snaps/cookbook-axes/cookbook-axes-coord-ylim.svg deleted file mode 100644 index 754fcee9e4..0000000000 --- a/tests/testthat/_snaps/cookbook-axes/cookbook-axes-coord-ylim.svg +++ /dev/null @@ -1 +0,0 @@ -ctrltrt1trt25.05.56.06.57.07.5groupweight diff --git a/tests/testthat/_snaps/cookbook-axes/cookbook-axes-custom-formatter.svg b/tests/testthat/_snaps/cookbook-axes/cookbook-axes-custom-formatter.svg deleted file mode 100644 index ce4ac1453b..0000000000 --- a/tests/testthat/_snaps/cookbook-axes/cookbook-axes-custom-formatter.svg +++ /dev/null @@ -1 +0,0 @@ -ctrltrt1trt23:304:004:305:005:306:00groupweight diff --git a/tests/testthat/_snaps/cookbook-axes/cookbook-axes-flevels.svg b/tests/testthat/_snaps/cookbook-axes/cookbook-axes-flevels.svg deleted file mode 100644 index f531fc3939..0000000000 --- a/tests/testthat/_snaps/cookbook-axes/cookbook-axes-flevels.svg +++ /dev/null @@ -1 +0,0 @@ -trt2trt1ctrl3.54.04.55.05.56.0groupweight diff --git a/tests/testthat/_snaps/cookbook-axes/cookbook-axes-fonts.svg b/tests/testthat/_snaps/cookbook-axes/cookbook-axes-fonts.svg deleted file mode 100644 index 64a3b9c61a..0000000000 --- a/tests/testthat/_snaps/cookbook-axes/cookbook-axes-fonts.svg +++ /dev/null @@ -1 +0,0 @@ -ctrltrt1trt23.54.04.55.05.56.0 group weight diff --git a/tests/testthat/_snaps/cookbook-axes/cookbook-axes-label-funs.svg b/tests/testthat/_snaps/cookbook-axes/cookbook-axes-label-funs.svg deleted file mode 100644 index 265efab949..0000000000 --- a/tests/testthat/_snaps/cookbook-axes/cookbook-axes-label-funs.svg +++ /dev/null @@ -1 +0,0 @@ -ctrltrt1trt2350%400%450%500%550%600%groupweight diff --git a/tests/testthat/_snaps/cookbook-axes/cookbook-axes-linear-axes.svg b/tests/testthat/_snaps/cookbook-axes/cookbook-axes-linear-axes.svg deleted file mode 100644 index 7aead819a4..0000000000 --- a/tests/testthat/_snaps/cookbook-axes/cookbook-axes-linear-axes.svg +++ /dev/null @@ -1 +0,0 @@ -012345050000010000001500000xvalyval diff --git a/tests/testthat/_snaps/cookbook-axes/cookbook-axes-log2-coord.svg b/tests/testthat/_snaps/cookbook-axes/cookbook-axes-log2-coord.svg deleted file mode 100644 index 4cdd6f2a44..0000000000 --- a/tests/testthat/_snaps/cookbook-axes/cookbook-axes-log2-coord.svg +++ /dev/null @@ -1 +0,0 @@ -0123451e+062e+063e+06xvalyval diff --git a/tests/testthat/_snaps/cookbook-axes/cookbook-axes-log2-labels.svg b/tests/testthat/_snaps/cookbook-axes/cookbook-axes-log2-labels.svg deleted file mode 100644 index 5a2687a713..0000000000 --- a/tests/testthat/_snaps/cookbook-axes/cookbook-axes-log2-labels.svg +++ /dev/null @@ -1 +0,0 @@ -0123455.0010.0015.0020.00xvalyval diff --git a/tests/testthat/_snaps/cookbook-axes/cookbook-axes-log2-scale.svg b/tests/testthat/_snaps/cookbook-axes/cookbook-axes-log2-scale.svg deleted file mode 100644 index 8825a3430e..0000000000 --- a/tests/testthat/_snaps/cookbook-axes/cookbook-axes-log2-scale.svg +++ /dev/null @@ -1 +0,0 @@ -012345642048655362097152xvalyval 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 deleted file mode 100644 index b351b7c0a5..0000000000 --- a/tests/testthat/_snaps/cookbook-axes/cookbook-axes-no-x-title.svg +++ /dev/null @@ -1 +0,0 @@ -ctrltrt1trt23.54.04.55.05.56.0Weight (Kg) diff --git a/tests/testthat/_snaps/cookbook-axes/cookbook-axes-scale-hide.svg b/tests/testthat/_snaps/cookbook-axes/cookbook-axes-scale-hide.svg deleted file mode 100644 index 49f706d990..0000000000 --- a/tests/testthat/_snaps/cookbook-axes/cookbook-axes-scale-hide.svg +++ /dev/null @@ -1 +0,0 @@ -ctrltrt1trt25.05.56.06.57.07.5groupweight diff --git a/tests/testthat/_snaps/cookbook-axes/cookbook-axes-scale-name.svg b/tests/testthat/_snaps/cookbook-axes/cookbook-axes-scale-name.svg deleted file mode 100644 index 5b5e573c0c..0000000000 --- a/tests/testthat/_snaps/cookbook-axes/cookbook-axes-scale-name.svg +++ /dev/null @@ -1 +0,0 @@ -ctrltrt1trt23.54.04.55.05.56.0Weight (Kg) 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 deleted file mode 100644 index 3aac303a5b..0000000000 --- a/tests/testthat/_snaps/cookbook-axes/cookbook-axes-scale-y-log10-labels.svg +++ /dev/null @@ -1 +0,0 @@ -0123451.002.003.004.005.006.00xvalyval 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 deleted file mode 100644 index 383c6792cd..0000000000 --- a/tests/testthat/_snaps/cookbook-axes/cookbook-axes-scale-y-log10.svg +++ /dev/null @@ -1 +0,0 @@ -0123451e+021e+041e+06xvalyval diff --git a/tests/testthat/_snaps/cookbook-axes/cookbook-axes-ylim-hide.svg b/tests/testthat/_snaps/cookbook-axes/cookbook-axes-ylim-hide.svg deleted file mode 100644 index 49f706d990..0000000000 --- a/tests/testthat/_snaps/cookbook-axes/cookbook-axes-ylim-hide.svg +++ /dev/null @@ -1 +0,0 @@ -ctrltrt1trt25.05.56.06.57.07.5groupweight 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 deleted file mode 100644 index 947368abc9..0000000000 --- a/tests/testthat/_snaps/cookbook-lines/cookbook-axes-bar-dodge-color-err4.svg +++ /dev/null @@ -1 +0,0 @@ -controltreatment051015groupABcondresult 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 deleted file mode 100644 index 2133cecb52..0000000000 --- a/tests/testthat/_snaps/cookbook-lines/cookbook-axes-bar-dodge-color-error.svg +++ /dev/null @@ -1 +0,0 @@ -controltreatment0510groupABcondresult 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 deleted file mode 100644 index 63b830d9e3..0000000000 --- a/tests/testthat/_snaps/cookbook-lines/cookbook-axes-bar-dodge-color.svg +++ /dev/null @@ -1 +0,0 @@ -controltreatment0510groupABcondresult 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 deleted file mode 100644 index 370a595469..0000000000 --- a/tests/testthat/_snaps/cookbook-lines/cookbook-axes-bar-error-diff.svg +++ /dev/null @@ -1 +0,0 @@ -controltreatment0.02.55.07.510.012.5condresult 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 deleted file mode 100644 index 9d973fe567..0000000000 --- a/tests/testthat/_snaps/cookbook-lines/cookbook-axes-bar-error-narrow.svg +++ /dev/null @@ -1 +0,0 @@ -controltreatment0.02.55.07.510.012.5condresult 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 deleted file mode 100644 index 370a595469..0000000000 --- a/tests/testthat/_snaps/cookbook-lines/cookbook-axes-bar-error-wide.svg +++ /dev/null @@ -1 +0,0 @@ -controltreatment0.02.55.07.510.012.5condresult diff --git a/tests/testthat/_snaps/cookbook-lines/cookbook-axes-basic-bar.svg b/tests/testthat/_snaps/cookbook-lines/cookbook-axes-basic-bar.svg deleted file mode 100644 index ada544b654..0000000000 --- a/tests/testthat/_snaps/cookbook-lines/cookbook-axes-basic-bar.svg +++ /dev/null @@ -1 +0,0 @@ -controltreatment036912condresult 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 deleted file mode 100644 index cf525ff33b..0000000000 --- a/tests/testthat/_snaps/cookbook-lines/cookbook-axes-basic-horizontal-line.svg +++ /dev/null @@ -1 +0,0 @@ -controltreatment0.02.55.07.510.012.5condresult 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 deleted file mode 100644 index 1fdf0d27a7..0000000000 --- a/tests/testthat/_snaps/cookbook-lines/cookbook-axes-dashed-red-line.svg +++ /dev/null @@ -1 +0,0 @@ -controltreatment0.02.55.07.510.012.5condresult diff --git a/tests/testthat/_snaps/cookbook-lines/cookbook-axes-scatter-basic.svg b/tests/testthat/_snaps/cookbook-lines/cookbook-axes-scatter-basic.svg deleted file mode 100644 index d1ef902e95..0000000000 --- a/tests/testthat/_snaps/cookbook-lines/cookbook-axes-scatter-basic.svg +++ /dev/null @@ -1 +0,0 @@ -81012910111213condcontroltreatmentxvalyval 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 deleted file mode 100644 index 0d22f86095..0000000000 --- a/tests/testthat/_snaps/cookbook-lines/cookbook-axes-scatter-facet-hline-vline.svg +++ /dev/null @@ -1 +0,0 @@ -8101291011121381012condcontroltreatmentxvalyvalcontroltreatment 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 deleted file mode 100644 index 38b3ca03f0..0000000000 --- a/tests/testthat/_snaps/cookbook-lines/cookbook-axes-scatter-facet-hline.svg +++ /dev/null @@ -1 +0,0 @@ -8101291011121381012condcontroltreatmentxvalyvalcontroltreatment diff --git a/tests/testthat/_snaps/cookbook-lines/cookbook-axes-scatter-facet.svg b/tests/testthat/_snaps/cookbook-lines/cookbook-axes-scatter-facet.svg deleted file mode 100644 index 7de450e2e0..0000000000 --- a/tests/testthat/_snaps/cookbook-lines/cookbook-axes-scatter-facet.svg +++ /dev/null @@ -1 +0,0 @@ -8101291011121381012condcontroltreatmentxvalyvalcontroltreatment 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 deleted file mode 100644 index 613d8db1ea..0000000000 --- a/tests/testthat/_snaps/cookbook-lines/cookbook-axes-scatter-hline-vline.svg +++ /dev/null @@ -1 +0,0 @@ -81012910111213condcontroltreatmentxvalyval diff --git a/tests/testthat/_snaps/cookbook-lines/cookbook-axes-scatter-hline.svg b/tests/testthat/_snaps/cookbook-lines/cookbook-axes-scatter-hline.svg deleted file mode 100644 index 9ff99467da..0000000000 --- a/tests/testthat/_snaps/cookbook-lines/cookbook-axes-scatter-hline.svg +++ /dev/null @@ -1 +0,0 @@ -81012910111213condcontroltreatmentxvalyval diff --git a/tests/testthat/_snaps/cookbook-scatterplots/color.svg b/tests/testthat/_snaps/cookbook-scatterplots/color.svg deleted file mode 100644 index 874597ddba..0000000000 --- a/tests/testthat/_snaps/cookbook-scatterplots/color.svg +++ /dev/null @@ -1 +0,0 @@ -01020300510152025condABxvaryvar diff --git a/tests/testthat/_snaps/cookbook-scatterplots/full-range.svg b/tests/testthat/_snaps/cookbook-scatterplots/full-range.svg deleted file mode 100644 index 3ab22bd4b1..0000000000 --- a/tests/testthat/_snaps/cookbook-scatterplots/full-range.svg +++ /dev/null @@ -1 +0,0 @@ -010203001020condABxvaryvar diff --git a/tests/testthat/_snaps/cookbook-scatterplots/geom-jitter.svg b/tests/testthat/_snaps/cookbook-scatterplots/geom-jitter.svg deleted file mode 100644 index b68a942721..0000000000 --- a/tests/testthat/_snaps/cookbook-scatterplots/geom-jitter.svg +++ /dev/null @@ -1 +0,0 @@ -01020300510152025xrndyrnd diff --git a/tests/testthat/_snaps/cookbook-scatterplots/hollow.svg b/tests/testthat/_snaps/cookbook-scatterplots/hollow.svg deleted file mode 100644 index 90ea49e257..0000000000 --- a/tests/testthat/_snaps/cookbook-scatterplots/hollow.svg +++ /dev/null @@ -1 +0,0 @@ -01020300510152025xvaryvar diff --git a/tests/testthat/_snaps/cookbook-scatterplots/jitter.svg b/tests/testthat/_snaps/cookbook-scatterplots/jitter.svg deleted file mode 100644 index b68a942721..0000000000 --- a/tests/testthat/_snaps/cookbook-scatterplots/jitter.svg +++ /dev/null @@ -1 +0,0 @@ -01020300510152025xrndyrnd diff --git a/tests/testthat/_snaps/cookbook-scatterplots/loess.svg b/tests/testthat/_snaps/cookbook-scatterplots/loess.svg deleted file mode 100644 index 0d0646a7ce..0000000000 --- a/tests/testthat/_snaps/cookbook-scatterplots/loess.svg +++ /dev/null @@ -1 +0,0 @@ -010203001020xvaryvar diff --git a/tests/testthat/_snaps/cookbook-scatterplots/overlap.svg b/tests/testthat/_snaps/cookbook-scatterplots/overlap.svg deleted file mode 100644 index 19a46c9fab..0000000000 --- a/tests/testthat/_snaps/cookbook-scatterplots/overlap.svg +++ /dev/null @@ -1 +0,0 @@ -01020300510152025xrndyrnd diff --git a/tests/testthat/_snaps/cookbook-scatterplots/scale-color-hue.svg b/tests/testthat/_snaps/cookbook-scatterplots/scale-color-hue.svg deleted file mode 100644 index a414ae8527..0000000000 --- a/tests/testthat/_snaps/cookbook-scatterplots/scale-color-hue.svg +++ /dev/null @@ -1 +0,0 @@ -01020300510152025condABxvaryvar diff --git a/tests/testthat/_snaps/cookbook-scatterplots/shape-manual.svg b/tests/testthat/_snaps/cookbook-scatterplots/shape-manual.svg deleted file mode 100644 index 6c0b53722f..0000000000 --- a/tests/testthat/_snaps/cookbook-scatterplots/shape-manual.svg +++ /dev/null @@ -1 +0,0 @@ -01020300510152025condABxvaryvar diff --git a/tests/testthat/_snaps/cookbook-scatterplots/shape.svg b/tests/testthat/_snaps/cookbook-scatterplots/shape.svg deleted file mode 100644 index b9a3fc077d..0000000000 --- a/tests/testthat/_snaps/cookbook-scatterplots/shape.svg +++ /dev/null @@ -1 +0,0 @@ -01020300510152025condABxvaryvar diff --git a/tests/testthat/_snaps/cookbook-scatterplots/smooth-lm-se-false.svg b/tests/testthat/_snaps/cookbook-scatterplots/smooth-lm-se-false.svg deleted file mode 100644 index 3b7605a24c..0000000000 --- a/tests/testthat/_snaps/cookbook-scatterplots/smooth-lm-se-false.svg +++ /dev/null @@ -1 +0,0 @@ -01020300510152025xvaryvar diff --git a/tests/testthat/_snaps/cookbook-scatterplots/smooth-lm.svg b/tests/testthat/_snaps/cookbook-scatterplots/smooth-lm.svg deleted file mode 100644 index 57ac89c9c4..0000000000 --- a/tests/testthat/_snaps/cookbook-scatterplots/smooth-lm.svg +++ /dev/null @@ -1 +0,0 @@ -010203001020xvaryvar 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 deleted file mode 100644 index a9b837dd5a..0000000000 --- a/tests/testthat/_snaps/geom-errorbar-flipped-aes/errobar-flipped-aes.svg +++ /dev/null @@ -1 +0,0 @@ -2.502.753.003.253.50setosaversicolorvirginicaSpecies 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 deleted file mode 100644 index e30be0b6ac..0000000000 --- a/tests/testthat/_snaps/geom-errorbar-issue-1751/errobar-no-aes-y.svg +++ /dev/null @@ -1 +0,0 @@ -FirmicutesSpirochaetes0.20.30.40.50.6Names diff --git a/tests/testthat/_snaps/ggplot-abline/cookbook-axes-multiple-abline.svg b/tests/testthat/_snaps/ggplot-abline/cookbook-axes-multiple-abline.svg deleted file mode 100644 index feb4f7a98a..0000000000 --- a/tests/testthat/_snaps/ggplot-abline/cookbook-axes-multiple-abline.svg +++ /dev/null @@ -1 +0,0 @@ --5.0-2.50.02.55.0-5.0-2.50.02.55.0 diff --git a/tests/testthat/_snaps/ggplot-abline/cookbook-axes-single-abline.svg b/tests/testthat/_snaps/ggplot-abline/cookbook-axes-single-abline.svg deleted file mode 100644 index e8b406d59d..0000000000 --- a/tests/testthat/_snaps/ggplot-abline/cookbook-axes-single-abline.svg +++ /dev/null @@ -1 +0,0 @@ -01230123xy diff --git a/tests/testthat/_snaps/ggplot-area/area-area-fillcolor.svg b/tests/testthat/_snaps/ggplot-area/area-area-fillcolor.svg deleted file mode 100644 index d92de4329f..0000000000 --- a/tests/testthat/_snaps/ggplot-area/area-area-fillcolor.svg +++ /dev/null @@ -1 +0,0 @@ -187519001925195019750200400600yearlevel diff --git a/tests/testthat/_snaps/ggplot-area/area-simple.svg b/tests/testthat/_snaps/ggplot-area/area-simple.svg deleted file mode 100644 index d0e4d15690..0000000000 --- a/tests/testthat/_snaps/ggplot-area/area-simple.svg +++ /dev/null @@ -1 +0,0 @@ -187519001925195019750200400600yearlevel diff --git a/tests/testthat/_snaps/ggplot-area/area-traces-order.svg b/tests/testthat/_snaps/ggplot-area/area-traces-order.svg deleted file mode 100644 index 923b833d24..0000000000 --- a/tests/testthat/_snaps/ggplot-area/area-traces-order.svg +++ /dev/null @@ -1 +0,0 @@ -0123450.000.250.500.751.00cutFairGoodVery GoodPremiumIdealcaratfreq 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 deleted file mode 100644 index 15112605ee..0000000000 --- a/tests/testthat/_snaps/ggplot-bar/bar-aes-colour-guides-fill-false.svg +++ /dev/null @@ -1 +0,0 @@ -LunchDinner051015timeLunchDinnertimetotal_bill 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 deleted file mode 100644 index aea450305a..0000000000 --- a/tests/testthat/_snaps/ggplot-bar/bar-aes-fill-guides-color-none.svg +++ /dev/null @@ -1 +0,0 @@ -LunchDinner051015timeLunchDinnertimetotal_bill diff --git a/tests/testthat/_snaps/ggplot-bar/bar-black-outline.svg b/tests/testthat/_snaps/ggplot-bar/bar-black-outline.svg deleted file mode 100644 index aea450305a..0000000000 --- a/tests/testthat/_snaps/ggplot-bar/bar-black-outline.svg +++ /dev/null @@ -1 +0,0 @@ -LunchDinner051015timeLunchDinnertimetotal_bill diff --git a/tests/testthat/_snaps/ggplot-bar/bar-category-names.svg b/tests/testthat/_snaps/ggplot-bar/bar-category-names.svg deleted file mode 100644 index 02f5db8ce9..0000000000 --- a/tests/testthat/_snaps/ggplot-bar/bar-category-names.svg +++ /dev/null @@ -1 +0,0 @@ -FairGoodVery GoodPremiumIdeal02000400060008000cutprice diff --git a/tests/testthat/_snaps/ggplot-bar/bar-color.svg b/tests/testthat/_snaps/ggplot-bar/bar-color.svg deleted file mode 100644 index 1ccec73f8e..0000000000 --- a/tests/testthat/_snaps/ggplot-bar/bar-color.svg +++ /dev/null @@ -1 +0,0 @@ -LunchDinner051015timeLunchDinnertimetotal_bill diff --git a/tests/testthat/_snaps/ggplot-bar/bar-coord-flip.svg b/tests/testthat/_snaps/ggplot-bar/bar-coord-flip.svg deleted file mode 100644 index 42fd045785..0000000000 --- a/tests/testthat/_snaps/ggplot-bar/bar-coord-flip.svg +++ /dev/null @@ -1 +0,0 @@ -0510468countfactor(cyl) diff --git a/tests/testthat/_snaps/ggplot-bar/bar-dates.svg b/tests/testthat/_snaps/ggplot-bar/bar-dates.svg deleted file mode 100644 index 22fef0df1f..0000000000 --- a/tests/testthat/_snaps/ggplot-bar/bar-dates.svg +++ /dev/null @@ -1 +0,0 @@ -Jan 01Jan 15Feb 01Feb 1502040fieldBioMathmonthpapers diff --git a/tests/testthat/_snaps/ggplot-bar/bar-dodge.svg b/tests/testthat/_snaps/ggplot-bar/bar-dodge.svg deleted file mode 100644 index 947730bc10..0000000000 --- a/tests/testthat/_snaps/ggplot-bar/bar-dodge.svg +++ /dev/null @@ -1 +0,0 @@ -CanadaGermanyUSA0102030fieldBioMathcountrypapers diff --git a/tests/testthat/_snaps/ggplot-bar/bar-identity.svg b/tests/testthat/_snaps/ggplot-bar/bar-identity.svg deleted file mode 100644 index b2f23f4ab4..0000000000 --- a/tests/testthat/_snaps/ggplot-bar/bar-identity.svg +++ /dev/null @@ -1 +0,0 @@ -CanadaGermanyUSA0102030fieldBioMathcountrypapers diff --git a/tests/testthat/_snaps/ggplot-bar/bar-nocolor.svg b/tests/testthat/_snaps/ggplot-bar/bar-nocolor.svg deleted file mode 100644 index c14a4ad3bf..0000000000 --- a/tests/testthat/_snaps/ggplot-bar/bar-nocolor.svg +++ /dev/null @@ -1 +0,0 @@ -LunchDinner051015timetotal_bill diff --git a/tests/testthat/_snaps/ggplot-bar/bar-position-fill.svg b/tests/testthat/_snaps/ggplot-bar/bar-position-fill.svg deleted file mode 100644 index 1ebd954fa9..0000000000 --- a/tests/testthat/_snaps/ggplot-bar/bar-position-fill.svg +++ /dev/null @@ -1 +0,0 @@ -010.000.250.500.751.00factor(cyl)468factor(vs)count diff --git a/tests/testthat/_snaps/ggplot-bar/bar-position-stack.svg b/tests/testthat/_snaps/ggplot-bar/bar-position-stack.svg deleted file mode 100644 index d2754e7bd2..0000000000 --- a/tests/testthat/_snaps/ggplot-bar/bar-position-stack.svg +++ /dev/null @@ -1 +0,0 @@ -01051015factor(cyl)468factor(vs)count diff --git a/tests/testthat/_snaps/ggplot-bar/bar-stack.svg b/tests/testthat/_snaps/ggplot-bar/bar-stack.svg deleted file mode 100644 index 507bb54028..0000000000 --- a/tests/testthat/_snaps/ggplot-bar/bar-stack.svg +++ /dev/null @@ -1 +0,0 @@ -CanadaGermanyUSA0102030fieldBioMathcountrypapers diff --git a/tests/testthat/_snaps/ggplot-boxplot/boxplot-datetime.svg b/tests/testthat/_snaps/ggplot-boxplot/boxplot-datetime.svg deleted file mode 100644 index 6d35832e43..0000000000 --- a/tests/testthat/_snaps/ggplot-boxplot/boxplot-datetime.svg +++ /dev/null @@ -1 +0,0 @@ --0.4-0.20.00.20.410203040xy diff --git a/tests/testthat/_snaps/ggplot-boxplot/boxplot-fillcolor.svg b/tests/testthat/_snaps/ggplot-boxplot/boxplot-fillcolor.svg deleted file mode 100644 index a9f356b8a9..0000000000 --- a/tests/testthat/_snaps/ggplot-boxplot/boxplot-fillcolor.svg +++ /dev/null @@ -1 +0,0 @@ -ABCD-2024colC1C2condrating diff --git a/tests/testthat/_snaps/ggplot-boxplot/boxplot-legends-for-fill.svg b/tests/testthat/_snaps/ggplot-boxplot/boxplot-legends-for-fill.svg deleted file mode 100644 index ec9446ddda..0000000000 --- a/tests/testthat/_snaps/ggplot-boxplot/boxplot-legends-for-fill.svg +++ /dev/null @@ -1 +0,0 @@ -468101520253035factor(cyl)468factor(cyl)mpg diff --git a/tests/testthat/_snaps/ggplot-boxplot/boxplot.svg b/tests/testthat/_snaps/ggplot-boxplot/boxplot.svg deleted file mode 100644 index 5a4ae575dd..0000000000 --- a/tests/testthat/_snaps/ggplot-boxplot/boxplot.svg +++ /dev/null @@ -1 +0,0 @@ -468101520253035factor(cyl)mpg diff --git a/tests/testthat/_snaps/ggplot-col/col.svg b/tests/testthat/_snaps/ggplot-col/col.svg deleted file mode 100644 index 18b503929c..0000000000 --- a/tests/testthat/_snaps/ggplot-col/col.svg +++ /dev/null @@ -1 +0,0 @@ -71.4%20.0%48.3%28.6%80.0%51.7%ElementaryHighMiddle0.000.250.500.751.00includedexcludedincludedtypeprop diff --git a/tests/testthat/_snaps/ggplot-contour/contour.svg b/tests/testthat/_snaps/ggplot-contour/contour.svg deleted file mode 100644 index 22651e03a9..0000000000 --- a/tests/testthat/_snaps/ggplot-contour/contour.svg +++ /dev/null @@ -1 +0,0 @@ -02550750204060xy diff --git a/tests/testthat/_snaps/ggplot-date/date-class-date.svg b/tests/testthat/_snaps/ggplot-date/date-class-date.svg deleted file mode 100644 index 60dffdb78c..0000000000 --- a/tests/testthat/_snaps/ggplot-date/date-class-date.svg +++ /dev/null @@ -1 +0,0 @@ -Jan 01Jan 02Jan 032.002.252.502.753.00xy diff --git a/tests/testthat/_snaps/ggplot-date/date-irregular-time-series.svg b/tests/testthat/_snaps/ggplot-date/date-irregular-time-series.svg deleted file mode 100644 index 42616afb11..0000000000 --- a/tests/testthat/_snaps/ggplot-date/date-irregular-time-series.svg +++ /dev/null @@ -1 +0,0 @@ -JanFebMar0.000.250.500.751.00dateprice diff --git a/tests/testthat/_snaps/ggplot-date/date-strings.svg b/tests/testthat/_snaps/ggplot-date/date-strings.svg deleted file mode 100644 index ba60eb96ca..0000000000 --- a/tests/testthat/_snaps/ggplot-date/date-strings.svg +++ /dev/null @@ -1 +0,0 @@ -Apr 1983Jul 1983Oct 1983Jan 1984Apr 19840.02.55.07.510.0whomeyoutime.objdollars diff --git a/tests/testthat/_snaps/ggplot-density/density-color.svg b/tests/testthat/_snaps/ggplot-density/density-color.svg deleted file mode 100644 index 457d88cd65..0000000000 --- a/tests/testthat/_snaps/ggplot-density/density-color.svg +++ /dev/null @@ -1 +0,0 @@ -23450.00.20.40.6factor(vs)01wtdensity diff --git a/tests/testthat/_snaps/ggplot-density/density-fill.svg b/tests/testthat/_snaps/ggplot-density/density-fill.svg deleted file mode 100644 index 8f28a011bb..0000000000 --- a/tests/testthat/_snaps/ggplot-density/density-fill.svg +++ /dev/null @@ -1 +0,0 @@ -23450.00.20.40.6factor(vs)01wtdensity diff --git a/tests/testthat/_snaps/ggplot-density/density-histogram.svg b/tests/testthat/_snaps/ggplot-density/density-histogram.svg deleted file mode 100644 index b69ac9d912..0000000000 --- a/tests/testthat/_snaps/ggplot-density/density-histogram.svg +++ /dev/null @@ -1 +0,0 @@ -23450.00.20.4wtdensity diff --git a/tests/testthat/_snaps/ggplot-density/density-simple.svg b/tests/testthat/_snaps/ggplot-density/density-simple.svg deleted file mode 100644 index a1a0f69e35..0000000000 --- a/tests/testthat/_snaps/ggplot-density/density-simple.svg +++ /dev/null @@ -1 +0,0 @@ -23450.00.10.20.30.40.5wtdensity diff --git a/tests/testthat/_snaps/ggplot-density/density-traces-order.svg b/tests/testthat/_snaps/ggplot-density/density-traces-order.svg deleted file mode 100644 index 5a978671ff..0000000000 --- a/tests/testthat/_snaps/ggplot-density/density-traces-order.svg +++ /dev/null @@ -1 +0,0 @@ -1015202530350.00.10.20.3factor(cyl)468mpgdensity diff --git a/tests/testthat/_snaps/ggplot-density2d/density2d.svg b/tests/testthat/_snaps/ggplot-density2d/density2d.svg deleted file mode 100644 index 84b72fe7a6..0000000000 --- a/tests/testthat/_snaps/ggplot-density2d/density2d.svg +++ /dev/null @@ -1 +0,0 @@ -12345406080100durationwaiting diff --git a/tests/testthat/_snaps/ggplot-errorbar-horizontal/errorbar-horizontal.svg b/tests/testthat/_snaps/ggplot-errorbar-horizontal/errorbar-horizontal.svg deleted file mode 100644 index 32325b4f80..0000000000 --- a/tests/testthat/_snaps/ggplot-errorbar-horizontal/errorbar-horizontal.svg +++ /dev/null @@ -1 +0,0 @@ -1234512group12resptrt diff --git a/tests/testthat/_snaps/ggplot-errorbar/errorbar-unique-groups.svg b/tests/testthat/_snaps/ggplot-errorbar/errorbar-unique-groups.svg deleted file mode 100644 index 4101c3bbe8..0000000000 --- a/tests/testthat/_snaps/ggplot-errorbar/errorbar-unique-groups.svg +++ /dev/null @@ -1 +0,0 @@ -1212345group1234trtresp diff --git a/tests/testthat/_snaps/ggplot-errorbar/errorbar.svg b/tests/testthat/_snaps/ggplot-errorbar/errorbar.svg deleted file mode 100644 index 38223beb50..0000000000 --- a/tests/testthat/_snaps/ggplot-errorbar/errorbar.svg +++ /dev/null @@ -1 +0,0 @@ -345678915202530cylm diff --git a/tests/testthat/_snaps/ggplot-facets/3-panels.svg b/tests/testthat/_snaps/ggplot-facets/3-panels.svg deleted file mode 100644 index 77d23c4fd5..0000000000 --- a/tests/testthat/_snaps/ggplot-facets/3-panels.svg +++ /dev/null @@ -1 +0,0 @@ -0.000.250.500.751.000.000.250.500.751.000.000.250.500.751.000.000.250.500.751.00xyabc diff --git a/tests/testthat/_snaps/ggplot-facets/barley.svg b/tests/testthat/_snaps/ggplot-facets/barley.svg deleted file mode 100644 index cf859e6f5d..0000000000 --- a/tests/testthat/_snaps/ggplot-facets/barley.svg +++ /dev/null @@ -1 +0,0 @@ -SvansotaNo. 462ManchuriaNo. 475VelvetPeatlandGlabronNo. 457Wisconsin No. 38TrebiSvansotaNo. 462ManchuriaNo. 475VelvetPeatlandGlabronNo. 457Wisconsin No. 38TrebiSvansotaNo. 462ManchuriaNo. 475VelvetPeatlandGlabronNo. 457Wisconsin No. 38TrebiSvansotaNo. 462ManchuriaNo. 475VelvetPeatlandGlabronNo. 457Wisconsin No. 38TrebiSvansotaNo. 462ManchuriaNo. 475VelvetPeatlandGlabronNo. 457Wisconsin No. 38Trebi2030405060SvansotaNo. 462ManchuriaNo. 475VelvetPeatlandGlabronNo. 457Wisconsin No. 38Trebiyear19321931yieldvarietyGrand RapidsDuluthUniversity FarmMorrisCrookstonWaseca diff --git a/tests/testthat/_snaps/ggplot-facets/facet-grid-free-x.svg b/tests/testthat/_snaps/ggplot-facets/facet-grid-free-x.svg deleted file mode 100644 index f5091940db..0000000000 --- a/tests/testthat/_snaps/ggplot-facets/facet-grid-free-x.svg +++ /dev/null @@ -1 +0,0 @@ -234510152025234515202530mpgwt0101 diff --git a/tests/testthat/_snaps/ggplot-facets/facet-grid-free-y.svg b/tests/testthat/_snaps/ggplot-facets/facet-grid-free-y.svg deleted file mode 100644 index cdebd6eb41..0000000000 --- a/tests/testthat/_snaps/ggplot-facets/facet-grid-free-y.svg +++ /dev/null @@ -1 +0,0 @@ -23451015202530351.52.02.53.03.5101520253035mpgwt0101 diff --git a/tests/testthat/_snaps/ggplot-facets/facet-grid-free.svg b/tests/testthat/_snaps/ggplot-facets/facet-grid-free.svg deleted file mode 100644 index d02cd58954..0000000000 --- a/tests/testthat/_snaps/ggplot-facets/facet-grid-free.svg +++ /dev/null @@ -1 +0,0 @@ -2345101520251.52.02.53.03.515202530mpgwt0101 diff --git a/tests/testthat/_snaps/ggplot-facets/facet-grid-labeller.svg b/tests/testthat/_snaps/ggplot-facets/facet-grid-labeller.svg deleted file mode 100644 index b476e750a1..0000000000 --- a/tests/testthat/_snaps/ggplot-facets/facet-grid-labeller.svg +++ /dev/null @@ -1 +0,0 @@ -23451015202530352345101520253035mpgwtam: 0am: 1vs: 0vs: 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 deleted file mode 100644 index 1781d209a6..0000000000 --- a/tests/testthat/_snaps/ggplot-facets/facet-wrap-free-mult.svg +++ /dev/null @@ -1 +0,0 @@ -25301.52.02.53.0181920212.753.003.253.5010.012.515.017.53.54.04.55.05.5mpgwt468 diff --git a/tests/testthat/_snaps/ggplot-facets/facet-wrap-free-x.svg b/tests/testthat/_snaps/ggplot-facets/facet-wrap-free-x.svg deleted file mode 100644 index 50cad5c9ad..0000000000 --- a/tests/testthat/_snaps/ggplot-facets/facet-wrap-free-x.svg +++ /dev/null @@ -1 +0,0 @@ -10.012.515.017.52345182022241518212423452530mpgwt00011011 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 deleted file mode 100644 index 681f24f5ed..0000000000 --- a/tests/testthat/_snaps/ggplot-facets/facet-wrap-free-y-2.svg +++ /dev/null @@ -1 +0,0 @@ -025005000750010000125005101519701980199020002010400080001200020000022500025000027500030000032500019701980199020002010510152025datevaluepcepoppsavertuempmedunemploy diff --git a/tests/testthat/_snaps/ggplot-facets/facet-wrap-free-y.svg b/tests/testthat/_snaps/ggplot-facets/facet-wrap-free-y.svg deleted file mode 100644 index c878b5df71..0000000000 --- a/tests/testthat/_snaps/ggplot-facets/facet-wrap-free-y.svg +++ /dev/null @@ -1 +0,0 @@ -3.54.04.55.05.51015202530352.42.83.23.62.502.753.003.253.501015202530351.52.02.5mpgwt00011011 diff --git a/tests/testthat/_snaps/ggplot-facets/facet-wrap-free.svg b/tests/testthat/_snaps/ggplot-facets/facet-wrap-free.svg deleted file mode 100644 index d00fcc0008..0000000000 --- a/tests/testthat/_snaps/ggplot-facets/facet-wrap-free.svg +++ /dev/null @@ -1 +0,0 @@ -10.012.515.017.53.54.04.55.05.5182022242.502.753.003.253.50151821242.42.83.23.625301.52.02.5mpgwt00011011 diff --git a/tests/testthat/_snaps/ggplot-facets/facet-wrap-labeller.svg b/tests/testthat/_snaps/ggplot-facets/facet-wrap-labeller.svg deleted file mode 100644 index d9841a19e1..0000000000 --- a/tests/testthat/_snaps/ggplot-facets/facet-wrap-labeller.svg +++ /dev/null @@ -1 +0,0 @@ -1015202530352345101520253035mpgwtam: 0am: 1 diff --git a/tests/testthat/_snaps/ggplot-facets/facet-wrap.svg b/tests/testthat/_snaps/ggplot-facets/facet-wrap.svg deleted file mode 100644 index d2edefb1c6..0000000000 --- a/tests/testthat/_snaps/ggplot-facets/facet-wrap.svg +++ /dev/null @@ -1 +0,0 @@ -1015202530352345101520253035101520253035mpgwt468 diff --git a/tests/testthat/_snaps/ggplot-heatmap/heatmap-discrete.svg b/tests/testthat/_snaps/ggplot-heatmap/heatmap-discrete.svg deleted file mode 100644 index 469d001725..0000000000 --- a/tests/testthat/_snaps/ggplot-heatmap/heatmap-discrete.svg +++ /dev/null @@ -1 +0,0 @@ -amcarbcyldispdratgearhpmpgqsecvswtamcarbcyldispdratgearhpmpgqsecvswt-0.50.00.51.0corvar1var2 diff --git a/tests/testthat/_snaps/ggplot-heatmap/heatmap-midpoint.svg b/tests/testthat/_snaps/ggplot-heatmap/heatmap-midpoint.svg deleted file mode 100644 index 0f540d61f8..0000000000 --- a/tests/testthat/_snaps/ggplot-heatmap/heatmap-midpoint.svg +++ /dev/null @@ -1 +0,0 @@ -0.000.250.500.751.000.000.250.500.751.000.000.250.500.751.00zxy diff --git a/tests/testthat/_snaps/ggplot-heatmap/heatmap.svg b/tests/testthat/_snaps/ggplot-heatmap/heatmap.svg deleted file mode 100644 index 1740c9f0ca..0000000000 --- a/tests/testthat/_snaps/ggplot-heatmap/heatmap.svg +++ /dev/null @@ -1 +0,0 @@ -MondayTuesdayWednesdayThursdayFridayMorningAfternoonEvening020406080valuedaytime diff --git a/tests/testthat/_snaps/ggplot-hex/hex-basic.svg b/tests/testthat/_snaps/ggplot-hex/hex-basic.svg deleted file mode 100644 index 0b84854b22..0000000000 --- a/tests/testthat/_snaps/ggplot-hex/hex-basic.svg +++ /dev/null @@ -1 +0,0 @@ -01234505000100001500010002000300040005000countcaratprice diff --git a/tests/testthat/_snaps/ggplot-hex/hex-bins.svg b/tests/testthat/_snaps/ggplot-hex/hex-bins.svg deleted file mode 100644 index 31b8539a28..0000000000 --- a/tests/testthat/_snaps/ggplot-hex/hex-bins.svg +++ /dev/null @@ -1 +0,0 @@ -01234505000100001500020000250050007500countcaratprice diff --git a/tests/testthat/_snaps/ggplot-hex/hex-binwidth.svg b/tests/testthat/_snaps/ggplot-hex/hex-binwidth.svg deleted file mode 100644 index 45101683eb..0000000000 --- a/tests/testthat/_snaps/ggplot-hex/hex-binwidth.svg +++ /dev/null @@ -1 +0,0 @@ -0240500010000150002000050001000015000countcaratprice diff --git a/tests/testthat/_snaps/ggplot-histogram/histogram-counts.svg b/tests/testthat/_snaps/ggplot-histogram/histogram-counts.svg deleted file mode 100644 index 61fce7bdca..0000000000 --- a/tests/testthat/_snaps/ggplot-histogram/histogram-counts.svg +++ /dev/null @@ -1 +0,0 @@ -23450246wtcount diff --git a/tests/testthat/_snaps/ggplot-histogram/histogram-date-bins.svg b/tests/testthat/_snaps/ggplot-histogram/histogram-date-bins.svg deleted file mode 100644 index 2714ed82f0..0000000000 --- a/tests/testthat/_snaps/ggplot-histogram/histogram-date-bins.svg +++ /dev/null @@ -1 +0,0 @@ -2013-072014-012014-072015-01020406080datecount diff --git a/tests/testthat/_snaps/ggplot-histogram/histogram-dates.svg b/tests/testthat/_snaps/ggplot-histogram/histogram-dates.svg deleted file mode 100644 index a54dc1371b..0000000000 --- a/tests/testthat/_snaps/ggplot-histogram/histogram-dates.svg +++ /dev/null @@ -1 +0,0 @@ -Jan 01Jan 15Feb 01Feb 15Mar 010123monthcount diff --git a/tests/testthat/_snaps/ggplot-histogram/histogram-density-binwidth.svg b/tests/testthat/_snaps/ggplot-histogram/histogram-density-binwidth.svg deleted file mode 100644 index 24380606cc..0000000000 --- a/tests/testthat/_snaps/ggplot-histogram/histogram-density-binwidth.svg +++ /dev/null @@ -1 +0,0 @@ -23450.00.20.40.6wtdensity diff --git a/tests/testthat/_snaps/ggplot-histogram/histogram-density.svg b/tests/testthat/_snaps/ggplot-histogram/histogram-density.svg deleted file mode 100644 index ecc25e1097..0000000000 --- a/tests/testthat/_snaps/ggplot-histogram/histogram-density.svg +++ /dev/null @@ -1 +0,0 @@ -23450.00.51.01.5wtdensity diff --git a/tests/testthat/_snaps/ggplot-histogram/histogram-fill-factor-dodge.svg b/tests/testthat/_snaps/ggplot-histogram/histogram-fill-factor-dodge.svg deleted file mode 100644 index 23514d507a..0000000000 --- a/tests/testthat/_snaps/ggplot-histogram/histogram-fill-factor-dodge.svg +++ /dev/null @@ -1 +0,0 @@ -234501234factor(vs)01wtcount diff --git a/tests/testthat/_snaps/ggplot-histogram/histogram-fill-factor-facets.svg b/tests/testthat/_snaps/ggplot-histogram/histogram-fill-factor-facets.svg deleted file mode 100644 index 4f01615677..0000000000 --- a/tests/testthat/_snaps/ggplot-histogram/histogram-fill-factor-facets.svg +++ /dev/null @@ -1 +0,0 @@ -234502462345factor(vs)01wtcount01 diff --git a/tests/testthat/_snaps/ggplot-histogram/histogram-fill-factor-identity.svg b/tests/testthat/_snaps/ggplot-histogram/histogram-fill-factor-identity.svg deleted file mode 100644 index 4de7f632e9..0000000000 --- a/tests/testthat/_snaps/ggplot-histogram/histogram-fill-factor-identity.svg +++ /dev/null @@ -1 +0,0 @@ -234501234factor(vs)01wtcount diff --git a/tests/testthat/_snaps/ggplot-histogram/histogram-fill-factor.svg b/tests/testthat/_snaps/ggplot-histogram/histogram-fill-factor.svg deleted file mode 100644 index 4b1c010e4f..0000000000 --- a/tests/testthat/_snaps/ggplot-histogram/histogram-fill-factor.svg +++ /dev/null @@ -1 +0,0 @@ -23450246factor(vs)01wtcount diff --git a/tests/testthat/_snaps/ggplot-histogram/histogram-fill.svg b/tests/testthat/_snaps/ggplot-histogram/histogram-fill.svg deleted file mode 100644 index d249f46d12..0000000000 --- a/tests/testthat/_snaps/ggplot-histogram/histogram-fill.svg +++ /dev/null @@ -1 +0,0 @@ -234502460246countwtcount diff --git a/tests/testthat/_snaps/ggplot-histogram/histogram-fixed-fill-color.svg b/tests/testthat/_snaps/ggplot-histogram/histogram-fixed-fill-color.svg deleted file mode 100644 index 8674bda10e..0000000000 --- a/tests/testthat/_snaps/ggplot-histogram/histogram-fixed-fill-color.svg +++ /dev/null @@ -1 +0,0 @@ -23450246wtcount diff --git a/tests/testthat/_snaps/ggplot-histogram/histogram-posixt-bins.svg b/tests/testthat/_snaps/ggplot-histogram/histogram-posixt-bins.svg deleted file mode 100644 index 2714ed82f0..0000000000 --- a/tests/testthat/_snaps/ggplot-histogram/histogram-posixt-bins.svg +++ /dev/null @@ -1 +0,0 @@ -2013-072014-012014-072015-01020406080datecount diff --git a/tests/testthat/_snaps/ggplot-histogram/histogram-vline.svg b/tests/testthat/_snaps/ggplot-histogram/histogram-vline.svg deleted file mode 100644 index 956c40dcb8..0000000000 --- a/tests/testthat/_snaps/ggplot-histogram/histogram-vline.svg +++ /dev/null @@ -1 +0,0 @@ -23450246wtcount diff --git a/tests/testthat/_snaps/ggplot-hline/hline-factor.svg b/tests/testthat/_snaps/ggplot-hline/hline-factor.svg deleted file mode 100644 index cf525ff33b..0000000000 --- a/tests/testthat/_snaps/ggplot-hline/hline-factor.svg +++ /dev/null @@ -1 +0,0 @@ -controltreatment0.02.55.07.510.012.5condresult diff --git a/tests/testthat/_snaps/ggplot-hline/hline-multiple.svg b/tests/testthat/_snaps/ggplot-hline/hline-multiple.svg deleted file mode 100644 index 7c407224be..0000000000 --- a/tests/testthat/_snaps/ggplot-hline/hline-multiple.svg +++ /dev/null @@ -1 +0,0 @@ -01230123xy diff --git a/tests/testthat/_snaps/ggplot-hline/hline.svg b/tests/testthat/_snaps/ggplot-hline/hline.svg deleted file mode 100644 index 6b9bd5ede7..0000000000 --- a/tests/testthat/_snaps/ggplot-hline/hline.svg +++ /dev/null @@ -1 +0,0 @@ -01230123xy diff --git a/tests/testthat/_snaps/ggplot-hline/split-hline-vline-abline.svg b/tests/testthat/_snaps/ggplot-hline/split-hline-vline-abline.svg deleted file mode 100644 index d1444201f0..0000000000 --- a/tests/testthat/_snaps/ggplot-hline/split-hline-vline-abline.svg +++ /dev/null @@ -1 +0,0 @@ -01230123xy diff --git a/tests/testthat/_snaps/ggplot-jitter/jitter-basic.svg b/tests/testthat/_snaps/ggplot-jitter/jitter-basic.svg deleted file mode 100644 index c890fc6ef1..0000000000 --- a/tests/testthat/_snaps/ggplot-jitter/jitter-basic.svg +++ /dev/null @@ -1 +0,0 @@ -45678203040cylhwy diff --git a/tests/testthat/_snaps/ggplot-labels/factor-labels.svg b/tests/testthat/_snaps/ggplot-labels/factor-labels.svg deleted file mode 100644 index 691d58c0e8..0000000000 --- a/tests/testthat/_snaps/ggplot-labels/factor-labels.svg +++ /dev/null @@ -1 +0,0 @@ -abcde05000100001500020000Cutcount diff --git a/tests/testthat/_snaps/ggplot-labels/labels-angles.svg b/tests/testthat/_snaps/ggplot-labels/labels-angles.svg deleted file mode 100644 index 1e00eff1e5..0000000000 --- a/tests/testthat/_snaps/ggplot-labels/labels-angles.svg +++ /dev/null @@ -1 +0,0 @@ -40506015.017.520.0bill_length_mmbill_depth_mm diff --git a/tests/testthat/_snaps/ggplot-labels/labels-ggtitle.svg b/tests/testthat/_snaps/ggplot-labels/labels-ggtitle.svg deleted file mode 100644 index a4cda7693a..0000000000 --- a/tests/testthat/_snaps/ggplot-labels/labels-ggtitle.svg +++ /dev/null @@ -1 +0,0 @@ -40506015.017.520.0My amazing plot!bill_length_mmbill_depth_mm 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 deleted file mode 100644 index 46d4fe60f8..0000000000 --- a/tests/testthat/_snaps/ggplot-labels/labels-scale-x-continuous-name.svg +++ /dev/null @@ -1 +0,0 @@ -40506015.017.520.0bill lengthbill_depth_mm diff --git a/tests/testthat/_snaps/ggplot-labels/labels-ylab.svg b/tests/testthat/_snaps/ggplot-labels/labels-ylab.svg deleted file mode 100644 index ec6213440b..0000000000 --- a/tests/testthat/_snaps/ggplot-labels/labels-ylab.svg +++ /dev/null @@ -1 +0,0 @@ -40506015.017.520.0bill_length_mmbill depth diff --git a/tests/testthat/_snaps/ggplot-labels/labs-element-blank.svg b/tests/testthat/_snaps/ggplot-labels/labs-element-blank.svg deleted file mode 100644 index ab1eb1a1a7..0000000000 --- a/tests/testthat/_snaps/ggplot-labels/labs-element-blank.svg +++ /dev/null @@ -1 +0,0 @@ -40506015.017.520.0speciesAdelieChinstrapGentoo diff --git a/tests/testthat/_snaps/ggplot-legend/legend-hide-legend.svg b/tests/testthat/_snaps/ggplot-legend/legend-hide-legend.svg deleted file mode 100644 index c4d3c05de1..0000000000 --- a/tests/testthat/_snaps/ggplot-legend/legend-hide-legend.svg +++ /dev/null @@ -1 +0,0 @@ -40506015.017.520.0bill_length_mmbill_depth_mm diff --git a/tests/testthat/_snaps/ggplot-legend/legend-hide.svg b/tests/testthat/_snaps/ggplot-legend/legend-hide.svg deleted file mode 100644 index 4d5ffd74cc..0000000000 --- a/tests/testthat/_snaps/ggplot-legend/legend-hide.svg +++ /dev/null @@ -1 +0,0 @@ -1015202530352345mpgwt diff --git a/tests/testthat/_snaps/ggplot-legend/legend-many-legend-items.svg b/tests/testthat/_snaps/ggplot-legend/legend-many-legend-items.svg deleted file mode 100644 index 875e80f23f..0000000000 --- a/tests/testthat/_snaps/ggplot-legend/legend-many-legend-items.svg +++ /dev/null @@ -1 +0,0 @@ -AARAAUAHRAHUALRALUHARHAUHHRHHUHLRHLULARLAULHRLHU050100150200categoryAARAAUAHRAHUALRALUHARHAUHHRHHUHLRHLULARLAULHRLHUcategorycount diff --git a/tests/testthat/_snaps/ggplot-legend/legend-one-entry.svg b/tests/testthat/_snaps/ggplot-legend/legend-one-entry.svg deleted file mode 100644 index 89bd8698d1..0000000000 --- a/tests/testthat/_snaps/ggplot-legend/legend-one-entry.svg +++ /dev/null @@ -1 +0,0 @@ -40506015.017.520.0AllAll speciesbill_length_mmbill_depth_mm 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 deleted file mode 100644 index a6f13052de..0000000000 --- a/tests/testthat/_snaps/ggplot-legend/legend-very-long-legend-items.svg +++ /dev/null @@ -1 +0,0 @@ -ABCDEFGHIJ0246cat2AAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBBBBBBBBBBBBBBBBBCCCCCCCCCCCCCCCCCCCCCCCCCCCCCcat1count diff --git a/tests/testthat/_snaps/ggplot-legend/scatter-legend.svg b/tests/testthat/_snaps/ggplot-legend/scatter-legend.svg deleted file mode 100644 index 3e8e83a686..0000000000 --- a/tests/testthat/_snaps/ggplot-legend/scatter-legend.svg +++ /dev/null @@ -1 +0,0 @@ -1015202530352345factor(vs)factor(cyl)(0,4)(0,6)(0,8)(1,4)(1,6)mpgwt diff --git a/tests/testthat/_snaps/ggplot-lines/line-milliseconds.svg b/tests/testthat/_snaps/ggplot-lines/line-milliseconds.svg deleted file mode 100644 index a35cbe7e50..0000000000 --- a/tests/testthat/_snaps/ggplot-lines/line-milliseconds.svg +++ /dev/null @@ -1 +0,0 @@ -00:00:00Jan 1, 197000:00:1500:00:3000:00:4500:01:0000:01:1500:01:30−1−0.500.51ty diff --git a/tests/testthat/_snaps/ggplot-lines/linetype-colors.svg b/tests/testthat/_snaps/ggplot-lines/linetype-colors.svg deleted file mode 100644 index cd8a8e60d1..0000000000 --- a/tests/testthat/_snaps/ggplot-lines/linetype-colors.svg +++ /dev/null @@ -1 +0,0 @@ --2-10120.000.250.500.751.00variabley1y2xvalue diff --git a/tests/testthat/_snaps/ggplot-lines/linetype-types.svg b/tests/testthat/_snaps/ggplot-lines/linetype-types.svg deleted file mode 100644 index 8cbc21d6f8..0000000000 --- a/tests/testthat/_snaps/ggplot-lines/linetype-types.svg +++ /dev/null @@ -1 +0,0 @@ -246246as.factor(x)123456xy diff --git a/tests/testthat/_snaps/ggplot-map/map-facet.svg b/tests/testthat/_snaps/ggplot-map/map-facet.svg deleted file mode 100644 index 784fe1f505..0000000000 --- a/tests/testthat/_snaps/ggplot-map/map-facet.svg +++ /dev/null @@ -1 +0,0 @@ -253035404550-120-100-80253035404550-120-100-80100200300valuexyAssaultMurderRapeUrbanPop 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 deleted file mode 100644 index e18fa45a34..0000000000 --- a/tests/testthat/_snaps/ggplot-path/path-colored-groups-stay-together.svg +++ /dev/null @@ -1 +0,0 @@ --2-1012-2-1012gpositivenegativexy diff --git a/tests/testthat/_snaps/ggplot-path/path-colors.svg b/tests/testthat/_snaps/ggplot-path/path-colors.svg deleted file mode 100644 index 246d83574d..0000000000 --- a/tests/testthat/_snaps/ggplot-path/path-colors.svg +++ /dev/null @@ -1 +0,0 @@ -1.001.251.501.752.001.001.251.501.752.001.001.251.501.752.00yxy diff --git a/tests/testthat/_snaps/ggplot-path/path-colors2.svg b/tests/testthat/_snaps/ggplot-path/path-colors2.svg deleted file mode 100644 index 5272dfe46a..0000000000 --- a/tests/testthat/_snaps/ggplot-path/path-colors2.svg +++ /dev/null @@ -1 +0,0 @@ -1.001.251.501.752.001.001.251.501.752.00paste0("FOO", y)FOO1FOO2xy diff --git a/tests/testthat/_snaps/ggplot-path/path-line-symbols.svg b/tests/testthat/_snaps/ggplot-path/path-line-symbols.svg deleted file mode 100644 index aa3511931a..0000000000 --- a/tests/testthat/_snaps/ggplot-path/path-line-symbols.svg +++ /dev/null @@ -1 +0,0 @@ -LunchDinner14151617sexFemaleMaletimetotal_bill 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 deleted file mode 100644 index 194da55ad9..0000000000 --- a/tests/testthat/_snaps/ggplot-path/path-lines-diff-from-paths.svg +++ /dev/null @@ -1 +0,0 @@ -1.01.52.02.53.00.000.250.500.751.00xy diff --git a/tests/testthat/_snaps/ggplot-point/all-shapes.svg b/tests/testthat/_snaps/ggplot-point/all-shapes.svg deleted file mode 100644 index 8a93b4e31c..0000000000 --- a/tests/testthat/_snaps/ggplot-point/all-shapes.svg +++ /dev/null @@ -1 +0,0 @@ --0.050-0.0250.0000.0250.050-0.050-0.0250.0000.0250.050-0.050-0.0250.0000.0250.050-0.050-0.0250.0000.0250.050-0.050-0.0250.0000.0250.050-0.050-0.0250.0000.0250.050-0.050-0.0250.0000.0250.050-0.050-0.0250.0000.0250.050-0.050-0.0250.0000.0250.050-0.050-0.0250.0000.0250.0500123456789101112131415161718192021222324xy0123456789101112131415161718192021222324 diff --git a/tests/testthat/_snaps/ggplot-point/open-shapes.svg b/tests/testthat/_snaps/ggplot-point/open-shapes.svg deleted file mode 100644 index 4bd5447645..0000000000 --- a/tests/testthat/_snaps/ggplot-point/open-shapes.svg +++ /dev/null @@ -1 +0,0 @@ -1015202530352345mpgwt diff --git a/tests/testthat/_snaps/ggplot-point/point-flip.svg b/tests/testthat/_snaps/ggplot-point/point-flip.svg deleted file mode 100644 index 4b04eff6b4..0000000000 --- a/tests/testthat/_snaps/ggplot-point/point-flip.svg +++ /dev/null @@ -1 +0,0 @@ -050001000015000123pricecarat diff --git a/tests/testthat/_snaps/ggplot-point/point-size-alpha.svg b/tests/testthat/_snaps/ggplot-point/point-size-alpha.svg deleted file mode 100644 index 4167b4e857..0000000000 --- a/tests/testthat/_snaps/ggplot-point/point-size-alpha.svg +++ /dev/null @@ -1 +0,0 @@ -456782345cylwt diff --git a/tests/testthat/_snaps/ggplot-point/point-size-alpha2.svg b/tests/testthat/_snaps/ggplot-point/point-size-alpha2.svg deleted file mode 100644 index ec4a2bbeb8..0000000000 --- a/tests/testthat/_snaps/ggplot-point/point-size-alpha2.svg +++ /dev/null @@ -1 +0,0 @@ -060810-1012xy diff --git a/tests/testthat/_snaps/ggplot-polygons/polygon-aes-color.svg b/tests/testthat/_snaps/ggplot-polygons/polygon-aes-color.svg deleted file mode 100644 index db6190ab9d..0000000000 --- a/tests/testthat/_snaps/ggplot-polygons/polygon-aes-color.svg +++ /dev/null @@ -1 +0,0 @@ -101112130.000.250.500.751.00lableftrightxy diff --git a/tests/testthat/_snaps/ggplot-polygons/polygon-aes-fill.svg b/tests/testthat/_snaps/ggplot-polygons/polygon-aes-fill.svg deleted file mode 100644 index 638698f1b3..0000000000 --- a/tests/testthat/_snaps/ggplot-polygons/polygon-aes-fill.svg +++ /dev/null @@ -1 +0,0 @@ -101112130.000.250.500.751.00lableftrightxy diff --git a/tests/testthat/_snaps/ggplot-polygons/polygon-black.svg b/tests/testthat/_snaps/ggplot-polygons/polygon-black.svg deleted file mode 100644 index 4ff6c3a575..0000000000 --- a/tests/testthat/_snaps/ggplot-polygons/polygon-black.svg +++ /dev/null @@ -1 +0,0 @@ -101112130.000.250.500.751.00xy diff --git a/tests/testthat/_snaps/ggplot-polygons/polygon-color-aes-fill.svg b/tests/testthat/_snaps/ggplot-polygons/polygon-color-aes-fill.svg deleted file mode 100644 index 19f4c0ff7a..0000000000 --- a/tests/testthat/_snaps/ggplot-polygons/polygon-color-aes-fill.svg +++ /dev/null @@ -1 +0,0 @@ -101112130.000.250.500.751.00lableftrightxy 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 deleted file mode 100644 index c96e9bd34f..0000000000 --- a/tests/testthat/_snaps/ggplot-polygons/polygon-color-fill-aes-linetype.svg +++ /dev/null @@ -1 +0,0 @@ -101112130.000.250.500.751.00lableftrightxy 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 deleted file mode 100644 index d3624c642d..0000000000 --- a/tests/testthat/_snaps/ggplot-polygons/polygon-color-fill-aes-size.svg +++ /dev/null @@ -1 +0,0 @@ -101112130.000.250.500.751.00lableftrightxy diff --git a/tests/testthat/_snaps/ggplot-polygons/polygon-star-fill-color.svg b/tests/testthat/_snaps/ggplot-polygons/polygon-star-fill-color.svg deleted file mode 100644 index 062b933a14..0000000000 --- a/tests/testthat/_snaps/ggplot-polygons/polygon-star-fill-color.svg +++ /dev/null @@ -1 +0,0 @@ -048120.00.51.01.52.0groupleftrightxy diff --git a/tests/testthat/_snaps/ggplot-polygons/polygon-star-group-color.svg b/tests/testthat/_snaps/ggplot-polygons/polygon-star-group-color.svg deleted file mode 100644 index f82b373671..0000000000 --- a/tests/testthat/_snaps/ggplot-polygons/polygon-star-group-color.svg +++ /dev/null @@ -1 +0,0 @@ -048120.00.51.01.52.0xy diff --git a/tests/testthat/_snaps/ggplot-polygons/polygon-star-group.svg b/tests/testthat/_snaps/ggplot-polygons/polygon-star-group.svg deleted file mode 100644 index 2957c623c4..0000000000 --- a/tests/testthat/_snaps/ggplot-polygons/polygon-star-group.svg +++ /dev/null @@ -1 +0,0 @@ -048120.00.51.01.52.0xy diff --git a/tests/testthat/_snaps/ggplot-polygons/polygons-canada-borders.svg b/tests/testthat/_snaps/ggplot-polygons/polygons-canada-borders.svg deleted file mode 100644 index e263bfb78f..0000000000 --- a/tests/testthat/_snaps/ggplot-polygons/polygons-canada-borders.svg +++ /dev/null @@ -1 +0,0 @@ --125-100-75-504050607080longlat diff --git a/tests/testthat/_snaps/ggplot-rect/rect-black.svg b/tests/testthat/_snaps/ggplot-rect/rect-black.svg deleted file mode 100644 index f249d9ba64..0000000000 --- a/tests/testthat/_snaps/ggplot-rect/rect-black.svg +++ /dev/null @@ -1 +0,0 @@ -369369 diff --git a/tests/testthat/_snaps/ggplot-rect/rect-black4.svg b/tests/testthat/_snaps/ggplot-rect/rect-black4.svg deleted file mode 100644 index cde2c0252d..0000000000 --- a/tests/testthat/_snaps/ggplot-rect/rect-black4.svg +++ /dev/null @@ -1 +0,0 @@ -12340.000.250.500.751.00 diff --git a/tests/testthat/_snaps/ggplot-rect/rect-color.svg b/tests/testthat/_snaps/ggplot-rect/rect-color.svg deleted file mode 100644 index f90efcce55..0000000000 --- a/tests/testthat/_snaps/ggplot-rect/rect-color.svg +++ /dev/null @@ -1 +0,0 @@ -12340.000.250.500.751.00statuscoolnot diff --git a/tests/testthat/_snaps/ggplot-rect/rect-fill-color.svg b/tests/testthat/_snaps/ggplot-rect/rect-fill-color.svg deleted file mode 100644 index 0812ee90a9..0000000000 --- a/tests/testthat/_snaps/ggplot-rect/rect-fill-color.svg +++ /dev/null @@ -1 +0,0 @@ -12340.000.250.500.751.00statuscoolnot diff --git a/tests/testthat/_snaps/ggplot-rect/rect-fill-hex-alpha.svg b/tests/testthat/_snaps/ggplot-rect/rect-fill-hex-alpha.svg deleted file mode 100644 index 9fdbcd3908..0000000000 --- a/tests/testthat/_snaps/ggplot-rect/rect-fill-hex-alpha.svg +++ /dev/null @@ -1 +0,0 @@ -1.001.251.501.752.001.001.251.501.752.00 diff --git a/tests/testthat/_snaps/ggplot-rect/rect-fill.svg b/tests/testthat/_snaps/ggplot-rect/rect-fill.svg deleted file mode 100644 index 521c75e2c1..0000000000 --- a/tests/testthat/_snaps/ggplot-rect/rect-fill.svg +++ /dev/null @@ -1 +0,0 @@ -12340.000.250.500.751.00statuscoolnot diff --git a/tests/testthat/_snaps/ggplot-ribbon/ribbon-alpha.svg b/tests/testthat/_snaps/ggplot-ribbon/ribbon-alpha.svg deleted file mode 100644 index 914b0c21bd..0000000000 --- a/tests/testthat/_snaps/ggplot-ribbon/ribbon-alpha.svg +++ /dev/null @@ -1 +0,0 @@ -18751900192519501975575.0577.5580.0582.5year diff --git a/tests/testthat/_snaps/ggplot-ribbon/ribbon-colour.svg b/tests/testthat/_snaps/ggplot-ribbon/ribbon-colour.svg deleted file mode 100644 index 3814ae11a0..0000000000 --- a/tests/testthat/_snaps/ggplot-ribbon/ribbon-colour.svg +++ /dev/null @@ -1 +0,0 @@ --5.0-2.50.02.55.0576578580582factor(decade)1880189019001910192019301940195019601970diff diff --git a/tests/testthat/_snaps/ggplot-ribbon/ribbon-fill.svg b/tests/testthat/_snaps/ggplot-ribbon/ribbon-fill.svg deleted file mode 100644 index 6dd31d12c8..0000000000 --- a/tests/testthat/_snaps/ggplot-ribbon/ribbon-fill.svg +++ /dev/null @@ -1 +0,0 @@ --5.0-2.50.02.55.0576578580582factor(decade)1880189019001910192019301940195019601970diff diff --git a/tests/testthat/_snaps/ggplot-ribbon/ribbon-group.svg b/tests/testthat/_snaps/ggplot-ribbon/ribbon-group.svg deleted file mode 100644 index b603f1a6bd..0000000000 --- a/tests/testthat/_snaps/ggplot-ribbon/ribbon-group.svg +++ /dev/null @@ -1 +0,0 @@ --5.0-2.50.02.55.0576578580582diff diff --git a/tests/testthat/_snaps/ggplot-segment/segment-multiple-non-numeric.svg b/tests/testthat/_snaps/ggplot-segment/segment-multiple-non-numeric.svg deleted file mode 100644 index 3d820b950d..0000000000 --- a/tests/testthat/_snaps/ggplot-segment/segment-multiple-non-numeric.svg +++ /dev/null @@ -1 +0,0 @@ -0.81.21.62.0901001101201301.001.251.501.752.00campaigncampaigndonation diff --git a/tests/testthat/_snaps/ggplot-segment/segment.svg b/tests/testthat/_snaps/ggplot-segment/segment.svg deleted file mode 100644 index 9f14a14be9..0000000000 --- a/tests/testthat/_snaps/ggplot-segment/segment.svg +++ /dev/null @@ -1 +0,0 @@ -0.000.250.500.751.000.000.250.500.751.00xy diff --git a/tests/testthat/_snaps/ggplot-sf/sf-aspect.svg b/tests/testthat/_snaps/ggplot-sf/sf-aspect.svg deleted file mode 100644 index 91ff0ca492..0000000000 --- a/tests/testthat/_snaps/ggplot-sf/sf-aspect.svg +++ /dev/null @@ -1 +0,0 @@ -84 ° W82 ° W80 ° W78 ° W76 ° W34.0 ° N34.5 ° N35.0 ° N35.5 ° N36.0 ° N36.5 ° N diff --git a/tests/testthat/_snaps/ggplot-sf/sf-axis-ticks.svg b/tests/testthat/_snaps/ggplot-sf/sf-axis-ticks.svg deleted file mode 100644 index dbc3cef4cb..0000000000 --- a/tests/testthat/_snaps/ggplot-sf/sf-axis-ticks.svg +++ /dev/null @@ -1 +0,0 @@ -100 ° W 80 ° W 60 ° W 40 ° W 20 ° W40 ° N50 ° N60 ° N diff --git a/tests/testthat/_snaps/ggplot-sf/sf-fill-text.svg b/tests/testthat/_snaps/ggplot-sf/sf-fill-text.svg deleted file mode 100644 index 444a91f371..0000000000 --- a/tests/testthat/_snaps/ggplot-sf/sf-fill-text.svg +++ /dev/null @@ -1 +0,0 @@ -84 ° W82 ° W80 ° W78 ° W76 ° W34.0 ° N34.5 ° N35.0 ° N35.5 ° N36.0 ° N36.5 ° N0.050.100.150.20AREA diff --git a/tests/testthat/_snaps/ggplot-sf/sf-geom-collection.svg b/tests/testthat/_snaps/ggplot-sf/sf-geom-collection.svg deleted file mode 100644 index e7287d5795..0000000000 --- a/tests/testthat/_snaps/ggplot-sf/sf-geom-collection.svg +++ /dev/null @@ -1 +0,0 @@ -1234567-0.5-0.4-0.3-0.2-0.1 0.0 diff --git a/tests/testthat/_snaps/ggplot-sf/sf-points.svg b/tests/testthat/_snaps/ggplot-sf/sf-points.svg deleted file mode 100644 index a2259bec92..0000000000 --- a/tests/testthat/_snaps/ggplot-sf/sf-points.svg +++ /dev/null @@ -1 +0,0 @@ -84 ° W82 ° W80 ° W78 ° W76 ° W34.0 ° N34.5 ° N35.0 ° N35.5 ° N36.0 ° N36.5 ° Nxy diff --git a/tests/testthat/_snaps/ggplot-sf/sf-theme-map.svg b/tests/testthat/_snaps/ggplot-sf/sf-theme-map.svg deleted file mode 100644 index 7ea8f1bc4c..0000000000 --- a/tests/testthat/_snaps/ggplot-sf/sf-theme-map.svg +++ /dev/null @@ -1 +0,0 @@ - diff --git a/tests/testthat/_snaps/ggplot-sf/sf.svg b/tests/testthat/_snaps/ggplot-sf/sf.svg deleted file mode 100644 index 91ff0ca492..0000000000 --- a/tests/testthat/_snaps/ggplot-sf/sf.svg +++ /dev/null @@ -1 +0,0 @@ -84 ° W82 ° W80 ° W78 ° W76 ° W34.0 ° N34.5 ° N35.0 ° N35.5 ° N36.0 ° N36.5 ° N diff --git a/tests/testthat/_snaps/ggplot-size/size-global-scaling.svg b/tests/testthat/_snaps/ggplot-size/size-global-scaling.svg deleted file mode 100644 index 0d0d19ff5b..0000000000 --- a/tests/testthat/_snaps/ggplot-size/size-global-scaling.svg +++ /dev/null @@ -1 +0,0 @@ -2340.40.81.21.6countrypopulationParaguayPeruPhilippineseduilln diff --git a/tests/testthat/_snaps/ggplot-size/size-is-a-vector.svg b/tests/testthat/_snaps/ggplot-size/size-is-a-vector.svg deleted file mode 100644 index 882eaff4ca..0000000000 --- a/tests/testthat/_snaps/ggplot-size/size-is-a-vector.svg +++ /dev/null @@ -1 +0,0 @@ -40506015.017.520.0bill_length_mmbill_depth_mm diff --git a/tests/testthat/_snaps/ggplot-smooth/smooth-basic.svg b/tests/testthat/_snaps/ggplot-smooth/smooth-basic.svg deleted file mode 100644 index 7400f86b10..0000000000 --- a/tests/testthat/_snaps/ggplot-smooth/smooth-basic.svg +++ /dev/null @@ -1 +0,0 @@ -101520253035123456mpgwt diff --git a/tests/testthat/_snaps/ggplot-smooth/smooth-colour.svg b/tests/testthat/_snaps/ggplot-smooth/smooth-colour.svg deleted file mode 100644 index 35cbb1e09d..0000000000 --- a/tests/testthat/_snaps/ggplot-smooth/smooth-colour.svg +++ /dev/null @@ -1 +0,0 @@ -12305000100001500020000cutFairGoodVery GoodPremiumIdealcaratprice diff --git a/tests/testthat/_snaps/ggplot-smooth/smooth-facet.svg b/tests/testthat/_snaps/ggplot-smooth/smooth-facet.svg deleted file mode 100644 index d3c8ad92c6..0000000000 --- a/tests/testthat/_snaps/ggplot-smooth/smooth-facet.svg +++ /dev/null @@ -1 +0,0 @@ -0500010000150002000012305000100001500020000123123cutFairGoodVery GoodPremiumIdealcaratpriceFairGoodVery GoodPremiumIdeal diff --git a/tests/testthat/_snaps/ggplot-smooth/smooth-fill2.svg b/tests/testthat/_snaps/ggplot-smooth/smooth-fill2.svg deleted file mode 100644 index 7597cbe574..0000000000 --- a/tests/testthat/_snaps/ggplot-smooth/smooth-fill2.svg +++ /dev/null @@ -1 +0,0 @@ -12305000100001500020000cutFairGoodVery GoodPremiumIdealcaratprice diff --git a/tests/testthat/_snaps/ggplot-smooth/smooth-group.svg b/tests/testthat/_snaps/ggplot-smooth/smooth-group.svg deleted file mode 100644 index 992e4e6483..0000000000 --- a/tests/testthat/_snaps/ggplot-smooth/smooth-group.svg +++ /dev/null @@ -1 +0,0 @@ -12305000100001500020000caratprice diff --git a/tests/testthat/_snaps/ggplot-smooth/smooth-se-false.svg b/tests/testthat/_snaps/ggplot-smooth/smooth-se-false.svg deleted file mode 100644 index 32fa58fad0..0000000000 --- a/tests/testthat/_snaps/ggplot-smooth/smooth-se-false.svg +++ /dev/null @@ -1 +0,0 @@ -1015202530352345mpgwt diff --git a/tests/testthat/_snaps/ggplot-step/step-gg-hv.svg b/tests/testthat/_snaps/ggplot-step/step-gg-hv.svg deleted file mode 100644 index f071efdc59..0000000000 --- a/tests/testthat/_snaps/ggplot-step/step-gg-hv.svg +++ /dev/null @@ -1 +0,0 @@ -4008001200160050100150200factor(Tree)12agecircumference diff --git a/tests/testthat/_snaps/ggplot-step/step-gg-hvh.svg b/tests/testthat/_snaps/ggplot-step/step-gg-hvh.svg deleted file mode 100644 index cce490a084..0000000000 --- a/tests/testthat/_snaps/ggplot-step/step-gg-hvh.svg +++ /dev/null @@ -1 +0,0 @@ -4008001200160050100150200factor(Tree)12agecircumference diff --git a/tests/testthat/_snaps/ggplot-step/step-gg-vh.svg b/tests/testthat/_snaps/ggplot-step/step-gg-vh.svg deleted file mode 100644 index a4578fbc24..0000000000 --- a/tests/testthat/_snaps/ggplot-step/step-gg-vh.svg +++ /dev/null @@ -1 +0,0 @@ -4008001200160050100150200factor(Tree)12agecircumference diff --git a/tests/testthat/_snaps/ggplot-step/step-gg-vhv.svg b/tests/testthat/_snaps/ggplot-step/step-gg-vhv.svg deleted file mode 100644 index 9f7b982c0e..0000000000 --- a/tests/testthat/_snaps/ggplot-step/step-gg-vhv.svg +++ /dev/null @@ -1 +0,0 @@ -4008001200160050100150200factor(Tree)12agecircumference diff --git a/tests/testthat/_snaps/ggplot-text/text-colour.svg b/tests/testthat/_snaps/ggplot-text/text-colour.svg deleted file mode 100644 index bc587f3490..0000000000 --- a/tests/testthat/_snaps/ggplot-text/text-colour.svg +++ /dev/null @@ -1 +0,0 @@ -HUNTSVILLEMOBILEBIRMINGHAMMONTGOMERYTUCSONPEORIA01020-505DivisionEast South CentralAaMountainAacoord.1coord.2 diff --git a/tests/testthat/_snaps/ggplot-text/text.svg b/tests/testthat/_snaps/ggplot-text/text.svg deleted file mode 100644 index ac65866dfa..0000000000 --- a/tests/testthat/_snaps/ggplot-text/text.svg +++ /dev/null @@ -1 +0,0 @@ -Mazda RX4Mazda RX4 WagDatsun 710Hornet 4 DriveHornet SportaboutValiantDuster 360Merc 240DMerc 230Merc 280Merc 280CMerc 450SEMerc 450SLMerc 450SLCCadillac FleetwoodLincoln ContinentalChrysler ImperialFiat 128Honda CivicToyota CorollaToyota CoronaDodge ChallengerAMC JavelinCamaro Z28Pontiac FirebirdFiat X1-9Porsche 914-2Lotus EuropaFord Pantera LFerrari DinoMaserati BoraVolvo 142E2345101520253035wtmpg diff --git a/tests/testthat/_snaps/ggplot-theme/theme-background.svg b/tests/testthat/_snaps/ggplot-theme/theme-background.svg deleted file mode 100644 index b874c7e4da..0000000000 --- a/tests/testthat/_snaps/ggplot-theme/theme-background.svg +++ /dev/null @@ -1 +0,0 @@ -405060170180190200210220230bill_length_mmflipper_length_mm diff --git a/tests/testthat/_snaps/ggplot-theme/theme-marker-default.svg b/tests/testthat/_snaps/ggplot-theme/theme-marker-default.svg deleted file mode 100644 index fe353c297e..0000000000 --- a/tests/testthat/_snaps/ggplot-theme/theme-marker-default.svg +++ /dev/null @@ -1 +0,0 @@ -2340.40.81.21.6countrypopulationParaguayPeruPhilippineseduilln diff --git a/tests/testthat/_snaps/ggplot-theme/theme-panel-border-1.svg b/tests/testthat/_snaps/ggplot-theme/theme-panel-border-1.svg deleted file mode 100644 index 05b87eb587..0000000000 --- a/tests/testthat/_snaps/ggplot-theme/theme-panel-border-1.svg +++ /dev/null @@ -1 +0,0 @@ -405060170180190200210220230bill_length_mmflipper_length_mm diff --git a/tests/testthat/_snaps/ggplot-theme/theme-panel-border-2.svg b/tests/testthat/_snaps/ggplot-theme/theme-panel-border-2.svg deleted file mode 100644 index 192f864700..0000000000 --- a/tests/testthat/_snaps/ggplot-theme/theme-panel-border-2.svg +++ /dev/null @@ -1 +0,0 @@ -40506015.017.520.0bill_length_mmbill_depth_mm diff --git a/tests/testthat/_snaps/ggplot-theme/theme-ticks-and-grids.svg b/tests/testthat/_snaps/ggplot-theme/theme-ticks-and-grids.svg deleted file mode 100644 index be79753fef..0000000000 --- a/tests/testthat/_snaps/ggplot-theme/theme-ticks-and-grids.svg +++ /dev/null @@ -1 +0,0 @@ -405060170180190200210220230bill_length_mmflipper_length_mm diff --git a/tests/testthat/_snaps/ggplot-theme/theme-ticks-default.svg b/tests/testthat/_snaps/ggplot-theme/theme-ticks-default.svg deleted file mode 100644 index 05b87eb587..0000000000 --- a/tests/testthat/_snaps/ggplot-theme/theme-ticks-default.svg +++ /dev/null @@ -1 +0,0 @@ -405060170180190200210220230bill_length_mmflipper_length_mm diff --git a/tests/testthat/_snaps/ggplot-theme/theme-zeroline-default.svg b/tests/testthat/_snaps/ggplot-theme/theme-zeroline-default.svg deleted file mode 100644 index 05b87eb587..0000000000 --- a/tests/testthat/_snaps/ggplot-theme/theme-zeroline-default.svg +++ /dev/null @@ -1 +0,0 @@ -405060170180190200210220230bill_length_mmflipper_length_mm diff --git a/tests/testthat/_snaps/ggplot-ticks/continuous-x-missing.svg b/tests/testthat/_snaps/ggplot-ticks/continuous-x-missing.svg deleted file mode 100644 index 361a2f213a..0000000000 --- a/tests/testthat/_snaps/ggplot-ticks/continuous-x-missing.svg +++ /dev/null @@ -1 +0,0 @@ -151617181920212223100200300400qsecdisp diff --git a/tests/testthat/_snaps/ggplot-ticks/ticks-boxes-facet-grid.svg b/tests/testthat/_snaps/ggplot-ticks/ticks-boxes-facet-grid.svg deleted file mode 100644 index 7d8e983d24..0000000000 --- a/tests/testthat/_snaps/ggplot-ticks/ticks-boxes-facet-grid.svg +++ /dev/null @@ -1 +0,0 @@ -ctrltrt1trt23.54.04.55.05.56.0ctrltrt1trt2groupweightcontroltreatment diff --git a/tests/testthat/_snaps/ggplot-ticks/ticks-boxes-scales-free.svg b/tests/testthat/_snaps/ggplot-ticks/ticks-boxes-scales-free.svg deleted file mode 100644 index 5e3619fbec..0000000000 --- a/tests/testthat/_snaps/ggplot-ticks/ticks-boxes-scales-free.svg +++ /dev/null @@ -1 +0,0 @@ -ctrl3.54.04.55.05.56.0trt1trt2groupweightcontroltreatment diff --git a/tests/testthat/_snaps/ggplot-ticks/ticks-boxes-space-free.svg b/tests/testthat/_snaps/ggplot-ticks/ticks-boxes-space-free.svg deleted file mode 100644 index 5e3619fbec..0000000000 --- a/tests/testthat/_snaps/ggplot-ticks/ticks-boxes-space-free.svg +++ /dev/null @@ -1 +0,0 @@ -ctrl3.54.04.55.05.56.0trt1trt2groupweightcontroltreatment diff --git a/tests/testthat/_snaps/ggplot-ticks/ticks-boxes.svg b/tests/testthat/_snaps/ggplot-ticks/ticks-boxes.svg deleted file mode 100644 index 19a4a64b2b..0000000000 --- a/tests/testthat/_snaps/ggplot-ticks/ticks-boxes.svg +++ /dev/null @@ -1 +0,0 @@ -ctrltrt1trt23.54.04.55.05.56.0groupweight diff --git a/tests/testthat/_snaps/ggplot-ticks/ticks-breaks-less.svg b/tests/testthat/_snaps/ggplot-ticks/ticks-breaks-less.svg deleted file mode 100644 index 8a04acb564..0000000000 --- a/tests/testthat/_snaps/ggplot-ticks/ticks-breaks-less.svg +++ /dev/null @@ -1 +0,0 @@ -trt1ctrl3.54.04.55.05.56.0groupweight diff --git a/tests/testthat/_snaps/ggplot-ticks/ticks-breaks-more.svg b/tests/testthat/_snaps/ggplot-ticks/ticks-breaks-more.svg deleted file mode 100644 index f49b725c97..0000000000 --- a/tests/testthat/_snaps/ggplot-ticks/ticks-breaks-more.svg +++ /dev/null @@ -1 +0,0 @@ -trt1ctrltrt23.54.04.55.05.56.0groupweight diff --git a/tests/testthat/_snaps/ggplot-ticks/ticks-breaks-nochange.svg b/tests/testthat/_snaps/ggplot-ticks/ticks-breaks-nochange.svg deleted file mode 100644 index f49b725c97..0000000000 --- a/tests/testthat/_snaps/ggplot-ticks/ticks-breaks-nochange.svg +++ /dev/null @@ -1 +0,0 @@ -trt1ctrltrt23.54.04.55.05.56.0groupweight diff --git a/tests/testthat/_snaps/ggplot-ticks/ticks-evenly-spaced-ticks.svg b/tests/testthat/_snaps/ggplot-ticks/ticks-evenly-spaced-ticks.svg deleted file mode 100644 index 071e6b3e03..0000000000 --- a/tests/testthat/_snaps/ggplot-ticks/ticks-evenly-spaced-ticks.svg +++ /dev/null @@ -1 +0,0 @@ -ctrltrt1trt24.0000004.0909094.1818184.2727274.3636364.4545454.5454554.6363644.7272734.8181824.9090915.000000groupweight diff --git a/tests/testthat/_snaps/ggplot-ticks/ticks-flip-grid-free.svg b/tests/testthat/_snaps/ggplot-ticks/ticks-flip-grid-free.svg deleted file mode 100644 index 08df685723..0000000000 --- a/tests/testthat/_snaps/ggplot-ticks/ticks-flip-grid-free.svg +++ /dev/null @@ -1 +0,0 @@ -ctrl3.54.04.55.05.56.0trt1trt2weightgroupcontroltreatment diff --git a/tests/testthat/_snaps/ggplot-ticks/ticks-flip-grid.svg b/tests/testthat/_snaps/ggplot-ticks/ticks-flip-grid.svg deleted file mode 100644 index c3b6402fd7..0000000000 --- a/tests/testthat/_snaps/ggplot-ticks/ticks-flip-grid.svg +++ /dev/null @@ -1 +0,0 @@ -ctrltrt1trt23.54.04.55.05.56.0ctrltrt1trt2weightgroupcontroltreatment diff --git a/tests/testthat/_snaps/ggplot-ticks/ticks-flip.svg b/tests/testthat/_snaps/ggplot-ticks/ticks-flip.svg deleted file mode 100644 index 071ad09252..0000000000 --- a/tests/testthat/_snaps/ggplot-ticks/ticks-flip.svg +++ /dev/null @@ -1 +0,0 @@ -3.54.04.55.05.56.0ctrltrt1trt2weightgroup diff --git a/tests/testthat/_snaps/ggplot-ticks/ticks-hide-ticks-labels.svg b/tests/testthat/_snaps/ggplot-ticks/ticks-hide-ticks-labels.svg deleted file mode 100644 index 566b99e878..0000000000 --- a/tests/testthat/_snaps/ggplot-ticks/ticks-hide-ticks-labels.svg +++ /dev/null @@ -1 +0,0 @@ -3.54.04.55.05.56.0groupweight 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 deleted file mode 100644 index 3fb32c4ad7..0000000000 --- a/tests/testthat/_snaps/ggplot-ticks/ticks-hide-ticks-lines-labels.svg +++ /dev/null @@ -1 +0,0 @@ -1233.54.04.55.05.56.0groupweight diff --git a/tests/testthat/_snaps/ggplot-ticks/ticks-limits-gap.svg b/tests/testthat/_snaps/ggplot-ticks/ticks-limits-gap.svg deleted file mode 100644 index fd2f7c49c2..0000000000 --- a/tests/testthat/_snaps/ggplot-ticks/ticks-limits-gap.svg +++ /dev/null @@ -1 +0,0 @@ -trt1trt2GAPctrl3.54.04.55.05.56.0groupweight diff --git a/tests/testthat/_snaps/ggplot-ticks/ticks-limits-hide.svg b/tests/testthat/_snaps/ggplot-ticks/ticks-limits-hide.svg deleted file mode 100644 index 440f21e4a4..0000000000 --- a/tests/testthat/_snaps/ggplot-ticks/ticks-limits-hide.svg +++ /dev/null @@ -1 +0,0 @@ -trt1ctrl3.54.04.55.05.56.0groupweight diff --git a/tests/testthat/_snaps/ggplot-ticks/ticks-line-breaks.svg b/tests/testthat/_snaps/ggplot-ticks/ticks-line-breaks.svg deleted file mode 100644 index a1afd4cafb..0000000000 --- a/tests/testthat/_snaps/ggplot-ticks/ticks-line-breaks.svg +++ /dev/null @@ -1 +0,0 @@ -thisis veryloooooooooooongtext toillustrate0255075100xy diff --git a/tests/testthat/_snaps/ggplot-ticks/ticks-scale-labels.svg b/tests/testthat/_snaps/ggplot-ticks/ticks-scale-labels.svg deleted file mode 100644 index 0194c0283c..0000000000 --- a/tests/testthat/_snaps/ggplot-ticks/ticks-scale-labels.svg +++ /dev/null @@ -1 +0,0 @@ -Treatment 1ControlTreatment 23.54.04.55.05.56.0groupweight diff --git a/tests/testthat/_snaps/ggplot-ticks/ticks-uneven.svg b/tests/testthat/_snaps/ggplot-ticks/ticks-uneven.svg deleted file mode 100644 index 3fb32c4ad7..0000000000 --- a/tests/testthat/_snaps/ggplot-ticks/ticks-uneven.svg +++ /dev/null @@ -1 +0,0 @@ -1233.54.04.55.05.56.0groupweight diff --git a/tests/testthat/_snaps/ggplot-ticks/ticks-ycontinuous-ranges.svg b/tests/testthat/_snaps/ggplot-ticks/ticks-ycontinuous-ranges.svg deleted file mode 100644 index f312bb1a0f..0000000000 --- a/tests/testthat/_snaps/ggplot-ticks/ticks-ycontinuous-ranges.svg +++ /dev/null @@ -1 +0,0 @@ -ctrltrt1trt202468groupweight diff --git a/tests/testthat/_snaps/ggplot-ticks/ticks-ylim-ranges.svg b/tests/testthat/_snaps/ggplot-ticks/ticks-ylim-ranges.svg deleted file mode 100644 index f312bb1a0f..0000000000 --- a/tests/testthat/_snaps/ggplot-ticks/ticks-ylim-ranges.svg +++ /dev/null @@ -1 +0,0 @@ -ctrltrt1trt202468groupweight diff --git a/tests/testthat/_snaps/ggplot-ticks/ticks-ylim-reversed-ranges.svg b/tests/testthat/_snaps/ggplot-ticks/ticks-ylim-reversed-ranges.svg deleted file mode 100644 index d86a09c26b..0000000000 --- a/tests/testthat/_snaps/ggplot-ticks/ticks-ylim-reversed-ranges.svg +++ /dev/null @@ -1 +0,0 @@ -ctrltrt1trt20246groupweight diff --git a/tests/testthat/_snaps/ggplot-ticks/ticks-yreverse-limits-ranges.svg b/tests/testthat/_snaps/ggplot-ticks/ticks-yreverse-limits-ranges.svg deleted file mode 100644 index 46e4702189..0000000000 --- a/tests/testthat/_snaps/ggplot-ticks/ticks-yreverse-limits-ranges.svg +++ /dev/null @@ -1 +0,0 @@ -ctrltrt1trt2-2.50.02.55.07.510.0groupweight diff --git a/tests/testthat/_snaps/ggplot-ticks/ticks-yreverse-ranges.svg b/tests/testthat/_snaps/ggplot-ticks/ticks-yreverse-ranges.svg deleted file mode 100644 index 9f7a0487ce..0000000000 --- a/tests/testthat/_snaps/ggplot-ticks/ticks-yreverse-ranges.svg +++ /dev/null @@ -1 +0,0 @@ -ctrltrt1trt23.54.04.55.05.56.0groupweight diff --git a/tests/testthat/_snaps/ggplot-tooltip/group-lines-hovertext.svg b/tests/testthat/_snaps/ggplot-tooltip/group-lines-hovertext.svg deleted file mode 100644 index 03d93ed849..0000000000 --- a/tests/testthat/_snaps/ggplot-tooltip/group-lines-hovertext.svg +++ /dev/null @@ -1 +0,0 @@ -20002005201020151e+052e+053e+05datemedian diff --git a/tests/testthat/_snaps/ggplot-tooltip/heatmap-discrete-tooltip.svg b/tests/testthat/_snaps/ggplot-tooltip/heatmap-discrete-tooltip.svg deleted file mode 100644 index fd4b0f161b..0000000000 --- a/tests/testthat/_snaps/ggplot-tooltip/heatmap-discrete-tooltip.svg +++ /dev/null @@ -1 +0,0 @@ -1020304680.20.40.6densitympgfactor(cyl) diff --git a/tests/testthat/_snaps/ggplot-tooltip/hovertext-display.svg b/tests/testthat/_snaps/ggplot-tooltip/hovertext-display.svg deleted file mode 100644 index 03d93ed849..0000000000 --- a/tests/testthat/_snaps/ggplot-tooltip/hovertext-display.svg +++ /dev/null @@ -1 +0,0 @@ -20002005201020151e+052e+053e+05datemedian diff --git a/tests/testthat/_snaps/ggplot-tooltip/tooltip-date.svg b/tests/testthat/_snaps/ggplot-tooltip/tooltip-date.svg deleted file mode 100644 index 6271c353ca..0000000000 --- a/tests/testthat/_snaps/ggplot-tooltip/tooltip-date.svg +++ /dev/null @@ -1 +0,0 @@ -00:00:0000:00:3000:01:0000:01:30-1.0-0.50.00.51.0timex diff --git a/tests/testthat/_snaps/ggplot-tooltip/tooltip-datetime.svg b/tests/testthat/_snaps/ggplot-tooltip/tooltip-datetime.svg deleted file mode 100644 index 629c64a004..0000000000 --- a/tests/testthat/_snaps/ggplot-tooltip/tooltip-datetime.svg +++ /dev/null @@ -1 +0,0 @@ -16:3017:0017:3018:00-1.0-0.50.00.51.0timex diff --git a/tests/testthat/_snaps/ggplot-violin/violin-aes.svg b/tests/testthat/_snaps/ggplot-violin/violin-aes.svg deleted file mode 100644 index 3a969d358d..0000000000 --- a/tests/testthat/_snaps/ggplot-violin/violin-aes.svg +++ /dev/null @@ -1 +0,0 @@ -468101520253035factor(cyl)468factor(cyl)mpg diff --git a/tests/testthat/_snaps/ggplot-violin/violin.svg b/tests/testthat/_snaps/ggplot-violin/violin.svg deleted file mode 100644 index 9f8e89cbda..0000000000 --- a/tests/testthat/_snaps/ggplot-violin/violin.svg +++ /dev/null @@ -1 +0,0 @@ -468101520253035factor(cyl)mpg diff --git a/tests/testthat/_snaps/ggplot-vline/vline-multiple.svg b/tests/testthat/_snaps/ggplot-vline/vline-multiple.svg deleted file mode 100644 index f9f2ca4f03..0000000000 --- a/tests/testthat/_snaps/ggplot-vline/vline-multiple.svg +++ /dev/null @@ -1 +0,0 @@ -01230123xy diff --git a/tests/testthat/_snaps/ggplot-vline/vline.svg b/tests/testthat/_snaps/ggplot-vline/vline.svg deleted file mode 100644 index bc4a467d05..0000000000 --- a/tests/testthat/_snaps/ggplot-vline/vline.svg +++ /dev/null @@ -1 +0,0 @@ -01230123xy diff --git a/tests/testthat/_snaps/ggplot-ylim/ylim-one-trace.svg b/tests/testthat/_snaps/ggplot-ylim/ylim-one-trace.svg deleted file mode 100644 index 3f486e468a..0000000000 --- a/tests/testthat/_snaps/ggplot-ylim/ylim-one-trace.svg +++ /dev/null @@ -1 +0,0 @@ -LunchDinner051015Average bill for 2 peopleTime of dayTotal bill diff --git a/tests/testthat/_snaps/icicle/uniformtext-icicle.svg b/tests/testthat/_snaps/icicle/uniformtext-icicle.svg deleted file mode 100644 index 88d4a2744d..0000000000 --- a/tests/testthat/_snaps/icicle/uniformtext-icicle.svg +++ /dev/null @@ -1 +0,0 @@ -AlphaCharlieBravoFoxtrotDeltaEchoJulietGolfHotelIndiaOscarKiloLimaMikeNovemberUniformPapaQuebecRomeoSierraTangoVictorWhiskeyX rayYankeeZuluUniformVictorWhiskeyX rayYankeeZuluOscarJulietFoxtrotCharlieAlphaJulietOscarKiloLimaMikeNovemberUniformPapaQuebecRomeoSierraTangoVictorWhiskeyX rayYankeeZuluFoxtrotCharlieAlphaJulietOscarKiloLimaMikeNovemberUniformPapaQuebecRomeoSierraTangoVictorWhiskeyX rayYankeeZuluFoxtrotCharlieAlpha diff --git a/tests/testthat/_snaps/mean-error-bars/error-rect-alpha.svg b/tests/testthat/_snaps/mean-error-bars/error-rect-alpha.svg deleted file mode 100644 index c1b7c2abea..0000000000 --- a/tests/testthat/_snaps/mean-error-bars/error-rect-alpha.svg +++ /dev/null @@ -1 +0,0 @@ -024612345grouponetwoxy 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 deleted file mode 100644 index e007ae04b3..0000000000 --- a/tests/testthat/_snaps/mean-error-bars/error-simple-line-point-crazy.svg +++ /dev/null @@ -1 +0,0 @@ -12341234xy 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 deleted file mode 100644 index 031b0f9836..0000000000 --- a/tests/testthat/_snaps/mean-error-bars/error-simple-line-point.svg +++ /dev/null @@ -1 +0,0 @@ -12341234xy diff --git a/tests/testthat/_snaps/mean-error-bars/error-simple-line.svg b/tests/testthat/_snaps/mean-error-bars/error-simple-line.svg deleted file mode 100644 index e17c8d5284..0000000000 --- a/tests/testthat/_snaps/mean-error-bars/error-simple-line.svg +++ /dev/null @@ -1 +0,0 @@ -12341234xy diff --git a/tests/testthat/_snaps/mean-error-bars/error-simple.svg b/tests/testthat/_snaps/mean-error-bars/error-simple.svg deleted file mode 100644 index df9ee6c44f..0000000000 --- a/tests/testthat/_snaps/mean-error-bars/error-simple.svg +++ /dev/null @@ -1 +0,0 @@ -12341234xy diff --git a/tests/testthat/_snaps/plotly-color/plotly-color-bar-color-factor-custom.svg b/tests/testthat/_snaps/plotly-color/plotly-color-bar-color-factor-custom.svg deleted file mode 100644 index 8de73f5b9f..0000000000 --- a/tests/testthat/_snaps/plotly-color/plotly-color-bar-color-factor-custom.svg +++ /dev/null @@ -1 +0,0 @@ -ABCDE012345ABCDECategoryValue diff --git a/tests/testthat/_snaps/plotly-color/plotly-color-box-color-stroke.svg b/tests/testthat/_snaps/plotly-color/plotly-color-box-color-stroke.svg deleted file mode 100644 index b02f7d188f..0000000000 --- a/tests/testthat/_snaps/plotly-color/plotly-color-box-color-stroke.svg +++ /dev/null @@ -1 +0,0 @@ -AB−1.5−1−0.500.511.52ABxy diff --git a/tests/testthat/_snaps/plotly-color/plotly-color-color-manual.svg b/tests/testthat/_snaps/plotly-color/plotly-color-color-manual.svg deleted file mode 100644 index 5297255b03..0000000000 --- a/tests/testthat/_snaps/plotly-color/plotly-color-color-manual.svg +++ /dev/null @@ -1 +0,0 @@ -1015202530355010015020025030035040045001mpgdisp diff --git a/tests/testthat/_snaps/plotly-color/plotly-color-scatterplot-color-factor-custom.svg b/tests/testthat/_snaps/plotly-color/plotly-color-scatterplot-color-factor-custom.svg deleted file mode 100644 index 41397abd20..0000000000 --- a/tests/testthat/_snaps/plotly-color/plotly-color-scatterplot-color-factor-custom.svg +++ /dev/null @@ -1 +0,0 @@ -354045505560170180190200210220230AdelieChinstrapGentoobill_length_mmflipper_length_mm diff --git a/tests/testthat/_snaps/plotly-color/plotly-color-scatterplot-color-factor-custom2.svg b/tests/testthat/_snaps/plotly-color/plotly-color-scatterplot-color-factor-custom2.svg deleted file mode 100644 index 41397abd20..0000000000 --- a/tests/testthat/_snaps/plotly-color/plotly-color-scatterplot-color-factor-custom2.svg +++ /dev/null @@ -1 +0,0 @@ -354045505560170180190200210220230AdelieChinstrapGentoobill_length_mmflipper_length_mm diff --git a/tests/testthat/_snaps/plotly-color/plotly-color-scatterplot-color-factor.svg b/tests/testthat/_snaps/plotly-color/plotly-color-scatterplot-color-factor.svg deleted file mode 100644 index 72998a8d7e..0000000000 --- a/tests/testthat/_snaps/plotly-color/plotly-color-scatterplot-color-factor.svg +++ /dev/null @@ -1 +0,0 @@ -354045505560170180190200210220230AdelieChinstrapGentoobill_length_mmflipper_length_mm diff --git a/tests/testthat/_snaps/plotly-color/plotly-color-scatterplot-color-numeric-custom.svg b/tests/testthat/_snaps/plotly-color/plotly-color-scatterplot-color-numeric-custom.svg deleted file mode 100644 index a2ce44044e..0000000000 --- a/tests/testthat/_snaps/plotly-color/plotly-color-scatterplot-color-numeric-custom.svg +++ /dev/null @@ -1 +0,0 @@ -35404550556017018019020021022023014161820bill_depth_mmbill_length_mmflipper_length_mm diff --git a/tests/testthat/_snaps/plotly-color/plotly-color-scatterplot-color-numeric.svg b/tests/testthat/_snaps/plotly-color/plotly-color-scatterplot-color-numeric.svg deleted file mode 100644 index 8ad7d270b6..0000000000 --- a/tests/testthat/_snaps/plotly-color/plotly-color-scatterplot-color-numeric.svg +++ /dev/null @@ -1 +0,0 @@ -35404550556017018019020021022023014161820bill_depth_mmbill_length_mmflipper_length_mm diff --git a/tests/testthat/_snaps/plotly-color/plotly-color-scatterplot-scatter3d-axes.svg b/tests/testthat/_snaps/plotly-color/plotly-color-scatterplot-scatter3d-axes.svg deleted file mode 100644 index 87d8d6b728..0000000000 --- a/tests/testthat/_snaps/plotly-color/plotly-color-scatterplot-scatter3d-axes.svg +++ /dev/null @@ -1 +0,0 @@ - diff --git a/tests/testthat/_snaps/plotly-colorbar/plotly-colorbar-expand.svg b/tests/testthat/_snaps/plotly-colorbar/plotly-colorbar-expand.svg deleted file mode 100644 index 3682bb49d3..0000000000 --- a/tests/testthat/_snaps/plotly-colorbar/plotly-colorbar-expand.svg +++ /dev/null @@ -1 +0,0 @@ -234544.555.566.577.5805101520cylwtcyl diff --git a/tests/testthat/_snaps/plotly-colorbar/plotly-colorbar-restrict.svg b/tests/testthat/_snaps/plotly-colorbar/plotly-colorbar-restrict.svg deleted file mode 100644 index 44b51d625f..0000000000 --- a/tests/testthat/_snaps/plotly-colorbar/plotly-colorbar-restrict.svg +++ /dev/null @@ -1 +0,0 @@ -234544.555.566.577.5855.566.57cylwtcyl diff --git a/tests/testthat/_snaps/plotly-colorbar/plotly-colorbar-z-expand.svg b/tests/testthat/_snaps/plotly-colorbar/plotly-colorbar-z-expand.svg deleted file mode 100644 index b69f216f54..0000000000 --- a/tests/testthat/_snaps/plotly-colorbar/plotly-colorbar-z-expand.svg +++ /dev/null @@ -1 +0,0 @@ -0102030405060010203040506070800100200300volcano diff --git a/tests/testthat/_snaps/plotly-colorbar/plotly-colorbar-z-restrict.svg b/tests/testthat/_snaps/plotly-colorbar/plotly-colorbar-z-restrict.svg deleted file mode 100644 index 4fb4ad6f0f..0000000000 --- a/tests/testthat/_snaps/plotly-colorbar/plotly-colorbar-z-restrict.svg +++ /dev/null @@ -1 +0,0 @@ -010203040506001020304050607080140145150155160volcano diff --git a/tests/testthat/_snaps/plotly-colorbar/plotly-colorbar.svg b/tests/testthat/_snaps/plotly-colorbar/plotly-colorbar.svg deleted file mode 100644 index 6664821296..0000000000 --- a/tests/testthat/_snaps/plotly-colorbar/plotly-colorbar.svg +++ /dev/null @@ -1 +0,0 @@ -234544.555.566.577.5845678cylwtcyl diff --git a/tests/testthat/_snaps/plotly-colorscale/colorramp.svg b/tests/testthat/_snaps/plotly-colorscale/colorramp.svg deleted file mode 100644 index 81d09ff8ee..0000000000 --- a/tests/testthat/_snaps/plotly-colorscale/colorramp.svg +++ /dev/null @@ -1 +0,0 @@ -246810246810246810 diff --git a/tests/testthat/_snaps/plotly-colorscale/contour-alpha.svg b/tests/testthat/_snaps/plotly-colorscale/contour-alpha.svg deleted file mode 100644 index a9a355e180..0000000000 --- a/tests/testthat/_snaps/plotly-colorscale/contour-alpha.svg +++ /dev/null @@ -1 +0,0 @@ -010203040506001020304050607080100120140160180 diff --git a/tests/testthat/_snaps/plotly-colorscale/contour-colorscale.svg b/tests/testthat/_snaps/plotly-colorscale/contour-colorscale.svg deleted file mode 100644 index 31605388a7..0000000000 --- a/tests/testthat/_snaps/plotly-colorscale/contour-colorscale.svg +++ /dev/null @@ -1 +0,0 @@ -−8−6−4−201234567481216 diff --git a/tests/testthat/_snaps/plotly-colorscale/marker-colorscale.svg b/tests/testthat/_snaps/plotly-colorscale/marker-colorscale.svg deleted file mode 100644 index 078f3a53d2..0000000000 --- a/tests/testthat/_snaps/plotly-colorscale/marker-colorscale.svg +++ /dev/null @@ -1 +0,0 @@ -−8−6−4−20123456711.522.533.544.55 diff --git a/tests/testthat/_snaps/plotly-colorscale/test-df.svg b/tests/testthat/_snaps/plotly-colorscale/test-df.svg deleted file mode 100644 index a5a1f89dfa..0000000000 --- a/tests/testthat/_snaps/plotly-colorscale/test-df.svg +++ /dev/null @@ -1 +0,0 @@ -246810246810123456789 diff --git a/tests/testthat/_snaps/plotly-colorscale/test-list-2.svg b/tests/testthat/_snaps/plotly-colorscale/test-list-2.svg deleted file mode 100644 index 7bccee416f..0000000000 --- a/tests/testthat/_snaps/plotly-colorscale/test-list-2.svg +++ /dev/null @@ -1 +0,0 @@ -246810246810123456789 diff --git a/tests/testthat/_snaps/plotly-colorscale/test-list-3.svg b/tests/testthat/_snaps/plotly-colorscale/test-list-3.svg deleted file mode 100644 index 7bccee416f..0000000000 --- a/tests/testthat/_snaps/plotly-colorscale/test-list-3.svg +++ /dev/null @@ -1 +0,0 @@ -246810246810123456789 diff --git a/tests/testthat/_snaps/plotly-colorscale/test-list.svg b/tests/testthat/_snaps/plotly-colorscale/test-list.svg deleted file mode 100644 index a5a1f89dfa..0000000000 --- a/tests/testthat/_snaps/plotly-colorscale/test-list.svg +++ /dev/null @@ -1 +0,0 @@ -246810246810123456789 diff --git a/tests/testthat/_snaps/plotly-colorscale/test-matrix.svg b/tests/testthat/_snaps/plotly-colorscale/test-matrix.svg deleted file mode 100644 index a5a1f89dfa..0000000000 --- a/tests/testthat/_snaps/plotly-colorscale/test-matrix.svg +++ /dev/null @@ -1 +0,0 @@ -246810246810123456789 diff --git a/tests/testthat/_snaps/plotly-group/plotly-nas-connect.svg b/tests/testthat/_snaps/plotly-group/plotly-nas-connect.svg deleted file mode 100644 index b0163befad..0000000000 --- a/tests/testthat/_snaps/plotly-group/plotly-nas-connect.svg +++ /dev/null @@ -1 +0,0 @@ -1970198019902000201002k4k6k8k10k12kdatepce diff --git a/tests/testthat/_snaps/plotly-group/plotly-nas-within-color.svg b/tests/testthat/_snaps/plotly-group/plotly-nas-within-color.svg deleted file mode 100644 index 38938e66fc..0000000000 --- a/tests/testthat/_snaps/plotly-group/plotly-nas-within-color.svg +++ /dev/null @@ -1 +0,0 @@ -19701980199020002010050k100k150k200k250k300kpcepoppsavertuempmedunemploydatevalue diff --git a/tests/testthat/_snaps/plotly-group/plotly-nas-within-color2.svg b/tests/testthat/_snaps/plotly-group/plotly-nas-within-color2.svg deleted file mode 100644 index 6f92185c61..0000000000 --- a/tests/testthat/_snaps/plotly-group/plotly-nas-within-color2.svg +++ /dev/null @@ -1 +0,0 @@ -19701980199020002010050k100k150k200k250k300kpcepoppsavertuempmedunemploydatevalue diff --git a/tests/testthat/_snaps/plotly-group/plotly-nas-within-group.svg b/tests/testthat/_snaps/plotly-group/plotly-nas-within-group.svg deleted file mode 100644 index f4c3ea91fe..0000000000 --- a/tests/testthat/_snaps/plotly-group/plotly-nas-within-group.svg +++ /dev/null @@ -1 +0,0 @@ -19701980199020002010050k100k150k200k250k300kdatevalue diff --git a/tests/testthat/_snaps/plotly-group/plotly-nas.svg b/tests/testthat/_snaps/plotly-group/plotly-nas.svg deleted file mode 100644 index 35f2133e72..0000000000 --- a/tests/testthat/_snaps/plotly-group/plotly-nas.svg +++ /dev/null @@ -1 +0,0 @@ -1970198019902000201002k4k6k8k10k12kdatepce diff --git a/tests/testthat/_snaps/plotly-group/plotly-no-nas-for-irrelevant-group.svg b/tests/testthat/_snaps/plotly-group/plotly-no-nas-for-irrelevant-group.svg deleted file mode 100644 index bff68a6ab1..0000000000 --- a/tests/testthat/_snaps/plotly-group/plotly-no-nas-for-irrelevant-group.svg +++ /dev/null @@ -1 +0,0 @@ -2345101520253035wtmpg diff --git a/tests/testthat/_snaps/plotly-group/simple-scatter-marker-color-group.svg b/tests/testthat/_snaps/plotly-group/simple-scatter-marker-color-group.svg deleted file mode 100644 index 20a9ab0abb..0000000000 --- a/tests/testthat/_snaps/plotly-group/simple-scatter-marker-color-group.svg +++ /dev/null @@ -1 +0,0 @@ -12345678910111213141516171819202122232425262728293031321015202530351.522.533.544.555.5mpgwt diff --git a/tests/testthat/_snaps/plotly-image-trace/colormodel.svg b/tests/testthat/_snaps/plotly-image-trace/colormodel.svg deleted file mode 100644 index 4631f7fba7..0000000000 --- a/tests/testthat/_snaps/plotly-image-trace/colormodel.svg +++ /dev/null @@ -1 +0,0 @@ -00.510.40.20−0.2−0.40123.532.521.510.50−0.5 diff --git a/tests/testthat/_snaps/plotly-image-trace/raster-basic.svg b/tests/testthat/_snaps/plotly-image-trace/raster-basic.svg deleted file mode 100644 index b2b07d6b39..0000000000 --- a/tests/testthat/_snaps/plotly-image-trace/raster-basic.svg +++ /dev/null @@ -1 +0,0 @@ -012343.532.521.510.50−0.5 diff --git a/tests/testthat/_snaps/plotly-linetype/plotly-linetype-alphabetical.svg b/tests/testthat/_snaps/plotly-linetype/plotly-linetype-alphabetical.svg deleted file mode 100644 index 629a1d55b7..0000000000 --- a/tests/testthat/_snaps/plotly-linetype/plotly-linetype-alphabetical.svg +++ /dev/null @@ -1 +0,0 @@ -101520253035152025303540452seatercompactmidsizepickupsubcompactsuvctyhwy diff --git a/tests/testthat/_snaps/plotly-linetype/plotly-linetype-linetype.svg b/tests/testthat/_snaps/plotly-linetype/plotly-linetype-linetype.svg deleted file mode 100644 index 39b333650b..0000000000 --- a/tests/testthat/_snaps/plotly-linetype/plotly-linetype-linetype.svg +++ /dev/null @@ -1 +0,0 @@ -200020052010201550k100k150k200k250kAbileneAmarilloArlingtonAustinBay Areadatemedian diff --git a/tests/testthat/_snaps/plotly-linetype/plotly-linetype-linetype2.svg b/tests/testthat/_snaps/plotly-linetype/plotly-linetype-linetype2.svg deleted file mode 100644 index afc0305019..0000000000 --- a/tests/testthat/_snaps/plotly-linetype/plotly-linetype-linetype2.svg +++ /dev/null @@ -1 +0,0 @@ -200020052010201550k100k150k200k250kAbileneAmarilloArlingtonAustinBay Areadatemedian diff --git a/tests/testthat/_snaps/plotly-linetype/plotly-linetype-linetype3.svg b/tests/testthat/_snaps/plotly-linetype/plotly-linetype-linetype3.svg deleted file mode 100644 index 3cdf4ab636..0000000000 --- a/tests/testthat/_snaps/plotly-linetype/plotly-linetype-linetype3.svg +++ /dev/null @@ -1 +0,0 @@ -200020052010201550k100k150k200k250kdatemedian diff --git a/tests/testthat/_snaps/plotly-linetype/plotly-linetype-manual.svg b/tests/testthat/_snaps/plotly-linetype/plotly-linetype-manual.svg deleted file mode 100644 index 08494ad82d..0000000000 --- a/tests/testthat/_snaps/plotly-linetype/plotly-linetype-manual.svg +++ /dev/null @@ -1 +0,0 @@ -1015202530355010015020025030035040045001mpgdisp diff --git a/tests/testthat/_snaps/plotly-linetype/plotly-linetype-ordering.svg b/tests/testthat/_snaps/plotly-linetype/plotly-linetype-ordering.svg deleted file mode 100644 index d580751250..0000000000 --- a/tests/testthat/_snaps/plotly-linetype/plotly-linetype-ordering.svg +++ /dev/null @@ -1 +0,0 @@ -152025305010015020025030035040045010mpgdisp diff --git a/tests/testthat/_snaps/plotly-size/marker-size.svg b/tests/testthat/_snaps/plotly-size/marker-size.svg deleted file mode 100644 index 6d668c6185..0000000000 --- a/tests/testthat/_snaps/plotly-size/marker-size.svg +++ /dev/null @@ -1 +0,0 @@ -246810246810 diff --git a/tests/testthat/_snaps/plotly-size/sizemode.svg b/tests/testthat/_snaps/plotly-size/sizemode.svg deleted file mode 100644 index e4ad5b8913..0000000000 --- a/tests/testthat/_snaps/plotly-size/sizemode.svg +++ /dev/null @@ -1 +0,0 @@ -23451.522.533.544.555.5123468wtwt diff --git a/tests/testthat/_snaps/plotly-subplot/plotly-subplot-geo-cartesian.svg b/tests/testthat/_snaps/plotly-subplot/plotly-subplot-geo-cartesian.svg deleted file mode 100644 index 96c440caa0..0000000000 --- a/tests/testthat/_snaps/plotly-subplot/plotly-subplot-geo-cartesian.svg +++ /dev/null @@ -1 +0,0 @@ -05k10k15k20k0200040006000012020406005101502040600501001500200k400kPopulationIncomeIlliteracyLife ExpMurderHS GradFrostArea0.20.40.60.8density diff --git a/tests/testthat/_snaps/plotly-subplot/plotly-subplot-ggmatrix.svg b/tests/testthat/_snaps/plotly-subplot/plotly-subplot-ggmatrix.svg deleted file mode 100644 index c7b00e2e1a..0000000000 --- a/tests/testthat/_snaps/plotly-subplot/plotly-subplot-ggmatrix.svg +++ /dev/null @@ -1 +0,0 @@ -0.02.55.07.50.02.55.07.556780.02.55.07.50.00.51.01.52.02.52462.02.53.03.54.04.50.00.10.20.30.42.02.53.03.54.04.5Corr:-0.118246Corr:-0.428***Corr:0.872***0.00.51.01.52.02.5Corr:0.963***Corr:-0.366***Corr:0.818***setosaversicolorvirginicaSepal.LengthSepal.WidthPetal.LengthPetal.WidthSpeciesPetal.WidthPetal.LengthSepal.WidthSepal.Lengthsetosaversicolorvirginicasetosaversicolorvirginicasetosaversicolorvirginicasetosaversicolorvirginica diff --git a/tests/testthat/_snaps/plotly-subplot/plotly-subplot-group.svg b/tests/testthat/_snaps/plotly-subplot/plotly-subplot-group.svg deleted file mode 100644 index e1549b6140..0000000000 --- a/tests/testthat/_snaps/plotly-subplot/plotly-subplot-group.svg +++ /dev/null @@ -1 +0,0 @@ -3540451617181920214045505516.51717.51818.51919.52020.52140455055601313.51414.51515.51616.51717.5AdelieChinstrapGentoo diff --git a/tests/testthat/_snaps/plotly-subplot/plotly-subplot-plot-list.svg b/tests/testthat/_snaps/plotly-subplot/plotly-subplot-plot-list.svg deleted file mode 100644 index 089b23e2ac..0000000000 --- a/tests/testthat/_snaps/plotly-subplot/plotly-subplot-plot-list.svg +++ /dev/null @@ -1 +0,0 @@ -05k10k200k250k300k510151020197019801990200020105k10k15kpcepoppsavertuempmedunemploy diff --git a/tests/testthat/_snaps/plotly-subplot/plotly-subplot-recursive.svg b/tests/testthat/_snaps/plotly-subplot/plotly-subplot-recursive.svg deleted file mode 100644 index d41b3003ba..0000000000 --- a/tests/testthat/_snaps/plotly-subplot/plotly-subplot-recursive.svg +++ /dev/null @@ -1 +0,0 @@ -5k10k15k1980200051015202519802000trace 0trace 1trace 2trace 3 diff --git a/tests/testthat/_snaps/plotly-subplot/plotly-subplot-shareboth.svg b/tests/testthat/_snaps/plotly-subplot/plotly-subplot-shareboth.svg deleted file mode 100644 index 952249e59a..0000000000 --- a/tests/testthat/_snaps/plotly-subplot/plotly-subplot-shareboth.svg +++ /dev/null @@ -1 +0,0 @@ -00.20.40.60.810.511.500.20.40.60.810.511.5trace 0trace 1trace 2trace 3 diff --git a/tests/testthat/_snaps/plotly-subplot/plotly-subplot-sharex.svg b/tests/testthat/_snaps/plotly-subplot/plotly-subplot-sharex.svg deleted file mode 100644 index a710f291d4..0000000000 --- a/tests/testthat/_snaps/plotly-subplot/plotly-subplot-sharex.svg +++ /dev/null @@ -1 +0,0 @@ -00.20.40.60.810.60.811.21.400.20.40.60.81trace 0trace 1 diff --git a/tests/testthat/_snaps/plotly-subplot/plotly-subplot-sharey.svg b/tests/testthat/_snaps/plotly-subplot/plotly-subplot-sharey.svg deleted file mode 100644 index 388179183e..0000000000 --- a/tests/testthat/_snaps/plotly-subplot/plotly-subplot-sharey.svg +++ /dev/null @@ -1 +0,0 @@ -0.511.500.20.40.60.810.511.5trace 0trace 1 diff --git a/tests/testthat/_snaps/plotly-subplot/plotly-subplot-simple.svg b/tests/testthat/_snaps/plotly-subplot/plotly-subplot-simple.svg deleted file mode 100644 index 22e5252ace..0000000000 --- a/tests/testthat/_snaps/plotly-subplot/plotly-subplot-simple.svg +++ /dev/null @@ -1 +0,0 @@ -0.511.522.500.20.40.60.810.511.522.500.20.40.60.81trace 0trace 1 diff --git a/tests/testthat/_snaps/plotly-subplot/plotly-subplot-simple2.svg b/tests/testthat/_snaps/plotly-subplot/plotly-subplot-simple2.svg deleted file mode 100644 index 4e3cda9d6e..0000000000 --- a/tests/testthat/_snaps/plotly-subplot/plotly-subplot-simple2.svg +++ /dev/null @@ -1 +0,0 @@ -0.511.522.500.20.40.60.810.511.522.500.20.40.60.81trace 0trace 1 diff --git a/tests/testthat/_snaps/plotly-subplot/plotly-subplot-subplot-legendgroup.svg b/tests/testthat/_snaps/plotly-subplot/plotly-subplot-subplot-legendgroup.svg deleted file mode 100644 index 4bc0b312a6..0000000000 --- a/tests/testthat/_snaps/plotly-subplot/plotly-subplot-subplot-legendgroup.svg +++ /dev/null @@ -1 +0,0 @@ -0510−3−2−10123x1x2x3 diff --git a/tests/testthat/_snaps/plotly-subplot/plotly-subplot-width-height.svg b/tests/testthat/_snaps/plotly-subplot/plotly-subplot-width-height.svg deleted file mode 100644 index 6191f6c8f6..0000000000 --- a/tests/testthat/_snaps/plotly-subplot/plotly-subplot-width-height.svg +++ /dev/null @@ -1 +0,0 @@ -0.02.55.07.5-3-2-1012-2020.02.55.07.510.0xcountcounty diff --git a/tests/testthat/_snaps/plotly-subplot/subplot-bump-axis-annotation-shared.svg b/tests/testthat/_snaps/plotly-subplot/subplot-bump-axis-annotation-shared.svg deleted file mode 100644 index 81e911b74f..0000000000 --- a/tests/testthat/_snaps/plotly-subplot/subplot-bump-axis-annotation-shared.svg +++ /dev/null @@ -1 +0,0 @@ -2345152025303523456646868446688888844448888444868411100000000000000111000001111111 diff --git a/tests/testthat/_snaps/plotly-subplot/subplot-bump-axis-annotation-traces-shared.svg b/tests/testthat/_snaps/plotly-subplot/subplot-bump-axis-annotation-traces-shared.svg deleted file mode 100644 index 8cda820fa8..0000000000 --- a/tests/testthat/_snaps/plotly-subplot/subplot-bump-axis-annotation-traces-shared.svg +++ /dev/null @@ -1 +0,0 @@ -11.5211.21.41.61.8211.52trace 0trace 1trace 2trace 3foobar diff --git a/tests/testthat/_snaps/plotly-subplot/subplot-bump-axis-annotation-traces.svg b/tests/testthat/_snaps/plotly-subplot/subplot-bump-axis-annotation-traces.svg deleted file mode 100644 index 5424d0f317..0000000000 --- a/tests/testthat/_snaps/plotly-subplot/subplot-bump-axis-annotation-traces.svg +++ /dev/null @@ -1 +0,0 @@ -11.5211.21.41.61.8211.5211.21.41.61.82trace 0trace 1trace 2trace 3foobar diff --git a/tests/testthat/_snaps/plotly-subplot/subplot-bump-axis-annotation.svg b/tests/testthat/_snaps/plotly-subplot/subplot-bump-axis-annotation.svg deleted file mode 100644 index e67f13cec0..0000000000 --- a/tests/testthat/_snaps/plotly-subplot/subplot-bump-axis-annotation.svg +++ /dev/null @@ -1 +0,0 @@ -23451520253035234515202530356646868446688888844448888444868411100000000000000111000001111111 diff --git a/tests/testthat/_snaps/plotly-subplot/subplot-bump-axis-image.svg b/tests/testthat/_snaps/plotly-subplot/subplot-bump-axis-image.svg deleted file mode 100644 index 1da84dec52..0000000000 --- a/tests/testthat/_snaps/plotly-subplot/subplot-bump-axis-image.svg +++ /dev/null @@ -1 +0,0 @@ -00.511.5200.511.5200.511.5200.511.52trace 0trace 1 diff --git a/tests/testthat/_snaps/plotly-subplot/subplot-bump-axis-shape-shared.svg b/tests/testthat/_snaps/plotly-subplot/subplot-bump-axis-shape-shared.svg deleted file mode 100644 index aa490fcdb4..0000000000 --- a/tests/testthat/_snaps/plotly-subplot/subplot-bump-axis-shape-shared.svg +++ /dev/null @@ -1 +0,0 @@ -4567800.20.40.60.8145678 diff --git a/tests/testthat/_snaps/plotly-subplot/subplot-bump-axis-shape.svg b/tests/testthat/_snaps/plotly-subplot/subplot-bump-axis-shape.svg deleted file mode 100644 index f8dc557992..0000000000 --- a/tests/testthat/_snaps/plotly-subplot/subplot-bump-axis-shape.svg +++ /dev/null @@ -1 +0,0 @@ -4567800.20.40.60.814567800.20.40.60.81 diff --git a/tests/testthat/_snaps/plotly-subplot/subplot-reposition-annotation.svg b/tests/testthat/_snaps/plotly-subplot/subplot-reposition-annotation.svg deleted file mode 100644 index 22b946ab61..0000000000 --- a/tests/testthat/_snaps/plotly-subplot/subplot-reposition-annotation.svg +++ /dev/null @@ -1 +0,0 @@ -0246−1012340246−101234foobar diff --git a/tests/testthat/_snaps/plotly-subplot/subplot-reposition-image.svg b/tests/testthat/_snaps/plotly-subplot/subplot-reposition-image.svg deleted file mode 100644 index 7b878e6168..0000000000 --- a/tests/testthat/_snaps/plotly-subplot/subplot-reposition-image.svg +++ /dev/null @@ -1 +0,0 @@ -00.511.5200.511.5200.511.5200.511.52trace 0trace 1 diff --git a/tests/testthat/_snaps/plotly-subplot/subplot-reposition-shape-fixed.svg b/tests/testthat/_snaps/plotly-subplot/subplot-reposition-shape-fixed.svg deleted file mode 100644 index 9cb20b0d4a..0000000000 --- a/tests/testthat/_snaps/plotly-subplot/subplot-reposition-shape-fixed.svg +++ /dev/null @@ -1 +0,0 @@ -0246−1012340246−101234 diff --git a/tests/testthat/_snaps/plotly-subplot/subplot-reposition-shape.svg b/tests/testthat/_snaps/plotly-subplot/subplot-reposition-shape.svg deleted file mode 100644 index 924dcc9ef2..0000000000 --- a/tests/testthat/_snaps/plotly-subplot/subplot-reposition-shape.svg +++ /dev/null @@ -1 +0,0 @@ -0246−1012340246−101234 diff --git a/tests/testthat/_snaps/plotly-sunburst/sunburst.svg b/tests/testthat/_snaps/plotly-sunburst/sunburst.svg deleted file mode 100644 index 8cdd784bb2..0000000000 --- a/tests/testthat/_snaps/plotly-sunburst/sunburst.svg +++ /dev/null @@ -1 +0,0 @@ -AromasTastesEnzymaticSugar BrowningDry DistillationBitterSaltSweetSourFloweryFruityHerbyNuttyCarmellyChocolateyResinousSpicyCarbonyPungentHarshSharpBlandMellowAcidyWineySouryFloralFragrantCitrusBerry-likeAlliaceousLeguminousNut-likeMalt-likeCandy-likeSyrup-likeChocolate-likeVanilla-likeTurpenyMedicinalWarmingPungentSmokeyAshyCreosolPhenolicCausticAlkalineAstringentRoughNeutralSoftDelicateMildNippyPiquantTangyTartHardAcridCoffee BlossomTea RoseCardamon CarawayCoriander SeedsLemonAppleApricotBlackberryOnionGarlicCucumberGarden PeasRoasted PeanutsWalnutsBalsamic RiceToastRoasted HazelnutRoasted AlmondHoneyMaple SyrupBakersDark ChocolateSwissButterPineyBlackcurrant-likeCamphoricCineolicCedarPepperCloveThymeTarryPipe TobaccoBurntCharred diff --git a/tests/testthat/_snaps/plotly-symbol/plotly-symbol-alphabetical.svg b/tests/testthat/_snaps/plotly-symbol/plotly-symbol-alphabetical.svg deleted file mode 100644 index 8dec0f1222..0000000000 --- a/tests/testthat/_snaps/plotly-symbol/plotly-symbol-alphabetical.svg +++ /dev/null @@ -1 +0,0 @@ -10152025303510152025303540452seatercompactmidsizepickupsubcompactsuvctyhwy diff --git a/tests/testthat/_snaps/plotly-symbol/plotly-symbol-logical.svg b/tests/testthat/_snaps/plotly-symbol/plotly-symbol-logical.svg deleted file mode 100644 index f83230972a..0000000000 --- a/tests/testthat/_snaps/plotly-symbol/plotly-symbol-logical.svg +++ /dev/null @@ -1 +0,0 @@ -246810246810FALSETRUE diff --git a/tests/testthat/_snaps/plotly-symbol/plotly-symbol-ordering.svg b/tests/testthat/_snaps/plotly-symbol/plotly-symbol-ordering.svg deleted file mode 100644 index 25430fbe96..0000000000 --- a/tests/testthat/_snaps/plotly-symbol/plotly-symbol-ordering.svg +++ /dev/null @@ -1 +0,0 @@ -1015202530355010015020025030035040045010mpgdisp diff --git a/tests/testthat/_snaps/plotly-symbol/plotly-symbol-pch.svg b/tests/testthat/_snaps/plotly-symbol/plotly-symbol-pch.svg deleted file mode 100644 index 71a8845f85..0000000000 --- a/tests/testthat/_snaps/plotly-symbol/plotly-symbol-pch.svg +++ /dev/null @@ -1 +0,0 @@ -123456123456 diff --git a/tests/testthat/_snaps/plotly-symbol/plotly-symbol-scatterplot-symbol.svg b/tests/testthat/_snaps/plotly-symbol/plotly-symbol-scatterplot-symbol.svg deleted file mode 100644 index aa8b24c784..0000000000 --- a/tests/testthat/_snaps/plotly-symbol/plotly-symbol-scatterplot-symbol.svg +++ /dev/null @@ -1 +0,0 @@ -35404550556013141516171819202122AdelieChinstrapGentoobill_length_mmbill_depth_mm diff --git a/tests/testthat/_snaps/plotly-symbol/plotly-symbol-scatterplot-symbol2.svg b/tests/testthat/_snaps/plotly-symbol/plotly-symbol-scatterplot-symbol2.svg deleted file mode 100644 index 5c09ebdd39..0000000000 --- a/tests/testthat/_snaps/plotly-symbol/plotly-symbol-scatterplot-symbol2.svg +++ /dev/null @@ -1 +0,0 @@ -35404550556013141516171819202122AdelieChinstrapGentoobill_length_mmbill_depth_mm diff --git a/tests/testthat/_snaps/plotly-symbol/plotly-symbol-symbol-manual.svg b/tests/testthat/_snaps/plotly-symbol/plotly-symbol-symbol-manual.svg deleted file mode 100644 index 73c4a7d35c..0000000000 --- a/tests/testthat/_snaps/plotly-symbol/plotly-symbol-symbol-manual.svg +++ /dev/null @@ -1 +0,0 @@ -1015202530355010015020025030035040045001mpgdisp diff --git a/tests/testthat/_snaps/plotly-treemaps/advanced.svg b/tests/testthat/_snaps/plotly-treemaps/advanced.svg deleted file mode 100644 index c6875531e2..0000000000 --- a/tests/testthat/_snaps/plotly-treemaps/advanced.svg +++ /dev/null @@ -1 +0,0 @@ -EveSethCain1422% of parent22% of entryAwanAbel69% of parent9% of entryAzura46% of parent6% of entryEnos1042% of parent15% of entryNoam28% of parent3% of entryEnoch114% of parent2% of entryEveCain1422% of parent22% of entrySethAbel69% of parent9% of entryAwanAzura46% of parent6% of entryEnos1083% of parent15% of entryNoam217% of parent3% of entryEnoch117% of parent2% of entrybranchvalues = remainderbranchvalues = total diff --git a/tests/testthat/_snaps/plotly-treemaps/basic.svg b/tests/testthat/_snaps/plotly-treemaps/basic.svg deleted file mode 100644 index 897c28e74c..0000000000 --- a/tests/testthat/_snaps/plotly-treemaps/basic.svg +++ /dev/null @@ -1 +0,0 @@ -EveSethCainAbelAwanAzuraEnosNoamEnoch diff --git a/tests/testthat/_snaps/plotly-waterfall/waterfall-simple.svg b/tests/testthat/_snaps/plotly-waterfall/waterfall-simple.svg deleted file mode 100644 index ed86ad9dac..0000000000 --- a/tests/testthat/_snaps/plotly-waterfall/waterfall-simple.svg +++ /dev/null @@ -1 +0,0 @@ -01234500.511.52 diff --git a/tests/testthat/_snaps/plotly/errorbar-width.svg b/tests/testthat/_snaps/plotly/errorbar-width.svg deleted file mode 100644 index c785eba027..0000000000 --- a/tests/testthat/_snaps/plotly/errorbar-width.svg +++ /dev/null @@ -1 +0,0 @@ -246810246810 diff --git a/tests/testthat/_snaps/plotly/layout-grid.svg b/tests/testthat/_snaps/plotly/layout-grid.svg deleted file mode 100644 index 917e224d16..0000000000 --- a/tests/testthat/_snaps/plotly/layout-grid.svg +++ /dev/null @@ -1 +0,0 @@ -00.511.521234500.511.521234500.511.521234500.511.521234500.511.521234500.511.5212345trace 0trace 1trace 2trace 3trace 4trace 5 diff --git a/tests/testthat/_snaps/plotly/plotly-alpha-blending.svg b/tests/testthat/_snaps/plotly/plotly-alpha-blending.svg deleted file mode 100644 index 6e036c7ad0..0000000000 --- a/tests/testthat/_snaps/plotly/plotly-alpha-blending.svg +++ /dev/null @@ -1 +0,0 @@ -−3−2−1012−2−10123trace 0trace 1−202rnorm(100) diff --git a/tests/testthat/_snaps/plotly/plotly-alpha-no-color.svg b/tests/testthat/_snaps/plotly/plotly-alpha-no-color.svg deleted file mode 100644 index 051aec014a..0000000000 --- a/tests/testthat/_snaps/plotly/plotly-alpha-no-color.svg +++ /dev/null @@ -1 +0,0 @@ -10152025303550100150200250300350400450mpgdisp diff --git a/tests/testthat/_snaps/plotly/plotly-bar-inference.svg b/tests/testthat/_snaps/plotly/plotly-bar-inference.svg deleted file mode 100644 index bdbecef7d6..0000000000 --- a/tests/testthat/_snaps/plotly/plotly-bar-inference.svg +++ /dev/null @@ -1 +0,0 @@ -AdelieChinstrapGentoo020406080100120140160trace 0trace 1species diff --git a/tests/testthat/_snaps/plotly/plotly-box-data-array.svg b/tests/testthat/_snaps/plotly/plotly-box-data-array.svg deleted file mode 100644 index 69a6fdf0ec..0000000000 --- a/tests/testthat/_snaps/plotly/plotly-box-data-array.svg +++ /dev/null @@ -1 +0,0 @@ - diff --git a/tests/testthat/_snaps/plotly/plotly-character-axis.svg b/tests/testthat/_snaps/plotly/plotly-character-axis.svg deleted file mode 100644 index c2e41b572c..0000000000 --- a/tests/testthat/_snaps/plotly/plotly-character-axis.svg +++ /dev/null @@ -1 +0,0 @@ -ABCDEFGHIJKLMNOPQRSTUVWXYZ0510152025a1a2 diff --git a/tests/testthat/_snaps/plotly/plotly-factor-axis.svg b/tests/testthat/_snaps/plotly/plotly-factor-axis.svg deleted file mode 100644 index 563ba31c11..0000000000 --- a/tests/testthat/_snaps/plotly/plotly-factor-axis.svg +++ /dev/null @@ -1 +0,0 @@ -12481632123456 diff --git a/tests/testthat/_snaps/plotly/plotly-group-within-trace.svg b/tests/testthat/_snaps/plotly/plotly-group-within-trace.svg deleted file mode 100644 index be317e5034..0000000000 --- a/tests/testthat/_snaps/plotly/plotly-group-within-trace.svg +++ /dev/null @@ -1 +0,0 @@ -11.21.41.61.82−1.5−1−0.500.511.52ABvisitresponse diff --git a/tests/testthat/_snaps/plotly/plotly-histogram-vert.svg b/tests/testthat/_snaps/plotly/plotly-histogram-vert.svg deleted file mode 100644 index 7441067fa7..0000000000 --- a/tests/testthat/_snaps/plotly/plotly-histogram-vert.svg +++ /dev/null @@ -1 +0,0 @@ -05101520−3−2−1012 diff --git a/tests/testthat/_snaps/plotly/plotly-histogram.svg b/tests/testthat/_snaps/plotly/plotly-histogram.svg deleted file mode 100644 index 28100caa15..0000000000 --- a/tests/testthat/_snaps/plotly/plotly-histogram.svg +++ /dev/null @@ -1 +0,0 @@ -−3−2−101205101520 diff --git a/tests/testthat/_snaps/plotly/plotly-inherit-false.svg b/tests/testthat/_snaps/plotly/plotly-inherit-false.svg deleted file mode 100644 index 9bfdd84a28..0000000000 --- a/tests/testthat/_snaps/plotly/plotly-inherit-false.svg +++ /dev/null @@ -1 +0,0 @@ -01024681012141618factor(vs) diff --git a/tests/testthat/_snaps/plotly/plotly-scatterplot.svg b/tests/testthat/_snaps/plotly/plotly-scatterplot.svg deleted file mode 100644 index 2691f82954..0000000000 --- a/tests/testthat/_snaps/plotly/plotly-scatterplot.svg +++ /dev/null @@ -1 +0,0 @@ -35404550556013141516171819202122bill_length_mmbill_depth_mm diff --git a/tests/testthat/_snaps/plotly/plotly-time-series-summary.svg b/tests/testthat/_snaps/plotly/plotly-time-series-summary.svg deleted file mode 100644 index 764ee2bfc1..0000000000 --- a/tests/testthat/_snaps/plotly/plotly-time-series-summary.svg +++ /dev/null @@ -1 +0,0 @@ -200020052010201550k100k150k200k250k300kTexan CitiesmedianIQRdatemedian diff --git a/tests/testthat/_snaps/ticktext-linebreaks/ticktext-linebreaks-no-linebreaks.svg b/tests/testthat/_snaps/ticktext-linebreaks/ticktext-linebreaks-no-linebreaks.svg deleted file mode 100644 index 6c59908c99..0000000000 --- a/tests/testthat/_snaps/ticktext-linebreaks/ticktext-linebreaks-no-linebreaks.svg +++ /dev/null @@ -1 +0,0 @@ -012345ticktextticktext long_ticktext ticktextxy diff --git a/tests/testthat/_snaps/ticktext-linebreaks/ticktext-linebreaks-one-cat.svg b/tests/testthat/_snaps/ticktext-linebreaks/ticktext-linebreaks-one-cat.svg deleted file mode 100644 index 3de56f6760..0000000000 --- a/tests/testthat/_snaps/ticktext-linebreaks/ticktext-linebreaks-one-cat.svg +++ /dev/null @@ -1 +0,0 @@ -0.000.250.500.751.00ticktextlong_ticktextticktextxy diff --git a/tests/testthat/_snaps/ticktext-linebreaks/ticktext-linebreaks.svg b/tests/testthat/_snaps/ticktext-linebreaks/ticktext-linebreaks.svg deleted file mode 100644 index 856177ad49..0000000000 --- a/tests/testthat/_snaps/ticktext-linebreaks/ticktext-linebreaks.svg +++ /dev/null @@ -1 +0,0 @@ -012345ticktextticktextlong_ticktextticktextxy From ee146c5dff8e62df7f63c3a9b5e56ef2331b7a48 Mon Sep 17 00:00:00 2001 From: Abdessabour Moutik Date: Tue, 28 Sep 2021 01:23:54 -0700 Subject: [PATCH 03/13] Solved issues with the checks --- R/ggplotly.R | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/R/ggplotly.R b/R/ggplotly.R index 47993f9aa9..4ea7d1321d 100644 --- a/R/ggplotly.R +++ b/R/ggplotly.R @@ -1313,6 +1313,10 @@ uniq.default <- function(x) { if (length(u) == 1) u else x } +uniq.NULL <- function(x) { + x +} + # if TeX object convert to character first uniq.TeX <- function(x){ print(uniq(as.character(x))) From 71df890108e563837aa3780eb2dc2958e5e7dd9a Mon Sep 17 00:00:00 2001 From: Abdessabour Moutik Date: Tue, 28 Sep 2021 03:38:34 -0700 Subject: [PATCH 04/13] Trying to solve the issue with the checks. --- R/ggplotly.R | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/R/ggplotly.R b/R/ggplotly.R index 4ea7d1321d..72891dd6d8 100644 --- a/R/ggplotly.R +++ b/R/ggplotly.R @@ -1301,11 +1301,13 @@ bold <- function(x) paste("", x, "") italic <- function(x) paste("", x, "") # generic S3 method to allow for class specific implementations +#' @export uniq <- function(x){ UseMethod("uniq", x) } # if a vector that has one unique value (ignoring missings), return that value +#' @export uniq.default <- function(x) { u <- unique(x) if (identical(u, NA) || length(u) == 0) return(u) @@ -1313,13 +1315,14 @@ uniq.default <- function(x) { if (length(u) == 1) u else x } +#' @export uniq.NULL <- function(x) { x } # if TeX object convert to character first uniq.TeX <- function(x){ - print(uniq(as.character(x))) + uniq(as.character(x)) } # theme(strip.background) -> plotly.js rect shape From e55913015d492fd91ca4b31e9904f30994ee9e4d Mon Sep 17 00:00:00 2001 From: Abdessabour Moutik Date: Tue, 28 Sep 2021 07:44:30 -0700 Subject: [PATCH 05/13] Trying to solve the issue with the checks. --- NAMESPACE | 2 ++ R/ggplotly.R | 17 +++++++++-------- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/NAMESPACE b/NAMESPACE index eb46d4c658..030394e3c0 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -143,6 +143,7 @@ export(knit_print.api_grid_local) export(knit_print.api_plot) export(last_plot) export(layout) +export(make_strip_rect) export(mutate) export(mutate_) export(offline) @@ -188,6 +189,7 @@ export(to_basic) export(transmute) export(transmute_) export(ungroup) +export(uniq) import(ggplot2) importFrom(data.table,as.data.table) importFrom(data.table,setorderv) diff --git a/R/ggplotly.R b/R/ggplotly.R index 72891dd6d8..759fb5ae2e 100644 --- a/R/ggplotly.R +++ b/R/ggplotly.R @@ -1308,7 +1308,8 @@ uniq <- function(x){ # if a vector that has one unique value (ignoring missings), return that value #' @export -uniq.default <- function(x) { +uniq <- function(x) { + if("TeX" %in% class(x)) x <- as.character(x) u <- unique(x) if (identical(u, NA) || length(u) == 0) return(u) u <- u[!is.na(u)] @@ -1316,14 +1317,14 @@ uniq.default <- function(x) { } #' @export -uniq.NULL <- function(x) { - x -} +# uniq.NULL <- function(x) { +# x +# } -# if TeX object convert to character first -uniq.TeX <- function(x){ - uniq(as.character(x)) -} +# # if TeX object convert to character first +# uniq.TeX <- function(x){ +# uniq(as.character(x)) +# } # theme(strip.background) -> plotly.js rect shape make_strip_rect <- function(xdom, ydom, theme, side = "top") { From ea3580642e401bf8085ef73e6b081f1208dca61f Mon Sep 17 00:00:00 2001 From: Abdessabour Moutik Date: Tue, 28 Sep 2021 08:02:29 -0700 Subject: [PATCH 06/13] Trying to solve the issue with the checks. --- NAMESPACE | 1 - R/ggplotly.R | 10 ---------- 2 files changed, 11 deletions(-) diff --git a/NAMESPACE b/NAMESPACE index 030394e3c0..85ce65acdf 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -143,7 +143,6 @@ export(knit_print.api_grid_local) export(knit_print.api_plot) export(last_plot) export(layout) -export(make_strip_rect) export(mutate) export(mutate_) export(offline) diff --git a/R/ggplotly.R b/R/ggplotly.R index 759fb5ae2e..64ee334603 100644 --- a/R/ggplotly.R +++ b/R/ggplotly.R @@ -1307,7 +1307,6 @@ uniq <- function(x){ } # if a vector that has one unique value (ignoring missings), return that value -#' @export uniq <- function(x) { if("TeX" %in% class(x)) x <- as.character(x) u <- unique(x) @@ -1316,15 +1315,6 @@ uniq <- function(x) { if (length(u) == 1) u else x } -#' @export -# uniq.NULL <- function(x) { -# x -# } - -# # if TeX object convert to character first -# uniq.TeX <- function(x){ -# uniq(as.character(x)) -# } # theme(strip.background) -> plotly.js rect shape make_strip_rect <- function(xdom, ydom, theme, side = "top") { From 99cd9daedcbe6580cd246243a7d90d353d4c02e1 Mon Sep 17 00:00:00 2001 From: Abdessabour Moutik Date: Tue, 28 Sep 2021 08:03:56 -0700 Subject: [PATCH 07/13] R-CMD-CHECK warning resolved. --- R/ggplotly.R | 345 +++++++++++++++++++++++++-------------------------- 1 file changed, 170 insertions(+), 175 deletions(-) diff --git a/R/ggplotly.R b/R/ggplotly.R index 64ee334603..1cdc7b54ea 100644 --- a/R/ggplotly.R +++ b/R/ggplotly.R @@ -1,15 +1,15 @@ #' Convert ggplot2 to plotly #' -#' This function converts a [ggplot2::ggplot()] object to a -#' plotly object. -#' -#' @details Conversion of relative sizes depends on the size of the current -#' graphics device (if no device is open, width/height of a new (off-screen) +#' This function converts a [ggplot2::ggplot()] object to a +#' plotly object. +#' +#' @details Conversion of relative sizes depends on the size of the current +#' graphics device (if no device is open, width/height of a new (off-screen) #' device defaults to 640/480). In other words, `height` and #' `width` must be specified at runtime to ensure sizing is correct. -#' For examples on how to specify the output container's `height`/`width` in a +#' For examples on how to specify the output container's `height`/`width` in a #' shiny app, see `plotly_example("shiny", "ggplotly_sizing")`. -#' +#' #' #' @param p a ggplot object. #' @param width Width of the plot in pixels (optional, defaults to automatic sizing). @@ -20,14 +20,14 @@ #' also control the order they appear. For example, use #' `tooltip = c("y", "x", "colour")` if you want y first, x second, and #' colour last. -#' @param dynamicTicks should plotly.js dynamically generate axis tick labels? +#' @param dynamicTicks should plotly.js dynamically generate axis tick labels? #' Dynamic ticks are useful for updating ticks in response to zoom/pan -#' interactions; however, they can not always reproduce labels as they +#' interactions; however, they can not always reproduce labels as they #' would appear in the static ggplot2 image. #' @param layerData data from which layer should be returned? #' @param originalData should the "original" or "scaled" data be returned? -#' @param source a character string of length 1. Match the value of this string -#' with the source argument in [event_data()] to retrieve the +#' @param source a character string of length 1. Match the value of this string +#' with the source argument in [event_data()] to retrieve the #' event data corresponding to a specific plot (shiny apps can have multiple plots). #' @param ... arguments passed onto methods. #' @export @@ -36,7 +36,7 @@ #' @seealso [plot_ly()] #' @examples \dontrun{ #' # simple example -#' ggpenguins <- qplot(bill_length_mm , body_mass_g, +#' ggpenguins <- qplot(bill_length_mm , body_mass_g, #' data = palmerpenguins::penguins, color = species) #' ggplotly(ggpenguins) #' @@ -46,18 +46,18 @@ #' coord_equal() + #' geom_point(aes(text = name, size = pop), colour = "red", alpha = 1/2) #' ggplotly(viz, tooltip = c("text", "size")) -#' +#' #' # linked scatterplot brushing #' d <- highlight_key(mtcars) #' qplot(data = d, x = mpg, y = wt) %>% -#' subplot(qplot(data = d, x = mpg, y = vs)) %>% +#' subplot(qplot(data = d, x = mpg, y = vs)) %>% #' layout(title = "Click and drag to select points") %>% #' highlight("plotly_selected") -#' -#' +#' +#' #' # more brushing (i.e. highlighting) examples #' demo("crosstalk-highlight-ggplotly", package = "plotly") -#' +#' #' # client-side linked brushing in a scatterplot matrix #' highlight_key(palmerpenguins::penguins) %>% #' GGally::ggpairs(aes(colour = Species), columns = 1:4) %>% @@ -66,7 +66,7 @@ #' } #' ggplotly <- function(p = ggplot2::last_plot(), width = NULL, height = NULL, - tooltip = "all", dynamicTicks = FALSE, + tooltip = "all", dynamicTicks = FALSE, layerData = 1, originalData = TRUE, source = "A", ...) { UseMethod("ggplotly", p) } @@ -78,14 +78,14 @@ ggplotly.NULL <- function(...) { #' @export ggplotly.plotly <- function(p = ggplot2::last_plot(), width = NULL, height = NULL, - tooltip = "all", dynamicTicks = FALSE, + tooltip = "all", dynamicTicks = FALSE, layerData = 1, originalData = TRUE, source = "A", ...) { p } #' @export ggplotly.ggmatrix <- function(p = ggplot2::last_plot(), width = NULL, - height = NULL, tooltip = "all", dynamicTicks = FALSE, + height = NULL, tooltip = "all", dynamicTicks = FALSE, layerData = 1, originalData = TRUE, source = "A", ...) { dots <- list(...) # provide a sensible crosstalk if none is already provided (makes ggnostic() work at least) @@ -112,7 +112,7 @@ ggplotly.ggmatrix <- function(p = ggplot2::last_plot(), width = NULL, } columnList <- c( columnList, list(ggplotly( - thisPlot, tooltip = tooltip, dynamicTicks = dynamicTicks, + thisPlot, tooltip = tooltip, dynamicTicks = dynamicTicks, layerData = layerData, originalData = originalData, source = source, width = width, height = height )) @@ -124,8 +124,8 @@ ggplotly.ggmatrix <- function(p = ggplot2::last_plot(), width = NULL, titleY = TRUE, titleX = TRUE) subplotList <- c(subplotList, list(s)) } - s <- subplot(subplotList, nrows = 1, margin = 0.01, - titleY = TRUE, titleX = TRUE) %>% + s <- subplot(subplotList, nrows = 1, margin = 0.01, + titleY = TRUE, titleX = TRUE) %>% hide_legend() %>% layout(dragmode = "select") if (robust_nchar(p$title) > 0) { @@ -137,16 +137,16 @@ ggplotly.ggmatrix <- function(p = ggplot2::last_plot(), width = NULL, if (length(p$yAxisLabels)) { s$x$layout$margin$l <- s$x$layout$margin$l + 50 } - + config(s) } #' @export ggplotly.ggplot <- function(p = ggplot2::last_plot(), width = NULL, - height = NULL, tooltip = "all", dynamicTicks = FALSE, + height = NULL, tooltip = "all", dynamicTicks = FALSE, layerData = 1, originalData = TRUE, source = "A", ...) { - l <- gg2list(p, width = width, height = height, tooltip = tooltip, - dynamicTicks = dynamicTicks, layerData = layerData, + l <- gg2list(p, width = width, height = height, tooltip = tooltip, + dynamicTicks = dynamicTicks, layerData = layerData, originalData = originalData, source = source, ...) config(as_widget(l)) } @@ -160,31 +160,31 @@ ggplotly.ggplot <- function(p = ggplot2::last_plot(), width = NULL, #' (including the unofficial "text" aesthetic). #' @param dynamicTicks accepts the following values: `FALSE`, `TRUE`, `"x"`, or `"y"`. #' Dynamic ticks are useful for updating ticks in response to zoom/pan/filter -#' interactions; however, there is no guarantee they reproduce axis tick text +#' interactions; however, there is no guarantee they reproduce axis tick text #' as they would appear in the static ggplot2 image. #' @param layerData data from which layer should be returned? #' @param originalData should the "original" or "scaled" data be returned? -#' @param source a character string of length 1. Match the value of this string -#' with the source argument in [event_data()] to retrieve the +#' @param source a character string of length 1. Match the value of this string +#' with the source argument in [event_data()] to retrieve the #' event data corresponding to a specific plot (shiny apps can have multiple plots). #' @param ... currently not used #' @return a 'built' plotly object (list with names "data" and "layout"). #' @export -gg2list <- function(p, width = NULL, height = NULL, - tooltip = "all", dynamicTicks = FALSE, +gg2list <- function(p, width = NULL, height = NULL, + tooltip = "all", dynamicTicks = FALSE, layerData = 1, originalData = TRUE, source = "A", ...) { - + # To convert relative sizes correctly, we use grid::convertHeight(), # which requires a known output (device) size. dev_fun <- if (capabilities("aqua") || capabilities("png")) { grDevices::png } else if (capabilities("jpeg")) { - grDevices::jpeg + grDevices::jpeg } else if (system.file(package = "Cairo") != "") { Cairo::Cairo } else { stop( - "No Cairo or bitmap device is available. Such a graphics device is required to convert sizes correctly in ggplotly().\n\n", + "No Cairo or bitmap device is available. Such a graphics device is required to convert sizes correctly in ggplotly().\n\n", " You have two options:\n", " (1) install.packages('Cairo')\n", " (2) compile R to use a bitmap device (png or jpeg)", @@ -199,36 +199,36 @@ gg2list <- function(p, width = NULL, height = NULL, # open the device and make sure it closes on exit dev_fun(file = tempfile(), width = width %||% 640, height = height %||% 480) on.exit(grDevices::dev.off(), add = TRUE) - + # check the value of dynamicTicks dynamicValues <- c(FALSE, TRUE, "x", "y") if (length(setdiff(dynamicTicks, dynamicValues))) { stop( sprintf( - "`dynamicValues` accepts the following values: '%s'", + "`dynamicValues` accepts the following values: '%s'", paste(dynamicValues, collapse = "', '") ), call. = FALSE ) } - + # ------------------------------------------------------------------------ # Our internal version of ggplot2::ggplot_build(). Modified from # https://github.com/hadley/ggplot2/blob/0cd0ba/R/plot-build.r#L18-L92 # ------------------------------------------------------------------------ ggplotly_build <- function(p) { plot <- ggfun("plot_clone")(p) - + if (length(plot$layers) == 0) { plot <- plot + geom_blank() } layers <- plot$layers layer_data <- lapply(layers, function(y) y$layer_data(plot$data)) - + # save crosstalk sets before this attribute gets squashed sets <- lapply(layer_data, function(y) attr(y, "set")) - + scales <- plot$scales - + # Apply function to layer and matching data by_layer <- function(f) { out <- vector("list", length(data)) @@ -237,32 +237,32 @@ gg2list <- function(p, width = NULL, height = NULL, } out } - - # ggplot2 3.1.0.9000 introduced a Layer method named setup_layer() + + # ggplot2 3.1.0.9000 introduced a Layer method named setup_layer() # currently, LayerSf is the only core-ggplot2 Layer that makes use # of it https://github.com/tidyverse/ggplot2/pull/2875#issuecomment-438708426 data <- layer_data if (packageVersion("ggplot2") > "3.1.0") { data <- by_layer(function(l, d) if (is.function(l$setup_layer)) l$setup_layer(d, plot) else d) } - + # Initialise panels, add extra data for margins & missing facetting # variables, and add on a PANEL variable to data layout <- ggfun("create_layout")(plot$facet, plot$coordinates) data <- layout$setup(data, plot$data, plot$plot_env) - + # save the domain of the group for display in tooltips groupDomains <- Map(function(x, y) { aes_g <- y$mapping[["group"]] %||% plot$mapping[["group"]] tryNULL(rlang::eval_tidy(aes_g, x)) }, data, layers) - + # for simple (StatIdentity) geoms, add crosstalk key to aes mapping # (effectively adding it as a group) # later on, for more complicated geoms (w/ non-trivial summary statistics), # we construct a nested key mapping (within group) layers <- Map(function(x, y) { - if (crosstalk_key() %in% names(y) && !"key" %in% names(x[["mapping"]]) && + if (crosstalk_key() %in% names(y) && !"key" %in% names(x[["mapping"]]) && inherits(x[["stat"]], "StatIdentity")) { # ggplot2 v3.3.4 started using the computed_mapping (instead of mapping) # field to inform the compute_aesthetics() method, so in order to add @@ -273,17 +273,17 @@ gg2list <- function(p, width = NULL, height = NULL, } x }, layers, layer_data) - + # Compute aesthetics to produce data with generalised variable names data <- by_layer(function(l, d) l$compute_aesthetics(d, plot)) - + # add frame to group if it exists - data <- lapply(data, function(d) { + data <- lapply(data, function(d) { if (!"frame" %in% names(d)) return(d) d$group <- with(d, paste(group, frame, sep = "-")) d }) - + # The computed aesthetic codes the groups as integers # Here we build a map each of the integer values to the group label group_maps <- Map(function(x, y) { @@ -295,7 +295,7 @@ gg2list <- function(p, width = NULL, height = NULL, }, error = function(e) NULL ) }, data, groupDomains) - + # Before mapping x/y position, save the domain (for discrete scales) # to display in tooltip. data <- lapply(data, function(d) { @@ -303,44 +303,44 @@ gg2list <- function(p, width = NULL, height = NULL, d[["y_plotlyDomain"]] <- d[["y"]] d }) - + # Transform all scales data <- lapply(data, ggfun("scales_transform_df"), scales = scales) - + # Map and train positions so that statistics have access to ranges # and all positions are numeric scale_x <- function() scales$get_scales("x") scale_y <- function() scales$get_scales("y") - + layout$train_position(data, scale_x(), scale_y()) - + data <- layout$map_position(data) - + # build a mapping between group and key # if there are multiple keys within a group, the key is a list-column reComputeGroup <- function(x, layer = NULL) { # 1-to-1 link between data & visual marks -- group == key if (inherits(layer$geom, "GeomDotplot")) { x <- split(x, x[["PANEL"]]) - x <- lapply(x, function(d) { - d[["group"]] <- do.call("order", d[c("x", "group")]) - d + x <- lapply(x, function(d) { + d[["group"]] <- do.call("order", d[c("x", "group")]) + d }) x <- dplyr::bind_rows(x) } if (inherits(layer$geom, "GeomSf")) { x <- split(x, x[["PANEL"]]) - x <- lapply(x, function(d) { + x <- lapply(x, function(d) { d[["group"]] <- seq_len(nrow(d)) - d + d }) # I think this is safe? x <- suppressWarnings(dplyr::bind_rows(x)) } x } - - nestedKeys <- Map(function(x, y, z) { + + nestedKeys <- Map(function(x, y, z) { key <- y[[crosstalk_key()]] if (is.null(key) || inherits(z[["stat"]], "StatIdentity")) return(NULL) x <- reComputeGroup(x, z) @@ -351,19 +351,19 @@ gg2list <- function(p, width = NULL, height = NULL, nested$key <- lapply(nested$key, function(x) x[[1]]) nested }, data, layer_data, layers) - + # for some geoms (e.g. boxplots) plotly.js needs the "pre-statistics" data # we also now provide the option to return one of these two prestats_data <- data data <- by_layer(function(l, d) l$compute_statistic(d, layout)) data <- by_layer(function(l, d) l$map_statistic(d, plot)) - + # Make sure missing (but required) aesthetics are added ggfun("scales_add_missing")(plot, c("x", "y"), plot$plot_env) - + # Reparameterise geoms from (e.g.) y and width to ymin and ymax data <- by_layer(function(l, d) l$compute_geom_1(d)) - + # compute_geom_1 can reorder the rows from `data`, making groupDomains # invalid. We rebuild groupDomains based on the current `data` and the # group map we built before. @@ -373,14 +373,14 @@ gg2list <- function(p, width = NULL, height = NULL, }, error = function(e) NULL ) }, data, group_maps) - - # there are some geoms (e.g. geom_dotplot()) where attaching the key - # before applying the statistic can cause problems, but there is still a - # 1-to-1 corresponding between graphical marks and - + + # there are some geoms (e.g. geom_dotplot()) where attaching the key + # before applying the statistic can cause problems, but there is still a + # 1-to-1 corresponding between graphical marks and + # Apply position adjustments data <- by_layer(function(l, d) l$compute_position(d, layout)) - + # Reset position scales, then re-train and map. This ensures that facets # have control over the range of a plot: is it generated from what's # displayed, or does it include the range of underlying data @@ -388,7 +388,7 @@ gg2list <- function(p, width = NULL, height = NULL, layout$train_position(data, scale_x(), scale_y()) layout$setup_panel_params() data <- layout$map_position(data) - + # Train and map non-position scales npscales <- scales$non_position_scales() if (npscales$n() > 0) { @@ -406,34 +406,34 @@ gg2list <- function(p, width = NULL, height = NULL, } data <- lapply(data, ggfun("scales_map_df"), scales = npscales) } - + # Fill in defaults etc. data <- by_layer(function(l, d) l$compute_geom_2(d)) - + # Let layer stat have a final say before rendering data <- by_layer(function(l, d) l$finish_statistics(d)) - + # Let Layout modify data before rendering data <- layout$finish_data(data) - + # if necessary, attach key - data <- Map(function(x, y, z) { + data <- Map(function(x, y, z) { if (!length(y)) return(x) x <- reComputeGroup(x, z) # dplyr issue??? https://github.com/tidyverse/dplyr/issues/2701 attr(y$group, "n") <- NULL suppressMessages(dplyr::left_join(x, y)) }, data, nestedKeys, layers) - + structure( list( - data = data, layout = layout, plot = plot, + data = data, layout = layout, plot = plot, env = environment() - ), + ), class = "ggplot_built" ) } - + # Allow thematic to add new defaults to the plot object based on it's theme built <- if (isNamespaceLoaded("thematic")) { tns <- asNamespace("thematic") @@ -441,14 +441,14 @@ gg2list <- function(p, width = NULL, height = NULL, } else { ggplotly_build(p) } - + # Assign all the objects available to ggplotly_build() to this functions environment built_env <- built$env envir <- environment() for (var in ls(built_env)) { assign(var, built_env[[var]], envir = envir) } - + # initiate plotly.js layout with some plot-wide theming stuff theme <- ggfun("plot_theme")(plot) elements <- names(which(sapply(theme, inherits, "element"))) @@ -478,19 +478,19 @@ gg2list <- function(p, width = NULL, height = NULL, # ensure there's enough space for the modebar (this is based on a height of 1em) # https://github.com/plotly/plotly.js/blob/dd1547/src/components/modebar/index.js#L171 gglayout$margin$t <- gglayout$margin$t + 16 - + # important stuff like layout$panel_params is already flipped, but # plot$scales/plot$labels/data aren't. We flip x/y trace data at the very end # and scales in the axis loop below. if (inherits(plot$coordinates, "CoordFlip")) { plot$labels[c("x", "y")] <- plot$labels[c("y", "x")] } - + # important panel summary stats nPanels <- nrow(layout$layout) nRows <- max(layout$layout$ROW) nCols <- max(layout$layout$COL) - + # panel -> plotly.js axis/anchor info # (assume a grid layout by default) layout$layout <- dplyr::mutate( @@ -538,19 +538,19 @@ gg2list <- function(p, width = NULL, height = NULL, layout$layout$x_max <- sapply(layout$panel_params, function(z) { max(z[["x"]]$dimension %()% z$x.range %||% z$x_range) }) layout$layout$y_min <- sapply(layout$panel_params, function(z) { min(z[["y"]]$dimension %()% z$y.range %||% z$y_range) }) layout$layout$y_max <- sapply(layout$panel_params, function(z) { max(z[["y"]]$dimension %()% z$y.range %||% z$y_range) }) - + # layers -> plotly.js traces plot$tooltip <- tooltip data <- Map(function(x, y) { tryCatch({ x$group_plotlyDomain <- y; x }, error = function(e) x) }, data, groupDomains) - + # reattach crosstalk key-set attribute data <- Map(function(x, y) structure(x, set = y), data, sets) traces <- layers2traces(data, prestats_data, layout, plot) - + gglayout <- layers2layout(gglayout, layers, layout$layout) - + # default to just the text in hover info, mainly because of this # https://github.com/plotly/plotly.js/issues/320 traces <- lapply(traces, function(tr) { @@ -564,11 +564,11 @@ gg2list <- function(p, width = NULL, height = NULL, x$showlegend <- isTRUE(x$showlegend) && y x }, traces, !duplicated(grps)) - + # ------------------------------------------------------------------------ # axis/facet/margin conversion # ------------------------------------------------------------------------ - + # panel margins must be computed before panel/axis loops # (in order to use get_domains()) panelMarginX <- unitConvert( @@ -617,7 +617,7 @@ gg2list <- function(p, width = NULL, height = NULL, rep(panelMarginY, 2) ) doms <- get_domains(nPanels, nRows, margins) - + for (i in seq_len(nPanels)) { lay <- layout$layout[i, ] for (xy in c("x", "y")) { @@ -629,20 +629,20 @@ gg2list <- function(p, width = NULL, height = NULL, axisText <- theme_el("axis.text") axisTitle <- theme_el("axis.title") axisLine <- theme_el("axis.line") - panelGrid <- theme_el("panel.grid.major") %||% theme_el("panel.grid") + panelGrid <- theme_el("panel.grid.major") %||% theme_el("panel.grid") stripText <- theme_el("strip.text") - + axisName <- lay[, paste0(xy, "axis")] anchor <- lay[, paste0(xy, "anchor")] rng <- layout$panel_params[[i]] - + # panel_params is quite different for "CoordSf" if ("CoordSf" %in% class(p$coordinates)) { # see CoordSf$render_axis_v direction <- if (xy == "x") "E" else "N" - idx <- rng$graticule$type == direction & + idx <- rng$graticule$type == direction & !is.na(rng$graticule$degree_label) & - # Respect the logical 'plot12' column which sf constructs for + # Respect the logical 'plot12' column which sf constructs for # determining which tick labels should be drawn # https://github.com/r-spatial/sf/blob/b49d37/R/graticule.R#L199 # https://github.com/r-spatial/sf/blob/52a8351/R/plot.R#L580 @@ -650,27 +650,27 @@ gg2list <- function(p, width = NULL, height = NULL, tickData <- rng$graticule[idx, ] # TODO: how to convert a language object to unicode character string? rng[[paste0(xy, ".labels")]] <- sub( - "\\*\\s+degree[ ]?[\\*]?", "°", + "\\*\\s+degree[ ]?[\\*]?", "°", gsub("\"", "", tickData[["degree_label"]]) ) rng[[paste0(xy, ".major")]] <- tickData[[paste0(xy, "_start")]] - - # If it doesn't already exist (for this panel), + + # If it doesn't already exist (for this panel), # generate graticule (as done in, CoordSf$render_bg) isGrill <- vapply(traces, function(tr) { - identical(tr$xaxis, lay$xaxis) && + identical(tr$xaxis, lay$xaxis) && identical(tr$yaxis, lay$yaxis) && isTRUE(tr$`_isGraticule`) }, logical(1)) - + if (sum(isGrill) == 0) { # TODO: reduce the number of points (via coord_munch?) d <- fortify_sf(rng$graticule) d$x <- scales::rescale(d$x, rng$x_range, from = c(0, 1)) d$y <- scales::rescale(d$y, rng$y_range, from = c(0, 1)) params <- list( - colour = panelGrid$colour, - size = panelGrid$size, + colour = panelGrid$colour, + size = panelGrid$size, linetype = panelGrid$linetype ) grill <- geom2trace.GeomPath(d, params) @@ -679,17 +679,17 @@ gg2list <- function(p, width = NULL, height = NULL, grill$`_isGraticule` <- TRUE grill$xaxis <- sub("axis", "", lay$xaxis) grill$yaxis <- sub("axis", "", lay$yaxis) - + traces <- c(list(grill), traces) } - + # if labels are empty, don't show axis ticks tickExists <- with(rng$graticule, sapply(degree_label, is.language)) if (sum(tickExists) == 0) { theme$axis.ticks.length <- 0 } } - + # stuff like layout$panel_params is already flipped, but scales aren't sc <- if (inherits(plot$coordinates, "CoordFlip")) { scales$get_scales(setdiff(c("x", "y"), xy)) @@ -701,12 +701,12 @@ gg2list <- function(p, width = NULL, height = NULL, # get axis title axisTitleText <- sc$name %||% plot$labels[[xy]] %||% "" if (is_blank(axisTitle)) axisTitleText <- "" - + # is this axis dynamic? isDynamic <- isTRUE(dynamicTicks) || identical(dynamicTicks, xy) if (isDynamic && !p$coordinates$is_linear()) { warning( - "`dynamicTicks` is only supported for linear (i.e., cartesian) coordinates", + "`dynamicTicks` is only supported for linear (i.e., cartesian) coordinates", call. = FALSE ) } @@ -716,15 +716,15 @@ gg2list <- function(p, width = NULL, height = NULL, isDateType <- isDynamic && isDate isDiscrete <- identical(sc$scale_name, "position_d") isDiscreteType <- isDynamic && isDiscrete - + ticktext <- rng[[xy]]$get_labels %()% rng[[paste0(xy, ".labels")]] tickvals <- rng[[xy]]$break_positions %()% rng[[paste0(xy, ".major")]] - + # https://github.com/tidyverse/ggplot2/pull/3566#issuecomment-565085809 hasTickText <- !(is.na(ticktext) | is.na(tickvals)) ticktext <- ticktext[hasTickText] tickvals <- tickvals[hasTickText] - + axisObj <- list( # TODO: log type? type = if (isDateType) "date" else if (isDiscreteType) "category" else "linear", @@ -759,16 +759,16 @@ gg2list <- function(p, width = NULL, height = NULL, font = text2font(axisTitle) ) ) - + # set scaleanchor/scaleratio if these are fixed coordinates # the logic here is similar to what p$coordinates$aspect() does, - # but the ratio is scaled to the data range by plotly.js + # but the ratio is scaled to the data range by plotly.js fixed_coords <- c("CoordSf", "CoordFixed", "CoordMap", "CoordQuickmap") if (inherits(p$coordinates, fixed_coords)) { axisObj$scaleanchor <- anchor ratio <- p$coordinates$ratio %||% 1 axisObj$scaleratio <- if (xy == "y") ratio else 1 / ratio - + if (inherits(p$coordinates, "CoordSf")) { if (isTRUE(sf::st_is_longlat(rng$crs))) { ratio <- cos(mean(rng$y_range) * pi/180) @@ -777,24 +777,24 @@ gg2list <- function(p, width = NULL, height = NULL, axisObj$scaleratio <- if (xy == "y") 1 / ratio else ratio } } - - # TODO: seems like we _could_ support this with scaleanchors, + + # TODO: seems like we _could_ support this with scaleanchors, # but inverse transform by the panel ranges? # also, note how aspect.ratio overwrites fixed coordinates: # ggplot(mtcars, aes(wt, mpg)) + geom_point() + coord_fixed(0.5) # ggplot(mtcars, aes(wt, mpg)) + geom_point() + coord_fixed(0.5) + theme(aspect.ratio = 1) if (!is.null(theme$aspect.ratio)) { warning( - "Aspect ratios aren't yet implemented, but you can manually set", + "Aspect ratios aren't yet implemented, but you can manually set", " a suitable height/width", call. = FALSE ) } - + # tickvals are currently on 0-1 scale, but we want them on data scale axisObj$tickvals <- scales::rescale( axisObj$tickvals, to = axisObj$range, from = c(0, 1) ) - + # inverse transform date data based on tickvals/ticktext invert_date <- function(x, scale) { if (inherits(scale, "ScaleContinuousDatetime")) { @@ -803,7 +803,7 @@ gg2list <- function(p, width = NULL, height = NULL, as.Date(x, origin = "1970-01-01", tz = scale$timezone) } } - + if (isDateType) { axisObj$range <- invert_date(axisObj$range, sc) traces <- lapply(traces, function(tr) { @@ -815,10 +815,10 @@ gg2list <- function(p, width = NULL, height = NULL, tr }) } - + # inverse transform categorical data based on tickvals/ticktext if (isDiscreteType) { - traces <- lapply(traces, function(tr) { + traces <- lapply(traces, function(tr) { # map x/y trace data back to the 'closest' ticktext label # http://r.789695.n4.nabble.com/check-for-nearest-value-in-a-vector-td4369339.html tr[[xy]]<- vapply(tr[[xy]], function(val) { @@ -828,10 +828,10 @@ gg2list <- function(p, width = NULL, height = NULL, }) if ("dodge" %in% sapply(layers, ggtype, "position")) gglayout$barmode <- "dodge" } - + # attach axis object to the layout gglayout[[axisName]] <- axisObj - + # do some stuff that should be done once for the entire plot is_x <- xy == "x" if (i == 1) { @@ -844,14 +844,14 @@ gg2list <- function(p, width = NULL, height = NULL, gglayout$margin[[side]] <- gglayout$margin[[side]] + axisObj$ticklen + bbox(axisTickText, axisObj$tickangle, axisObj$tickfont$size)[[type]] + bbox(axisTitleText, axisTitle$angle, unitConvert(axisTitle, "pixels", type))[[type]] - + if (robust_nchar(axisTitleText) > 0) { axisTextSize <- unitConvert(axisText, "npc", type) axisTitleSize <- unitConvert(axisTitle, "npc", type) } - + # add space for exterior facet strips in `layout.margin` - + if (has_facet(plot)) { stripSize <- unitConvert(stripText, "pixels", type) if (is_x) { @@ -864,15 +864,15 @@ gg2list <- function(p, width = NULL, height = NULL, # so we empty the titles and try to draw the title as an annotation if (robust_nchar(axisTitleText) > 0) { axisAnn <- make_label( - faced(axisTitleText, axisTitle$face), + faced(axisTitleText, axisTitle$face), el = axisTitle, x = if (is_x) 0.5 else 0, y = if (is_x) 0 else 0.5, - xanchor = if (is_x) "center" else "right", - yanchor = if (is_x) "top" else "center", + xanchor = if (is_x) "center" else "right", + yanchor = if (is_x) "top" else "center", annotationType = "axis" ) - + textMargin <- sum(axisText$margin[if (is_x) c(1, 3) else c(2, 4)]) class(textMargin) <- setdiff(class(textMargin), "margin") titleMargin <- axisTitle$margin[if (is_x) 1 else 2] @@ -881,9 +881,9 @@ gg2list <- function(p, width = NULL, height = NULL, unitConvert(theme$axis.ticks.length, "npc", type) + unitConvert(textMargin, "npc", type) + unitConvert(titleMargin, "npc", type) - + offset <- unitConvert(grid::unit(offset, "npc"), "pixels", type) - + shift <- if (is_x) "yshift" else "xshift" axisAnn[[1]][[shift]] <- -1 * offset gglayout$annotations <- c(gglayout$annotations, axisAnn) @@ -892,13 +892,13 @@ gg2list <- function(p, width = NULL, height = NULL, } if (has_facet(plot)) gglayout[[axisName]]$title <- "" } # end of axis loop - + # theme(panel.border = ) -> plotly rect shape xdom <- gglayout[[lay[, "xaxis"]]]$domain ydom <- gglayout[[lay[, "yaxis"]]]$domain border <- make_panel_border(xdom, ydom, theme) gglayout$shapes <- c(gglayout$shapes, border) - + # facet strips -> plotly annotations if (has_facet(plot)) { col_vars <- ifelse(inherits(plot$facet, "FacetWrap"), "facets", "cols") @@ -938,8 +938,8 @@ gg2list <- function(p, width = NULL, height = NULL, } } } # end of panel loop - - + + # ------------------------------------------------------------------------ # guide conversion # Strategy: Obtain and translate the output of ggplot2:::guides_train(). @@ -947,7 +947,7 @@ gg2list <- function(p, width = NULL, height = NULL, # ------------------------------------------------------------------------ # will there be a legend? gglayout$showlegend <- sum(unlist(lapply(traces, "[[", "showlegend"))) >= 1 - + # legend styling gglayout$legend <- list( bgcolor = toRGB(theme$legend.background$fill), @@ -955,18 +955,18 @@ gg2list <- function(p, width = NULL, height = NULL, borderwidth = unitConvert(theme$legend.background$size, "pixels", "width"), font = text2font(theme$legend.text) ) - + # if theme(legend.position = "none") is used, don't show a legend _or_ guide if (npscales$n() == 0 || identical(theme$legend.position, "none")) { gglayout$showlegend <- FALSE } else { # by default, guide boxes are vertically aligned theme$legend.box <- theme$legend.box %||% "vertical" - + # size of key (also used for bar in colorbar guide) theme$legend.key.width <- theme$legend.key.width %||% theme$legend.key.size theme$legend.key.height <- theme$legend.key.height %||% theme$legend.key.size - + # legend direction must be vertical theme$legend.direction <- theme$legend.direction %||% "vertical" if (!identical(theme$legend.direction, "vertical")) { @@ -978,7 +978,7 @@ gg2list <- function(p, width = NULL, height = NULL, ) theme$legend.direction <- "vertical" } - + # justification of legend boxes theme$legend.box.just <- theme$legend.box.just %||% c("center", "center") # scales -> data for guides @@ -987,7 +987,7 @@ gg2list <- function(p, width = NULL, height = NULL, gdefs <- ggfun("guides_merge")(gdefs) gdefs <- ggfun("guides_geom")(gdefs, layers, plot$mapping) } - + # colourbar -> plotly.js colorbar colorbar <- compact(lapply(gdefs, gdef2trace, theme, gglayout)) nguides <- length(colorbar) + gglayout$showlegend @@ -1004,7 +1004,7 @@ gg2list <- function(p, width = NULL, height = NULL, } } traces <- c(traces, colorbar) - + legendTitles <- compact(lapply(gdefs, function(g) if (inherits(g, "legend")) g$title else NULL)) legendTitle <- paste(legendTitles, collapse = br()) gglayout$legend$title <- list( @@ -1012,7 +1012,7 @@ gg2list <- function(p, width = NULL, height = NULL, font = text2font(theme$legend.title) ) } - + # flip x/y in traces for flipped coordinates # (we've already done appropriate flipping for axis objects) if (inherits(plot$coordinates, "CoordFlip")) { @@ -1028,7 +1028,7 @@ gg2list <- function(p, width = NULL, height = NULL, names(traces[[i]])[grepl("^error_x$", names(tr))] <- "error_y" } } - + # Error bar widths in ggplot2 are on the range of the x/y scale, # but plotly wants them in pixels: for (xy in c("x", "y")) { @@ -1043,7 +1043,7 @@ gg2list <- function(p, width = NULL, height = NULL, } } } - + # try to merge marker/line traces that have the same values for these props props <- c("x", "y", "text", "type", "xaxis", "yaxis", "name") hashes <- vapply(traces, function(x) digest::digest(x[names(x) %in% props]), character(1)) @@ -1055,7 +1055,7 @@ gg2list <- function(p, width = NULL, height = NULL, idx <- which(hashes %in% i) mergedTraces[[i]] <- Reduce(modify_list, traces[idx]) mergedTraces[[i]]$mode <- paste( - unique(unlist(lapply(traces[idx], "[[", "mode"))), + unique(unlist(lapply(traces[idx], "[[", "mode"))), collapse = "+" ) # show one, show all @@ -1066,7 +1066,7 @@ gg2list <- function(p, width = NULL, height = NULL, } traces <- mergedTraces } - + # better layout defaults (TODO: provide a mechanism for templating defaults) gglayout$hovermode <- "closest" ax <- grep("^[x-y]axis", names(gglayout)) @@ -1075,11 +1075,11 @@ gg2list <- function(p, width = NULL, height = NULL, } # If a trace isn't named, it shouldn't have additional hoverinfo traces <- lapply(compact(traces), function(x) { x$name <- x$name %||% ""; x }) - + gglayout$width <- width %|D|% NULL gglayout$height <- height %|D|% NULL gglayout$barmode <- gglayout$barmode %||% "relative" - + l <- list( data = setNames(traces, NULL), layout = compact(gglayout), @@ -1092,7 +1092,7 @@ gg2list <- function(p, width = NULL, height = NULL, # returns list element with their 'AsIs' class, # which conflicts with our JSON unboxing strategy. l <- rm_asis(l) - + # start build a plotly object with meta information about the ggplot # first, translate layer mappings -> plotly attrs mappingFormulas <- lapply(layers, function(x) { @@ -1104,24 +1104,24 @@ gg2list <- function(p, width = NULL, height = NULL, setNames(lapply(nms, function(x) lazyeval::f_new(as.name(x))), nms) } }) - + return_dat <- if (originalData) layer_data else data - + # translate group aesthetics to data attributes return_dat <- Map(function(x, y) { if (is.null(y[["group"]])) return(x) dplyr::group_by(x, !!rlang::as_quosure(y[["group"]])) }, return_dat, mappingFormulas) - + # don't need to add group as an attribute anymore mappingFormulas <- lapply(mappingFormulas, function(x) x[!grepl("^group$", names(x))]) - + ids <- lapply(seq_along(data), function(x) new_id()) l$attrs <- setNames(mappingFormulas, ids) l$attrs <- lapply(l$attrs, function(x) structure(x, class = "plotly_eval")) # the build step removes the first attrs if no type exists l$attrs[[1]][["type"]] <- l$data[[1]][["type"]] %||% "scatter" - + l$cur_data <- ids[[layerData]] l$visdat <- setNames(lapply(return_dat, function(x) function(y) x), ids) @@ -1140,7 +1140,7 @@ utils::globalVariables(c("groupDomains", "layers", "prestats_data", "scales", "s # convert ggplot2 sizes and grid unit(s) to pixels or normalized point coordinates unitConvert <- function(u, to = c("npc", "pixels"), type = c("x", "y", "height", "width")) { u <- verifyUnit(u) - + convert <- switch( type[1], x = grid::convertX, @@ -1179,10 +1179,10 @@ mm2pixels <- function(u) { } (as.numeric(u) * 96) / 25.4 } - + verifyUnit <- function(u) { if (grid::is.unit(u)) return(u) - + ## the default unit in ggplot2 is millimeters (unless it's element_text()) if (inherits(u, "element")) { grid::unit(u$size %||% 0, "points") @@ -1278,8 +1278,8 @@ font_family <- function(family = "") { if (!length(font)) { return("") } - # font$families is a vector of families, but font.family wants to be a - # string (like CSS font-family), so make sure the names are unquoted, + # font$families is a vector of families, but font.family wants to be a + # string (like CSS font-family), so make sure the names are unquoted, # then quote them families <- sub("'$", "", sub("^'", "", font$families)) sprintf("'%s'", paste(families, collapse = "', '")) @@ -1300,11 +1300,6 @@ faced <- function(txt, face = "plain") { bold <- function(x) paste("", x, "") italic <- function(x) paste("", x, "") -# generic S3 method to allow for class specific implementations -#' @export -uniq <- function(x){ - UseMethod("uniq", x) -} # if a vector that has one unique value (ignoring missings), return that value uniq <- function(x) { @@ -1320,12 +1315,12 @@ uniq <- function(x) { make_strip_rect <- function(xdom, ydom, theme, side = "top") { rekt <- rect2shape(theme[["strip.background"]]) stripTextX <- theme[["strip.text.x"]] %||% theme[["strip.text"]] - topSize <- + topSize <- mm2pixels(grid::convertHeight(stripTextX$margin[1], "mm")) + mm2pixels(grid::convertHeight(stripTextX$margin[3], "mm")) + mm2pixels(grid::convertHeight(grid::unit(stripTextX$size, units = "points"), "mm")) stripTextY <- theme[["strip.text.y"]] %||% theme[["strip.text"]] - rightSize <- + rightSize <- mm2pixels(grid::convertWidth(stripTextX$margin[2], "mm")) + mm2pixels(grid::convertWidth(stripTextX$margin[4], "mm")) + mm2pixels(grid::convertWidth(grid::unit(stripTextY$size, units = "points"), "mm")) From e27621cd51cdc34e46bb2d26d4e43ae4f34af6ea Mon Sep 17 00:00:00 2001 From: Abdessabour Moutik Date: Tue, 28 Sep 2021 15:01:19 -0700 Subject: [PATCH 08/13] Conformed with the review --- NAMESPACE | 1 - R/ggplotly.R | 344 +++++++++++++++++++++++++-------------------------- 2 files changed, 171 insertions(+), 174 deletions(-) diff --git a/NAMESPACE b/NAMESPACE index 85ce65acdf..eb46d4c658 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -188,7 +188,6 @@ export(to_basic) export(transmute) export(transmute_) export(ungroup) -export(uniq) import(ggplot2) importFrom(data.table,as.data.table) importFrom(data.table,setorderv) diff --git a/R/ggplotly.R b/R/ggplotly.R index 1cdc7b54ea..2f88c76c83 100644 --- a/R/ggplotly.R +++ b/R/ggplotly.R @@ -1,15 +1,15 @@ #' Convert ggplot2 to plotly #' -#' This function converts a [ggplot2::ggplot()] object to a -#' plotly object. -#' -#' @details Conversion of relative sizes depends on the size of the current -#' graphics device (if no device is open, width/height of a new (off-screen) +#' This function converts a [ggplot2::ggplot()] object to a +#' plotly object. +#' +#' @details Conversion of relative sizes depends on the size of the current +#' graphics device (if no device is open, width/height of a new (off-screen) #' device defaults to 640/480). In other words, `height` and #' `width` must be specified at runtime to ensure sizing is correct. -#' For examples on how to specify the output container's `height`/`width` in a +#' For examples on how to specify the output container's `height`/`width` in a #' shiny app, see `plotly_example("shiny", "ggplotly_sizing")`. -#' +#' #' #' @param p a ggplot object. #' @param width Width of the plot in pixels (optional, defaults to automatic sizing). @@ -20,14 +20,14 @@ #' also control the order they appear. For example, use #' `tooltip = c("y", "x", "colour")` if you want y first, x second, and #' colour last. -#' @param dynamicTicks should plotly.js dynamically generate axis tick labels? +#' @param dynamicTicks should plotly.js dynamically generate axis tick labels? #' Dynamic ticks are useful for updating ticks in response to zoom/pan -#' interactions; however, they can not always reproduce labels as they +#' interactions; however, they can not always reproduce labels as they #' would appear in the static ggplot2 image. #' @param layerData data from which layer should be returned? #' @param originalData should the "original" or "scaled" data be returned? -#' @param source a character string of length 1. Match the value of this string -#' with the source argument in [event_data()] to retrieve the +#' @param source a character string of length 1. Match the value of this string +#' with the source argument in [event_data()] to retrieve the #' event data corresponding to a specific plot (shiny apps can have multiple plots). #' @param ... arguments passed onto methods. #' @export @@ -36,7 +36,7 @@ #' @seealso [plot_ly()] #' @examples \dontrun{ #' # simple example -#' ggpenguins <- qplot(bill_length_mm , body_mass_g, +#' ggpenguins <- qplot(bill_length_mm , body_mass_g, #' data = palmerpenguins::penguins, color = species) #' ggplotly(ggpenguins) #' @@ -46,18 +46,18 @@ #' coord_equal() + #' geom_point(aes(text = name, size = pop), colour = "red", alpha = 1/2) #' ggplotly(viz, tooltip = c("text", "size")) -#' +#' #' # linked scatterplot brushing #' d <- highlight_key(mtcars) #' qplot(data = d, x = mpg, y = wt) %>% -#' subplot(qplot(data = d, x = mpg, y = vs)) %>% +#' subplot(qplot(data = d, x = mpg, y = vs)) %>% #' layout(title = "Click and drag to select points") %>% #' highlight("plotly_selected") -#' -#' +#' +#' #' # more brushing (i.e. highlighting) examples #' demo("crosstalk-highlight-ggplotly", package = "plotly") -#' +#' #' # client-side linked brushing in a scatterplot matrix #' highlight_key(palmerpenguins::penguins) %>% #' GGally::ggpairs(aes(colour = Species), columns = 1:4) %>% @@ -66,7 +66,7 @@ #' } #' ggplotly <- function(p = ggplot2::last_plot(), width = NULL, height = NULL, - tooltip = "all", dynamicTicks = FALSE, + tooltip = "all", dynamicTicks = FALSE, layerData = 1, originalData = TRUE, source = "A", ...) { UseMethod("ggplotly", p) } @@ -78,14 +78,14 @@ ggplotly.NULL <- function(...) { #' @export ggplotly.plotly <- function(p = ggplot2::last_plot(), width = NULL, height = NULL, - tooltip = "all", dynamicTicks = FALSE, + tooltip = "all", dynamicTicks = FALSE, layerData = 1, originalData = TRUE, source = "A", ...) { p } #' @export ggplotly.ggmatrix <- function(p = ggplot2::last_plot(), width = NULL, - height = NULL, tooltip = "all", dynamicTicks = FALSE, + height = NULL, tooltip = "all", dynamicTicks = FALSE, layerData = 1, originalData = TRUE, source = "A", ...) { dots <- list(...) # provide a sensible crosstalk if none is already provided (makes ggnostic() work at least) @@ -112,7 +112,7 @@ ggplotly.ggmatrix <- function(p = ggplot2::last_plot(), width = NULL, } columnList <- c( columnList, list(ggplotly( - thisPlot, tooltip = tooltip, dynamicTicks = dynamicTicks, + thisPlot, tooltip = tooltip, dynamicTicks = dynamicTicks, layerData = layerData, originalData = originalData, source = source, width = width, height = height )) @@ -124,8 +124,8 @@ ggplotly.ggmatrix <- function(p = ggplot2::last_plot(), width = NULL, titleY = TRUE, titleX = TRUE) subplotList <- c(subplotList, list(s)) } - s <- subplot(subplotList, nrows = 1, margin = 0.01, - titleY = TRUE, titleX = TRUE) %>% + s <- subplot(subplotList, nrows = 1, margin = 0.01, + titleY = TRUE, titleX = TRUE) %>% hide_legend() %>% layout(dragmode = "select") if (robust_nchar(p$title) > 0) { @@ -137,16 +137,16 @@ ggplotly.ggmatrix <- function(p = ggplot2::last_plot(), width = NULL, if (length(p$yAxisLabels)) { s$x$layout$margin$l <- s$x$layout$margin$l + 50 } - + config(s) } #' @export ggplotly.ggplot <- function(p = ggplot2::last_plot(), width = NULL, - height = NULL, tooltip = "all", dynamicTicks = FALSE, + height = NULL, tooltip = "all", dynamicTicks = FALSE, layerData = 1, originalData = TRUE, source = "A", ...) { - l <- gg2list(p, width = width, height = height, tooltip = tooltip, - dynamicTicks = dynamicTicks, layerData = layerData, + l <- gg2list(p, width = width, height = height, tooltip = tooltip, + dynamicTicks = dynamicTicks, layerData = layerData, originalData = originalData, source = source, ...) config(as_widget(l)) } @@ -160,31 +160,31 @@ ggplotly.ggplot <- function(p = ggplot2::last_plot(), width = NULL, #' (including the unofficial "text" aesthetic). #' @param dynamicTicks accepts the following values: `FALSE`, `TRUE`, `"x"`, or `"y"`. #' Dynamic ticks are useful for updating ticks in response to zoom/pan/filter -#' interactions; however, there is no guarantee they reproduce axis tick text +#' interactions; however, there is no guarantee they reproduce axis tick text #' as they would appear in the static ggplot2 image. #' @param layerData data from which layer should be returned? #' @param originalData should the "original" or "scaled" data be returned? -#' @param source a character string of length 1. Match the value of this string -#' with the source argument in [event_data()] to retrieve the +#' @param source a character string of length 1. Match the value of this string +#' with the source argument in [event_data()] to retrieve the #' event data corresponding to a specific plot (shiny apps can have multiple plots). #' @param ... currently not used #' @return a 'built' plotly object (list with names "data" and "layout"). #' @export -gg2list <- function(p, width = NULL, height = NULL, - tooltip = "all", dynamicTicks = FALSE, +gg2list <- function(p, width = NULL, height = NULL, + tooltip = "all", dynamicTicks = FALSE, layerData = 1, originalData = TRUE, source = "A", ...) { - + # To convert relative sizes correctly, we use grid::convertHeight(), # which requires a known output (device) size. dev_fun <- if (capabilities("aqua") || capabilities("png")) { grDevices::png } else if (capabilities("jpeg")) { - grDevices::jpeg + grDevices::jpeg } else if (system.file(package = "Cairo") != "") { Cairo::Cairo } else { stop( - "No Cairo or bitmap device is available. Such a graphics device is required to convert sizes correctly in ggplotly().\n\n", + "No Cairo or bitmap device is available. Such a graphics device is required to convert sizes correctly in ggplotly().\n\n", " You have two options:\n", " (1) install.packages('Cairo')\n", " (2) compile R to use a bitmap device (png or jpeg)", @@ -199,36 +199,36 @@ gg2list <- function(p, width = NULL, height = NULL, # open the device and make sure it closes on exit dev_fun(file = tempfile(), width = width %||% 640, height = height %||% 480) on.exit(grDevices::dev.off(), add = TRUE) - + # check the value of dynamicTicks dynamicValues <- c(FALSE, TRUE, "x", "y") if (length(setdiff(dynamicTicks, dynamicValues))) { stop( sprintf( - "`dynamicValues` accepts the following values: '%s'", + "`dynamicValues` accepts the following values: '%s'", paste(dynamicValues, collapse = "', '") ), call. = FALSE ) } - + # ------------------------------------------------------------------------ # Our internal version of ggplot2::ggplot_build(). Modified from # https://github.com/hadley/ggplot2/blob/0cd0ba/R/plot-build.r#L18-L92 # ------------------------------------------------------------------------ ggplotly_build <- function(p) { plot <- ggfun("plot_clone")(p) - + if (length(plot$layers) == 0) { plot <- plot + geom_blank() } layers <- plot$layers layer_data <- lapply(layers, function(y) y$layer_data(plot$data)) - + # save crosstalk sets before this attribute gets squashed sets <- lapply(layer_data, function(y) attr(y, "set")) - + scales <- plot$scales - + # Apply function to layer and matching data by_layer <- function(f) { out <- vector("list", length(data)) @@ -237,32 +237,32 @@ gg2list <- function(p, width = NULL, height = NULL, } out } - - # ggplot2 3.1.0.9000 introduced a Layer method named setup_layer() + + # ggplot2 3.1.0.9000 introduced a Layer method named setup_layer() # currently, LayerSf is the only core-ggplot2 Layer that makes use # of it https://github.com/tidyverse/ggplot2/pull/2875#issuecomment-438708426 data <- layer_data if (packageVersion("ggplot2") > "3.1.0") { data <- by_layer(function(l, d) if (is.function(l$setup_layer)) l$setup_layer(d, plot) else d) } - + # Initialise panels, add extra data for margins & missing facetting # variables, and add on a PANEL variable to data layout <- ggfun("create_layout")(plot$facet, plot$coordinates) data <- layout$setup(data, plot$data, plot$plot_env) - + # save the domain of the group for display in tooltips groupDomains <- Map(function(x, y) { aes_g <- y$mapping[["group"]] %||% plot$mapping[["group"]] tryNULL(rlang::eval_tidy(aes_g, x)) }, data, layers) - + # for simple (StatIdentity) geoms, add crosstalk key to aes mapping # (effectively adding it as a group) # later on, for more complicated geoms (w/ non-trivial summary statistics), # we construct a nested key mapping (within group) layers <- Map(function(x, y) { - if (crosstalk_key() %in% names(y) && !"key" %in% names(x[["mapping"]]) && + if (crosstalk_key() %in% names(y) && !"key" %in% names(x[["mapping"]]) && inherits(x[["stat"]], "StatIdentity")) { # ggplot2 v3.3.4 started using the computed_mapping (instead of mapping) # field to inform the compute_aesthetics() method, so in order to add @@ -273,17 +273,17 @@ gg2list <- function(p, width = NULL, height = NULL, } x }, layers, layer_data) - + # Compute aesthetics to produce data with generalised variable names data <- by_layer(function(l, d) l$compute_aesthetics(d, plot)) - + # add frame to group if it exists - data <- lapply(data, function(d) { + data <- lapply(data, function(d) { if (!"frame" %in% names(d)) return(d) d$group <- with(d, paste(group, frame, sep = "-")) d }) - + # The computed aesthetic codes the groups as integers # Here we build a map each of the integer values to the group label group_maps <- Map(function(x, y) { @@ -295,7 +295,7 @@ gg2list <- function(p, width = NULL, height = NULL, }, error = function(e) NULL ) }, data, groupDomains) - + # Before mapping x/y position, save the domain (for discrete scales) # to display in tooltip. data <- lapply(data, function(d) { @@ -303,44 +303,44 @@ gg2list <- function(p, width = NULL, height = NULL, d[["y_plotlyDomain"]] <- d[["y"]] d }) - + # Transform all scales data <- lapply(data, ggfun("scales_transform_df"), scales = scales) - + # Map and train positions so that statistics have access to ranges # and all positions are numeric scale_x <- function() scales$get_scales("x") scale_y <- function() scales$get_scales("y") - + layout$train_position(data, scale_x(), scale_y()) - + data <- layout$map_position(data) - + # build a mapping between group and key # if there are multiple keys within a group, the key is a list-column reComputeGroup <- function(x, layer = NULL) { # 1-to-1 link between data & visual marks -- group == key if (inherits(layer$geom, "GeomDotplot")) { x <- split(x, x[["PANEL"]]) - x <- lapply(x, function(d) { - d[["group"]] <- do.call("order", d[c("x", "group")]) - d + x <- lapply(x, function(d) { + d[["group"]] <- do.call("order", d[c("x", "group")]) + d }) x <- dplyr::bind_rows(x) } if (inherits(layer$geom, "GeomSf")) { x <- split(x, x[["PANEL"]]) - x <- lapply(x, function(d) { + x <- lapply(x, function(d) { d[["group"]] <- seq_len(nrow(d)) - d + d }) # I think this is safe? x <- suppressWarnings(dplyr::bind_rows(x)) } x } - - nestedKeys <- Map(function(x, y, z) { + + nestedKeys <- Map(function(x, y, z) { key <- y[[crosstalk_key()]] if (is.null(key) || inherits(z[["stat"]], "StatIdentity")) return(NULL) x <- reComputeGroup(x, z) @@ -351,19 +351,19 @@ gg2list <- function(p, width = NULL, height = NULL, nested$key <- lapply(nested$key, function(x) x[[1]]) nested }, data, layer_data, layers) - + # for some geoms (e.g. boxplots) plotly.js needs the "pre-statistics" data # we also now provide the option to return one of these two prestats_data <- data data <- by_layer(function(l, d) l$compute_statistic(d, layout)) data <- by_layer(function(l, d) l$map_statistic(d, plot)) - + # Make sure missing (but required) aesthetics are added ggfun("scales_add_missing")(plot, c("x", "y"), plot$plot_env) - + # Reparameterise geoms from (e.g.) y and width to ymin and ymax data <- by_layer(function(l, d) l$compute_geom_1(d)) - + # compute_geom_1 can reorder the rows from `data`, making groupDomains # invalid. We rebuild groupDomains based on the current `data` and the # group map we built before. @@ -373,14 +373,14 @@ gg2list <- function(p, width = NULL, height = NULL, }, error = function(e) NULL ) }, data, group_maps) - - # there are some geoms (e.g. geom_dotplot()) where attaching the key - # before applying the statistic can cause problems, but there is still a - # 1-to-1 corresponding between graphical marks and - + + # there are some geoms (e.g. geom_dotplot()) where attaching the key + # before applying the statistic can cause problems, but there is still a + # 1-to-1 corresponding between graphical marks and + # Apply position adjustments data <- by_layer(function(l, d) l$compute_position(d, layout)) - + # Reset position scales, then re-train and map. This ensures that facets # have control over the range of a plot: is it generated from what's # displayed, or does it include the range of underlying data @@ -388,7 +388,7 @@ gg2list <- function(p, width = NULL, height = NULL, layout$train_position(data, scale_x(), scale_y()) layout$setup_panel_params() data <- layout$map_position(data) - + # Train and map non-position scales npscales <- scales$non_position_scales() if (npscales$n() > 0) { @@ -406,34 +406,34 @@ gg2list <- function(p, width = NULL, height = NULL, } data <- lapply(data, ggfun("scales_map_df"), scales = npscales) } - + # Fill in defaults etc. data <- by_layer(function(l, d) l$compute_geom_2(d)) - + # Let layer stat have a final say before rendering data <- by_layer(function(l, d) l$finish_statistics(d)) - + # Let Layout modify data before rendering data <- layout$finish_data(data) - + # if necessary, attach key - data <- Map(function(x, y, z) { + data <- Map(function(x, y, z) { if (!length(y)) return(x) x <- reComputeGroup(x, z) # dplyr issue??? https://github.com/tidyverse/dplyr/issues/2701 attr(y$group, "n") <- NULL suppressMessages(dplyr::left_join(x, y)) }, data, nestedKeys, layers) - + structure( list( - data = data, layout = layout, plot = plot, + data = data, layout = layout, plot = plot, env = environment() - ), + ), class = "ggplot_built" ) } - + # Allow thematic to add new defaults to the plot object based on it's theme built <- if (isNamespaceLoaded("thematic")) { tns <- asNamespace("thematic") @@ -441,14 +441,14 @@ gg2list <- function(p, width = NULL, height = NULL, } else { ggplotly_build(p) } - + # Assign all the objects available to ggplotly_build() to this functions environment built_env <- built$env envir <- environment() for (var in ls(built_env)) { assign(var, built_env[[var]], envir = envir) } - + # initiate plotly.js layout with some plot-wide theming stuff theme <- ggfun("plot_theme")(plot) elements <- names(which(sapply(theme, inherits, "element"))) @@ -478,19 +478,19 @@ gg2list <- function(p, width = NULL, height = NULL, # ensure there's enough space for the modebar (this is based on a height of 1em) # https://github.com/plotly/plotly.js/blob/dd1547/src/components/modebar/index.js#L171 gglayout$margin$t <- gglayout$margin$t + 16 - + # important stuff like layout$panel_params is already flipped, but # plot$scales/plot$labels/data aren't. We flip x/y trace data at the very end # and scales in the axis loop below. if (inherits(plot$coordinates, "CoordFlip")) { plot$labels[c("x", "y")] <- plot$labels[c("y", "x")] } - + # important panel summary stats nPanels <- nrow(layout$layout) nRows <- max(layout$layout$ROW) nCols <- max(layout$layout$COL) - + # panel -> plotly.js axis/anchor info # (assume a grid layout by default) layout$layout <- dplyr::mutate( @@ -538,19 +538,19 @@ gg2list <- function(p, width = NULL, height = NULL, layout$layout$x_max <- sapply(layout$panel_params, function(z) { max(z[["x"]]$dimension %()% z$x.range %||% z$x_range) }) layout$layout$y_min <- sapply(layout$panel_params, function(z) { min(z[["y"]]$dimension %()% z$y.range %||% z$y_range) }) layout$layout$y_max <- sapply(layout$panel_params, function(z) { max(z[["y"]]$dimension %()% z$y.range %||% z$y_range) }) - + # layers -> plotly.js traces plot$tooltip <- tooltip data <- Map(function(x, y) { tryCatch({ x$group_plotlyDomain <- y; x }, error = function(e) x) }, data, groupDomains) - + # reattach crosstalk key-set attribute data <- Map(function(x, y) structure(x, set = y), data, sets) traces <- layers2traces(data, prestats_data, layout, plot) - + gglayout <- layers2layout(gglayout, layers, layout$layout) - + # default to just the text in hover info, mainly because of this # https://github.com/plotly/plotly.js/issues/320 traces <- lapply(traces, function(tr) { @@ -564,11 +564,11 @@ gg2list <- function(p, width = NULL, height = NULL, x$showlegend <- isTRUE(x$showlegend) && y x }, traces, !duplicated(grps)) - + # ------------------------------------------------------------------------ # axis/facet/margin conversion # ------------------------------------------------------------------------ - + # panel margins must be computed before panel/axis loops # (in order to use get_domains()) panelMarginX <- unitConvert( @@ -617,7 +617,7 @@ gg2list <- function(p, width = NULL, height = NULL, rep(panelMarginY, 2) ) doms <- get_domains(nPanels, nRows, margins) - + for (i in seq_len(nPanels)) { lay <- layout$layout[i, ] for (xy in c("x", "y")) { @@ -629,20 +629,20 @@ gg2list <- function(p, width = NULL, height = NULL, axisText <- theme_el("axis.text") axisTitle <- theme_el("axis.title") axisLine <- theme_el("axis.line") - panelGrid <- theme_el("panel.grid.major") %||% theme_el("panel.grid") + panelGrid <- theme_el("panel.grid.major") %||% theme_el("panel.grid") stripText <- theme_el("strip.text") - + axisName <- lay[, paste0(xy, "axis")] anchor <- lay[, paste0(xy, "anchor")] rng <- layout$panel_params[[i]] - + # panel_params is quite different for "CoordSf" if ("CoordSf" %in% class(p$coordinates)) { # see CoordSf$render_axis_v direction <- if (xy == "x") "E" else "N" - idx <- rng$graticule$type == direction & + idx <- rng$graticule$type == direction & !is.na(rng$graticule$degree_label) & - # Respect the logical 'plot12' column which sf constructs for + # Respect the logical 'plot12' column which sf constructs for # determining which tick labels should be drawn # https://github.com/r-spatial/sf/blob/b49d37/R/graticule.R#L199 # https://github.com/r-spatial/sf/blob/52a8351/R/plot.R#L580 @@ -650,27 +650,27 @@ gg2list <- function(p, width = NULL, height = NULL, tickData <- rng$graticule[idx, ] # TODO: how to convert a language object to unicode character string? rng[[paste0(xy, ".labels")]] <- sub( - "\\*\\s+degree[ ]?[\\*]?", "°", + "\\*\\s+degree[ ]?[\\*]?", "°", gsub("\"", "", tickData[["degree_label"]]) ) rng[[paste0(xy, ".major")]] <- tickData[[paste0(xy, "_start")]] - - # If it doesn't already exist (for this panel), + + # If it doesn't already exist (for this panel), # generate graticule (as done in, CoordSf$render_bg) isGrill <- vapply(traces, function(tr) { - identical(tr$xaxis, lay$xaxis) && + identical(tr$xaxis, lay$xaxis) && identical(tr$yaxis, lay$yaxis) && isTRUE(tr$`_isGraticule`) }, logical(1)) - + if (sum(isGrill) == 0) { # TODO: reduce the number of points (via coord_munch?) d <- fortify_sf(rng$graticule) d$x <- scales::rescale(d$x, rng$x_range, from = c(0, 1)) d$y <- scales::rescale(d$y, rng$y_range, from = c(0, 1)) params <- list( - colour = panelGrid$colour, - size = panelGrid$size, + colour = panelGrid$colour, + size = panelGrid$size, linetype = panelGrid$linetype ) grill <- geom2trace.GeomPath(d, params) @@ -679,17 +679,17 @@ gg2list <- function(p, width = NULL, height = NULL, grill$`_isGraticule` <- TRUE grill$xaxis <- sub("axis", "", lay$xaxis) grill$yaxis <- sub("axis", "", lay$yaxis) - + traces <- c(list(grill), traces) } - + # if labels are empty, don't show axis ticks tickExists <- with(rng$graticule, sapply(degree_label, is.language)) if (sum(tickExists) == 0) { theme$axis.ticks.length <- 0 } } - + # stuff like layout$panel_params is already flipped, but scales aren't sc <- if (inherits(plot$coordinates, "CoordFlip")) { scales$get_scales(setdiff(c("x", "y"), xy)) @@ -701,12 +701,12 @@ gg2list <- function(p, width = NULL, height = NULL, # get axis title axisTitleText <- sc$name %||% plot$labels[[xy]] %||% "" if (is_blank(axisTitle)) axisTitleText <- "" - + # is this axis dynamic? isDynamic <- isTRUE(dynamicTicks) || identical(dynamicTicks, xy) if (isDynamic && !p$coordinates$is_linear()) { warning( - "`dynamicTicks` is only supported for linear (i.e., cartesian) coordinates", + "`dynamicTicks` is only supported for linear (i.e., cartesian) coordinates", call. = FALSE ) } @@ -716,15 +716,15 @@ gg2list <- function(p, width = NULL, height = NULL, isDateType <- isDynamic && isDate isDiscrete <- identical(sc$scale_name, "position_d") isDiscreteType <- isDynamic && isDiscrete - + ticktext <- rng[[xy]]$get_labels %()% rng[[paste0(xy, ".labels")]] tickvals <- rng[[xy]]$break_positions %()% rng[[paste0(xy, ".major")]] - + # https://github.com/tidyverse/ggplot2/pull/3566#issuecomment-565085809 hasTickText <- !(is.na(ticktext) | is.na(tickvals)) ticktext <- ticktext[hasTickText] tickvals <- tickvals[hasTickText] - + axisObj <- list( # TODO: log type? type = if (isDateType) "date" else if (isDiscreteType) "category" else "linear", @@ -759,16 +759,16 @@ gg2list <- function(p, width = NULL, height = NULL, font = text2font(axisTitle) ) ) - + # set scaleanchor/scaleratio if these are fixed coordinates # the logic here is similar to what p$coordinates$aspect() does, - # but the ratio is scaled to the data range by plotly.js + # but the ratio is scaled to the data range by plotly.js fixed_coords <- c("CoordSf", "CoordFixed", "CoordMap", "CoordQuickmap") if (inherits(p$coordinates, fixed_coords)) { axisObj$scaleanchor <- anchor ratio <- p$coordinates$ratio %||% 1 axisObj$scaleratio <- if (xy == "y") ratio else 1 / ratio - + if (inherits(p$coordinates, "CoordSf")) { if (isTRUE(sf::st_is_longlat(rng$crs))) { ratio <- cos(mean(rng$y_range) * pi/180) @@ -777,24 +777,24 @@ gg2list <- function(p, width = NULL, height = NULL, axisObj$scaleratio <- if (xy == "y") 1 / ratio else ratio } } - - # TODO: seems like we _could_ support this with scaleanchors, + + # TODO: seems like we _could_ support this with scaleanchors, # but inverse transform by the panel ranges? # also, note how aspect.ratio overwrites fixed coordinates: # ggplot(mtcars, aes(wt, mpg)) + geom_point() + coord_fixed(0.5) # ggplot(mtcars, aes(wt, mpg)) + geom_point() + coord_fixed(0.5) + theme(aspect.ratio = 1) if (!is.null(theme$aspect.ratio)) { warning( - "Aspect ratios aren't yet implemented, but you can manually set", + "Aspect ratios aren't yet implemented, but you can manually set", " a suitable height/width", call. = FALSE ) } - + # tickvals are currently on 0-1 scale, but we want them on data scale axisObj$tickvals <- scales::rescale( axisObj$tickvals, to = axisObj$range, from = c(0, 1) ) - + # inverse transform date data based on tickvals/ticktext invert_date <- function(x, scale) { if (inherits(scale, "ScaleContinuousDatetime")) { @@ -803,7 +803,7 @@ gg2list <- function(p, width = NULL, height = NULL, as.Date(x, origin = "1970-01-01", tz = scale$timezone) } } - + if (isDateType) { axisObj$range <- invert_date(axisObj$range, sc) traces <- lapply(traces, function(tr) { @@ -815,10 +815,10 @@ gg2list <- function(p, width = NULL, height = NULL, tr }) } - + # inverse transform categorical data based on tickvals/ticktext if (isDiscreteType) { - traces <- lapply(traces, function(tr) { + traces <- lapply(traces, function(tr) { # map x/y trace data back to the 'closest' ticktext label # http://r.789695.n4.nabble.com/check-for-nearest-value-in-a-vector-td4369339.html tr[[xy]]<- vapply(tr[[xy]], function(val) { @@ -828,10 +828,10 @@ gg2list <- function(p, width = NULL, height = NULL, }) if ("dodge" %in% sapply(layers, ggtype, "position")) gglayout$barmode <- "dodge" } - + # attach axis object to the layout gglayout[[axisName]] <- axisObj - + # do some stuff that should be done once for the entire plot is_x <- xy == "x" if (i == 1) { @@ -844,14 +844,14 @@ gg2list <- function(p, width = NULL, height = NULL, gglayout$margin[[side]] <- gglayout$margin[[side]] + axisObj$ticklen + bbox(axisTickText, axisObj$tickangle, axisObj$tickfont$size)[[type]] + bbox(axisTitleText, axisTitle$angle, unitConvert(axisTitle, "pixels", type))[[type]] - + if (robust_nchar(axisTitleText) > 0) { axisTextSize <- unitConvert(axisText, "npc", type) axisTitleSize <- unitConvert(axisTitle, "npc", type) } - + # add space for exterior facet strips in `layout.margin` - + if (has_facet(plot)) { stripSize <- unitConvert(stripText, "pixels", type) if (is_x) { @@ -864,15 +864,15 @@ gg2list <- function(p, width = NULL, height = NULL, # so we empty the titles and try to draw the title as an annotation if (robust_nchar(axisTitleText) > 0) { axisAnn <- make_label( - faced(axisTitleText, axisTitle$face), + faced(axisTitleText, axisTitle$face), el = axisTitle, x = if (is_x) 0.5 else 0, y = if (is_x) 0 else 0.5, - xanchor = if (is_x) "center" else "right", - yanchor = if (is_x) "top" else "center", + xanchor = if (is_x) "center" else "right", + yanchor = if (is_x) "top" else "center", annotationType = "axis" ) - + textMargin <- sum(axisText$margin[if (is_x) c(1, 3) else c(2, 4)]) class(textMargin) <- setdiff(class(textMargin), "margin") titleMargin <- axisTitle$margin[if (is_x) 1 else 2] @@ -881,9 +881,9 @@ gg2list <- function(p, width = NULL, height = NULL, unitConvert(theme$axis.ticks.length, "npc", type) + unitConvert(textMargin, "npc", type) + unitConvert(titleMargin, "npc", type) - + offset <- unitConvert(grid::unit(offset, "npc"), "pixels", type) - + shift <- if (is_x) "yshift" else "xshift" axisAnn[[1]][[shift]] <- -1 * offset gglayout$annotations <- c(gglayout$annotations, axisAnn) @@ -892,13 +892,13 @@ gg2list <- function(p, width = NULL, height = NULL, } if (has_facet(plot)) gglayout[[axisName]]$title <- "" } # end of axis loop - + # theme(panel.border = ) -> plotly rect shape xdom <- gglayout[[lay[, "xaxis"]]]$domain ydom <- gglayout[[lay[, "yaxis"]]]$domain border <- make_panel_border(xdom, ydom, theme) gglayout$shapes <- c(gglayout$shapes, border) - + # facet strips -> plotly annotations if (has_facet(plot)) { col_vars <- ifelse(inherits(plot$facet, "FacetWrap"), "facets", "cols") @@ -938,8 +938,8 @@ gg2list <- function(p, width = NULL, height = NULL, } } } # end of panel loop - - + + # ------------------------------------------------------------------------ # guide conversion # Strategy: Obtain and translate the output of ggplot2:::guides_train(). @@ -947,7 +947,7 @@ gg2list <- function(p, width = NULL, height = NULL, # ------------------------------------------------------------------------ # will there be a legend? gglayout$showlegend <- sum(unlist(lapply(traces, "[[", "showlegend"))) >= 1 - + # legend styling gglayout$legend <- list( bgcolor = toRGB(theme$legend.background$fill), @@ -955,18 +955,18 @@ gg2list <- function(p, width = NULL, height = NULL, borderwidth = unitConvert(theme$legend.background$size, "pixels", "width"), font = text2font(theme$legend.text) ) - + # if theme(legend.position = "none") is used, don't show a legend _or_ guide if (npscales$n() == 0 || identical(theme$legend.position, "none")) { gglayout$showlegend <- FALSE } else { # by default, guide boxes are vertically aligned theme$legend.box <- theme$legend.box %||% "vertical" - + # size of key (also used for bar in colorbar guide) theme$legend.key.width <- theme$legend.key.width %||% theme$legend.key.size theme$legend.key.height <- theme$legend.key.height %||% theme$legend.key.size - + # legend direction must be vertical theme$legend.direction <- theme$legend.direction %||% "vertical" if (!identical(theme$legend.direction, "vertical")) { @@ -978,7 +978,7 @@ gg2list <- function(p, width = NULL, height = NULL, ) theme$legend.direction <- "vertical" } - + # justification of legend boxes theme$legend.box.just <- theme$legend.box.just %||% c("center", "center") # scales -> data for guides @@ -987,7 +987,7 @@ gg2list <- function(p, width = NULL, height = NULL, gdefs <- ggfun("guides_merge")(gdefs) gdefs <- ggfun("guides_geom")(gdefs, layers, plot$mapping) } - + # colourbar -> plotly.js colorbar colorbar <- compact(lapply(gdefs, gdef2trace, theme, gglayout)) nguides <- length(colorbar) + gglayout$showlegend @@ -1004,7 +1004,7 @@ gg2list <- function(p, width = NULL, height = NULL, } } traces <- c(traces, colorbar) - + legendTitles <- compact(lapply(gdefs, function(g) if (inherits(g, "legend")) g$title else NULL)) legendTitle <- paste(legendTitles, collapse = br()) gglayout$legend$title <- list( @@ -1012,7 +1012,7 @@ gg2list <- function(p, width = NULL, height = NULL, font = text2font(theme$legend.title) ) } - + # flip x/y in traces for flipped coordinates # (we've already done appropriate flipping for axis objects) if (inherits(plot$coordinates, "CoordFlip")) { @@ -1028,7 +1028,7 @@ gg2list <- function(p, width = NULL, height = NULL, names(traces[[i]])[grepl("^error_x$", names(tr))] <- "error_y" } } - + # Error bar widths in ggplot2 are on the range of the x/y scale, # but plotly wants them in pixels: for (xy in c("x", "y")) { @@ -1043,7 +1043,7 @@ gg2list <- function(p, width = NULL, height = NULL, } } } - + # try to merge marker/line traces that have the same values for these props props <- c("x", "y", "text", "type", "xaxis", "yaxis", "name") hashes <- vapply(traces, function(x) digest::digest(x[names(x) %in% props]), character(1)) @@ -1055,7 +1055,7 @@ gg2list <- function(p, width = NULL, height = NULL, idx <- which(hashes %in% i) mergedTraces[[i]] <- Reduce(modify_list, traces[idx]) mergedTraces[[i]]$mode <- paste( - unique(unlist(lapply(traces[idx], "[[", "mode"))), + unique(unlist(lapply(traces[idx], "[[", "mode"))), collapse = "+" ) # show one, show all @@ -1066,7 +1066,7 @@ gg2list <- function(p, width = NULL, height = NULL, } traces <- mergedTraces } - + # better layout defaults (TODO: provide a mechanism for templating defaults) gglayout$hovermode <- "closest" ax <- grep("^[x-y]axis", names(gglayout)) @@ -1075,11 +1075,11 @@ gg2list <- function(p, width = NULL, height = NULL, } # If a trace isn't named, it shouldn't have additional hoverinfo traces <- lapply(compact(traces), function(x) { x$name <- x$name %||% ""; x }) - + gglayout$width <- width %|D|% NULL gglayout$height <- height %|D|% NULL gglayout$barmode <- gglayout$barmode %||% "relative" - + l <- list( data = setNames(traces, NULL), layout = compact(gglayout), @@ -1092,7 +1092,7 @@ gg2list <- function(p, width = NULL, height = NULL, # returns list element with their 'AsIs' class, # which conflicts with our JSON unboxing strategy. l <- rm_asis(l) - + # start build a plotly object with meta information about the ggplot # first, translate layer mappings -> plotly attrs mappingFormulas <- lapply(layers, function(x) { @@ -1104,24 +1104,24 @@ gg2list <- function(p, width = NULL, height = NULL, setNames(lapply(nms, function(x) lazyeval::f_new(as.name(x))), nms) } }) - + return_dat <- if (originalData) layer_data else data - + # translate group aesthetics to data attributes return_dat <- Map(function(x, y) { if (is.null(y[["group"]])) return(x) dplyr::group_by(x, !!rlang::as_quosure(y[["group"]])) }, return_dat, mappingFormulas) - + # don't need to add group as an attribute anymore mappingFormulas <- lapply(mappingFormulas, function(x) x[!grepl("^group$", names(x))]) - + ids <- lapply(seq_along(data), function(x) new_id()) l$attrs <- setNames(mappingFormulas, ids) l$attrs <- lapply(l$attrs, function(x) structure(x, class = "plotly_eval")) # the build step removes the first attrs if no type exists l$attrs[[1]][["type"]] <- l$data[[1]][["type"]] %||% "scatter" - + l$cur_data <- ids[[layerData]] l$visdat <- setNames(lapply(return_dat, function(x) function(y) x), ids) @@ -1140,7 +1140,7 @@ utils::globalVariables(c("groupDomains", "layers", "prestats_data", "scales", "s # convert ggplot2 sizes and grid unit(s) to pixels or normalized point coordinates unitConvert <- function(u, to = c("npc", "pixels"), type = c("x", "y", "height", "width")) { u <- verifyUnit(u) - + convert <- switch( type[1], x = grid::convertX, @@ -1179,10 +1179,10 @@ mm2pixels <- function(u) { } (as.numeric(u) * 96) / 25.4 } - + verifyUnit <- function(u) { if (grid::is.unit(u)) return(u) - + ## the default unit in ggplot2 is millimeters (unless it's element_text()) if (inherits(u, "element")) { grid::unit(u$size %||% 0, "points") @@ -1278,8 +1278,8 @@ font_family <- function(family = "") { if (!length(font)) { return("") } - # font$families is a vector of families, but font.family wants to be a - # string (like CSS font-family), so make sure the names are unquoted, + # font$families is a vector of families, but font.family wants to be a + # string (like CSS font-family), so make sure the names are unquoted, # then quote them families <- sub("'$", "", sub("^'", "", font$families)) sprintf("'%s'", paste(families, collapse = "', '")) @@ -1300,7 +1300,6 @@ faced <- function(txt, face = "plain") { bold <- function(x) paste("", x, "") italic <- function(x) paste("", x, "") - # if a vector that has one unique value (ignoring missings), return that value uniq <- function(x) { if("TeX" %in% class(x)) x <- as.character(x) @@ -1310,17 +1309,16 @@ uniq <- function(x) { if (length(u) == 1) u else x } - # theme(strip.background) -> plotly.js rect shape make_strip_rect <- function(xdom, ydom, theme, side = "top") { rekt <- rect2shape(theme[["strip.background"]]) stripTextX <- theme[["strip.text.x"]] %||% theme[["strip.text"]] - topSize <- + topSize <- mm2pixels(grid::convertHeight(stripTextX$margin[1], "mm")) + mm2pixels(grid::convertHeight(stripTextX$margin[3], "mm")) + mm2pixels(grid::convertHeight(grid::unit(stripTextX$size, units = "points"), "mm")) stripTextY <- theme[["strip.text.y"]] %||% theme[["strip.text"]] - rightSize <- + rightSize <- mm2pixels(grid::convertWidth(stripTextX$margin[2], "mm")) + mm2pixels(grid::convertWidth(stripTextX$margin[4], "mm")) + mm2pixels(grid::convertWidth(grid::unit(stripTextY$size, units = "points"), "mm")) @@ -1435,4 +1433,4 @@ getAesMap <- function(plot, layer) { } else { layer$mapping } -} +} \ No newline at end of file From d915b9c721c500cfb0365fb9f5965a19db712c04 Mon Sep 17 00:00:00 2001 From: Abdessabour Moutik Date: Sat, 9 Oct 2021 03:54:19 -0700 Subject: [PATCH 09/13] Reverted changes to the _snaps folder --- .../cookbook-axes-blank-minor-major.svg | 1 + .../cookbook-axes/cookbook-axes-blank-minor.svg | 1 + .../_snaps/cookbook-axes/cookbook-axes-blank-x.svg | 1 + .../_snaps/cookbook-axes/cookbook-axes-blank-y.svg | 1 + .../cookbook-axes/cookbook-axes-coord-ylim.svg | 1 + .../cookbook-axes/cookbook-axes-custom-formatter.svg | 1 + .../_snaps/cookbook-axes/cookbook-axes-flevels.svg | 1 + .../_snaps/cookbook-axes/cookbook-axes-fonts.svg | 1 + .../cookbook-axes/cookbook-axes-label-funs.svg | 1 + .../cookbook-axes/cookbook-axes-linear-axes.svg | 1 + .../cookbook-axes/cookbook-axes-log2-coord.svg | 1 + .../cookbook-axes/cookbook-axes-log2-labels.svg | 1 + .../cookbook-axes/cookbook-axes-log2-scale.svg | 1 + .../cookbook-axes/cookbook-axes-no-x-title.svg | 1 + .../cookbook-axes/cookbook-axes-scale-hide.svg | 1 + .../cookbook-axes/cookbook-axes-scale-name.svg | 1 + .../cookbook-axes-scale-y-log10-labels.svg | 1 + .../cookbook-axes/cookbook-axes-scale-y-log10.svg | 1 + .../_snaps/cookbook-axes/cookbook-axes-ylim-hide.svg | 1 + .../cookbook-axes-bar-dodge-color-err4.svg | 1 + .../cookbook-axes-bar-dodge-color-error.svg | 1 + .../cookbook-lines/cookbook-axes-bar-dodge-color.svg | 1 + .../cookbook-lines/cookbook-axes-bar-error-diff.svg | 1 + .../cookbook-axes-bar-error-narrow.svg | 1 + .../cookbook-lines/cookbook-axes-bar-error-wide.svg | 1 + .../cookbook-lines/cookbook-axes-basic-bar.svg | 1 + .../cookbook-axes-basic-horizontal-line.svg | 1 + .../cookbook-lines/cookbook-axes-dashed-red-line.svg | 1 + .../cookbook-lines/cookbook-axes-scatter-basic.svg | 1 + .../cookbook-axes-scatter-facet-hline-vline.svg | 1 + .../cookbook-axes-scatter-facet-hline.svg | 1 + .../cookbook-lines/cookbook-axes-scatter-facet.svg | 1 + .../cookbook-axes-scatter-hline-vline.svg | 1 + .../cookbook-lines/cookbook-axes-scatter-hline.svg | 1 + .../testthat/_snaps/cookbook-scatterplots/color.svg | 1 + .../_snaps/cookbook-scatterplots/full-range.svg | 1 + .../_snaps/cookbook-scatterplots/geom-jitter.svg | 1 + .../testthat/_snaps/cookbook-scatterplots/hollow.svg | 1 + .../testthat/_snaps/cookbook-scatterplots/jitter.svg | 1 + .../testthat/_snaps/cookbook-scatterplots/loess.svg | 1 + .../_snaps/cookbook-scatterplots/overlap.svg | 1 + .../_snaps/cookbook-scatterplots/scale-color-hue.svg | 1 + .../_snaps/cookbook-scatterplots/shape-manual.svg | 1 + .../testthat/_snaps/cookbook-scatterplots/shape.svg | 1 + .../cookbook-scatterplots/smooth-lm-se-false.svg | 1 + .../_snaps/cookbook-scatterplots/smooth-lm.svg | 1 + .../errobar-flipped-aes.svg | 1 + .../geom-errorbar-issue-1751/errobar-no-aes-y.svg | 1 + .../ggplot-abline/cookbook-axes-multiple-abline.svg | 1 + .../ggplot-abline/cookbook-axes-single-abline.svg | 1 + .../_snaps/ggplot-area/area-area-fillcolor.svg | 1 + tests/testthat/_snaps/ggplot-area/area-simple.svg | 1 + .../_snaps/ggplot-area/area-traces-order.svg | 1 + .../ggplot-bar/bar-aes-colour-guides-fill-false.svg | 1 + .../ggplot-bar/bar-aes-fill-guides-color-none.svg | 1 + .../testthat/_snaps/ggplot-bar/bar-black-outline.svg | 1 + .../_snaps/ggplot-bar/bar-category-names.svg | 1 + tests/testthat/_snaps/ggplot-bar/bar-color.svg | 1 + tests/testthat/_snaps/ggplot-bar/bar-coord-flip.svg | 1 + tests/testthat/_snaps/ggplot-bar/bar-dates.svg | 1 + tests/testthat/_snaps/ggplot-bar/bar-dodge.svg | 1 + tests/testthat/_snaps/ggplot-bar/bar-identity.svg | 1 + tests/testthat/_snaps/ggplot-bar/bar-nocolor.svg | 1 + .../testthat/_snaps/ggplot-bar/bar-position-fill.svg | 1 + .../_snaps/ggplot-bar/bar-position-stack.svg | 1 + tests/testthat/_snaps/ggplot-bar/bar-stack.svg | 1 + .../_snaps/ggplot-boxplot/boxplot-datetime.svg | 1 + .../_snaps/ggplot-boxplot/boxplot-fillcolor.svg | 1 + .../ggplot-boxplot/boxplot-legends-for-fill.svg | 1 + tests/testthat/_snaps/ggplot-boxplot/boxplot.svg | 1 + tests/testthat/_snaps/ggplot-col/col.svg | 1 + tests/testthat/_snaps/ggplot-contour/contour.svg | 1 + .../testthat/_snaps/ggplot-date/date-class-date.svg | 1 + .../ggplot-date/date-irregular-time-series.svg | 1 + tests/testthat/_snaps/ggplot-date/date-strings.svg | 1 + .../testthat/_snaps/ggplot-density/density-color.svg | 1 + .../testthat/_snaps/ggplot-density/density-fill.svg | 1 + .../_snaps/ggplot-density/density-histogram.svg | 1 + .../_snaps/ggplot-density/density-simple.svg | 1 + .../_snaps/ggplot-density/density-traces-order.svg | 1 + tests/testthat/_snaps/ggplot-density2d/density2d.svg | 1 + .../errorbar-horizontal.svg | 1 + .../ggplot-errorbar/errorbar-unique-groups.svg | 1 + tests/testthat/_snaps/ggplot-errorbar/errorbar.svg | 1 + tests/testthat/_snaps/ggplot-facets/3-panels.svg | 1 + tests/testthat/_snaps/ggplot-facets/barley.svg | 1 + .../_snaps/ggplot-facets/facet-grid-free-x.svg | 1 + .../_snaps/ggplot-facets/facet-grid-free-y.svg | 1 + .../_snaps/ggplot-facets/facet-grid-free.svg | 1 + .../_snaps/ggplot-facets/facet-grid-labeller.svg | 1 + .../_snaps/ggplot-facets/facet-wrap-free-mult.svg | 1 + .../_snaps/ggplot-facets/facet-wrap-free-x.svg | 1 + .../_snaps/ggplot-facets/facet-wrap-free-y-2.svg | 1 + .../_snaps/ggplot-facets/facet-wrap-free-y.svg | 1 + .../_snaps/ggplot-facets/facet-wrap-free.svg | 1 + .../_snaps/ggplot-facets/facet-wrap-labeller.svg | 1 + tests/testthat/_snaps/ggplot-facets/facet-wrap.svg | 1 + .../_snaps/ggplot-heatmap/heatmap-discrete.svg | 1 + .../_snaps/ggplot-heatmap/heatmap-midpoint.svg | 1 + tests/testthat/_snaps/ggplot-heatmap/heatmap.svg | 1 + tests/testthat/_snaps/ggplot-hex/hex-basic.svg | 1 + tests/testthat/_snaps/ggplot-hex/hex-bins.svg | 1 + tests/testthat/_snaps/ggplot-hex/hex-binwidth.svg | 1 + .../_snaps/ggplot-histogram/histogram-counts.svg | 1 + .../_snaps/ggplot-histogram/histogram-date-bins.svg | 1 + .../_snaps/ggplot-histogram/histogram-dates.svg | 1 + .../ggplot-histogram/histogram-density-binwidth.svg | 1 + .../_snaps/ggplot-histogram/histogram-density.svg | 1 + .../ggplot-histogram/histogram-fill-factor-dodge.svg | 1 + .../histogram-fill-factor-facets.svg | 1 + .../histogram-fill-factor-identity.svg | 1 + .../ggplot-histogram/histogram-fill-factor.svg | 1 + .../_snaps/ggplot-histogram/histogram-fill.svg | 1 + .../ggplot-histogram/histogram-fixed-fill-color.svg | 1 + .../ggplot-histogram/histogram-posixt-bins.svg | 1 + .../_snaps/ggplot-histogram/histogram-vline.svg | 1 + tests/testthat/_snaps/ggplot-hline/hline-factor.svg | 1 + .../testthat/_snaps/ggplot-hline/hline-multiple.svg | 1 + tests/testthat/_snaps/ggplot-hline/hline.svg | 1 + .../_snaps/ggplot-hline/split-hline-vline-abline.svg | 1 + tests/testthat/_snaps/ggplot-jitter/jitter-basic.svg | 1 + .../testthat/_snaps/ggplot-labels/factor-labels.svg | 1 + .../testthat/_snaps/ggplot-labels/labels-angles.svg | 1 + .../testthat/_snaps/ggplot-labels/labels-ggtitle.svg | 1 + .../ggplot-labels/labels-scale-x-continuous-name.svg | 1 + tests/testthat/_snaps/ggplot-labels/labels-ylab.svg | 1 + .../_snaps/ggplot-labels/labs-element-blank.svg | 1 + .../_snaps/ggplot-legend/legend-hide-legend.svg | 1 + tests/testthat/_snaps/ggplot-legend/legend-hide.svg | 1 + .../ggplot-legend/legend-many-legend-items.svg | 1 + .../_snaps/ggplot-legend/legend-one-entry.svg | 1 + .../ggplot-legend/legend-very-long-legend-items.svg | 1 + .../testthat/_snaps/ggplot-legend/scatter-legend.svg | 1 + .../_snaps/ggplot-lines/line-milliseconds.svg | 1 + .../testthat/_snaps/ggplot-lines/linetype-colors.svg | 1 + .../testthat/_snaps/ggplot-lines/linetype-types.svg | 1 + tests/testthat/_snaps/ggplot-map/map-facet.svg | 1 + .../path-colored-groups-stay-together.svg | 1 + tests/testthat/_snaps/ggplot-path/path-colors.svg | 1 + tests/testthat/_snaps/ggplot-path/path-colors2.svg | 1 + .../_snaps/ggplot-path/path-line-symbols.svg | 1 + .../ggplot-path/path-lines-diff-from-paths.svg | 1 + tests/testthat/_snaps/ggplot-point/all-shapes.svg | 1 + tests/testthat/_snaps/ggplot-point/open-shapes.svg | 1 + tests/testthat/_snaps/ggplot-point/point-flip.svg | 1 + .../_snaps/ggplot-point/point-size-alpha.svg | 1 + .../_snaps/ggplot-point/point-size-alpha2.svg | 1 + .../_snaps/ggplot-polygons/polygon-aes-color.svg | 1 + .../_snaps/ggplot-polygons/polygon-aes-fill.svg | 1 + .../_snaps/ggplot-polygons/polygon-black.svg | 1 + .../ggplot-polygons/polygon-color-aes-fill.svg | 1 + .../polygon-color-fill-aes-linetype.svg | 1 + .../ggplot-polygons/polygon-color-fill-aes-size.svg | 1 + .../ggplot-polygons/polygon-star-fill-color.svg | 1 + .../ggplot-polygons/polygon-star-group-color.svg | 1 + .../_snaps/ggplot-polygons/polygon-star-group.svg | 1 + .../ggplot-polygons/polygons-canada-borders.svg | 1 + tests/testthat/_snaps/ggplot-rect/rect-black.svg | 1 + tests/testthat/_snaps/ggplot-rect/rect-black4.svg | 1 + tests/testthat/_snaps/ggplot-rect/rect-color.svg | 1 + .../testthat/_snaps/ggplot-rect/rect-fill-color.svg | 1 + .../_snaps/ggplot-rect/rect-fill-hex-alpha.svg | 1 + tests/testthat/_snaps/ggplot-rect/rect-fill.svg | 1 + tests/testthat/_snaps/ggplot-ribbon/ribbon-alpha.svg | 1 + .../testthat/_snaps/ggplot-ribbon/ribbon-colour.svg | 1 + tests/testthat/_snaps/ggplot-ribbon/ribbon-fill.svg | 1 + tests/testthat/_snaps/ggplot-ribbon/ribbon-group.svg | 1 + .../ggplot-segment/segment-multiple-non-numeric.svg | 1 + tests/testthat/_snaps/ggplot-segment/segment.svg | 1 + tests/testthat/_snaps/ggplot-sf/sf-aspect.svg | 1 + tests/testthat/_snaps/ggplot-sf/sf-axis-ticks.svg | 1 + tests/testthat/_snaps/ggplot-sf/sf-fill-text.svg | 1 + .../testthat/_snaps/ggplot-sf/sf-geom-collection.svg | 1 + tests/testthat/_snaps/ggplot-sf/sf-points.svg | 1 + tests/testthat/_snaps/ggplot-sf/sf-theme-map.svg | 1 + tests/testthat/_snaps/ggplot-sf/sf.svg | 1 + .../_snaps/ggplot-size/size-global-scaling.svg | 1 + .../testthat/_snaps/ggplot-size/size-is-a-vector.svg | 1 + tests/testthat/_snaps/ggplot-smooth/smooth-basic.svg | 1 + .../testthat/_snaps/ggplot-smooth/smooth-colour.svg | 1 + tests/testthat/_snaps/ggplot-smooth/smooth-facet.svg | 1 + tests/testthat/_snaps/ggplot-smooth/smooth-fill2.svg | 1 + tests/testthat/_snaps/ggplot-smooth/smooth-group.svg | 1 + .../_snaps/ggplot-smooth/smooth-se-false.svg | 1 + tests/testthat/_snaps/ggplot-step/step-gg-hv.svg | 1 + tests/testthat/_snaps/ggplot-step/step-gg-hvh.svg | 1 + tests/testthat/_snaps/ggplot-step/step-gg-vh.svg | 1 + tests/testthat/_snaps/ggplot-step/step-gg-vhv.svg | 1 + tests/testthat/_snaps/ggplot-text/text-colour.svg | 1 + tests/testthat/_snaps/ggplot-text/text.svg | 1 + .../_snaps/ggplot-theme/theme-background.svg | 1 + .../_snaps/ggplot-theme/theme-marker-default.svg | 1 + .../_snaps/ggplot-theme/theme-panel-border-1.svg | 1 + .../_snaps/ggplot-theme/theme-panel-border-2.svg | 1 + .../_snaps/ggplot-theme/theme-ticks-and-grids.svg | 1 + .../_snaps/ggplot-theme/theme-ticks-default.svg | 1 + .../_snaps/ggplot-theme/theme-zeroline-default.svg | 1 + .../_snaps/ggplot-ticks/continuous-x-missing.svg | 1 + .../_snaps/ggplot-ticks/ticks-boxes-facet-grid.svg | 1 + .../_snaps/ggplot-ticks/ticks-boxes-scales-free.svg | 1 + .../_snaps/ggplot-ticks/ticks-boxes-space-free.svg | 1 + tests/testthat/_snaps/ggplot-ticks/ticks-boxes.svg | 1 + .../_snaps/ggplot-ticks/ticks-breaks-less.svg | 1 + .../_snaps/ggplot-ticks/ticks-breaks-more.svg | 1 + .../_snaps/ggplot-ticks/ticks-breaks-nochange.svg | 1 + .../ggplot-ticks/ticks-evenly-spaced-ticks.svg | 1 + .../_snaps/ggplot-ticks/ticks-flip-grid-free.svg | 1 + .../testthat/_snaps/ggplot-ticks/ticks-flip-grid.svg | 1 + tests/testthat/_snaps/ggplot-ticks/ticks-flip.svg | 1 + .../_snaps/ggplot-ticks/ticks-hide-ticks-labels.svg | 1 + .../ggplot-ticks/ticks-hide-ticks-lines-labels.svg | 1 + .../_snaps/ggplot-ticks/ticks-limits-gap.svg | 1 + .../_snaps/ggplot-ticks/ticks-limits-hide.svg | 1 + .../_snaps/ggplot-ticks/ticks-line-breaks.svg | 1 + .../_snaps/ggplot-ticks/ticks-scale-labels.svg | 1 + tests/testthat/_snaps/ggplot-ticks/ticks-uneven.svg | 1 + .../_snaps/ggplot-ticks/ticks-ycontinuous-ranges.svg | 1 + .../_snaps/ggplot-ticks/ticks-ylim-ranges.svg | 1 + .../ggplot-ticks/ticks-ylim-reversed-ranges.svg | 1 + .../ggplot-ticks/ticks-yreverse-limits-ranges.svg | 1 + .../_snaps/ggplot-ticks/ticks-yreverse-ranges.svg | 1 + .../_snaps/ggplot-tooltip/group-lines-hovertext.svg | 1 + .../ggplot-tooltip/heatmap-discrete-tooltip.svg | 1 + .../_snaps/ggplot-tooltip/hovertext-display.svg | 1 + .../testthat/_snaps/ggplot-tooltip/tooltip-date.svg | 1 + .../_snaps/ggplot-tooltip/tooltip-datetime.svg | 1 + tests/testthat/_snaps/ggplot-violin/violin-aes.svg | 1 + tests/testthat/_snaps/ggplot-violin/violin.svg | 1 + .../testthat/_snaps/ggplot-vline/vline-multiple.svg | 1 + tests/testthat/_snaps/ggplot-vline/vline.svg | 1 + tests/testthat/_snaps/ggplot-ylim/ylim-one-trace.svg | 1 + tests/testthat/_snaps/icicle/uniformtext-icicle.svg | 1 + .../_snaps/mean-error-bars/error-rect-alpha.svg | 1 + .../error-simple-line-point-crazy.svg | 1 + .../mean-error-bars/error-simple-line-point.svg | 1 + .../_snaps/mean-error-bars/error-simple-line.svg | 1 + .../testthat/_snaps/mean-error-bars/error-simple.svg | 1 + tests/testthat/_snaps/plotly-area/add-area.svg | 1 + .../plotly-color-bar-color-factor-custom.svg | 1 + .../plotly-color/plotly-color-box-color-stroke.svg | 1 + .../plotly-color/plotly-color-color-manual.svg | 1 + .../plotly-color-scatterplot-color-factor-custom.svg | 1 + ...plotly-color-scatterplot-color-factor-custom2.svg | 1 + .../plotly-color-scatterplot-color-factor.svg | 1 + ...plotly-color-scatterplot-color-numeric-custom.svg | 1 + .../plotly-color-scatterplot-color-numeric.svg | 1 + .../plotly-color-scatterplot-scatter3d-axes.svg | 1 + .../plotly-colorbar/plotly-colorbar-expand.svg | 1 + .../plotly-colorbar/plotly-colorbar-restrict.svg | 1 + .../plotly-colorbar/plotly-colorbar-z-expand.svg | 1 + .../plotly-colorbar/plotly-colorbar-z-restrict.svg | 1 + .../_snaps/plotly-colorbar/plotly-colorbar.svg | 1 + .../testthat/_snaps/plotly-colorscale/colorramp.svg | 1 + .../_snaps/plotly-colorscale/contour-alpha.svg | 1 + .../_snaps/plotly-colorscale/contour-colorscale.svg | 1 + .../_snaps/plotly-colorscale/marker-colorscale.svg | 1 + tests/testthat/_snaps/plotly-colorscale/test-df.svg | 1 + .../_snaps/plotly-colorscale/test-list-2.svg | 1 + .../_snaps/plotly-colorscale/test-list-3.svg | 1 + .../testthat/_snaps/plotly-colorscale/test-list.svg | 1 + .../_snaps/plotly-colorscale/test-matrix.svg | 1 + .../_snaps/plotly-group/plotly-nas-connect.svg | 1 + .../_snaps/plotly-group/plotly-nas-within-color.svg | 1 + .../_snaps/plotly-group/plotly-nas-within-color2.svg | 1 + .../_snaps/plotly-group/plotly-nas-within-group.svg | 1 + tests/testthat/_snaps/plotly-group/plotly-nas.svg | 1 + .../plotly-no-nas-for-irrelevant-group.svg | 1 + .../simple-scatter-marker-color-group.svg | 1 + .../_snaps/plotly-image-trace/colormodel.svg | 1 + .../_snaps/plotly-image-trace/raster-basic.svg | 1 + .../plotly-linetype/plotly-linetype-alphabetical.svg | 1 + .../plotly-linetype/plotly-linetype-linetype.svg | 1 + .../plotly-linetype/plotly-linetype-linetype2.svg | 1 + .../plotly-linetype/plotly-linetype-linetype3.svg | 1 + .../plotly-linetype/plotly-linetype-manual.svg | 1 + .../plotly-linetype/plotly-linetype-ordering.svg | 1 + tests/testthat/_snaps/plotly-size/marker-size.svg | 1 + tests/testthat/_snaps/plotly-size/sizemode.svg | 1 + .../plotly-subplot/plotly-subplot-geo-cartesian.svg | 1 + .../plotly-subplot/plotly-subplot-ggmatrix.svg | 1 + .../_snaps/plotly-subplot/plotly-subplot-group.svg | 1 + .../plotly-subplot/plotly-subplot-plot-list.svg | 1 + .../plotly-subplot/plotly-subplot-recursive.svg | 1 + .../plotly-subplot/plotly-subplot-shareboth.svg | 1 + .../_snaps/plotly-subplot/plotly-subplot-sharex.svg | 1 + .../_snaps/plotly-subplot/plotly-subplot-sharey.svg | 1 + .../_snaps/plotly-subplot/plotly-subplot-simple.svg | 1 + .../_snaps/plotly-subplot/plotly-subplot-simple2.svg | 1 + .../plotly-subplot-subplot-legendgroup.svg | 1 + .../plotly-subplot/plotly-subplot-width-height.svg | 1 + .../subplot-bump-axis-annotation-shared.svg | 1 + .../subplot-bump-axis-annotation-traces-shared.svg | 1 + .../subplot-bump-axis-annotation-traces.svg | 1 + .../plotly-subplot/subplot-bump-axis-annotation.svg | 1 + .../plotly-subplot/subplot-bump-axis-image.svg | 1 + .../subplot-bump-axis-shape-shared.svg | 1 + .../plotly-subplot/subplot-bump-axis-shape.svg | 1 + .../plotly-subplot/subplot-reposition-annotation.svg | 1 + .../plotly-subplot/subplot-reposition-image.svg | 1 + .../subplot-reposition-shape-fixed.svg | 1 + .../plotly-subplot/subplot-reposition-shape.svg | 1 + tests/testthat/_snaps/plotly-sunburst/sunburst.svg | 1 + .../plotly-symbol/plotly-symbol-alphabetical.svg | 1 + .../_snaps/plotly-symbol/plotly-symbol-logical.svg | 1 + .../_snaps/plotly-symbol/plotly-symbol-ordering.svg | 1 + .../_snaps/plotly-symbol/plotly-symbol-pch.svg | 1 + .../plotly-symbol-scatterplot-symbol.svg | 1 + .../plotly-symbol-scatterplot-symbol2.svg | 1 + .../plotly-symbol/plotly-symbol-symbol-manual.svg | 1 + tests/testthat/_snaps/plotly-treemaps/advanced.svg | 1 + tests/testthat/_snaps/plotly-treemaps/basic.svg | 1 + .../_snaps/plotly-waterfall/waterfall-simple.svg | 1 + tests/testthat/_snaps/plotly/errorbar-width.svg | 1 + tests/testthat/_snaps/plotly/layout-grid.svg | 1 + .../testthat/_snaps/plotly/plotly-alpha-blending.svg | 1 + .../testthat/_snaps/plotly/plotly-alpha-no-color.svg | 1 + .../testthat/_snaps/plotly/plotly-bar-inference.svg | 1 + .../testthat/_snaps/plotly/plotly-box-data-array.svg | 1 + .../testthat/_snaps/plotly/plotly-character-axis.svg | 1 + tests/testthat/_snaps/plotly/plotly-factor-axis.svg | 1 + .../_snaps/plotly/plotly-group-within-trace.svg | 1 + .../testthat/_snaps/plotly/plotly-histogram-vert.svg | 1 + tests/testthat/_snaps/plotly/plotly-histogram.svg | 1 + .../testthat/_snaps/plotly/plotly-inherit-false.svg | 1 + tests/testthat/_snaps/plotly/plotly-scatterplot.svg | 1 + .../_snaps/plotly/plotly-time-series-summary.svg | 1 + .../ticktext-linebreaks-no-linebreaks.svg | 1 + .../ticktext-linebreaks-one-cat.svg | 1 + .../ticktext-linebreaks/ticktext-linebreaks.svg | 1 + tests/testthat/test-plotly-area.R | 12 ++++++++++++ 330 files changed, 341 insertions(+) create mode 100644 tests/testthat/_snaps/cookbook-axes/cookbook-axes-blank-minor-major.svg create mode 100644 tests/testthat/_snaps/cookbook-axes/cookbook-axes-blank-minor.svg create mode 100644 tests/testthat/_snaps/cookbook-axes/cookbook-axes-blank-x.svg create mode 100644 tests/testthat/_snaps/cookbook-axes/cookbook-axes-blank-y.svg create mode 100644 tests/testthat/_snaps/cookbook-axes/cookbook-axes-coord-ylim.svg create mode 100644 tests/testthat/_snaps/cookbook-axes/cookbook-axes-custom-formatter.svg create mode 100644 tests/testthat/_snaps/cookbook-axes/cookbook-axes-flevels.svg create mode 100644 tests/testthat/_snaps/cookbook-axes/cookbook-axes-fonts.svg create mode 100644 tests/testthat/_snaps/cookbook-axes/cookbook-axes-label-funs.svg create mode 100644 tests/testthat/_snaps/cookbook-axes/cookbook-axes-linear-axes.svg create mode 100644 tests/testthat/_snaps/cookbook-axes/cookbook-axes-log2-coord.svg create mode 100644 tests/testthat/_snaps/cookbook-axes/cookbook-axes-log2-labels.svg create mode 100644 tests/testthat/_snaps/cookbook-axes/cookbook-axes-log2-scale.svg create mode 100644 tests/testthat/_snaps/cookbook-axes/cookbook-axes-no-x-title.svg create mode 100644 tests/testthat/_snaps/cookbook-axes/cookbook-axes-scale-hide.svg create mode 100644 tests/testthat/_snaps/cookbook-axes/cookbook-axes-scale-name.svg create mode 100644 tests/testthat/_snaps/cookbook-axes/cookbook-axes-scale-y-log10-labels.svg create mode 100644 tests/testthat/_snaps/cookbook-axes/cookbook-axes-scale-y-log10.svg create mode 100644 tests/testthat/_snaps/cookbook-axes/cookbook-axes-ylim-hide.svg create mode 100644 tests/testthat/_snaps/cookbook-lines/cookbook-axes-bar-dodge-color-err4.svg create mode 100644 tests/testthat/_snaps/cookbook-lines/cookbook-axes-bar-dodge-color-error.svg create mode 100644 tests/testthat/_snaps/cookbook-lines/cookbook-axes-bar-dodge-color.svg create mode 100644 tests/testthat/_snaps/cookbook-lines/cookbook-axes-bar-error-diff.svg create mode 100644 tests/testthat/_snaps/cookbook-lines/cookbook-axes-bar-error-narrow.svg create mode 100644 tests/testthat/_snaps/cookbook-lines/cookbook-axes-bar-error-wide.svg create mode 100644 tests/testthat/_snaps/cookbook-lines/cookbook-axes-basic-bar.svg create mode 100644 tests/testthat/_snaps/cookbook-lines/cookbook-axes-basic-horizontal-line.svg create mode 100644 tests/testthat/_snaps/cookbook-lines/cookbook-axes-dashed-red-line.svg create mode 100644 tests/testthat/_snaps/cookbook-lines/cookbook-axes-scatter-basic.svg create mode 100644 tests/testthat/_snaps/cookbook-lines/cookbook-axes-scatter-facet-hline-vline.svg create mode 100644 tests/testthat/_snaps/cookbook-lines/cookbook-axes-scatter-facet-hline.svg create mode 100644 tests/testthat/_snaps/cookbook-lines/cookbook-axes-scatter-facet.svg create mode 100644 tests/testthat/_snaps/cookbook-lines/cookbook-axes-scatter-hline-vline.svg create mode 100644 tests/testthat/_snaps/cookbook-lines/cookbook-axes-scatter-hline.svg create mode 100644 tests/testthat/_snaps/cookbook-scatterplots/color.svg create mode 100644 tests/testthat/_snaps/cookbook-scatterplots/full-range.svg create mode 100644 tests/testthat/_snaps/cookbook-scatterplots/geom-jitter.svg create mode 100644 tests/testthat/_snaps/cookbook-scatterplots/hollow.svg create mode 100644 tests/testthat/_snaps/cookbook-scatterplots/jitter.svg create mode 100644 tests/testthat/_snaps/cookbook-scatterplots/loess.svg create mode 100644 tests/testthat/_snaps/cookbook-scatterplots/overlap.svg create mode 100644 tests/testthat/_snaps/cookbook-scatterplots/scale-color-hue.svg create mode 100644 tests/testthat/_snaps/cookbook-scatterplots/shape-manual.svg create mode 100644 tests/testthat/_snaps/cookbook-scatterplots/shape.svg create mode 100644 tests/testthat/_snaps/cookbook-scatterplots/smooth-lm-se-false.svg create mode 100644 tests/testthat/_snaps/cookbook-scatterplots/smooth-lm.svg create mode 100644 tests/testthat/_snaps/geom-errorbar-flipped-aes/errobar-flipped-aes.svg create mode 100644 tests/testthat/_snaps/geom-errorbar-issue-1751/errobar-no-aes-y.svg create mode 100644 tests/testthat/_snaps/ggplot-abline/cookbook-axes-multiple-abline.svg create mode 100644 tests/testthat/_snaps/ggplot-abline/cookbook-axes-single-abline.svg create mode 100644 tests/testthat/_snaps/ggplot-area/area-area-fillcolor.svg create mode 100644 tests/testthat/_snaps/ggplot-area/area-simple.svg create mode 100644 tests/testthat/_snaps/ggplot-area/area-traces-order.svg create mode 100644 tests/testthat/_snaps/ggplot-bar/bar-aes-colour-guides-fill-false.svg create mode 100644 tests/testthat/_snaps/ggplot-bar/bar-aes-fill-guides-color-none.svg create mode 100644 tests/testthat/_snaps/ggplot-bar/bar-black-outline.svg create mode 100644 tests/testthat/_snaps/ggplot-bar/bar-category-names.svg create mode 100644 tests/testthat/_snaps/ggplot-bar/bar-color.svg create mode 100644 tests/testthat/_snaps/ggplot-bar/bar-coord-flip.svg create mode 100644 tests/testthat/_snaps/ggplot-bar/bar-dates.svg create mode 100644 tests/testthat/_snaps/ggplot-bar/bar-dodge.svg create mode 100644 tests/testthat/_snaps/ggplot-bar/bar-identity.svg create mode 100644 tests/testthat/_snaps/ggplot-bar/bar-nocolor.svg create mode 100644 tests/testthat/_snaps/ggplot-bar/bar-position-fill.svg create mode 100644 tests/testthat/_snaps/ggplot-bar/bar-position-stack.svg create mode 100644 tests/testthat/_snaps/ggplot-bar/bar-stack.svg create mode 100644 tests/testthat/_snaps/ggplot-boxplot/boxplot-datetime.svg create mode 100644 tests/testthat/_snaps/ggplot-boxplot/boxplot-fillcolor.svg create mode 100644 tests/testthat/_snaps/ggplot-boxplot/boxplot-legends-for-fill.svg create mode 100644 tests/testthat/_snaps/ggplot-boxplot/boxplot.svg create mode 100644 tests/testthat/_snaps/ggplot-col/col.svg create mode 100644 tests/testthat/_snaps/ggplot-contour/contour.svg create mode 100644 tests/testthat/_snaps/ggplot-date/date-class-date.svg create mode 100644 tests/testthat/_snaps/ggplot-date/date-irregular-time-series.svg create mode 100644 tests/testthat/_snaps/ggplot-date/date-strings.svg create mode 100644 tests/testthat/_snaps/ggplot-density/density-color.svg create mode 100644 tests/testthat/_snaps/ggplot-density/density-fill.svg create mode 100644 tests/testthat/_snaps/ggplot-density/density-histogram.svg create mode 100644 tests/testthat/_snaps/ggplot-density/density-simple.svg create mode 100644 tests/testthat/_snaps/ggplot-density/density-traces-order.svg create mode 100644 tests/testthat/_snaps/ggplot-density2d/density2d.svg create mode 100644 tests/testthat/_snaps/ggplot-errorbar-horizontal/errorbar-horizontal.svg create mode 100644 tests/testthat/_snaps/ggplot-errorbar/errorbar-unique-groups.svg create mode 100644 tests/testthat/_snaps/ggplot-errorbar/errorbar.svg create mode 100644 tests/testthat/_snaps/ggplot-facets/3-panels.svg create mode 100644 tests/testthat/_snaps/ggplot-facets/barley.svg create mode 100644 tests/testthat/_snaps/ggplot-facets/facet-grid-free-x.svg create mode 100644 tests/testthat/_snaps/ggplot-facets/facet-grid-free-y.svg create mode 100644 tests/testthat/_snaps/ggplot-facets/facet-grid-free.svg create mode 100644 tests/testthat/_snaps/ggplot-facets/facet-grid-labeller.svg create mode 100644 tests/testthat/_snaps/ggplot-facets/facet-wrap-free-mult.svg create mode 100644 tests/testthat/_snaps/ggplot-facets/facet-wrap-free-x.svg create mode 100644 tests/testthat/_snaps/ggplot-facets/facet-wrap-free-y-2.svg create mode 100644 tests/testthat/_snaps/ggplot-facets/facet-wrap-free-y.svg create mode 100644 tests/testthat/_snaps/ggplot-facets/facet-wrap-free.svg create mode 100644 tests/testthat/_snaps/ggplot-facets/facet-wrap-labeller.svg create mode 100644 tests/testthat/_snaps/ggplot-facets/facet-wrap.svg create mode 100644 tests/testthat/_snaps/ggplot-heatmap/heatmap-discrete.svg create mode 100644 tests/testthat/_snaps/ggplot-heatmap/heatmap-midpoint.svg create mode 100644 tests/testthat/_snaps/ggplot-heatmap/heatmap.svg create mode 100644 tests/testthat/_snaps/ggplot-hex/hex-basic.svg create mode 100644 tests/testthat/_snaps/ggplot-hex/hex-bins.svg create mode 100644 tests/testthat/_snaps/ggplot-hex/hex-binwidth.svg create mode 100644 tests/testthat/_snaps/ggplot-histogram/histogram-counts.svg create mode 100644 tests/testthat/_snaps/ggplot-histogram/histogram-date-bins.svg create mode 100644 tests/testthat/_snaps/ggplot-histogram/histogram-dates.svg create mode 100644 tests/testthat/_snaps/ggplot-histogram/histogram-density-binwidth.svg create mode 100644 tests/testthat/_snaps/ggplot-histogram/histogram-density.svg create mode 100644 tests/testthat/_snaps/ggplot-histogram/histogram-fill-factor-dodge.svg create mode 100644 tests/testthat/_snaps/ggplot-histogram/histogram-fill-factor-facets.svg create mode 100644 tests/testthat/_snaps/ggplot-histogram/histogram-fill-factor-identity.svg create mode 100644 tests/testthat/_snaps/ggplot-histogram/histogram-fill-factor.svg create mode 100644 tests/testthat/_snaps/ggplot-histogram/histogram-fill.svg create mode 100644 tests/testthat/_snaps/ggplot-histogram/histogram-fixed-fill-color.svg create mode 100644 tests/testthat/_snaps/ggplot-histogram/histogram-posixt-bins.svg create mode 100644 tests/testthat/_snaps/ggplot-histogram/histogram-vline.svg create mode 100644 tests/testthat/_snaps/ggplot-hline/hline-factor.svg create mode 100644 tests/testthat/_snaps/ggplot-hline/hline-multiple.svg create mode 100644 tests/testthat/_snaps/ggplot-hline/hline.svg create mode 100644 tests/testthat/_snaps/ggplot-hline/split-hline-vline-abline.svg create mode 100644 tests/testthat/_snaps/ggplot-jitter/jitter-basic.svg create mode 100644 tests/testthat/_snaps/ggplot-labels/factor-labels.svg create mode 100644 tests/testthat/_snaps/ggplot-labels/labels-angles.svg create mode 100644 tests/testthat/_snaps/ggplot-labels/labels-ggtitle.svg create mode 100644 tests/testthat/_snaps/ggplot-labels/labels-scale-x-continuous-name.svg create mode 100644 tests/testthat/_snaps/ggplot-labels/labels-ylab.svg create mode 100644 tests/testthat/_snaps/ggplot-labels/labs-element-blank.svg create mode 100644 tests/testthat/_snaps/ggplot-legend/legend-hide-legend.svg create mode 100644 tests/testthat/_snaps/ggplot-legend/legend-hide.svg create mode 100644 tests/testthat/_snaps/ggplot-legend/legend-many-legend-items.svg create mode 100644 tests/testthat/_snaps/ggplot-legend/legend-one-entry.svg create mode 100644 tests/testthat/_snaps/ggplot-legend/legend-very-long-legend-items.svg create mode 100644 tests/testthat/_snaps/ggplot-legend/scatter-legend.svg create mode 100644 tests/testthat/_snaps/ggplot-lines/line-milliseconds.svg create mode 100644 tests/testthat/_snaps/ggplot-lines/linetype-colors.svg create mode 100644 tests/testthat/_snaps/ggplot-lines/linetype-types.svg create mode 100644 tests/testthat/_snaps/ggplot-map/map-facet.svg create mode 100644 tests/testthat/_snaps/ggplot-path/path-colored-groups-stay-together.svg create mode 100644 tests/testthat/_snaps/ggplot-path/path-colors.svg create mode 100644 tests/testthat/_snaps/ggplot-path/path-colors2.svg create mode 100644 tests/testthat/_snaps/ggplot-path/path-line-symbols.svg create mode 100644 tests/testthat/_snaps/ggplot-path/path-lines-diff-from-paths.svg create mode 100644 tests/testthat/_snaps/ggplot-point/all-shapes.svg create mode 100644 tests/testthat/_snaps/ggplot-point/open-shapes.svg create mode 100644 tests/testthat/_snaps/ggplot-point/point-flip.svg create mode 100644 tests/testthat/_snaps/ggplot-point/point-size-alpha.svg create mode 100644 tests/testthat/_snaps/ggplot-point/point-size-alpha2.svg create mode 100644 tests/testthat/_snaps/ggplot-polygons/polygon-aes-color.svg create mode 100644 tests/testthat/_snaps/ggplot-polygons/polygon-aes-fill.svg create mode 100644 tests/testthat/_snaps/ggplot-polygons/polygon-black.svg create mode 100644 tests/testthat/_snaps/ggplot-polygons/polygon-color-aes-fill.svg create mode 100644 tests/testthat/_snaps/ggplot-polygons/polygon-color-fill-aes-linetype.svg create mode 100644 tests/testthat/_snaps/ggplot-polygons/polygon-color-fill-aes-size.svg create mode 100644 tests/testthat/_snaps/ggplot-polygons/polygon-star-fill-color.svg create mode 100644 tests/testthat/_snaps/ggplot-polygons/polygon-star-group-color.svg create mode 100644 tests/testthat/_snaps/ggplot-polygons/polygon-star-group.svg create mode 100644 tests/testthat/_snaps/ggplot-polygons/polygons-canada-borders.svg create mode 100644 tests/testthat/_snaps/ggplot-rect/rect-black.svg create mode 100644 tests/testthat/_snaps/ggplot-rect/rect-black4.svg create mode 100644 tests/testthat/_snaps/ggplot-rect/rect-color.svg create mode 100644 tests/testthat/_snaps/ggplot-rect/rect-fill-color.svg create mode 100644 tests/testthat/_snaps/ggplot-rect/rect-fill-hex-alpha.svg create mode 100644 tests/testthat/_snaps/ggplot-rect/rect-fill.svg create mode 100644 tests/testthat/_snaps/ggplot-ribbon/ribbon-alpha.svg create mode 100644 tests/testthat/_snaps/ggplot-ribbon/ribbon-colour.svg create mode 100644 tests/testthat/_snaps/ggplot-ribbon/ribbon-fill.svg create mode 100644 tests/testthat/_snaps/ggplot-ribbon/ribbon-group.svg create mode 100644 tests/testthat/_snaps/ggplot-segment/segment-multiple-non-numeric.svg create mode 100644 tests/testthat/_snaps/ggplot-segment/segment.svg create mode 100644 tests/testthat/_snaps/ggplot-sf/sf-aspect.svg create mode 100644 tests/testthat/_snaps/ggplot-sf/sf-axis-ticks.svg create mode 100644 tests/testthat/_snaps/ggplot-sf/sf-fill-text.svg create mode 100644 tests/testthat/_snaps/ggplot-sf/sf-geom-collection.svg create mode 100644 tests/testthat/_snaps/ggplot-sf/sf-points.svg create mode 100644 tests/testthat/_snaps/ggplot-sf/sf-theme-map.svg create mode 100644 tests/testthat/_snaps/ggplot-sf/sf.svg create mode 100644 tests/testthat/_snaps/ggplot-size/size-global-scaling.svg create mode 100644 tests/testthat/_snaps/ggplot-size/size-is-a-vector.svg create mode 100644 tests/testthat/_snaps/ggplot-smooth/smooth-basic.svg create mode 100644 tests/testthat/_snaps/ggplot-smooth/smooth-colour.svg create mode 100644 tests/testthat/_snaps/ggplot-smooth/smooth-facet.svg create mode 100644 tests/testthat/_snaps/ggplot-smooth/smooth-fill2.svg create mode 100644 tests/testthat/_snaps/ggplot-smooth/smooth-group.svg create mode 100644 tests/testthat/_snaps/ggplot-smooth/smooth-se-false.svg create mode 100644 tests/testthat/_snaps/ggplot-step/step-gg-hv.svg create mode 100644 tests/testthat/_snaps/ggplot-step/step-gg-hvh.svg create mode 100644 tests/testthat/_snaps/ggplot-step/step-gg-vh.svg create mode 100644 tests/testthat/_snaps/ggplot-step/step-gg-vhv.svg create mode 100644 tests/testthat/_snaps/ggplot-text/text-colour.svg create mode 100644 tests/testthat/_snaps/ggplot-text/text.svg create mode 100644 tests/testthat/_snaps/ggplot-theme/theme-background.svg create mode 100644 tests/testthat/_snaps/ggplot-theme/theme-marker-default.svg create mode 100644 tests/testthat/_snaps/ggplot-theme/theme-panel-border-1.svg create mode 100644 tests/testthat/_snaps/ggplot-theme/theme-panel-border-2.svg create mode 100644 tests/testthat/_snaps/ggplot-theme/theme-ticks-and-grids.svg create mode 100644 tests/testthat/_snaps/ggplot-theme/theme-ticks-default.svg create mode 100644 tests/testthat/_snaps/ggplot-theme/theme-zeroline-default.svg create mode 100644 tests/testthat/_snaps/ggplot-ticks/continuous-x-missing.svg create mode 100644 tests/testthat/_snaps/ggplot-ticks/ticks-boxes-facet-grid.svg create mode 100644 tests/testthat/_snaps/ggplot-ticks/ticks-boxes-scales-free.svg create mode 100644 tests/testthat/_snaps/ggplot-ticks/ticks-boxes-space-free.svg create mode 100644 tests/testthat/_snaps/ggplot-ticks/ticks-boxes.svg create mode 100644 tests/testthat/_snaps/ggplot-ticks/ticks-breaks-less.svg create mode 100644 tests/testthat/_snaps/ggplot-ticks/ticks-breaks-more.svg create mode 100644 tests/testthat/_snaps/ggplot-ticks/ticks-breaks-nochange.svg create mode 100644 tests/testthat/_snaps/ggplot-ticks/ticks-evenly-spaced-ticks.svg create mode 100644 tests/testthat/_snaps/ggplot-ticks/ticks-flip-grid-free.svg create mode 100644 tests/testthat/_snaps/ggplot-ticks/ticks-flip-grid.svg create mode 100644 tests/testthat/_snaps/ggplot-ticks/ticks-flip.svg create mode 100644 tests/testthat/_snaps/ggplot-ticks/ticks-hide-ticks-labels.svg create mode 100644 tests/testthat/_snaps/ggplot-ticks/ticks-hide-ticks-lines-labels.svg create mode 100644 tests/testthat/_snaps/ggplot-ticks/ticks-limits-gap.svg create mode 100644 tests/testthat/_snaps/ggplot-ticks/ticks-limits-hide.svg create mode 100644 tests/testthat/_snaps/ggplot-ticks/ticks-line-breaks.svg create mode 100644 tests/testthat/_snaps/ggplot-ticks/ticks-scale-labels.svg create mode 100644 tests/testthat/_snaps/ggplot-ticks/ticks-uneven.svg create mode 100644 tests/testthat/_snaps/ggplot-ticks/ticks-ycontinuous-ranges.svg create mode 100644 tests/testthat/_snaps/ggplot-ticks/ticks-ylim-ranges.svg create mode 100644 tests/testthat/_snaps/ggplot-ticks/ticks-ylim-reversed-ranges.svg create mode 100644 tests/testthat/_snaps/ggplot-ticks/ticks-yreverse-limits-ranges.svg create mode 100644 tests/testthat/_snaps/ggplot-ticks/ticks-yreverse-ranges.svg create mode 100644 tests/testthat/_snaps/ggplot-tooltip/group-lines-hovertext.svg create mode 100644 tests/testthat/_snaps/ggplot-tooltip/heatmap-discrete-tooltip.svg create mode 100644 tests/testthat/_snaps/ggplot-tooltip/hovertext-display.svg create mode 100644 tests/testthat/_snaps/ggplot-tooltip/tooltip-date.svg create mode 100644 tests/testthat/_snaps/ggplot-tooltip/tooltip-datetime.svg create mode 100644 tests/testthat/_snaps/ggplot-violin/violin-aes.svg create mode 100644 tests/testthat/_snaps/ggplot-violin/violin.svg create mode 100644 tests/testthat/_snaps/ggplot-vline/vline-multiple.svg create mode 100644 tests/testthat/_snaps/ggplot-vline/vline.svg create mode 100644 tests/testthat/_snaps/ggplot-ylim/ylim-one-trace.svg create mode 100644 tests/testthat/_snaps/icicle/uniformtext-icicle.svg create mode 100644 tests/testthat/_snaps/mean-error-bars/error-rect-alpha.svg create mode 100644 tests/testthat/_snaps/mean-error-bars/error-simple-line-point-crazy.svg create mode 100644 tests/testthat/_snaps/mean-error-bars/error-simple-line-point.svg create mode 100644 tests/testthat/_snaps/mean-error-bars/error-simple-line.svg create mode 100644 tests/testthat/_snaps/mean-error-bars/error-simple.svg create mode 100644 tests/testthat/_snaps/plotly-area/add-area.svg create mode 100644 tests/testthat/_snaps/plotly-color/plotly-color-bar-color-factor-custom.svg create mode 100644 tests/testthat/_snaps/plotly-color/plotly-color-box-color-stroke.svg create mode 100644 tests/testthat/_snaps/plotly-color/plotly-color-color-manual.svg create mode 100644 tests/testthat/_snaps/plotly-color/plotly-color-scatterplot-color-factor-custom.svg create mode 100644 tests/testthat/_snaps/plotly-color/plotly-color-scatterplot-color-factor-custom2.svg create mode 100644 tests/testthat/_snaps/plotly-color/plotly-color-scatterplot-color-factor.svg create mode 100644 tests/testthat/_snaps/plotly-color/plotly-color-scatterplot-color-numeric-custom.svg create mode 100644 tests/testthat/_snaps/plotly-color/plotly-color-scatterplot-color-numeric.svg create mode 100644 tests/testthat/_snaps/plotly-color/plotly-color-scatterplot-scatter3d-axes.svg create mode 100644 tests/testthat/_snaps/plotly-colorbar/plotly-colorbar-expand.svg create mode 100644 tests/testthat/_snaps/plotly-colorbar/plotly-colorbar-restrict.svg create mode 100644 tests/testthat/_snaps/plotly-colorbar/plotly-colorbar-z-expand.svg create mode 100644 tests/testthat/_snaps/plotly-colorbar/plotly-colorbar-z-restrict.svg create mode 100644 tests/testthat/_snaps/plotly-colorbar/plotly-colorbar.svg create mode 100644 tests/testthat/_snaps/plotly-colorscale/colorramp.svg create mode 100644 tests/testthat/_snaps/plotly-colorscale/contour-alpha.svg create mode 100644 tests/testthat/_snaps/plotly-colorscale/contour-colorscale.svg create mode 100644 tests/testthat/_snaps/plotly-colorscale/marker-colorscale.svg create mode 100644 tests/testthat/_snaps/plotly-colorscale/test-df.svg create mode 100644 tests/testthat/_snaps/plotly-colorscale/test-list-2.svg create mode 100644 tests/testthat/_snaps/plotly-colorscale/test-list-3.svg create mode 100644 tests/testthat/_snaps/plotly-colorscale/test-list.svg create mode 100644 tests/testthat/_snaps/plotly-colorscale/test-matrix.svg create mode 100644 tests/testthat/_snaps/plotly-group/plotly-nas-connect.svg create mode 100644 tests/testthat/_snaps/plotly-group/plotly-nas-within-color.svg create mode 100644 tests/testthat/_snaps/plotly-group/plotly-nas-within-color2.svg create mode 100644 tests/testthat/_snaps/plotly-group/plotly-nas-within-group.svg create mode 100644 tests/testthat/_snaps/plotly-group/plotly-nas.svg create mode 100644 tests/testthat/_snaps/plotly-group/plotly-no-nas-for-irrelevant-group.svg create mode 100644 tests/testthat/_snaps/plotly-group/simple-scatter-marker-color-group.svg create mode 100644 tests/testthat/_snaps/plotly-image-trace/colormodel.svg create mode 100644 tests/testthat/_snaps/plotly-image-trace/raster-basic.svg create mode 100644 tests/testthat/_snaps/plotly-linetype/plotly-linetype-alphabetical.svg create mode 100644 tests/testthat/_snaps/plotly-linetype/plotly-linetype-linetype.svg create mode 100644 tests/testthat/_snaps/plotly-linetype/plotly-linetype-linetype2.svg create mode 100644 tests/testthat/_snaps/plotly-linetype/plotly-linetype-linetype3.svg create mode 100644 tests/testthat/_snaps/plotly-linetype/plotly-linetype-manual.svg create mode 100644 tests/testthat/_snaps/plotly-linetype/plotly-linetype-ordering.svg create mode 100644 tests/testthat/_snaps/plotly-size/marker-size.svg create mode 100644 tests/testthat/_snaps/plotly-size/sizemode.svg create mode 100644 tests/testthat/_snaps/plotly-subplot/plotly-subplot-geo-cartesian.svg create mode 100644 tests/testthat/_snaps/plotly-subplot/plotly-subplot-ggmatrix.svg create mode 100644 tests/testthat/_snaps/plotly-subplot/plotly-subplot-group.svg create mode 100644 tests/testthat/_snaps/plotly-subplot/plotly-subplot-plot-list.svg create mode 100644 tests/testthat/_snaps/plotly-subplot/plotly-subplot-recursive.svg create mode 100644 tests/testthat/_snaps/plotly-subplot/plotly-subplot-shareboth.svg create mode 100644 tests/testthat/_snaps/plotly-subplot/plotly-subplot-sharex.svg create mode 100644 tests/testthat/_snaps/plotly-subplot/plotly-subplot-sharey.svg create mode 100644 tests/testthat/_snaps/plotly-subplot/plotly-subplot-simple.svg create mode 100644 tests/testthat/_snaps/plotly-subplot/plotly-subplot-simple2.svg create mode 100644 tests/testthat/_snaps/plotly-subplot/plotly-subplot-subplot-legendgroup.svg create mode 100644 tests/testthat/_snaps/plotly-subplot/plotly-subplot-width-height.svg create mode 100644 tests/testthat/_snaps/plotly-subplot/subplot-bump-axis-annotation-shared.svg create mode 100644 tests/testthat/_snaps/plotly-subplot/subplot-bump-axis-annotation-traces-shared.svg create mode 100644 tests/testthat/_snaps/plotly-subplot/subplot-bump-axis-annotation-traces.svg create mode 100644 tests/testthat/_snaps/plotly-subplot/subplot-bump-axis-annotation.svg create mode 100644 tests/testthat/_snaps/plotly-subplot/subplot-bump-axis-image.svg create mode 100644 tests/testthat/_snaps/plotly-subplot/subplot-bump-axis-shape-shared.svg create mode 100644 tests/testthat/_snaps/plotly-subplot/subplot-bump-axis-shape.svg create mode 100644 tests/testthat/_snaps/plotly-subplot/subplot-reposition-annotation.svg create mode 100644 tests/testthat/_snaps/plotly-subplot/subplot-reposition-image.svg create mode 100644 tests/testthat/_snaps/plotly-subplot/subplot-reposition-shape-fixed.svg create mode 100644 tests/testthat/_snaps/plotly-subplot/subplot-reposition-shape.svg create mode 100644 tests/testthat/_snaps/plotly-sunburst/sunburst.svg create mode 100644 tests/testthat/_snaps/plotly-symbol/plotly-symbol-alphabetical.svg create mode 100644 tests/testthat/_snaps/plotly-symbol/plotly-symbol-logical.svg create mode 100644 tests/testthat/_snaps/plotly-symbol/plotly-symbol-ordering.svg create mode 100644 tests/testthat/_snaps/plotly-symbol/plotly-symbol-pch.svg create mode 100644 tests/testthat/_snaps/plotly-symbol/plotly-symbol-scatterplot-symbol.svg create mode 100644 tests/testthat/_snaps/plotly-symbol/plotly-symbol-scatterplot-symbol2.svg create mode 100644 tests/testthat/_snaps/plotly-symbol/plotly-symbol-symbol-manual.svg create mode 100644 tests/testthat/_snaps/plotly-treemaps/advanced.svg create mode 100644 tests/testthat/_snaps/plotly-treemaps/basic.svg create mode 100644 tests/testthat/_snaps/plotly-waterfall/waterfall-simple.svg create mode 100644 tests/testthat/_snaps/plotly/errorbar-width.svg create mode 100644 tests/testthat/_snaps/plotly/layout-grid.svg create mode 100644 tests/testthat/_snaps/plotly/plotly-alpha-blending.svg create mode 100644 tests/testthat/_snaps/plotly/plotly-alpha-no-color.svg create mode 100644 tests/testthat/_snaps/plotly/plotly-bar-inference.svg create mode 100644 tests/testthat/_snaps/plotly/plotly-box-data-array.svg create mode 100644 tests/testthat/_snaps/plotly/plotly-character-axis.svg create mode 100644 tests/testthat/_snaps/plotly/plotly-factor-axis.svg create mode 100644 tests/testthat/_snaps/plotly/plotly-group-within-trace.svg create mode 100644 tests/testthat/_snaps/plotly/plotly-histogram-vert.svg create mode 100644 tests/testthat/_snaps/plotly/plotly-histogram.svg create mode 100644 tests/testthat/_snaps/plotly/plotly-inherit-false.svg create mode 100644 tests/testthat/_snaps/plotly/plotly-scatterplot.svg create mode 100644 tests/testthat/_snaps/plotly/plotly-time-series-summary.svg create mode 100644 tests/testthat/_snaps/ticktext-linebreaks/ticktext-linebreaks-no-linebreaks.svg create mode 100644 tests/testthat/_snaps/ticktext-linebreaks/ticktext-linebreaks-one-cat.svg create mode 100644 tests/testthat/_snaps/ticktext-linebreaks/ticktext-linebreaks.svg create mode 100644 tests/testthat/test-plotly-area.R 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 new file mode 100644 index 0000000000..0ac7eecfea --- /dev/null +++ b/tests/testthat/_snaps/cookbook-axes/cookbook-axes-blank-minor-major.svg @@ -0,0 +1 @@ +ctrltrt1trt23.54.04.55.05.56.0groupweight diff --git a/tests/testthat/_snaps/cookbook-axes/cookbook-axes-blank-minor.svg b/tests/testthat/_snaps/cookbook-axes/cookbook-axes-blank-minor.svg new file mode 100644 index 0000000000..19a4a64b2b --- /dev/null +++ b/tests/testthat/_snaps/cookbook-axes/cookbook-axes-blank-minor.svg @@ -0,0 +1 @@ +ctrltrt1trt23.54.04.55.05.56.0groupweight diff --git a/tests/testthat/_snaps/cookbook-axes/cookbook-axes-blank-x.svg b/tests/testthat/_snaps/cookbook-axes/cookbook-axes-blank-x.svg new file mode 100644 index 0000000000..0cccabc7fb --- /dev/null +++ b/tests/testthat/_snaps/cookbook-axes/cookbook-axes-blank-x.svg @@ -0,0 +1 @@ +ctrltrt1trt23.54.04.55.05.56.0groupweight diff --git a/tests/testthat/_snaps/cookbook-axes/cookbook-axes-blank-y.svg b/tests/testthat/_snaps/cookbook-axes/cookbook-axes-blank-y.svg new file mode 100644 index 0000000000..068daa026a --- /dev/null +++ b/tests/testthat/_snaps/cookbook-axes/cookbook-axes-blank-y.svg @@ -0,0 +1 @@ +ctrltrt1trt23.54.04.55.05.56.0groupweight diff --git a/tests/testthat/_snaps/cookbook-axes/cookbook-axes-coord-ylim.svg b/tests/testthat/_snaps/cookbook-axes/cookbook-axes-coord-ylim.svg new file mode 100644 index 0000000000..754fcee9e4 --- /dev/null +++ b/tests/testthat/_snaps/cookbook-axes/cookbook-axes-coord-ylim.svg @@ -0,0 +1 @@ +ctrltrt1trt25.05.56.06.57.07.5groupweight diff --git a/tests/testthat/_snaps/cookbook-axes/cookbook-axes-custom-formatter.svg b/tests/testthat/_snaps/cookbook-axes/cookbook-axes-custom-formatter.svg new file mode 100644 index 0000000000..ce4ac1453b --- /dev/null +++ b/tests/testthat/_snaps/cookbook-axes/cookbook-axes-custom-formatter.svg @@ -0,0 +1 @@ +ctrltrt1trt23:304:004:305:005:306:00groupweight diff --git a/tests/testthat/_snaps/cookbook-axes/cookbook-axes-flevels.svg b/tests/testthat/_snaps/cookbook-axes/cookbook-axes-flevels.svg new file mode 100644 index 0000000000..f531fc3939 --- /dev/null +++ b/tests/testthat/_snaps/cookbook-axes/cookbook-axes-flevels.svg @@ -0,0 +1 @@ +trt2trt1ctrl3.54.04.55.05.56.0groupweight diff --git a/tests/testthat/_snaps/cookbook-axes/cookbook-axes-fonts.svg b/tests/testthat/_snaps/cookbook-axes/cookbook-axes-fonts.svg new file mode 100644 index 0000000000..64a3b9c61a --- /dev/null +++ b/tests/testthat/_snaps/cookbook-axes/cookbook-axes-fonts.svg @@ -0,0 +1 @@ +ctrltrt1trt23.54.04.55.05.56.0 group weight diff --git a/tests/testthat/_snaps/cookbook-axes/cookbook-axes-label-funs.svg b/tests/testthat/_snaps/cookbook-axes/cookbook-axes-label-funs.svg new file mode 100644 index 0000000000..265efab949 --- /dev/null +++ b/tests/testthat/_snaps/cookbook-axes/cookbook-axes-label-funs.svg @@ -0,0 +1 @@ +ctrltrt1trt2350%400%450%500%550%600%groupweight diff --git a/tests/testthat/_snaps/cookbook-axes/cookbook-axes-linear-axes.svg b/tests/testthat/_snaps/cookbook-axes/cookbook-axes-linear-axes.svg new file mode 100644 index 0000000000..7aead819a4 --- /dev/null +++ b/tests/testthat/_snaps/cookbook-axes/cookbook-axes-linear-axes.svg @@ -0,0 +1 @@ +012345050000010000001500000xvalyval diff --git a/tests/testthat/_snaps/cookbook-axes/cookbook-axes-log2-coord.svg b/tests/testthat/_snaps/cookbook-axes/cookbook-axes-log2-coord.svg new file mode 100644 index 0000000000..4cdd6f2a44 --- /dev/null +++ b/tests/testthat/_snaps/cookbook-axes/cookbook-axes-log2-coord.svg @@ -0,0 +1 @@ +0123451e+062e+063e+06xvalyval diff --git a/tests/testthat/_snaps/cookbook-axes/cookbook-axes-log2-labels.svg b/tests/testthat/_snaps/cookbook-axes/cookbook-axes-log2-labels.svg new file mode 100644 index 0000000000..5a2687a713 --- /dev/null +++ b/tests/testthat/_snaps/cookbook-axes/cookbook-axes-log2-labels.svg @@ -0,0 +1 @@ +0123455.0010.0015.0020.00xvalyval diff --git a/tests/testthat/_snaps/cookbook-axes/cookbook-axes-log2-scale.svg b/tests/testthat/_snaps/cookbook-axes/cookbook-axes-log2-scale.svg new file mode 100644 index 0000000000..8825a3430e --- /dev/null +++ b/tests/testthat/_snaps/cookbook-axes/cookbook-axes-log2-scale.svg @@ -0,0 +1 @@ +012345642048655362097152xvalyval 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 new file mode 100644 index 0000000000..b351b7c0a5 --- /dev/null +++ b/tests/testthat/_snaps/cookbook-axes/cookbook-axes-no-x-title.svg @@ -0,0 +1 @@ +ctrltrt1trt23.54.04.55.05.56.0Weight (Kg) diff --git a/tests/testthat/_snaps/cookbook-axes/cookbook-axes-scale-hide.svg b/tests/testthat/_snaps/cookbook-axes/cookbook-axes-scale-hide.svg new file mode 100644 index 0000000000..49f706d990 --- /dev/null +++ b/tests/testthat/_snaps/cookbook-axes/cookbook-axes-scale-hide.svg @@ -0,0 +1 @@ +ctrltrt1trt25.05.56.06.57.07.5groupweight diff --git a/tests/testthat/_snaps/cookbook-axes/cookbook-axes-scale-name.svg b/tests/testthat/_snaps/cookbook-axes/cookbook-axes-scale-name.svg new file mode 100644 index 0000000000..5b5e573c0c --- /dev/null +++ b/tests/testthat/_snaps/cookbook-axes/cookbook-axes-scale-name.svg @@ -0,0 +1 @@ +ctrltrt1trt23.54.04.55.05.56.0Weight (Kg) 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 new file mode 100644 index 0000000000..3aac303a5b --- /dev/null +++ b/tests/testthat/_snaps/cookbook-axes/cookbook-axes-scale-y-log10-labels.svg @@ -0,0 +1 @@ +0123451.002.003.004.005.006.00xvalyval 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 new file mode 100644 index 0000000000..383c6792cd --- /dev/null +++ b/tests/testthat/_snaps/cookbook-axes/cookbook-axes-scale-y-log10.svg @@ -0,0 +1 @@ +0123451e+021e+041e+06xvalyval diff --git a/tests/testthat/_snaps/cookbook-axes/cookbook-axes-ylim-hide.svg b/tests/testthat/_snaps/cookbook-axes/cookbook-axes-ylim-hide.svg new file mode 100644 index 0000000000..49f706d990 --- /dev/null +++ b/tests/testthat/_snaps/cookbook-axes/cookbook-axes-ylim-hide.svg @@ -0,0 +1 @@ +ctrltrt1trt25.05.56.06.57.07.5groupweight 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 new file mode 100644 index 0000000000..947368abc9 --- /dev/null +++ b/tests/testthat/_snaps/cookbook-lines/cookbook-axes-bar-dodge-color-err4.svg @@ -0,0 +1 @@ +controltreatment051015groupABcondresult 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 new file mode 100644 index 0000000000..2133cecb52 --- /dev/null +++ b/tests/testthat/_snaps/cookbook-lines/cookbook-axes-bar-dodge-color-error.svg @@ -0,0 +1 @@ +controltreatment0510groupABcondresult 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 new file mode 100644 index 0000000000..63b830d9e3 --- /dev/null +++ b/tests/testthat/_snaps/cookbook-lines/cookbook-axes-bar-dodge-color.svg @@ -0,0 +1 @@ +controltreatment0510groupABcondresult 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 new file mode 100644 index 0000000000..370a595469 --- /dev/null +++ b/tests/testthat/_snaps/cookbook-lines/cookbook-axes-bar-error-diff.svg @@ -0,0 +1 @@ +controltreatment0.02.55.07.510.012.5condresult 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 new file mode 100644 index 0000000000..9d973fe567 --- /dev/null +++ b/tests/testthat/_snaps/cookbook-lines/cookbook-axes-bar-error-narrow.svg @@ -0,0 +1 @@ +controltreatment0.02.55.07.510.012.5condresult 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 new file mode 100644 index 0000000000..370a595469 --- /dev/null +++ b/tests/testthat/_snaps/cookbook-lines/cookbook-axes-bar-error-wide.svg @@ -0,0 +1 @@ +controltreatment0.02.55.07.510.012.5condresult diff --git a/tests/testthat/_snaps/cookbook-lines/cookbook-axes-basic-bar.svg b/tests/testthat/_snaps/cookbook-lines/cookbook-axes-basic-bar.svg new file mode 100644 index 0000000000..ada544b654 --- /dev/null +++ b/tests/testthat/_snaps/cookbook-lines/cookbook-axes-basic-bar.svg @@ -0,0 +1 @@ +controltreatment036912condresult 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 new file mode 100644 index 0000000000..cf525ff33b --- /dev/null +++ b/tests/testthat/_snaps/cookbook-lines/cookbook-axes-basic-horizontal-line.svg @@ -0,0 +1 @@ +controltreatment0.02.55.07.510.012.5condresult 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 new file mode 100644 index 0000000000..1fdf0d27a7 --- /dev/null +++ b/tests/testthat/_snaps/cookbook-lines/cookbook-axes-dashed-red-line.svg @@ -0,0 +1 @@ +controltreatment0.02.55.07.510.012.5condresult diff --git a/tests/testthat/_snaps/cookbook-lines/cookbook-axes-scatter-basic.svg b/tests/testthat/_snaps/cookbook-lines/cookbook-axes-scatter-basic.svg new file mode 100644 index 0000000000..d1ef902e95 --- /dev/null +++ b/tests/testthat/_snaps/cookbook-lines/cookbook-axes-scatter-basic.svg @@ -0,0 +1 @@ +81012910111213condcontroltreatmentxvalyval 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 new file mode 100644 index 0000000000..0d22f86095 --- /dev/null +++ b/tests/testthat/_snaps/cookbook-lines/cookbook-axes-scatter-facet-hline-vline.svg @@ -0,0 +1 @@ +8101291011121381012condcontroltreatmentxvalyvalcontroltreatment 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 new file mode 100644 index 0000000000..38b3ca03f0 --- /dev/null +++ b/tests/testthat/_snaps/cookbook-lines/cookbook-axes-scatter-facet-hline.svg @@ -0,0 +1 @@ +8101291011121381012condcontroltreatmentxvalyvalcontroltreatment diff --git a/tests/testthat/_snaps/cookbook-lines/cookbook-axes-scatter-facet.svg b/tests/testthat/_snaps/cookbook-lines/cookbook-axes-scatter-facet.svg new file mode 100644 index 0000000000..7de450e2e0 --- /dev/null +++ b/tests/testthat/_snaps/cookbook-lines/cookbook-axes-scatter-facet.svg @@ -0,0 +1 @@ +8101291011121381012condcontroltreatmentxvalyvalcontroltreatment 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 new file mode 100644 index 0000000000..613d8db1ea --- /dev/null +++ b/tests/testthat/_snaps/cookbook-lines/cookbook-axes-scatter-hline-vline.svg @@ -0,0 +1 @@ +81012910111213condcontroltreatmentxvalyval diff --git a/tests/testthat/_snaps/cookbook-lines/cookbook-axes-scatter-hline.svg b/tests/testthat/_snaps/cookbook-lines/cookbook-axes-scatter-hline.svg new file mode 100644 index 0000000000..9ff99467da --- /dev/null +++ b/tests/testthat/_snaps/cookbook-lines/cookbook-axes-scatter-hline.svg @@ -0,0 +1 @@ +81012910111213condcontroltreatmentxvalyval diff --git a/tests/testthat/_snaps/cookbook-scatterplots/color.svg b/tests/testthat/_snaps/cookbook-scatterplots/color.svg new file mode 100644 index 0000000000..874597ddba --- /dev/null +++ b/tests/testthat/_snaps/cookbook-scatterplots/color.svg @@ -0,0 +1 @@ +01020300510152025condABxvaryvar diff --git a/tests/testthat/_snaps/cookbook-scatterplots/full-range.svg b/tests/testthat/_snaps/cookbook-scatterplots/full-range.svg new file mode 100644 index 0000000000..3ab22bd4b1 --- /dev/null +++ b/tests/testthat/_snaps/cookbook-scatterplots/full-range.svg @@ -0,0 +1 @@ +010203001020condABxvaryvar diff --git a/tests/testthat/_snaps/cookbook-scatterplots/geom-jitter.svg b/tests/testthat/_snaps/cookbook-scatterplots/geom-jitter.svg new file mode 100644 index 0000000000..b68a942721 --- /dev/null +++ b/tests/testthat/_snaps/cookbook-scatterplots/geom-jitter.svg @@ -0,0 +1 @@ +01020300510152025xrndyrnd diff --git a/tests/testthat/_snaps/cookbook-scatterplots/hollow.svg b/tests/testthat/_snaps/cookbook-scatterplots/hollow.svg new file mode 100644 index 0000000000..90ea49e257 --- /dev/null +++ b/tests/testthat/_snaps/cookbook-scatterplots/hollow.svg @@ -0,0 +1 @@ +01020300510152025xvaryvar diff --git a/tests/testthat/_snaps/cookbook-scatterplots/jitter.svg b/tests/testthat/_snaps/cookbook-scatterplots/jitter.svg new file mode 100644 index 0000000000..b68a942721 --- /dev/null +++ b/tests/testthat/_snaps/cookbook-scatterplots/jitter.svg @@ -0,0 +1 @@ +01020300510152025xrndyrnd diff --git a/tests/testthat/_snaps/cookbook-scatterplots/loess.svg b/tests/testthat/_snaps/cookbook-scatterplots/loess.svg new file mode 100644 index 0000000000..0d0646a7ce --- /dev/null +++ b/tests/testthat/_snaps/cookbook-scatterplots/loess.svg @@ -0,0 +1 @@ +010203001020xvaryvar diff --git a/tests/testthat/_snaps/cookbook-scatterplots/overlap.svg b/tests/testthat/_snaps/cookbook-scatterplots/overlap.svg new file mode 100644 index 0000000000..19a46c9fab --- /dev/null +++ b/tests/testthat/_snaps/cookbook-scatterplots/overlap.svg @@ -0,0 +1 @@ +01020300510152025xrndyrnd diff --git a/tests/testthat/_snaps/cookbook-scatterplots/scale-color-hue.svg b/tests/testthat/_snaps/cookbook-scatterplots/scale-color-hue.svg new file mode 100644 index 0000000000..a414ae8527 --- /dev/null +++ b/tests/testthat/_snaps/cookbook-scatterplots/scale-color-hue.svg @@ -0,0 +1 @@ +01020300510152025condABxvaryvar diff --git a/tests/testthat/_snaps/cookbook-scatterplots/shape-manual.svg b/tests/testthat/_snaps/cookbook-scatterplots/shape-manual.svg new file mode 100644 index 0000000000..6c0b53722f --- /dev/null +++ b/tests/testthat/_snaps/cookbook-scatterplots/shape-manual.svg @@ -0,0 +1 @@ +01020300510152025condABxvaryvar diff --git a/tests/testthat/_snaps/cookbook-scatterplots/shape.svg b/tests/testthat/_snaps/cookbook-scatterplots/shape.svg new file mode 100644 index 0000000000..b9a3fc077d --- /dev/null +++ b/tests/testthat/_snaps/cookbook-scatterplots/shape.svg @@ -0,0 +1 @@ +01020300510152025condABxvaryvar diff --git a/tests/testthat/_snaps/cookbook-scatterplots/smooth-lm-se-false.svg b/tests/testthat/_snaps/cookbook-scatterplots/smooth-lm-se-false.svg new file mode 100644 index 0000000000..3b7605a24c --- /dev/null +++ b/tests/testthat/_snaps/cookbook-scatterplots/smooth-lm-se-false.svg @@ -0,0 +1 @@ +01020300510152025xvaryvar diff --git a/tests/testthat/_snaps/cookbook-scatterplots/smooth-lm.svg b/tests/testthat/_snaps/cookbook-scatterplots/smooth-lm.svg new file mode 100644 index 0000000000..57ac89c9c4 --- /dev/null +++ b/tests/testthat/_snaps/cookbook-scatterplots/smooth-lm.svg @@ -0,0 +1 @@ +010203001020xvaryvar 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 new file mode 100644 index 0000000000..a9b837dd5a --- /dev/null +++ b/tests/testthat/_snaps/geom-errorbar-flipped-aes/errobar-flipped-aes.svg @@ -0,0 +1 @@ +2.502.753.003.253.50setosaversicolorvirginicaSpecies 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 new file mode 100644 index 0000000000..e30be0b6ac --- /dev/null +++ b/tests/testthat/_snaps/geom-errorbar-issue-1751/errobar-no-aes-y.svg @@ -0,0 +1 @@ +FirmicutesSpirochaetes0.20.30.40.50.6Names diff --git a/tests/testthat/_snaps/ggplot-abline/cookbook-axes-multiple-abline.svg b/tests/testthat/_snaps/ggplot-abline/cookbook-axes-multiple-abline.svg new file mode 100644 index 0000000000..feb4f7a98a --- /dev/null +++ b/tests/testthat/_snaps/ggplot-abline/cookbook-axes-multiple-abline.svg @@ -0,0 +1 @@ +-5.0-2.50.02.55.0-5.0-2.50.02.55.0 diff --git a/tests/testthat/_snaps/ggplot-abline/cookbook-axes-single-abline.svg b/tests/testthat/_snaps/ggplot-abline/cookbook-axes-single-abline.svg new file mode 100644 index 0000000000..e8b406d59d --- /dev/null +++ b/tests/testthat/_snaps/ggplot-abline/cookbook-axes-single-abline.svg @@ -0,0 +1 @@ +01230123xy diff --git a/tests/testthat/_snaps/ggplot-area/area-area-fillcolor.svg b/tests/testthat/_snaps/ggplot-area/area-area-fillcolor.svg new file mode 100644 index 0000000000..d92de4329f --- /dev/null +++ b/tests/testthat/_snaps/ggplot-area/area-area-fillcolor.svg @@ -0,0 +1 @@ +187519001925195019750200400600yearlevel diff --git a/tests/testthat/_snaps/ggplot-area/area-simple.svg b/tests/testthat/_snaps/ggplot-area/area-simple.svg new file mode 100644 index 0000000000..d0e4d15690 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-area/area-simple.svg @@ -0,0 +1 @@ +187519001925195019750200400600yearlevel diff --git a/tests/testthat/_snaps/ggplot-area/area-traces-order.svg b/tests/testthat/_snaps/ggplot-area/area-traces-order.svg new file mode 100644 index 0000000000..923b833d24 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-area/area-traces-order.svg @@ -0,0 +1 @@ +0123450.000.250.500.751.00cutFairGoodVery GoodPremiumIdealcaratfreq 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 new file mode 100644 index 0000000000..15112605ee --- /dev/null +++ b/tests/testthat/_snaps/ggplot-bar/bar-aes-colour-guides-fill-false.svg @@ -0,0 +1 @@ +LunchDinner051015timeLunchDinnertimetotal_bill 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 new file mode 100644 index 0000000000..aea450305a --- /dev/null +++ b/tests/testthat/_snaps/ggplot-bar/bar-aes-fill-guides-color-none.svg @@ -0,0 +1 @@ +LunchDinner051015timeLunchDinnertimetotal_bill diff --git a/tests/testthat/_snaps/ggplot-bar/bar-black-outline.svg b/tests/testthat/_snaps/ggplot-bar/bar-black-outline.svg new file mode 100644 index 0000000000..aea450305a --- /dev/null +++ b/tests/testthat/_snaps/ggplot-bar/bar-black-outline.svg @@ -0,0 +1 @@ +LunchDinner051015timeLunchDinnertimetotal_bill diff --git a/tests/testthat/_snaps/ggplot-bar/bar-category-names.svg b/tests/testthat/_snaps/ggplot-bar/bar-category-names.svg new file mode 100644 index 0000000000..02f5db8ce9 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-bar/bar-category-names.svg @@ -0,0 +1 @@ +FairGoodVery GoodPremiumIdeal02000400060008000cutprice diff --git a/tests/testthat/_snaps/ggplot-bar/bar-color.svg b/tests/testthat/_snaps/ggplot-bar/bar-color.svg new file mode 100644 index 0000000000..1ccec73f8e --- /dev/null +++ b/tests/testthat/_snaps/ggplot-bar/bar-color.svg @@ -0,0 +1 @@ +LunchDinner051015timeLunchDinnertimetotal_bill diff --git a/tests/testthat/_snaps/ggplot-bar/bar-coord-flip.svg b/tests/testthat/_snaps/ggplot-bar/bar-coord-flip.svg new file mode 100644 index 0000000000..42fd045785 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-bar/bar-coord-flip.svg @@ -0,0 +1 @@ +0510468countfactor(cyl) diff --git a/tests/testthat/_snaps/ggplot-bar/bar-dates.svg b/tests/testthat/_snaps/ggplot-bar/bar-dates.svg new file mode 100644 index 0000000000..22fef0df1f --- /dev/null +++ b/tests/testthat/_snaps/ggplot-bar/bar-dates.svg @@ -0,0 +1 @@ +Jan 01Jan 15Feb 01Feb 1502040fieldBioMathmonthpapers diff --git a/tests/testthat/_snaps/ggplot-bar/bar-dodge.svg b/tests/testthat/_snaps/ggplot-bar/bar-dodge.svg new file mode 100644 index 0000000000..947730bc10 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-bar/bar-dodge.svg @@ -0,0 +1 @@ +CanadaGermanyUSA0102030fieldBioMathcountrypapers diff --git a/tests/testthat/_snaps/ggplot-bar/bar-identity.svg b/tests/testthat/_snaps/ggplot-bar/bar-identity.svg new file mode 100644 index 0000000000..b2f23f4ab4 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-bar/bar-identity.svg @@ -0,0 +1 @@ +CanadaGermanyUSA0102030fieldBioMathcountrypapers diff --git a/tests/testthat/_snaps/ggplot-bar/bar-nocolor.svg b/tests/testthat/_snaps/ggplot-bar/bar-nocolor.svg new file mode 100644 index 0000000000..c14a4ad3bf --- /dev/null +++ b/tests/testthat/_snaps/ggplot-bar/bar-nocolor.svg @@ -0,0 +1 @@ +LunchDinner051015timetotal_bill diff --git a/tests/testthat/_snaps/ggplot-bar/bar-position-fill.svg b/tests/testthat/_snaps/ggplot-bar/bar-position-fill.svg new file mode 100644 index 0000000000..1ebd954fa9 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-bar/bar-position-fill.svg @@ -0,0 +1 @@ +010.000.250.500.751.00factor(cyl)468factor(vs)count diff --git a/tests/testthat/_snaps/ggplot-bar/bar-position-stack.svg b/tests/testthat/_snaps/ggplot-bar/bar-position-stack.svg new file mode 100644 index 0000000000..d2754e7bd2 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-bar/bar-position-stack.svg @@ -0,0 +1 @@ +01051015factor(cyl)468factor(vs)count diff --git a/tests/testthat/_snaps/ggplot-bar/bar-stack.svg b/tests/testthat/_snaps/ggplot-bar/bar-stack.svg new file mode 100644 index 0000000000..507bb54028 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-bar/bar-stack.svg @@ -0,0 +1 @@ +CanadaGermanyUSA0102030fieldBioMathcountrypapers diff --git a/tests/testthat/_snaps/ggplot-boxplot/boxplot-datetime.svg b/tests/testthat/_snaps/ggplot-boxplot/boxplot-datetime.svg new file mode 100644 index 0000000000..6d35832e43 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-boxplot/boxplot-datetime.svg @@ -0,0 +1 @@ +-0.4-0.20.00.20.410203040xy diff --git a/tests/testthat/_snaps/ggplot-boxplot/boxplot-fillcolor.svg b/tests/testthat/_snaps/ggplot-boxplot/boxplot-fillcolor.svg new file mode 100644 index 0000000000..a9f356b8a9 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-boxplot/boxplot-fillcolor.svg @@ -0,0 +1 @@ +ABCD-2024colC1C2condrating diff --git a/tests/testthat/_snaps/ggplot-boxplot/boxplot-legends-for-fill.svg b/tests/testthat/_snaps/ggplot-boxplot/boxplot-legends-for-fill.svg new file mode 100644 index 0000000000..ec9446ddda --- /dev/null +++ b/tests/testthat/_snaps/ggplot-boxplot/boxplot-legends-for-fill.svg @@ -0,0 +1 @@ +468101520253035factor(cyl)468factor(cyl)mpg diff --git a/tests/testthat/_snaps/ggplot-boxplot/boxplot.svg b/tests/testthat/_snaps/ggplot-boxplot/boxplot.svg new file mode 100644 index 0000000000..5a4ae575dd --- /dev/null +++ b/tests/testthat/_snaps/ggplot-boxplot/boxplot.svg @@ -0,0 +1 @@ +468101520253035factor(cyl)mpg diff --git a/tests/testthat/_snaps/ggplot-col/col.svg b/tests/testthat/_snaps/ggplot-col/col.svg new file mode 100644 index 0000000000..18b503929c --- /dev/null +++ b/tests/testthat/_snaps/ggplot-col/col.svg @@ -0,0 +1 @@ +71.4%20.0%48.3%28.6%80.0%51.7%ElementaryHighMiddle0.000.250.500.751.00includedexcludedincludedtypeprop diff --git a/tests/testthat/_snaps/ggplot-contour/contour.svg b/tests/testthat/_snaps/ggplot-contour/contour.svg new file mode 100644 index 0000000000..22651e03a9 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-contour/contour.svg @@ -0,0 +1 @@ +02550750204060xy diff --git a/tests/testthat/_snaps/ggplot-date/date-class-date.svg b/tests/testthat/_snaps/ggplot-date/date-class-date.svg new file mode 100644 index 0000000000..60dffdb78c --- /dev/null +++ b/tests/testthat/_snaps/ggplot-date/date-class-date.svg @@ -0,0 +1 @@ +Jan 01Jan 02Jan 032.002.252.502.753.00xy diff --git a/tests/testthat/_snaps/ggplot-date/date-irregular-time-series.svg b/tests/testthat/_snaps/ggplot-date/date-irregular-time-series.svg new file mode 100644 index 0000000000..42616afb11 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-date/date-irregular-time-series.svg @@ -0,0 +1 @@ +JanFebMar0.000.250.500.751.00dateprice diff --git a/tests/testthat/_snaps/ggplot-date/date-strings.svg b/tests/testthat/_snaps/ggplot-date/date-strings.svg new file mode 100644 index 0000000000..ba60eb96ca --- /dev/null +++ b/tests/testthat/_snaps/ggplot-date/date-strings.svg @@ -0,0 +1 @@ +Apr 1983Jul 1983Oct 1983Jan 1984Apr 19840.02.55.07.510.0whomeyoutime.objdollars diff --git a/tests/testthat/_snaps/ggplot-density/density-color.svg b/tests/testthat/_snaps/ggplot-density/density-color.svg new file mode 100644 index 0000000000..457d88cd65 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-density/density-color.svg @@ -0,0 +1 @@ +23450.00.20.40.6factor(vs)01wtdensity diff --git a/tests/testthat/_snaps/ggplot-density/density-fill.svg b/tests/testthat/_snaps/ggplot-density/density-fill.svg new file mode 100644 index 0000000000..8f28a011bb --- /dev/null +++ b/tests/testthat/_snaps/ggplot-density/density-fill.svg @@ -0,0 +1 @@ +23450.00.20.40.6factor(vs)01wtdensity diff --git a/tests/testthat/_snaps/ggplot-density/density-histogram.svg b/tests/testthat/_snaps/ggplot-density/density-histogram.svg new file mode 100644 index 0000000000..b69ac9d912 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-density/density-histogram.svg @@ -0,0 +1 @@ +23450.00.20.4wtdensity diff --git a/tests/testthat/_snaps/ggplot-density/density-simple.svg b/tests/testthat/_snaps/ggplot-density/density-simple.svg new file mode 100644 index 0000000000..a1a0f69e35 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-density/density-simple.svg @@ -0,0 +1 @@ +23450.00.10.20.30.40.5wtdensity diff --git a/tests/testthat/_snaps/ggplot-density/density-traces-order.svg b/tests/testthat/_snaps/ggplot-density/density-traces-order.svg new file mode 100644 index 0000000000..5a978671ff --- /dev/null +++ b/tests/testthat/_snaps/ggplot-density/density-traces-order.svg @@ -0,0 +1 @@ +1015202530350.00.10.20.3factor(cyl)468mpgdensity diff --git a/tests/testthat/_snaps/ggplot-density2d/density2d.svg b/tests/testthat/_snaps/ggplot-density2d/density2d.svg new file mode 100644 index 0000000000..84b72fe7a6 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-density2d/density2d.svg @@ -0,0 +1 @@ +12345406080100durationwaiting diff --git a/tests/testthat/_snaps/ggplot-errorbar-horizontal/errorbar-horizontal.svg b/tests/testthat/_snaps/ggplot-errorbar-horizontal/errorbar-horizontal.svg new file mode 100644 index 0000000000..32325b4f80 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-errorbar-horizontal/errorbar-horizontal.svg @@ -0,0 +1 @@ +1234512group12resptrt diff --git a/tests/testthat/_snaps/ggplot-errorbar/errorbar-unique-groups.svg b/tests/testthat/_snaps/ggplot-errorbar/errorbar-unique-groups.svg new file mode 100644 index 0000000000..4101c3bbe8 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-errorbar/errorbar-unique-groups.svg @@ -0,0 +1 @@ +1212345group1234trtresp diff --git a/tests/testthat/_snaps/ggplot-errorbar/errorbar.svg b/tests/testthat/_snaps/ggplot-errorbar/errorbar.svg new file mode 100644 index 0000000000..38223beb50 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-errorbar/errorbar.svg @@ -0,0 +1 @@ +345678915202530cylm diff --git a/tests/testthat/_snaps/ggplot-facets/3-panels.svg b/tests/testthat/_snaps/ggplot-facets/3-panels.svg new file mode 100644 index 0000000000..77d23c4fd5 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-facets/3-panels.svg @@ -0,0 +1 @@ +0.000.250.500.751.000.000.250.500.751.000.000.250.500.751.000.000.250.500.751.00xyabc diff --git a/tests/testthat/_snaps/ggplot-facets/barley.svg b/tests/testthat/_snaps/ggplot-facets/barley.svg new file mode 100644 index 0000000000..cf859e6f5d --- /dev/null +++ b/tests/testthat/_snaps/ggplot-facets/barley.svg @@ -0,0 +1 @@ +SvansotaNo. 462ManchuriaNo. 475VelvetPeatlandGlabronNo. 457Wisconsin No. 38TrebiSvansotaNo. 462ManchuriaNo. 475VelvetPeatlandGlabronNo. 457Wisconsin No. 38TrebiSvansotaNo. 462ManchuriaNo. 475VelvetPeatlandGlabronNo. 457Wisconsin No. 38TrebiSvansotaNo. 462ManchuriaNo. 475VelvetPeatlandGlabronNo. 457Wisconsin No. 38TrebiSvansotaNo. 462ManchuriaNo. 475VelvetPeatlandGlabronNo. 457Wisconsin No. 38Trebi2030405060SvansotaNo. 462ManchuriaNo. 475VelvetPeatlandGlabronNo. 457Wisconsin No. 38Trebiyear19321931yieldvarietyGrand RapidsDuluthUniversity FarmMorrisCrookstonWaseca diff --git a/tests/testthat/_snaps/ggplot-facets/facet-grid-free-x.svg b/tests/testthat/_snaps/ggplot-facets/facet-grid-free-x.svg new file mode 100644 index 0000000000..f5091940db --- /dev/null +++ b/tests/testthat/_snaps/ggplot-facets/facet-grid-free-x.svg @@ -0,0 +1 @@ +234510152025234515202530mpgwt0101 diff --git a/tests/testthat/_snaps/ggplot-facets/facet-grid-free-y.svg b/tests/testthat/_snaps/ggplot-facets/facet-grid-free-y.svg new file mode 100644 index 0000000000..cdebd6eb41 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-facets/facet-grid-free-y.svg @@ -0,0 +1 @@ +23451015202530351.52.02.53.03.5101520253035mpgwt0101 diff --git a/tests/testthat/_snaps/ggplot-facets/facet-grid-free.svg b/tests/testthat/_snaps/ggplot-facets/facet-grid-free.svg new file mode 100644 index 0000000000..d02cd58954 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-facets/facet-grid-free.svg @@ -0,0 +1 @@ +2345101520251.52.02.53.03.515202530mpgwt0101 diff --git a/tests/testthat/_snaps/ggplot-facets/facet-grid-labeller.svg b/tests/testthat/_snaps/ggplot-facets/facet-grid-labeller.svg new file mode 100644 index 0000000000..b476e750a1 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-facets/facet-grid-labeller.svg @@ -0,0 +1 @@ +23451015202530352345101520253035mpgwtam: 0am: 1vs: 0vs: 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 new file mode 100644 index 0000000000..1781d209a6 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-facets/facet-wrap-free-mult.svg @@ -0,0 +1 @@ +25301.52.02.53.0181920212.753.003.253.5010.012.515.017.53.54.04.55.05.5mpgwt468 diff --git a/tests/testthat/_snaps/ggplot-facets/facet-wrap-free-x.svg b/tests/testthat/_snaps/ggplot-facets/facet-wrap-free-x.svg new file mode 100644 index 0000000000..50cad5c9ad --- /dev/null +++ b/tests/testthat/_snaps/ggplot-facets/facet-wrap-free-x.svg @@ -0,0 +1 @@ +10.012.515.017.52345182022241518212423452530mpgwt00011011 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 new file mode 100644 index 0000000000..681f24f5ed --- /dev/null +++ b/tests/testthat/_snaps/ggplot-facets/facet-wrap-free-y-2.svg @@ -0,0 +1 @@ +025005000750010000125005101519701980199020002010400080001200020000022500025000027500030000032500019701980199020002010510152025datevaluepcepoppsavertuempmedunemploy diff --git a/tests/testthat/_snaps/ggplot-facets/facet-wrap-free-y.svg b/tests/testthat/_snaps/ggplot-facets/facet-wrap-free-y.svg new file mode 100644 index 0000000000..c878b5df71 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-facets/facet-wrap-free-y.svg @@ -0,0 +1 @@ +3.54.04.55.05.51015202530352.42.83.23.62.502.753.003.253.501015202530351.52.02.5mpgwt00011011 diff --git a/tests/testthat/_snaps/ggplot-facets/facet-wrap-free.svg b/tests/testthat/_snaps/ggplot-facets/facet-wrap-free.svg new file mode 100644 index 0000000000..d00fcc0008 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-facets/facet-wrap-free.svg @@ -0,0 +1 @@ +10.012.515.017.53.54.04.55.05.5182022242.502.753.003.253.50151821242.42.83.23.625301.52.02.5mpgwt00011011 diff --git a/tests/testthat/_snaps/ggplot-facets/facet-wrap-labeller.svg b/tests/testthat/_snaps/ggplot-facets/facet-wrap-labeller.svg new file mode 100644 index 0000000000..d9841a19e1 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-facets/facet-wrap-labeller.svg @@ -0,0 +1 @@ +1015202530352345101520253035mpgwtam: 0am: 1 diff --git a/tests/testthat/_snaps/ggplot-facets/facet-wrap.svg b/tests/testthat/_snaps/ggplot-facets/facet-wrap.svg new file mode 100644 index 0000000000..d2edefb1c6 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-facets/facet-wrap.svg @@ -0,0 +1 @@ +1015202530352345101520253035101520253035mpgwt468 diff --git a/tests/testthat/_snaps/ggplot-heatmap/heatmap-discrete.svg b/tests/testthat/_snaps/ggplot-heatmap/heatmap-discrete.svg new file mode 100644 index 0000000000..469d001725 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-heatmap/heatmap-discrete.svg @@ -0,0 +1 @@ +amcarbcyldispdratgearhpmpgqsecvswtamcarbcyldispdratgearhpmpgqsecvswt-0.50.00.51.0corvar1var2 diff --git a/tests/testthat/_snaps/ggplot-heatmap/heatmap-midpoint.svg b/tests/testthat/_snaps/ggplot-heatmap/heatmap-midpoint.svg new file mode 100644 index 0000000000..0f540d61f8 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-heatmap/heatmap-midpoint.svg @@ -0,0 +1 @@ +0.000.250.500.751.000.000.250.500.751.000.000.250.500.751.00zxy diff --git a/tests/testthat/_snaps/ggplot-heatmap/heatmap.svg b/tests/testthat/_snaps/ggplot-heatmap/heatmap.svg new file mode 100644 index 0000000000..1740c9f0ca --- /dev/null +++ b/tests/testthat/_snaps/ggplot-heatmap/heatmap.svg @@ -0,0 +1 @@ +MondayTuesdayWednesdayThursdayFridayMorningAfternoonEvening020406080valuedaytime diff --git a/tests/testthat/_snaps/ggplot-hex/hex-basic.svg b/tests/testthat/_snaps/ggplot-hex/hex-basic.svg new file mode 100644 index 0000000000..0b84854b22 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-hex/hex-basic.svg @@ -0,0 +1 @@ +01234505000100001500010002000300040005000countcaratprice diff --git a/tests/testthat/_snaps/ggplot-hex/hex-bins.svg b/tests/testthat/_snaps/ggplot-hex/hex-bins.svg new file mode 100644 index 0000000000..31b8539a28 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-hex/hex-bins.svg @@ -0,0 +1 @@ +01234505000100001500020000250050007500countcaratprice diff --git a/tests/testthat/_snaps/ggplot-hex/hex-binwidth.svg b/tests/testthat/_snaps/ggplot-hex/hex-binwidth.svg new file mode 100644 index 0000000000..45101683eb --- /dev/null +++ b/tests/testthat/_snaps/ggplot-hex/hex-binwidth.svg @@ -0,0 +1 @@ +0240500010000150002000050001000015000countcaratprice diff --git a/tests/testthat/_snaps/ggplot-histogram/histogram-counts.svg b/tests/testthat/_snaps/ggplot-histogram/histogram-counts.svg new file mode 100644 index 0000000000..61fce7bdca --- /dev/null +++ b/tests/testthat/_snaps/ggplot-histogram/histogram-counts.svg @@ -0,0 +1 @@ +23450246wtcount diff --git a/tests/testthat/_snaps/ggplot-histogram/histogram-date-bins.svg b/tests/testthat/_snaps/ggplot-histogram/histogram-date-bins.svg new file mode 100644 index 0000000000..2714ed82f0 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-histogram/histogram-date-bins.svg @@ -0,0 +1 @@ +2013-072014-012014-072015-01020406080datecount diff --git a/tests/testthat/_snaps/ggplot-histogram/histogram-dates.svg b/tests/testthat/_snaps/ggplot-histogram/histogram-dates.svg new file mode 100644 index 0000000000..a54dc1371b --- /dev/null +++ b/tests/testthat/_snaps/ggplot-histogram/histogram-dates.svg @@ -0,0 +1 @@ +Jan 01Jan 15Feb 01Feb 15Mar 010123monthcount diff --git a/tests/testthat/_snaps/ggplot-histogram/histogram-density-binwidth.svg b/tests/testthat/_snaps/ggplot-histogram/histogram-density-binwidth.svg new file mode 100644 index 0000000000..24380606cc --- /dev/null +++ b/tests/testthat/_snaps/ggplot-histogram/histogram-density-binwidth.svg @@ -0,0 +1 @@ +23450.00.20.40.6wtdensity diff --git a/tests/testthat/_snaps/ggplot-histogram/histogram-density.svg b/tests/testthat/_snaps/ggplot-histogram/histogram-density.svg new file mode 100644 index 0000000000..ecc25e1097 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-histogram/histogram-density.svg @@ -0,0 +1 @@ +23450.00.51.01.5wtdensity diff --git a/tests/testthat/_snaps/ggplot-histogram/histogram-fill-factor-dodge.svg b/tests/testthat/_snaps/ggplot-histogram/histogram-fill-factor-dodge.svg new file mode 100644 index 0000000000..23514d507a --- /dev/null +++ b/tests/testthat/_snaps/ggplot-histogram/histogram-fill-factor-dodge.svg @@ -0,0 +1 @@ +234501234factor(vs)01wtcount diff --git a/tests/testthat/_snaps/ggplot-histogram/histogram-fill-factor-facets.svg b/tests/testthat/_snaps/ggplot-histogram/histogram-fill-factor-facets.svg new file mode 100644 index 0000000000..4f01615677 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-histogram/histogram-fill-factor-facets.svg @@ -0,0 +1 @@ +234502462345factor(vs)01wtcount01 diff --git a/tests/testthat/_snaps/ggplot-histogram/histogram-fill-factor-identity.svg b/tests/testthat/_snaps/ggplot-histogram/histogram-fill-factor-identity.svg new file mode 100644 index 0000000000..4de7f632e9 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-histogram/histogram-fill-factor-identity.svg @@ -0,0 +1 @@ +234501234factor(vs)01wtcount diff --git a/tests/testthat/_snaps/ggplot-histogram/histogram-fill-factor.svg b/tests/testthat/_snaps/ggplot-histogram/histogram-fill-factor.svg new file mode 100644 index 0000000000..4b1c010e4f --- /dev/null +++ b/tests/testthat/_snaps/ggplot-histogram/histogram-fill-factor.svg @@ -0,0 +1 @@ +23450246factor(vs)01wtcount diff --git a/tests/testthat/_snaps/ggplot-histogram/histogram-fill.svg b/tests/testthat/_snaps/ggplot-histogram/histogram-fill.svg new file mode 100644 index 0000000000..d249f46d12 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-histogram/histogram-fill.svg @@ -0,0 +1 @@ +234502460246countwtcount diff --git a/tests/testthat/_snaps/ggplot-histogram/histogram-fixed-fill-color.svg b/tests/testthat/_snaps/ggplot-histogram/histogram-fixed-fill-color.svg new file mode 100644 index 0000000000..8674bda10e --- /dev/null +++ b/tests/testthat/_snaps/ggplot-histogram/histogram-fixed-fill-color.svg @@ -0,0 +1 @@ +23450246wtcount diff --git a/tests/testthat/_snaps/ggplot-histogram/histogram-posixt-bins.svg b/tests/testthat/_snaps/ggplot-histogram/histogram-posixt-bins.svg new file mode 100644 index 0000000000..2714ed82f0 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-histogram/histogram-posixt-bins.svg @@ -0,0 +1 @@ +2013-072014-012014-072015-01020406080datecount diff --git a/tests/testthat/_snaps/ggplot-histogram/histogram-vline.svg b/tests/testthat/_snaps/ggplot-histogram/histogram-vline.svg new file mode 100644 index 0000000000..956c40dcb8 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-histogram/histogram-vline.svg @@ -0,0 +1 @@ +23450246wtcount diff --git a/tests/testthat/_snaps/ggplot-hline/hline-factor.svg b/tests/testthat/_snaps/ggplot-hline/hline-factor.svg new file mode 100644 index 0000000000..cf525ff33b --- /dev/null +++ b/tests/testthat/_snaps/ggplot-hline/hline-factor.svg @@ -0,0 +1 @@ +controltreatment0.02.55.07.510.012.5condresult diff --git a/tests/testthat/_snaps/ggplot-hline/hline-multiple.svg b/tests/testthat/_snaps/ggplot-hline/hline-multiple.svg new file mode 100644 index 0000000000..7c407224be --- /dev/null +++ b/tests/testthat/_snaps/ggplot-hline/hline-multiple.svg @@ -0,0 +1 @@ +01230123xy diff --git a/tests/testthat/_snaps/ggplot-hline/hline.svg b/tests/testthat/_snaps/ggplot-hline/hline.svg new file mode 100644 index 0000000000..6b9bd5ede7 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-hline/hline.svg @@ -0,0 +1 @@ +01230123xy diff --git a/tests/testthat/_snaps/ggplot-hline/split-hline-vline-abline.svg b/tests/testthat/_snaps/ggplot-hline/split-hline-vline-abline.svg new file mode 100644 index 0000000000..d1444201f0 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-hline/split-hline-vline-abline.svg @@ -0,0 +1 @@ +01230123xy diff --git a/tests/testthat/_snaps/ggplot-jitter/jitter-basic.svg b/tests/testthat/_snaps/ggplot-jitter/jitter-basic.svg new file mode 100644 index 0000000000..c890fc6ef1 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-jitter/jitter-basic.svg @@ -0,0 +1 @@ +45678203040cylhwy diff --git a/tests/testthat/_snaps/ggplot-labels/factor-labels.svg b/tests/testthat/_snaps/ggplot-labels/factor-labels.svg new file mode 100644 index 0000000000..691d58c0e8 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-labels/factor-labels.svg @@ -0,0 +1 @@ +abcde05000100001500020000Cutcount diff --git a/tests/testthat/_snaps/ggplot-labels/labels-angles.svg b/tests/testthat/_snaps/ggplot-labels/labels-angles.svg new file mode 100644 index 0000000000..1e00eff1e5 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-labels/labels-angles.svg @@ -0,0 +1 @@ +40506015.017.520.0bill_length_mmbill_depth_mm diff --git a/tests/testthat/_snaps/ggplot-labels/labels-ggtitle.svg b/tests/testthat/_snaps/ggplot-labels/labels-ggtitle.svg new file mode 100644 index 0000000000..a4cda7693a --- /dev/null +++ b/tests/testthat/_snaps/ggplot-labels/labels-ggtitle.svg @@ -0,0 +1 @@ +40506015.017.520.0My amazing plot!bill_length_mmbill_depth_mm 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 new file mode 100644 index 0000000000..46d4fe60f8 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-labels/labels-scale-x-continuous-name.svg @@ -0,0 +1 @@ +40506015.017.520.0bill lengthbill_depth_mm diff --git a/tests/testthat/_snaps/ggplot-labels/labels-ylab.svg b/tests/testthat/_snaps/ggplot-labels/labels-ylab.svg new file mode 100644 index 0000000000..ec6213440b --- /dev/null +++ b/tests/testthat/_snaps/ggplot-labels/labels-ylab.svg @@ -0,0 +1 @@ +40506015.017.520.0bill_length_mmbill depth diff --git a/tests/testthat/_snaps/ggplot-labels/labs-element-blank.svg b/tests/testthat/_snaps/ggplot-labels/labs-element-blank.svg new file mode 100644 index 0000000000..ab1eb1a1a7 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-labels/labs-element-blank.svg @@ -0,0 +1 @@ +40506015.017.520.0speciesAdelieChinstrapGentoo diff --git a/tests/testthat/_snaps/ggplot-legend/legend-hide-legend.svg b/tests/testthat/_snaps/ggplot-legend/legend-hide-legend.svg new file mode 100644 index 0000000000..c4d3c05de1 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-legend/legend-hide-legend.svg @@ -0,0 +1 @@ +40506015.017.520.0bill_length_mmbill_depth_mm diff --git a/tests/testthat/_snaps/ggplot-legend/legend-hide.svg b/tests/testthat/_snaps/ggplot-legend/legend-hide.svg new file mode 100644 index 0000000000..4d5ffd74cc --- /dev/null +++ b/tests/testthat/_snaps/ggplot-legend/legend-hide.svg @@ -0,0 +1 @@ +1015202530352345mpgwt diff --git a/tests/testthat/_snaps/ggplot-legend/legend-many-legend-items.svg b/tests/testthat/_snaps/ggplot-legend/legend-many-legend-items.svg new file mode 100644 index 0000000000..875e80f23f --- /dev/null +++ b/tests/testthat/_snaps/ggplot-legend/legend-many-legend-items.svg @@ -0,0 +1 @@ +AARAAUAHRAHUALRALUHARHAUHHRHHUHLRHLULARLAULHRLHU050100150200categoryAARAAUAHRAHUALRALUHARHAUHHRHHUHLRHLULARLAULHRLHUcategorycount diff --git a/tests/testthat/_snaps/ggplot-legend/legend-one-entry.svg b/tests/testthat/_snaps/ggplot-legend/legend-one-entry.svg new file mode 100644 index 0000000000..89bd8698d1 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-legend/legend-one-entry.svg @@ -0,0 +1 @@ +40506015.017.520.0AllAll speciesbill_length_mmbill_depth_mm 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 new file mode 100644 index 0000000000..a6f13052de --- /dev/null +++ b/tests/testthat/_snaps/ggplot-legend/legend-very-long-legend-items.svg @@ -0,0 +1 @@ +ABCDEFGHIJ0246cat2AAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBBBBBBBBBBBBBBBBBCCCCCCCCCCCCCCCCCCCCCCCCCCCCCcat1count diff --git a/tests/testthat/_snaps/ggplot-legend/scatter-legend.svg b/tests/testthat/_snaps/ggplot-legend/scatter-legend.svg new file mode 100644 index 0000000000..3e8e83a686 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-legend/scatter-legend.svg @@ -0,0 +1 @@ +1015202530352345factor(vs)factor(cyl)(0,4)(0,6)(0,8)(1,4)(1,6)mpgwt diff --git a/tests/testthat/_snaps/ggplot-lines/line-milliseconds.svg b/tests/testthat/_snaps/ggplot-lines/line-milliseconds.svg new file mode 100644 index 0000000000..a35cbe7e50 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-lines/line-milliseconds.svg @@ -0,0 +1 @@ +00:00:00Jan 1, 197000:00:1500:00:3000:00:4500:01:0000:01:1500:01:30−1−0.500.51ty diff --git a/tests/testthat/_snaps/ggplot-lines/linetype-colors.svg b/tests/testthat/_snaps/ggplot-lines/linetype-colors.svg new file mode 100644 index 0000000000..cd8a8e60d1 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-lines/linetype-colors.svg @@ -0,0 +1 @@ +-2-10120.000.250.500.751.00variabley1y2xvalue diff --git a/tests/testthat/_snaps/ggplot-lines/linetype-types.svg b/tests/testthat/_snaps/ggplot-lines/linetype-types.svg new file mode 100644 index 0000000000..8cbc21d6f8 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-lines/linetype-types.svg @@ -0,0 +1 @@ +246246as.factor(x)123456xy diff --git a/tests/testthat/_snaps/ggplot-map/map-facet.svg b/tests/testthat/_snaps/ggplot-map/map-facet.svg new file mode 100644 index 0000000000..784fe1f505 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-map/map-facet.svg @@ -0,0 +1 @@ +253035404550-120-100-80253035404550-120-100-80100200300valuexyAssaultMurderRapeUrbanPop 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 new file mode 100644 index 0000000000..e18fa45a34 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-path/path-colored-groups-stay-together.svg @@ -0,0 +1 @@ +-2-1012-2-1012gpositivenegativexy diff --git a/tests/testthat/_snaps/ggplot-path/path-colors.svg b/tests/testthat/_snaps/ggplot-path/path-colors.svg new file mode 100644 index 0000000000..246d83574d --- /dev/null +++ b/tests/testthat/_snaps/ggplot-path/path-colors.svg @@ -0,0 +1 @@ +1.001.251.501.752.001.001.251.501.752.001.001.251.501.752.00yxy diff --git a/tests/testthat/_snaps/ggplot-path/path-colors2.svg b/tests/testthat/_snaps/ggplot-path/path-colors2.svg new file mode 100644 index 0000000000..5272dfe46a --- /dev/null +++ b/tests/testthat/_snaps/ggplot-path/path-colors2.svg @@ -0,0 +1 @@ +1.001.251.501.752.001.001.251.501.752.00paste0("FOO", y)FOO1FOO2xy diff --git a/tests/testthat/_snaps/ggplot-path/path-line-symbols.svg b/tests/testthat/_snaps/ggplot-path/path-line-symbols.svg new file mode 100644 index 0000000000..aa3511931a --- /dev/null +++ b/tests/testthat/_snaps/ggplot-path/path-line-symbols.svg @@ -0,0 +1 @@ +LunchDinner14151617sexFemaleMaletimetotal_bill 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 new file mode 100644 index 0000000000..194da55ad9 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-path/path-lines-diff-from-paths.svg @@ -0,0 +1 @@ +1.01.52.02.53.00.000.250.500.751.00xy diff --git a/tests/testthat/_snaps/ggplot-point/all-shapes.svg b/tests/testthat/_snaps/ggplot-point/all-shapes.svg new file mode 100644 index 0000000000..8a93b4e31c --- /dev/null +++ b/tests/testthat/_snaps/ggplot-point/all-shapes.svg @@ -0,0 +1 @@ +-0.050-0.0250.0000.0250.050-0.050-0.0250.0000.0250.050-0.050-0.0250.0000.0250.050-0.050-0.0250.0000.0250.050-0.050-0.0250.0000.0250.050-0.050-0.0250.0000.0250.050-0.050-0.0250.0000.0250.050-0.050-0.0250.0000.0250.050-0.050-0.0250.0000.0250.050-0.050-0.0250.0000.0250.0500123456789101112131415161718192021222324xy0123456789101112131415161718192021222324 diff --git a/tests/testthat/_snaps/ggplot-point/open-shapes.svg b/tests/testthat/_snaps/ggplot-point/open-shapes.svg new file mode 100644 index 0000000000..4bd5447645 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-point/open-shapes.svg @@ -0,0 +1 @@ +1015202530352345mpgwt diff --git a/tests/testthat/_snaps/ggplot-point/point-flip.svg b/tests/testthat/_snaps/ggplot-point/point-flip.svg new file mode 100644 index 0000000000..4b04eff6b4 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-point/point-flip.svg @@ -0,0 +1 @@ +050001000015000123pricecarat diff --git a/tests/testthat/_snaps/ggplot-point/point-size-alpha.svg b/tests/testthat/_snaps/ggplot-point/point-size-alpha.svg new file mode 100644 index 0000000000..4167b4e857 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-point/point-size-alpha.svg @@ -0,0 +1 @@ +456782345cylwt diff --git a/tests/testthat/_snaps/ggplot-point/point-size-alpha2.svg b/tests/testthat/_snaps/ggplot-point/point-size-alpha2.svg new file mode 100644 index 0000000000..ec4a2bbeb8 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-point/point-size-alpha2.svg @@ -0,0 +1 @@ +060810-1012xy diff --git a/tests/testthat/_snaps/ggplot-polygons/polygon-aes-color.svg b/tests/testthat/_snaps/ggplot-polygons/polygon-aes-color.svg new file mode 100644 index 0000000000..db6190ab9d --- /dev/null +++ b/tests/testthat/_snaps/ggplot-polygons/polygon-aes-color.svg @@ -0,0 +1 @@ +101112130.000.250.500.751.00lableftrightxy diff --git a/tests/testthat/_snaps/ggplot-polygons/polygon-aes-fill.svg b/tests/testthat/_snaps/ggplot-polygons/polygon-aes-fill.svg new file mode 100644 index 0000000000..638698f1b3 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-polygons/polygon-aes-fill.svg @@ -0,0 +1 @@ +101112130.000.250.500.751.00lableftrightxy diff --git a/tests/testthat/_snaps/ggplot-polygons/polygon-black.svg b/tests/testthat/_snaps/ggplot-polygons/polygon-black.svg new file mode 100644 index 0000000000..4ff6c3a575 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-polygons/polygon-black.svg @@ -0,0 +1 @@ +101112130.000.250.500.751.00xy diff --git a/tests/testthat/_snaps/ggplot-polygons/polygon-color-aes-fill.svg b/tests/testthat/_snaps/ggplot-polygons/polygon-color-aes-fill.svg new file mode 100644 index 0000000000..19f4c0ff7a --- /dev/null +++ b/tests/testthat/_snaps/ggplot-polygons/polygon-color-aes-fill.svg @@ -0,0 +1 @@ +101112130.000.250.500.751.00lableftrightxy 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 new file mode 100644 index 0000000000..c96e9bd34f --- /dev/null +++ b/tests/testthat/_snaps/ggplot-polygons/polygon-color-fill-aes-linetype.svg @@ -0,0 +1 @@ +101112130.000.250.500.751.00lableftrightxy 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 new file mode 100644 index 0000000000..d3624c642d --- /dev/null +++ b/tests/testthat/_snaps/ggplot-polygons/polygon-color-fill-aes-size.svg @@ -0,0 +1 @@ +101112130.000.250.500.751.00lableftrightxy diff --git a/tests/testthat/_snaps/ggplot-polygons/polygon-star-fill-color.svg b/tests/testthat/_snaps/ggplot-polygons/polygon-star-fill-color.svg new file mode 100644 index 0000000000..062b933a14 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-polygons/polygon-star-fill-color.svg @@ -0,0 +1 @@ +048120.00.51.01.52.0groupleftrightxy diff --git a/tests/testthat/_snaps/ggplot-polygons/polygon-star-group-color.svg b/tests/testthat/_snaps/ggplot-polygons/polygon-star-group-color.svg new file mode 100644 index 0000000000..f82b373671 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-polygons/polygon-star-group-color.svg @@ -0,0 +1 @@ +048120.00.51.01.52.0xy diff --git a/tests/testthat/_snaps/ggplot-polygons/polygon-star-group.svg b/tests/testthat/_snaps/ggplot-polygons/polygon-star-group.svg new file mode 100644 index 0000000000..2957c623c4 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-polygons/polygon-star-group.svg @@ -0,0 +1 @@ +048120.00.51.01.52.0xy diff --git a/tests/testthat/_snaps/ggplot-polygons/polygons-canada-borders.svg b/tests/testthat/_snaps/ggplot-polygons/polygons-canada-borders.svg new file mode 100644 index 0000000000..e263bfb78f --- /dev/null +++ b/tests/testthat/_snaps/ggplot-polygons/polygons-canada-borders.svg @@ -0,0 +1 @@ +-125-100-75-504050607080longlat diff --git a/tests/testthat/_snaps/ggplot-rect/rect-black.svg b/tests/testthat/_snaps/ggplot-rect/rect-black.svg new file mode 100644 index 0000000000..f249d9ba64 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-rect/rect-black.svg @@ -0,0 +1 @@ +369369 diff --git a/tests/testthat/_snaps/ggplot-rect/rect-black4.svg b/tests/testthat/_snaps/ggplot-rect/rect-black4.svg new file mode 100644 index 0000000000..cde2c0252d --- /dev/null +++ b/tests/testthat/_snaps/ggplot-rect/rect-black4.svg @@ -0,0 +1 @@ +12340.000.250.500.751.00 diff --git a/tests/testthat/_snaps/ggplot-rect/rect-color.svg b/tests/testthat/_snaps/ggplot-rect/rect-color.svg new file mode 100644 index 0000000000..f90efcce55 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-rect/rect-color.svg @@ -0,0 +1 @@ +12340.000.250.500.751.00statuscoolnot diff --git a/tests/testthat/_snaps/ggplot-rect/rect-fill-color.svg b/tests/testthat/_snaps/ggplot-rect/rect-fill-color.svg new file mode 100644 index 0000000000..0812ee90a9 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-rect/rect-fill-color.svg @@ -0,0 +1 @@ +12340.000.250.500.751.00statuscoolnot diff --git a/tests/testthat/_snaps/ggplot-rect/rect-fill-hex-alpha.svg b/tests/testthat/_snaps/ggplot-rect/rect-fill-hex-alpha.svg new file mode 100644 index 0000000000..9fdbcd3908 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-rect/rect-fill-hex-alpha.svg @@ -0,0 +1 @@ +1.001.251.501.752.001.001.251.501.752.00 diff --git a/tests/testthat/_snaps/ggplot-rect/rect-fill.svg b/tests/testthat/_snaps/ggplot-rect/rect-fill.svg new file mode 100644 index 0000000000..521c75e2c1 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-rect/rect-fill.svg @@ -0,0 +1 @@ +12340.000.250.500.751.00statuscoolnot diff --git a/tests/testthat/_snaps/ggplot-ribbon/ribbon-alpha.svg b/tests/testthat/_snaps/ggplot-ribbon/ribbon-alpha.svg new file mode 100644 index 0000000000..914b0c21bd --- /dev/null +++ b/tests/testthat/_snaps/ggplot-ribbon/ribbon-alpha.svg @@ -0,0 +1 @@ +18751900192519501975575.0577.5580.0582.5year diff --git a/tests/testthat/_snaps/ggplot-ribbon/ribbon-colour.svg b/tests/testthat/_snaps/ggplot-ribbon/ribbon-colour.svg new file mode 100644 index 0000000000..3814ae11a0 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-ribbon/ribbon-colour.svg @@ -0,0 +1 @@ +-5.0-2.50.02.55.0576578580582factor(decade)1880189019001910192019301940195019601970diff diff --git a/tests/testthat/_snaps/ggplot-ribbon/ribbon-fill.svg b/tests/testthat/_snaps/ggplot-ribbon/ribbon-fill.svg new file mode 100644 index 0000000000..6dd31d12c8 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-ribbon/ribbon-fill.svg @@ -0,0 +1 @@ +-5.0-2.50.02.55.0576578580582factor(decade)1880189019001910192019301940195019601970diff diff --git a/tests/testthat/_snaps/ggplot-ribbon/ribbon-group.svg b/tests/testthat/_snaps/ggplot-ribbon/ribbon-group.svg new file mode 100644 index 0000000000..b603f1a6bd --- /dev/null +++ b/tests/testthat/_snaps/ggplot-ribbon/ribbon-group.svg @@ -0,0 +1 @@ +-5.0-2.50.02.55.0576578580582diff diff --git a/tests/testthat/_snaps/ggplot-segment/segment-multiple-non-numeric.svg b/tests/testthat/_snaps/ggplot-segment/segment-multiple-non-numeric.svg new file mode 100644 index 0000000000..3d820b950d --- /dev/null +++ b/tests/testthat/_snaps/ggplot-segment/segment-multiple-non-numeric.svg @@ -0,0 +1 @@ +0.81.21.62.0901001101201301.001.251.501.752.00campaigncampaigndonation diff --git a/tests/testthat/_snaps/ggplot-segment/segment.svg b/tests/testthat/_snaps/ggplot-segment/segment.svg new file mode 100644 index 0000000000..9f14a14be9 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-segment/segment.svg @@ -0,0 +1 @@ +0.000.250.500.751.000.000.250.500.751.00xy diff --git a/tests/testthat/_snaps/ggplot-sf/sf-aspect.svg b/tests/testthat/_snaps/ggplot-sf/sf-aspect.svg new file mode 100644 index 0000000000..91ff0ca492 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-sf/sf-aspect.svg @@ -0,0 +1 @@ +84 ° W82 ° W80 ° W78 ° W76 ° W34.0 ° N34.5 ° N35.0 ° N35.5 ° N36.0 ° N36.5 ° N diff --git a/tests/testthat/_snaps/ggplot-sf/sf-axis-ticks.svg b/tests/testthat/_snaps/ggplot-sf/sf-axis-ticks.svg new file mode 100644 index 0000000000..dbc3cef4cb --- /dev/null +++ b/tests/testthat/_snaps/ggplot-sf/sf-axis-ticks.svg @@ -0,0 +1 @@ +100 ° W 80 ° W 60 ° W 40 ° W 20 ° W40 ° N50 ° N60 ° N diff --git a/tests/testthat/_snaps/ggplot-sf/sf-fill-text.svg b/tests/testthat/_snaps/ggplot-sf/sf-fill-text.svg new file mode 100644 index 0000000000..444a91f371 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-sf/sf-fill-text.svg @@ -0,0 +1 @@ +84 ° W82 ° W80 ° W78 ° W76 ° W34.0 ° N34.5 ° N35.0 ° N35.5 ° N36.0 ° N36.5 ° N0.050.100.150.20AREA diff --git a/tests/testthat/_snaps/ggplot-sf/sf-geom-collection.svg b/tests/testthat/_snaps/ggplot-sf/sf-geom-collection.svg new file mode 100644 index 0000000000..e7287d5795 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-sf/sf-geom-collection.svg @@ -0,0 +1 @@ +1234567-0.5-0.4-0.3-0.2-0.1 0.0 diff --git a/tests/testthat/_snaps/ggplot-sf/sf-points.svg b/tests/testthat/_snaps/ggplot-sf/sf-points.svg new file mode 100644 index 0000000000..a2259bec92 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-sf/sf-points.svg @@ -0,0 +1 @@ +84 ° W82 ° W80 ° W78 ° W76 ° W34.0 ° N34.5 ° N35.0 ° N35.5 ° N36.0 ° N36.5 ° Nxy diff --git a/tests/testthat/_snaps/ggplot-sf/sf-theme-map.svg b/tests/testthat/_snaps/ggplot-sf/sf-theme-map.svg new file mode 100644 index 0000000000..7ea8f1bc4c --- /dev/null +++ b/tests/testthat/_snaps/ggplot-sf/sf-theme-map.svg @@ -0,0 +1 @@ + diff --git a/tests/testthat/_snaps/ggplot-sf/sf.svg b/tests/testthat/_snaps/ggplot-sf/sf.svg new file mode 100644 index 0000000000..91ff0ca492 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-sf/sf.svg @@ -0,0 +1 @@ +84 ° W82 ° W80 ° W78 ° W76 ° W34.0 ° N34.5 ° N35.0 ° N35.5 ° N36.0 ° N36.5 ° N diff --git a/tests/testthat/_snaps/ggplot-size/size-global-scaling.svg b/tests/testthat/_snaps/ggplot-size/size-global-scaling.svg new file mode 100644 index 0000000000..0d0d19ff5b --- /dev/null +++ b/tests/testthat/_snaps/ggplot-size/size-global-scaling.svg @@ -0,0 +1 @@ +2340.40.81.21.6countrypopulationParaguayPeruPhilippineseduilln diff --git a/tests/testthat/_snaps/ggplot-size/size-is-a-vector.svg b/tests/testthat/_snaps/ggplot-size/size-is-a-vector.svg new file mode 100644 index 0000000000..882eaff4ca --- /dev/null +++ b/tests/testthat/_snaps/ggplot-size/size-is-a-vector.svg @@ -0,0 +1 @@ +40506015.017.520.0bill_length_mmbill_depth_mm diff --git a/tests/testthat/_snaps/ggplot-smooth/smooth-basic.svg b/tests/testthat/_snaps/ggplot-smooth/smooth-basic.svg new file mode 100644 index 0000000000..7400f86b10 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-smooth/smooth-basic.svg @@ -0,0 +1 @@ +101520253035123456mpgwt diff --git a/tests/testthat/_snaps/ggplot-smooth/smooth-colour.svg b/tests/testthat/_snaps/ggplot-smooth/smooth-colour.svg new file mode 100644 index 0000000000..35cbb1e09d --- /dev/null +++ b/tests/testthat/_snaps/ggplot-smooth/smooth-colour.svg @@ -0,0 +1 @@ +12305000100001500020000cutFairGoodVery GoodPremiumIdealcaratprice diff --git a/tests/testthat/_snaps/ggplot-smooth/smooth-facet.svg b/tests/testthat/_snaps/ggplot-smooth/smooth-facet.svg new file mode 100644 index 0000000000..d3c8ad92c6 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-smooth/smooth-facet.svg @@ -0,0 +1 @@ +0500010000150002000012305000100001500020000123123cutFairGoodVery GoodPremiumIdealcaratpriceFairGoodVery GoodPremiumIdeal diff --git a/tests/testthat/_snaps/ggplot-smooth/smooth-fill2.svg b/tests/testthat/_snaps/ggplot-smooth/smooth-fill2.svg new file mode 100644 index 0000000000..7597cbe574 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-smooth/smooth-fill2.svg @@ -0,0 +1 @@ +12305000100001500020000cutFairGoodVery GoodPremiumIdealcaratprice diff --git a/tests/testthat/_snaps/ggplot-smooth/smooth-group.svg b/tests/testthat/_snaps/ggplot-smooth/smooth-group.svg new file mode 100644 index 0000000000..992e4e6483 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-smooth/smooth-group.svg @@ -0,0 +1 @@ +12305000100001500020000caratprice diff --git a/tests/testthat/_snaps/ggplot-smooth/smooth-se-false.svg b/tests/testthat/_snaps/ggplot-smooth/smooth-se-false.svg new file mode 100644 index 0000000000..32fa58fad0 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-smooth/smooth-se-false.svg @@ -0,0 +1 @@ +1015202530352345mpgwt diff --git a/tests/testthat/_snaps/ggplot-step/step-gg-hv.svg b/tests/testthat/_snaps/ggplot-step/step-gg-hv.svg new file mode 100644 index 0000000000..f071efdc59 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-step/step-gg-hv.svg @@ -0,0 +1 @@ +4008001200160050100150200factor(Tree)12agecircumference diff --git a/tests/testthat/_snaps/ggplot-step/step-gg-hvh.svg b/tests/testthat/_snaps/ggplot-step/step-gg-hvh.svg new file mode 100644 index 0000000000..cce490a084 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-step/step-gg-hvh.svg @@ -0,0 +1 @@ +4008001200160050100150200factor(Tree)12agecircumference diff --git a/tests/testthat/_snaps/ggplot-step/step-gg-vh.svg b/tests/testthat/_snaps/ggplot-step/step-gg-vh.svg new file mode 100644 index 0000000000..a4578fbc24 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-step/step-gg-vh.svg @@ -0,0 +1 @@ +4008001200160050100150200factor(Tree)12agecircumference diff --git a/tests/testthat/_snaps/ggplot-step/step-gg-vhv.svg b/tests/testthat/_snaps/ggplot-step/step-gg-vhv.svg new file mode 100644 index 0000000000..9f7b982c0e --- /dev/null +++ b/tests/testthat/_snaps/ggplot-step/step-gg-vhv.svg @@ -0,0 +1 @@ +4008001200160050100150200factor(Tree)12agecircumference diff --git a/tests/testthat/_snaps/ggplot-text/text-colour.svg b/tests/testthat/_snaps/ggplot-text/text-colour.svg new file mode 100644 index 0000000000..bc587f3490 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-text/text-colour.svg @@ -0,0 +1 @@ +HUNTSVILLEMOBILEBIRMINGHAMMONTGOMERYTUCSONPEORIA01020-505DivisionEast South CentralAaMountainAacoord.1coord.2 diff --git a/tests/testthat/_snaps/ggplot-text/text.svg b/tests/testthat/_snaps/ggplot-text/text.svg new file mode 100644 index 0000000000..ac65866dfa --- /dev/null +++ b/tests/testthat/_snaps/ggplot-text/text.svg @@ -0,0 +1 @@ +Mazda RX4Mazda RX4 WagDatsun 710Hornet 4 DriveHornet SportaboutValiantDuster 360Merc 240DMerc 230Merc 280Merc 280CMerc 450SEMerc 450SLMerc 450SLCCadillac FleetwoodLincoln ContinentalChrysler ImperialFiat 128Honda CivicToyota CorollaToyota CoronaDodge ChallengerAMC JavelinCamaro Z28Pontiac FirebirdFiat X1-9Porsche 914-2Lotus EuropaFord Pantera LFerrari DinoMaserati BoraVolvo 142E2345101520253035wtmpg diff --git a/tests/testthat/_snaps/ggplot-theme/theme-background.svg b/tests/testthat/_snaps/ggplot-theme/theme-background.svg new file mode 100644 index 0000000000..b874c7e4da --- /dev/null +++ b/tests/testthat/_snaps/ggplot-theme/theme-background.svg @@ -0,0 +1 @@ +405060170180190200210220230bill_length_mmflipper_length_mm diff --git a/tests/testthat/_snaps/ggplot-theme/theme-marker-default.svg b/tests/testthat/_snaps/ggplot-theme/theme-marker-default.svg new file mode 100644 index 0000000000..85424aa0cd --- /dev/null +++ b/tests/testthat/_snaps/ggplot-theme/theme-marker-default.svg @@ -0,0 +1 @@ +2340.40.81.21.6countrypopulationParaguayPeruPhilippineseduilln diff --git a/tests/testthat/_snaps/ggplot-theme/theme-panel-border-1.svg b/tests/testthat/_snaps/ggplot-theme/theme-panel-border-1.svg new file mode 100644 index 0000000000..05b87eb587 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-theme/theme-panel-border-1.svg @@ -0,0 +1 @@ +405060170180190200210220230bill_length_mmflipper_length_mm diff --git a/tests/testthat/_snaps/ggplot-theme/theme-panel-border-2.svg b/tests/testthat/_snaps/ggplot-theme/theme-panel-border-2.svg new file mode 100644 index 0000000000..192f864700 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-theme/theme-panel-border-2.svg @@ -0,0 +1 @@ +40506015.017.520.0bill_length_mmbill_depth_mm diff --git a/tests/testthat/_snaps/ggplot-theme/theme-ticks-and-grids.svg b/tests/testthat/_snaps/ggplot-theme/theme-ticks-and-grids.svg new file mode 100644 index 0000000000..be79753fef --- /dev/null +++ b/tests/testthat/_snaps/ggplot-theme/theme-ticks-and-grids.svg @@ -0,0 +1 @@ +405060170180190200210220230bill_length_mmflipper_length_mm diff --git a/tests/testthat/_snaps/ggplot-theme/theme-ticks-default.svg b/tests/testthat/_snaps/ggplot-theme/theme-ticks-default.svg new file mode 100644 index 0000000000..05b87eb587 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-theme/theme-ticks-default.svg @@ -0,0 +1 @@ +405060170180190200210220230bill_length_mmflipper_length_mm diff --git a/tests/testthat/_snaps/ggplot-theme/theme-zeroline-default.svg b/tests/testthat/_snaps/ggplot-theme/theme-zeroline-default.svg new file mode 100644 index 0000000000..05b87eb587 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-theme/theme-zeroline-default.svg @@ -0,0 +1 @@ +405060170180190200210220230bill_length_mmflipper_length_mm diff --git a/tests/testthat/_snaps/ggplot-ticks/continuous-x-missing.svg b/tests/testthat/_snaps/ggplot-ticks/continuous-x-missing.svg new file mode 100644 index 0000000000..361a2f213a --- /dev/null +++ b/tests/testthat/_snaps/ggplot-ticks/continuous-x-missing.svg @@ -0,0 +1 @@ +151617181920212223100200300400qsecdisp diff --git a/tests/testthat/_snaps/ggplot-ticks/ticks-boxes-facet-grid.svg b/tests/testthat/_snaps/ggplot-ticks/ticks-boxes-facet-grid.svg new file mode 100644 index 0000000000..7d8e983d24 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-ticks/ticks-boxes-facet-grid.svg @@ -0,0 +1 @@ +ctrltrt1trt23.54.04.55.05.56.0ctrltrt1trt2groupweightcontroltreatment diff --git a/tests/testthat/_snaps/ggplot-ticks/ticks-boxes-scales-free.svg b/tests/testthat/_snaps/ggplot-ticks/ticks-boxes-scales-free.svg new file mode 100644 index 0000000000..5e3619fbec --- /dev/null +++ b/tests/testthat/_snaps/ggplot-ticks/ticks-boxes-scales-free.svg @@ -0,0 +1 @@ +ctrl3.54.04.55.05.56.0trt1trt2groupweightcontroltreatment diff --git a/tests/testthat/_snaps/ggplot-ticks/ticks-boxes-space-free.svg b/tests/testthat/_snaps/ggplot-ticks/ticks-boxes-space-free.svg new file mode 100644 index 0000000000..5e3619fbec --- /dev/null +++ b/tests/testthat/_snaps/ggplot-ticks/ticks-boxes-space-free.svg @@ -0,0 +1 @@ +ctrl3.54.04.55.05.56.0trt1trt2groupweightcontroltreatment diff --git a/tests/testthat/_snaps/ggplot-ticks/ticks-boxes.svg b/tests/testthat/_snaps/ggplot-ticks/ticks-boxes.svg new file mode 100644 index 0000000000..19a4a64b2b --- /dev/null +++ b/tests/testthat/_snaps/ggplot-ticks/ticks-boxes.svg @@ -0,0 +1 @@ +ctrltrt1trt23.54.04.55.05.56.0groupweight diff --git a/tests/testthat/_snaps/ggplot-ticks/ticks-breaks-less.svg b/tests/testthat/_snaps/ggplot-ticks/ticks-breaks-less.svg new file mode 100644 index 0000000000..8a04acb564 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-ticks/ticks-breaks-less.svg @@ -0,0 +1 @@ +trt1ctrl3.54.04.55.05.56.0groupweight diff --git a/tests/testthat/_snaps/ggplot-ticks/ticks-breaks-more.svg b/tests/testthat/_snaps/ggplot-ticks/ticks-breaks-more.svg new file mode 100644 index 0000000000..f49b725c97 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-ticks/ticks-breaks-more.svg @@ -0,0 +1 @@ +trt1ctrltrt23.54.04.55.05.56.0groupweight diff --git a/tests/testthat/_snaps/ggplot-ticks/ticks-breaks-nochange.svg b/tests/testthat/_snaps/ggplot-ticks/ticks-breaks-nochange.svg new file mode 100644 index 0000000000..f49b725c97 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-ticks/ticks-breaks-nochange.svg @@ -0,0 +1 @@ +trt1ctrltrt23.54.04.55.05.56.0groupweight diff --git a/tests/testthat/_snaps/ggplot-ticks/ticks-evenly-spaced-ticks.svg b/tests/testthat/_snaps/ggplot-ticks/ticks-evenly-spaced-ticks.svg new file mode 100644 index 0000000000..071e6b3e03 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-ticks/ticks-evenly-spaced-ticks.svg @@ -0,0 +1 @@ +ctrltrt1trt24.0000004.0909094.1818184.2727274.3636364.4545454.5454554.6363644.7272734.8181824.9090915.000000groupweight diff --git a/tests/testthat/_snaps/ggplot-ticks/ticks-flip-grid-free.svg b/tests/testthat/_snaps/ggplot-ticks/ticks-flip-grid-free.svg new file mode 100644 index 0000000000..08df685723 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-ticks/ticks-flip-grid-free.svg @@ -0,0 +1 @@ +ctrl3.54.04.55.05.56.0trt1trt2weightgroupcontroltreatment diff --git a/tests/testthat/_snaps/ggplot-ticks/ticks-flip-grid.svg b/tests/testthat/_snaps/ggplot-ticks/ticks-flip-grid.svg new file mode 100644 index 0000000000..c3b6402fd7 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-ticks/ticks-flip-grid.svg @@ -0,0 +1 @@ +ctrltrt1trt23.54.04.55.05.56.0ctrltrt1trt2weightgroupcontroltreatment diff --git a/tests/testthat/_snaps/ggplot-ticks/ticks-flip.svg b/tests/testthat/_snaps/ggplot-ticks/ticks-flip.svg new file mode 100644 index 0000000000..071ad09252 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-ticks/ticks-flip.svg @@ -0,0 +1 @@ +3.54.04.55.05.56.0ctrltrt1trt2weightgroup diff --git a/tests/testthat/_snaps/ggplot-ticks/ticks-hide-ticks-labels.svg b/tests/testthat/_snaps/ggplot-ticks/ticks-hide-ticks-labels.svg new file mode 100644 index 0000000000..566b99e878 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-ticks/ticks-hide-ticks-labels.svg @@ -0,0 +1 @@ +3.54.04.55.05.56.0groupweight 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 new file mode 100644 index 0000000000..3fb32c4ad7 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-ticks/ticks-hide-ticks-lines-labels.svg @@ -0,0 +1 @@ +1233.54.04.55.05.56.0groupweight diff --git a/tests/testthat/_snaps/ggplot-ticks/ticks-limits-gap.svg b/tests/testthat/_snaps/ggplot-ticks/ticks-limits-gap.svg new file mode 100644 index 0000000000..fd2f7c49c2 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-ticks/ticks-limits-gap.svg @@ -0,0 +1 @@ +trt1trt2GAPctrl3.54.04.55.05.56.0groupweight diff --git a/tests/testthat/_snaps/ggplot-ticks/ticks-limits-hide.svg b/tests/testthat/_snaps/ggplot-ticks/ticks-limits-hide.svg new file mode 100644 index 0000000000..440f21e4a4 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-ticks/ticks-limits-hide.svg @@ -0,0 +1 @@ +trt1ctrl3.54.04.55.05.56.0groupweight diff --git a/tests/testthat/_snaps/ggplot-ticks/ticks-line-breaks.svg b/tests/testthat/_snaps/ggplot-ticks/ticks-line-breaks.svg new file mode 100644 index 0000000000..a1afd4cafb --- /dev/null +++ b/tests/testthat/_snaps/ggplot-ticks/ticks-line-breaks.svg @@ -0,0 +1 @@ +thisis veryloooooooooooongtext toillustrate0255075100xy diff --git a/tests/testthat/_snaps/ggplot-ticks/ticks-scale-labels.svg b/tests/testthat/_snaps/ggplot-ticks/ticks-scale-labels.svg new file mode 100644 index 0000000000..0194c0283c --- /dev/null +++ b/tests/testthat/_snaps/ggplot-ticks/ticks-scale-labels.svg @@ -0,0 +1 @@ +Treatment 1ControlTreatment 23.54.04.55.05.56.0groupweight diff --git a/tests/testthat/_snaps/ggplot-ticks/ticks-uneven.svg b/tests/testthat/_snaps/ggplot-ticks/ticks-uneven.svg new file mode 100644 index 0000000000..3fb32c4ad7 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-ticks/ticks-uneven.svg @@ -0,0 +1 @@ +1233.54.04.55.05.56.0groupweight diff --git a/tests/testthat/_snaps/ggplot-ticks/ticks-ycontinuous-ranges.svg b/tests/testthat/_snaps/ggplot-ticks/ticks-ycontinuous-ranges.svg new file mode 100644 index 0000000000..f312bb1a0f --- /dev/null +++ b/tests/testthat/_snaps/ggplot-ticks/ticks-ycontinuous-ranges.svg @@ -0,0 +1 @@ +ctrltrt1trt202468groupweight diff --git a/tests/testthat/_snaps/ggplot-ticks/ticks-ylim-ranges.svg b/tests/testthat/_snaps/ggplot-ticks/ticks-ylim-ranges.svg new file mode 100644 index 0000000000..f312bb1a0f --- /dev/null +++ b/tests/testthat/_snaps/ggplot-ticks/ticks-ylim-ranges.svg @@ -0,0 +1 @@ +ctrltrt1trt202468groupweight diff --git a/tests/testthat/_snaps/ggplot-ticks/ticks-ylim-reversed-ranges.svg b/tests/testthat/_snaps/ggplot-ticks/ticks-ylim-reversed-ranges.svg new file mode 100644 index 0000000000..d86a09c26b --- /dev/null +++ b/tests/testthat/_snaps/ggplot-ticks/ticks-ylim-reversed-ranges.svg @@ -0,0 +1 @@ +ctrltrt1trt20246groupweight diff --git a/tests/testthat/_snaps/ggplot-ticks/ticks-yreverse-limits-ranges.svg b/tests/testthat/_snaps/ggplot-ticks/ticks-yreverse-limits-ranges.svg new file mode 100644 index 0000000000..46e4702189 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-ticks/ticks-yreverse-limits-ranges.svg @@ -0,0 +1 @@ +ctrltrt1trt2-2.50.02.55.07.510.0groupweight diff --git a/tests/testthat/_snaps/ggplot-ticks/ticks-yreverse-ranges.svg b/tests/testthat/_snaps/ggplot-ticks/ticks-yreverse-ranges.svg new file mode 100644 index 0000000000..9f7a0487ce --- /dev/null +++ b/tests/testthat/_snaps/ggplot-ticks/ticks-yreverse-ranges.svg @@ -0,0 +1 @@ +ctrltrt1trt23.54.04.55.05.56.0groupweight diff --git a/tests/testthat/_snaps/ggplot-tooltip/group-lines-hovertext.svg b/tests/testthat/_snaps/ggplot-tooltip/group-lines-hovertext.svg new file mode 100644 index 0000000000..03d93ed849 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-tooltip/group-lines-hovertext.svg @@ -0,0 +1 @@ +20002005201020151e+052e+053e+05datemedian diff --git a/tests/testthat/_snaps/ggplot-tooltip/heatmap-discrete-tooltip.svg b/tests/testthat/_snaps/ggplot-tooltip/heatmap-discrete-tooltip.svg new file mode 100644 index 0000000000..fd4b0f161b --- /dev/null +++ b/tests/testthat/_snaps/ggplot-tooltip/heatmap-discrete-tooltip.svg @@ -0,0 +1 @@ +1020304680.20.40.6densitympgfactor(cyl) diff --git a/tests/testthat/_snaps/ggplot-tooltip/hovertext-display.svg b/tests/testthat/_snaps/ggplot-tooltip/hovertext-display.svg new file mode 100644 index 0000000000..03d93ed849 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-tooltip/hovertext-display.svg @@ -0,0 +1 @@ +20002005201020151e+052e+053e+05datemedian diff --git a/tests/testthat/_snaps/ggplot-tooltip/tooltip-date.svg b/tests/testthat/_snaps/ggplot-tooltip/tooltip-date.svg new file mode 100644 index 0000000000..6271c353ca --- /dev/null +++ b/tests/testthat/_snaps/ggplot-tooltip/tooltip-date.svg @@ -0,0 +1 @@ +00:00:0000:00:3000:01:0000:01:30-1.0-0.50.00.51.0timex diff --git a/tests/testthat/_snaps/ggplot-tooltip/tooltip-datetime.svg b/tests/testthat/_snaps/ggplot-tooltip/tooltip-datetime.svg new file mode 100644 index 0000000000..629c64a004 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-tooltip/tooltip-datetime.svg @@ -0,0 +1 @@ +16:3017:0017:3018:00-1.0-0.50.00.51.0timex diff --git a/tests/testthat/_snaps/ggplot-violin/violin-aes.svg b/tests/testthat/_snaps/ggplot-violin/violin-aes.svg new file mode 100644 index 0000000000..3a969d358d --- /dev/null +++ b/tests/testthat/_snaps/ggplot-violin/violin-aes.svg @@ -0,0 +1 @@ +468101520253035factor(cyl)468factor(cyl)mpg diff --git a/tests/testthat/_snaps/ggplot-violin/violin.svg b/tests/testthat/_snaps/ggplot-violin/violin.svg new file mode 100644 index 0000000000..9f8e89cbda --- /dev/null +++ b/tests/testthat/_snaps/ggplot-violin/violin.svg @@ -0,0 +1 @@ +468101520253035factor(cyl)mpg diff --git a/tests/testthat/_snaps/ggplot-vline/vline-multiple.svg b/tests/testthat/_snaps/ggplot-vline/vline-multiple.svg new file mode 100644 index 0000000000..f9f2ca4f03 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-vline/vline-multiple.svg @@ -0,0 +1 @@ +01230123xy diff --git a/tests/testthat/_snaps/ggplot-vline/vline.svg b/tests/testthat/_snaps/ggplot-vline/vline.svg new file mode 100644 index 0000000000..bc4a467d05 --- /dev/null +++ b/tests/testthat/_snaps/ggplot-vline/vline.svg @@ -0,0 +1 @@ +01230123xy diff --git a/tests/testthat/_snaps/ggplot-ylim/ylim-one-trace.svg b/tests/testthat/_snaps/ggplot-ylim/ylim-one-trace.svg new file mode 100644 index 0000000000..3f486e468a --- /dev/null +++ b/tests/testthat/_snaps/ggplot-ylim/ylim-one-trace.svg @@ -0,0 +1 @@ +LunchDinner051015Average bill for 2 peopleTime of dayTotal bill diff --git a/tests/testthat/_snaps/icicle/uniformtext-icicle.svg b/tests/testthat/_snaps/icicle/uniformtext-icicle.svg new file mode 100644 index 0000000000..88d4a2744d --- /dev/null +++ b/tests/testthat/_snaps/icicle/uniformtext-icicle.svg @@ -0,0 +1 @@ +AlphaCharlieBravoFoxtrotDeltaEchoJulietGolfHotelIndiaOscarKiloLimaMikeNovemberUniformPapaQuebecRomeoSierraTangoVictorWhiskeyX rayYankeeZuluUniformVictorWhiskeyX rayYankeeZuluOscarJulietFoxtrotCharlieAlphaJulietOscarKiloLimaMikeNovemberUniformPapaQuebecRomeoSierraTangoVictorWhiskeyX rayYankeeZuluFoxtrotCharlieAlphaJulietOscarKiloLimaMikeNovemberUniformPapaQuebecRomeoSierraTangoVictorWhiskeyX rayYankeeZuluFoxtrotCharlieAlpha diff --git a/tests/testthat/_snaps/mean-error-bars/error-rect-alpha.svg b/tests/testthat/_snaps/mean-error-bars/error-rect-alpha.svg new file mode 100644 index 0000000000..c1b7c2abea --- /dev/null +++ b/tests/testthat/_snaps/mean-error-bars/error-rect-alpha.svg @@ -0,0 +1 @@ +024612345grouponetwoxy 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 new file mode 100644 index 0000000000..e007ae04b3 --- /dev/null +++ b/tests/testthat/_snaps/mean-error-bars/error-simple-line-point-crazy.svg @@ -0,0 +1 @@ +12341234xy 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 new file mode 100644 index 0000000000..031b0f9836 --- /dev/null +++ b/tests/testthat/_snaps/mean-error-bars/error-simple-line-point.svg @@ -0,0 +1 @@ +12341234xy diff --git a/tests/testthat/_snaps/mean-error-bars/error-simple-line.svg b/tests/testthat/_snaps/mean-error-bars/error-simple-line.svg new file mode 100644 index 0000000000..e17c8d5284 --- /dev/null +++ b/tests/testthat/_snaps/mean-error-bars/error-simple-line.svg @@ -0,0 +1 @@ +12341234xy diff --git a/tests/testthat/_snaps/mean-error-bars/error-simple.svg b/tests/testthat/_snaps/mean-error-bars/error-simple.svg new file mode 100644 index 0000000000..df9ee6c44f --- /dev/null +++ b/tests/testthat/_snaps/mean-error-bars/error-simple.svg @@ -0,0 +1 @@ +12341234xy diff --git a/tests/testthat/_snaps/plotly-area/add-area.svg b/tests/testthat/_snaps/plotly-area/add-area.svg new file mode 100644 index 0000000000..467003cc86 --- /dev/null +++ b/tests/testthat/_snaps/plotly-area/add-area.svg @@ -0,0 +1 @@ +NorthN-EEastS-ESouthS-WWestN-W0%50%100%150%200%11-14 m/s8-11 m/s5-8 m/sless than m/s diff --git a/tests/testthat/_snaps/plotly-color/plotly-color-bar-color-factor-custom.svg b/tests/testthat/_snaps/plotly-color/plotly-color-bar-color-factor-custom.svg new file mode 100644 index 0000000000..8de73f5b9f --- /dev/null +++ b/tests/testthat/_snaps/plotly-color/plotly-color-bar-color-factor-custom.svg @@ -0,0 +1 @@ +ABCDE012345ABCDECategoryValue diff --git a/tests/testthat/_snaps/plotly-color/plotly-color-box-color-stroke.svg b/tests/testthat/_snaps/plotly-color/plotly-color-box-color-stroke.svg new file mode 100644 index 0000000000..b02f7d188f --- /dev/null +++ b/tests/testthat/_snaps/plotly-color/plotly-color-box-color-stroke.svg @@ -0,0 +1 @@ +AB−1.5−1−0.500.511.52ABxy diff --git a/tests/testthat/_snaps/plotly-color/plotly-color-color-manual.svg b/tests/testthat/_snaps/plotly-color/plotly-color-color-manual.svg new file mode 100644 index 0000000000..5297255b03 --- /dev/null +++ b/tests/testthat/_snaps/plotly-color/plotly-color-color-manual.svg @@ -0,0 +1 @@ +1015202530355010015020025030035040045001mpgdisp diff --git a/tests/testthat/_snaps/plotly-color/plotly-color-scatterplot-color-factor-custom.svg b/tests/testthat/_snaps/plotly-color/plotly-color-scatterplot-color-factor-custom.svg new file mode 100644 index 0000000000..41397abd20 --- /dev/null +++ b/tests/testthat/_snaps/plotly-color/plotly-color-scatterplot-color-factor-custom.svg @@ -0,0 +1 @@ +354045505560170180190200210220230AdelieChinstrapGentoobill_length_mmflipper_length_mm diff --git a/tests/testthat/_snaps/plotly-color/plotly-color-scatterplot-color-factor-custom2.svg b/tests/testthat/_snaps/plotly-color/plotly-color-scatterplot-color-factor-custom2.svg new file mode 100644 index 0000000000..41397abd20 --- /dev/null +++ b/tests/testthat/_snaps/plotly-color/plotly-color-scatterplot-color-factor-custom2.svg @@ -0,0 +1 @@ +354045505560170180190200210220230AdelieChinstrapGentoobill_length_mmflipper_length_mm diff --git a/tests/testthat/_snaps/plotly-color/plotly-color-scatterplot-color-factor.svg b/tests/testthat/_snaps/plotly-color/plotly-color-scatterplot-color-factor.svg new file mode 100644 index 0000000000..72998a8d7e --- /dev/null +++ b/tests/testthat/_snaps/plotly-color/plotly-color-scatterplot-color-factor.svg @@ -0,0 +1 @@ +354045505560170180190200210220230AdelieChinstrapGentoobill_length_mmflipper_length_mm diff --git a/tests/testthat/_snaps/plotly-color/plotly-color-scatterplot-color-numeric-custom.svg b/tests/testthat/_snaps/plotly-color/plotly-color-scatterplot-color-numeric-custom.svg new file mode 100644 index 0000000000..a2ce44044e --- /dev/null +++ b/tests/testthat/_snaps/plotly-color/plotly-color-scatterplot-color-numeric-custom.svg @@ -0,0 +1 @@ +35404550556017018019020021022023014161820bill_depth_mmbill_length_mmflipper_length_mm diff --git a/tests/testthat/_snaps/plotly-color/plotly-color-scatterplot-color-numeric.svg b/tests/testthat/_snaps/plotly-color/plotly-color-scatterplot-color-numeric.svg new file mode 100644 index 0000000000..8ad7d270b6 --- /dev/null +++ b/tests/testthat/_snaps/plotly-color/plotly-color-scatterplot-color-numeric.svg @@ -0,0 +1 @@ +35404550556017018019020021022023014161820bill_depth_mmbill_length_mmflipper_length_mm diff --git a/tests/testthat/_snaps/plotly-color/plotly-color-scatterplot-scatter3d-axes.svg b/tests/testthat/_snaps/plotly-color/plotly-color-scatterplot-scatter3d-axes.svg new file mode 100644 index 0000000000..87d8d6b728 --- /dev/null +++ b/tests/testthat/_snaps/plotly-color/plotly-color-scatterplot-scatter3d-axes.svg @@ -0,0 +1 @@ + diff --git a/tests/testthat/_snaps/plotly-colorbar/plotly-colorbar-expand.svg b/tests/testthat/_snaps/plotly-colorbar/plotly-colorbar-expand.svg new file mode 100644 index 0000000000..3682bb49d3 --- /dev/null +++ b/tests/testthat/_snaps/plotly-colorbar/plotly-colorbar-expand.svg @@ -0,0 +1 @@ +234544.555.566.577.5805101520cylwtcyl diff --git a/tests/testthat/_snaps/plotly-colorbar/plotly-colorbar-restrict.svg b/tests/testthat/_snaps/plotly-colorbar/plotly-colorbar-restrict.svg new file mode 100644 index 0000000000..44b51d625f --- /dev/null +++ b/tests/testthat/_snaps/plotly-colorbar/plotly-colorbar-restrict.svg @@ -0,0 +1 @@ +234544.555.566.577.5855.566.57cylwtcyl diff --git a/tests/testthat/_snaps/plotly-colorbar/plotly-colorbar-z-expand.svg b/tests/testthat/_snaps/plotly-colorbar/plotly-colorbar-z-expand.svg new file mode 100644 index 0000000000..b69f216f54 --- /dev/null +++ b/tests/testthat/_snaps/plotly-colorbar/plotly-colorbar-z-expand.svg @@ -0,0 +1 @@ +0102030405060010203040506070800100200300volcano diff --git a/tests/testthat/_snaps/plotly-colorbar/plotly-colorbar-z-restrict.svg b/tests/testthat/_snaps/plotly-colorbar/plotly-colorbar-z-restrict.svg new file mode 100644 index 0000000000..4fb4ad6f0f --- /dev/null +++ b/tests/testthat/_snaps/plotly-colorbar/plotly-colorbar-z-restrict.svg @@ -0,0 +1 @@ +010203040506001020304050607080140145150155160volcano diff --git a/tests/testthat/_snaps/plotly-colorbar/plotly-colorbar.svg b/tests/testthat/_snaps/plotly-colorbar/plotly-colorbar.svg new file mode 100644 index 0000000000..6664821296 --- /dev/null +++ b/tests/testthat/_snaps/plotly-colorbar/plotly-colorbar.svg @@ -0,0 +1 @@ +234544.555.566.577.5845678cylwtcyl diff --git a/tests/testthat/_snaps/plotly-colorscale/colorramp.svg b/tests/testthat/_snaps/plotly-colorscale/colorramp.svg new file mode 100644 index 0000000000..81d09ff8ee --- /dev/null +++ b/tests/testthat/_snaps/plotly-colorscale/colorramp.svg @@ -0,0 +1 @@ +246810246810246810 diff --git a/tests/testthat/_snaps/plotly-colorscale/contour-alpha.svg b/tests/testthat/_snaps/plotly-colorscale/contour-alpha.svg new file mode 100644 index 0000000000..a9a355e180 --- /dev/null +++ b/tests/testthat/_snaps/plotly-colorscale/contour-alpha.svg @@ -0,0 +1 @@ +010203040506001020304050607080100120140160180 diff --git a/tests/testthat/_snaps/plotly-colorscale/contour-colorscale.svg b/tests/testthat/_snaps/plotly-colorscale/contour-colorscale.svg new file mode 100644 index 0000000000..31605388a7 --- /dev/null +++ b/tests/testthat/_snaps/plotly-colorscale/contour-colorscale.svg @@ -0,0 +1 @@ +−8−6−4−201234567481216 diff --git a/tests/testthat/_snaps/plotly-colorscale/marker-colorscale.svg b/tests/testthat/_snaps/plotly-colorscale/marker-colorscale.svg new file mode 100644 index 0000000000..078f3a53d2 --- /dev/null +++ b/tests/testthat/_snaps/plotly-colorscale/marker-colorscale.svg @@ -0,0 +1 @@ +−8−6−4−20123456711.522.533.544.55 diff --git a/tests/testthat/_snaps/plotly-colorscale/test-df.svg b/tests/testthat/_snaps/plotly-colorscale/test-df.svg new file mode 100644 index 0000000000..a5a1f89dfa --- /dev/null +++ b/tests/testthat/_snaps/plotly-colorscale/test-df.svg @@ -0,0 +1 @@ +246810246810123456789 diff --git a/tests/testthat/_snaps/plotly-colorscale/test-list-2.svg b/tests/testthat/_snaps/plotly-colorscale/test-list-2.svg new file mode 100644 index 0000000000..7bccee416f --- /dev/null +++ b/tests/testthat/_snaps/plotly-colorscale/test-list-2.svg @@ -0,0 +1 @@ +246810246810123456789 diff --git a/tests/testthat/_snaps/plotly-colorscale/test-list-3.svg b/tests/testthat/_snaps/plotly-colorscale/test-list-3.svg new file mode 100644 index 0000000000..7bccee416f --- /dev/null +++ b/tests/testthat/_snaps/plotly-colorscale/test-list-3.svg @@ -0,0 +1 @@ +246810246810123456789 diff --git a/tests/testthat/_snaps/plotly-colorscale/test-list.svg b/tests/testthat/_snaps/plotly-colorscale/test-list.svg new file mode 100644 index 0000000000..a5a1f89dfa --- /dev/null +++ b/tests/testthat/_snaps/plotly-colorscale/test-list.svg @@ -0,0 +1 @@ +246810246810123456789 diff --git a/tests/testthat/_snaps/plotly-colorscale/test-matrix.svg b/tests/testthat/_snaps/plotly-colorscale/test-matrix.svg new file mode 100644 index 0000000000..a5a1f89dfa --- /dev/null +++ b/tests/testthat/_snaps/plotly-colorscale/test-matrix.svg @@ -0,0 +1 @@ +246810246810123456789 diff --git a/tests/testthat/_snaps/plotly-group/plotly-nas-connect.svg b/tests/testthat/_snaps/plotly-group/plotly-nas-connect.svg new file mode 100644 index 0000000000..b0163befad --- /dev/null +++ b/tests/testthat/_snaps/plotly-group/plotly-nas-connect.svg @@ -0,0 +1 @@ +1970198019902000201002k4k6k8k10k12kdatepce diff --git a/tests/testthat/_snaps/plotly-group/plotly-nas-within-color.svg b/tests/testthat/_snaps/plotly-group/plotly-nas-within-color.svg new file mode 100644 index 0000000000..38938e66fc --- /dev/null +++ b/tests/testthat/_snaps/plotly-group/plotly-nas-within-color.svg @@ -0,0 +1 @@ +19701980199020002010050k100k150k200k250k300kpcepoppsavertuempmedunemploydatevalue diff --git a/tests/testthat/_snaps/plotly-group/plotly-nas-within-color2.svg b/tests/testthat/_snaps/plotly-group/plotly-nas-within-color2.svg new file mode 100644 index 0000000000..6f92185c61 --- /dev/null +++ b/tests/testthat/_snaps/plotly-group/plotly-nas-within-color2.svg @@ -0,0 +1 @@ +19701980199020002010050k100k150k200k250k300kpcepoppsavertuempmedunemploydatevalue diff --git a/tests/testthat/_snaps/plotly-group/plotly-nas-within-group.svg b/tests/testthat/_snaps/plotly-group/plotly-nas-within-group.svg new file mode 100644 index 0000000000..f4c3ea91fe --- /dev/null +++ b/tests/testthat/_snaps/plotly-group/plotly-nas-within-group.svg @@ -0,0 +1 @@ +19701980199020002010050k100k150k200k250k300kdatevalue diff --git a/tests/testthat/_snaps/plotly-group/plotly-nas.svg b/tests/testthat/_snaps/plotly-group/plotly-nas.svg new file mode 100644 index 0000000000..35f2133e72 --- /dev/null +++ b/tests/testthat/_snaps/plotly-group/plotly-nas.svg @@ -0,0 +1 @@ +1970198019902000201002k4k6k8k10k12kdatepce diff --git a/tests/testthat/_snaps/plotly-group/plotly-no-nas-for-irrelevant-group.svg b/tests/testthat/_snaps/plotly-group/plotly-no-nas-for-irrelevant-group.svg new file mode 100644 index 0000000000..bff68a6ab1 --- /dev/null +++ b/tests/testthat/_snaps/plotly-group/plotly-no-nas-for-irrelevant-group.svg @@ -0,0 +1 @@ +2345101520253035wtmpg diff --git a/tests/testthat/_snaps/plotly-group/simple-scatter-marker-color-group.svg b/tests/testthat/_snaps/plotly-group/simple-scatter-marker-color-group.svg new file mode 100644 index 0000000000..20a9ab0abb --- /dev/null +++ b/tests/testthat/_snaps/plotly-group/simple-scatter-marker-color-group.svg @@ -0,0 +1 @@ +12345678910111213141516171819202122232425262728293031321015202530351.522.533.544.555.5mpgwt diff --git a/tests/testthat/_snaps/plotly-image-trace/colormodel.svg b/tests/testthat/_snaps/plotly-image-trace/colormodel.svg new file mode 100644 index 0000000000..4631f7fba7 --- /dev/null +++ b/tests/testthat/_snaps/plotly-image-trace/colormodel.svg @@ -0,0 +1 @@ +00.510.40.20−0.2−0.40123.532.521.510.50−0.5 diff --git a/tests/testthat/_snaps/plotly-image-trace/raster-basic.svg b/tests/testthat/_snaps/plotly-image-trace/raster-basic.svg new file mode 100644 index 0000000000..b2b07d6b39 --- /dev/null +++ b/tests/testthat/_snaps/plotly-image-trace/raster-basic.svg @@ -0,0 +1 @@ +012343.532.521.510.50−0.5 diff --git a/tests/testthat/_snaps/plotly-linetype/plotly-linetype-alphabetical.svg b/tests/testthat/_snaps/plotly-linetype/plotly-linetype-alphabetical.svg new file mode 100644 index 0000000000..629a1d55b7 --- /dev/null +++ b/tests/testthat/_snaps/plotly-linetype/plotly-linetype-alphabetical.svg @@ -0,0 +1 @@ +101520253035152025303540452seatercompactmidsizepickupsubcompactsuvctyhwy diff --git a/tests/testthat/_snaps/plotly-linetype/plotly-linetype-linetype.svg b/tests/testthat/_snaps/plotly-linetype/plotly-linetype-linetype.svg new file mode 100644 index 0000000000..39b333650b --- /dev/null +++ b/tests/testthat/_snaps/plotly-linetype/plotly-linetype-linetype.svg @@ -0,0 +1 @@ +200020052010201550k100k150k200k250kAbileneAmarilloArlingtonAustinBay Areadatemedian diff --git a/tests/testthat/_snaps/plotly-linetype/plotly-linetype-linetype2.svg b/tests/testthat/_snaps/plotly-linetype/plotly-linetype-linetype2.svg new file mode 100644 index 0000000000..afc0305019 --- /dev/null +++ b/tests/testthat/_snaps/plotly-linetype/plotly-linetype-linetype2.svg @@ -0,0 +1 @@ +200020052010201550k100k150k200k250kAbileneAmarilloArlingtonAustinBay Areadatemedian diff --git a/tests/testthat/_snaps/plotly-linetype/plotly-linetype-linetype3.svg b/tests/testthat/_snaps/plotly-linetype/plotly-linetype-linetype3.svg new file mode 100644 index 0000000000..3cdf4ab636 --- /dev/null +++ b/tests/testthat/_snaps/plotly-linetype/plotly-linetype-linetype3.svg @@ -0,0 +1 @@ +200020052010201550k100k150k200k250kdatemedian diff --git a/tests/testthat/_snaps/plotly-linetype/plotly-linetype-manual.svg b/tests/testthat/_snaps/plotly-linetype/plotly-linetype-manual.svg new file mode 100644 index 0000000000..08494ad82d --- /dev/null +++ b/tests/testthat/_snaps/plotly-linetype/plotly-linetype-manual.svg @@ -0,0 +1 @@ +1015202530355010015020025030035040045001mpgdisp diff --git a/tests/testthat/_snaps/plotly-linetype/plotly-linetype-ordering.svg b/tests/testthat/_snaps/plotly-linetype/plotly-linetype-ordering.svg new file mode 100644 index 0000000000..d580751250 --- /dev/null +++ b/tests/testthat/_snaps/plotly-linetype/plotly-linetype-ordering.svg @@ -0,0 +1 @@ +152025305010015020025030035040045010mpgdisp diff --git a/tests/testthat/_snaps/plotly-size/marker-size.svg b/tests/testthat/_snaps/plotly-size/marker-size.svg new file mode 100644 index 0000000000..6d668c6185 --- /dev/null +++ b/tests/testthat/_snaps/plotly-size/marker-size.svg @@ -0,0 +1 @@ +246810246810 diff --git a/tests/testthat/_snaps/plotly-size/sizemode.svg b/tests/testthat/_snaps/plotly-size/sizemode.svg new file mode 100644 index 0000000000..e4ad5b8913 --- /dev/null +++ b/tests/testthat/_snaps/plotly-size/sizemode.svg @@ -0,0 +1 @@ +23451.522.533.544.555.5123468wtwt diff --git a/tests/testthat/_snaps/plotly-subplot/plotly-subplot-geo-cartesian.svg b/tests/testthat/_snaps/plotly-subplot/plotly-subplot-geo-cartesian.svg new file mode 100644 index 0000000000..96c440caa0 --- /dev/null +++ b/tests/testthat/_snaps/plotly-subplot/plotly-subplot-geo-cartesian.svg @@ -0,0 +1 @@ +05k10k15k20k0200040006000012020406005101502040600501001500200k400kPopulationIncomeIlliteracyLife ExpMurderHS GradFrostArea0.20.40.60.8density diff --git a/tests/testthat/_snaps/plotly-subplot/plotly-subplot-ggmatrix.svg b/tests/testthat/_snaps/plotly-subplot/plotly-subplot-ggmatrix.svg new file mode 100644 index 0000000000..c7b00e2e1a --- /dev/null +++ b/tests/testthat/_snaps/plotly-subplot/plotly-subplot-ggmatrix.svg @@ -0,0 +1 @@ +0.02.55.07.50.02.55.07.556780.02.55.07.50.00.51.01.52.02.52462.02.53.03.54.04.50.00.10.20.30.42.02.53.03.54.04.5Corr:-0.118246Corr:-0.428***Corr:0.872***0.00.51.01.52.02.5Corr:0.963***Corr:-0.366***Corr:0.818***setosaversicolorvirginicaSepal.LengthSepal.WidthPetal.LengthPetal.WidthSpeciesPetal.WidthPetal.LengthSepal.WidthSepal.Lengthsetosaversicolorvirginicasetosaversicolorvirginicasetosaversicolorvirginicasetosaversicolorvirginica diff --git a/tests/testthat/_snaps/plotly-subplot/plotly-subplot-group.svg b/tests/testthat/_snaps/plotly-subplot/plotly-subplot-group.svg new file mode 100644 index 0000000000..e1549b6140 --- /dev/null +++ b/tests/testthat/_snaps/plotly-subplot/plotly-subplot-group.svg @@ -0,0 +1 @@ +3540451617181920214045505516.51717.51818.51919.52020.52140455055601313.51414.51515.51616.51717.5AdelieChinstrapGentoo diff --git a/tests/testthat/_snaps/plotly-subplot/plotly-subplot-plot-list.svg b/tests/testthat/_snaps/plotly-subplot/plotly-subplot-plot-list.svg new file mode 100644 index 0000000000..089b23e2ac --- /dev/null +++ b/tests/testthat/_snaps/plotly-subplot/plotly-subplot-plot-list.svg @@ -0,0 +1 @@ +05k10k200k250k300k510151020197019801990200020105k10k15kpcepoppsavertuempmedunemploy diff --git a/tests/testthat/_snaps/plotly-subplot/plotly-subplot-recursive.svg b/tests/testthat/_snaps/plotly-subplot/plotly-subplot-recursive.svg new file mode 100644 index 0000000000..d41b3003ba --- /dev/null +++ b/tests/testthat/_snaps/plotly-subplot/plotly-subplot-recursive.svg @@ -0,0 +1 @@ +5k10k15k1980200051015202519802000trace 0trace 1trace 2trace 3 diff --git a/tests/testthat/_snaps/plotly-subplot/plotly-subplot-shareboth.svg b/tests/testthat/_snaps/plotly-subplot/plotly-subplot-shareboth.svg new file mode 100644 index 0000000000..952249e59a --- /dev/null +++ b/tests/testthat/_snaps/plotly-subplot/plotly-subplot-shareboth.svg @@ -0,0 +1 @@ +00.20.40.60.810.511.500.20.40.60.810.511.5trace 0trace 1trace 2trace 3 diff --git a/tests/testthat/_snaps/plotly-subplot/plotly-subplot-sharex.svg b/tests/testthat/_snaps/plotly-subplot/plotly-subplot-sharex.svg new file mode 100644 index 0000000000..a710f291d4 --- /dev/null +++ b/tests/testthat/_snaps/plotly-subplot/plotly-subplot-sharex.svg @@ -0,0 +1 @@ +00.20.40.60.810.60.811.21.400.20.40.60.81trace 0trace 1 diff --git a/tests/testthat/_snaps/plotly-subplot/plotly-subplot-sharey.svg b/tests/testthat/_snaps/plotly-subplot/plotly-subplot-sharey.svg new file mode 100644 index 0000000000..388179183e --- /dev/null +++ b/tests/testthat/_snaps/plotly-subplot/plotly-subplot-sharey.svg @@ -0,0 +1 @@ +0.511.500.20.40.60.810.511.5trace 0trace 1 diff --git a/tests/testthat/_snaps/plotly-subplot/plotly-subplot-simple.svg b/tests/testthat/_snaps/plotly-subplot/plotly-subplot-simple.svg new file mode 100644 index 0000000000..22e5252ace --- /dev/null +++ b/tests/testthat/_snaps/plotly-subplot/plotly-subplot-simple.svg @@ -0,0 +1 @@ +0.511.522.500.20.40.60.810.511.522.500.20.40.60.81trace 0trace 1 diff --git a/tests/testthat/_snaps/plotly-subplot/plotly-subplot-simple2.svg b/tests/testthat/_snaps/plotly-subplot/plotly-subplot-simple2.svg new file mode 100644 index 0000000000..4e3cda9d6e --- /dev/null +++ b/tests/testthat/_snaps/plotly-subplot/plotly-subplot-simple2.svg @@ -0,0 +1 @@ +0.511.522.500.20.40.60.810.511.522.500.20.40.60.81trace 0trace 1 diff --git a/tests/testthat/_snaps/plotly-subplot/plotly-subplot-subplot-legendgroup.svg b/tests/testthat/_snaps/plotly-subplot/plotly-subplot-subplot-legendgroup.svg new file mode 100644 index 0000000000..4bc0b312a6 --- /dev/null +++ b/tests/testthat/_snaps/plotly-subplot/plotly-subplot-subplot-legendgroup.svg @@ -0,0 +1 @@ +0510−3−2−10123x1x2x3 diff --git a/tests/testthat/_snaps/plotly-subplot/plotly-subplot-width-height.svg b/tests/testthat/_snaps/plotly-subplot/plotly-subplot-width-height.svg new file mode 100644 index 0000000000..6191f6c8f6 --- /dev/null +++ b/tests/testthat/_snaps/plotly-subplot/plotly-subplot-width-height.svg @@ -0,0 +1 @@ +0.02.55.07.5-3-2-1012-2020.02.55.07.510.0xcountcounty diff --git a/tests/testthat/_snaps/plotly-subplot/subplot-bump-axis-annotation-shared.svg b/tests/testthat/_snaps/plotly-subplot/subplot-bump-axis-annotation-shared.svg new file mode 100644 index 0000000000..81e911b74f --- /dev/null +++ b/tests/testthat/_snaps/plotly-subplot/subplot-bump-axis-annotation-shared.svg @@ -0,0 +1 @@ +2345152025303523456646868446688888844448888444868411100000000000000111000001111111 diff --git a/tests/testthat/_snaps/plotly-subplot/subplot-bump-axis-annotation-traces-shared.svg b/tests/testthat/_snaps/plotly-subplot/subplot-bump-axis-annotation-traces-shared.svg new file mode 100644 index 0000000000..8cda820fa8 --- /dev/null +++ b/tests/testthat/_snaps/plotly-subplot/subplot-bump-axis-annotation-traces-shared.svg @@ -0,0 +1 @@ +11.5211.21.41.61.8211.52trace 0trace 1trace 2trace 3foobar diff --git a/tests/testthat/_snaps/plotly-subplot/subplot-bump-axis-annotation-traces.svg b/tests/testthat/_snaps/plotly-subplot/subplot-bump-axis-annotation-traces.svg new file mode 100644 index 0000000000..5424d0f317 --- /dev/null +++ b/tests/testthat/_snaps/plotly-subplot/subplot-bump-axis-annotation-traces.svg @@ -0,0 +1 @@ +11.5211.21.41.61.8211.5211.21.41.61.82trace 0trace 1trace 2trace 3foobar diff --git a/tests/testthat/_snaps/plotly-subplot/subplot-bump-axis-annotation.svg b/tests/testthat/_snaps/plotly-subplot/subplot-bump-axis-annotation.svg new file mode 100644 index 0000000000..e67f13cec0 --- /dev/null +++ b/tests/testthat/_snaps/plotly-subplot/subplot-bump-axis-annotation.svg @@ -0,0 +1 @@ +23451520253035234515202530356646868446688888844448888444868411100000000000000111000001111111 diff --git a/tests/testthat/_snaps/plotly-subplot/subplot-bump-axis-image.svg b/tests/testthat/_snaps/plotly-subplot/subplot-bump-axis-image.svg new file mode 100644 index 0000000000..1da84dec52 --- /dev/null +++ b/tests/testthat/_snaps/plotly-subplot/subplot-bump-axis-image.svg @@ -0,0 +1 @@ +00.511.5200.511.5200.511.5200.511.52trace 0trace 1 diff --git a/tests/testthat/_snaps/plotly-subplot/subplot-bump-axis-shape-shared.svg b/tests/testthat/_snaps/plotly-subplot/subplot-bump-axis-shape-shared.svg new file mode 100644 index 0000000000..aa490fcdb4 --- /dev/null +++ b/tests/testthat/_snaps/plotly-subplot/subplot-bump-axis-shape-shared.svg @@ -0,0 +1 @@ +4567800.20.40.60.8145678 diff --git a/tests/testthat/_snaps/plotly-subplot/subplot-bump-axis-shape.svg b/tests/testthat/_snaps/plotly-subplot/subplot-bump-axis-shape.svg new file mode 100644 index 0000000000..f8dc557992 --- /dev/null +++ b/tests/testthat/_snaps/plotly-subplot/subplot-bump-axis-shape.svg @@ -0,0 +1 @@ +4567800.20.40.60.814567800.20.40.60.81 diff --git a/tests/testthat/_snaps/plotly-subplot/subplot-reposition-annotation.svg b/tests/testthat/_snaps/plotly-subplot/subplot-reposition-annotation.svg new file mode 100644 index 0000000000..22b946ab61 --- /dev/null +++ b/tests/testthat/_snaps/plotly-subplot/subplot-reposition-annotation.svg @@ -0,0 +1 @@ +0246−1012340246−101234foobar diff --git a/tests/testthat/_snaps/plotly-subplot/subplot-reposition-image.svg b/tests/testthat/_snaps/plotly-subplot/subplot-reposition-image.svg new file mode 100644 index 0000000000..7b878e6168 --- /dev/null +++ b/tests/testthat/_snaps/plotly-subplot/subplot-reposition-image.svg @@ -0,0 +1 @@ +00.511.5200.511.5200.511.5200.511.52trace 0trace 1 diff --git a/tests/testthat/_snaps/plotly-subplot/subplot-reposition-shape-fixed.svg b/tests/testthat/_snaps/plotly-subplot/subplot-reposition-shape-fixed.svg new file mode 100644 index 0000000000..9cb20b0d4a --- /dev/null +++ b/tests/testthat/_snaps/plotly-subplot/subplot-reposition-shape-fixed.svg @@ -0,0 +1 @@ +0246−1012340246−101234 diff --git a/tests/testthat/_snaps/plotly-subplot/subplot-reposition-shape.svg b/tests/testthat/_snaps/plotly-subplot/subplot-reposition-shape.svg new file mode 100644 index 0000000000..924dcc9ef2 --- /dev/null +++ b/tests/testthat/_snaps/plotly-subplot/subplot-reposition-shape.svg @@ -0,0 +1 @@ +0246−1012340246−101234 diff --git a/tests/testthat/_snaps/plotly-sunburst/sunburst.svg b/tests/testthat/_snaps/plotly-sunburst/sunburst.svg new file mode 100644 index 0000000000..8cdd784bb2 --- /dev/null +++ b/tests/testthat/_snaps/plotly-sunburst/sunburst.svg @@ -0,0 +1 @@ +AromasTastesEnzymaticSugar BrowningDry DistillationBitterSaltSweetSourFloweryFruityHerbyNuttyCarmellyChocolateyResinousSpicyCarbonyPungentHarshSharpBlandMellowAcidyWineySouryFloralFragrantCitrusBerry-likeAlliaceousLeguminousNut-likeMalt-likeCandy-likeSyrup-likeChocolate-likeVanilla-likeTurpenyMedicinalWarmingPungentSmokeyAshyCreosolPhenolicCausticAlkalineAstringentRoughNeutralSoftDelicateMildNippyPiquantTangyTartHardAcridCoffee BlossomTea RoseCardamon CarawayCoriander SeedsLemonAppleApricotBlackberryOnionGarlicCucumberGarden PeasRoasted PeanutsWalnutsBalsamic RiceToastRoasted HazelnutRoasted AlmondHoneyMaple SyrupBakersDark ChocolateSwissButterPineyBlackcurrant-likeCamphoricCineolicCedarPepperCloveThymeTarryPipe TobaccoBurntCharred diff --git a/tests/testthat/_snaps/plotly-symbol/plotly-symbol-alphabetical.svg b/tests/testthat/_snaps/plotly-symbol/plotly-symbol-alphabetical.svg new file mode 100644 index 0000000000..8dec0f1222 --- /dev/null +++ b/tests/testthat/_snaps/plotly-symbol/plotly-symbol-alphabetical.svg @@ -0,0 +1 @@ +10152025303510152025303540452seatercompactmidsizepickupsubcompactsuvctyhwy diff --git a/tests/testthat/_snaps/plotly-symbol/plotly-symbol-logical.svg b/tests/testthat/_snaps/plotly-symbol/plotly-symbol-logical.svg new file mode 100644 index 0000000000..f83230972a --- /dev/null +++ b/tests/testthat/_snaps/plotly-symbol/plotly-symbol-logical.svg @@ -0,0 +1 @@ +246810246810FALSETRUE diff --git a/tests/testthat/_snaps/plotly-symbol/plotly-symbol-ordering.svg b/tests/testthat/_snaps/plotly-symbol/plotly-symbol-ordering.svg new file mode 100644 index 0000000000..25430fbe96 --- /dev/null +++ b/tests/testthat/_snaps/plotly-symbol/plotly-symbol-ordering.svg @@ -0,0 +1 @@ +1015202530355010015020025030035040045010mpgdisp diff --git a/tests/testthat/_snaps/plotly-symbol/plotly-symbol-pch.svg b/tests/testthat/_snaps/plotly-symbol/plotly-symbol-pch.svg new file mode 100644 index 0000000000..71a8845f85 --- /dev/null +++ b/tests/testthat/_snaps/plotly-symbol/plotly-symbol-pch.svg @@ -0,0 +1 @@ +123456123456 diff --git a/tests/testthat/_snaps/plotly-symbol/plotly-symbol-scatterplot-symbol.svg b/tests/testthat/_snaps/plotly-symbol/plotly-symbol-scatterplot-symbol.svg new file mode 100644 index 0000000000..aa8b24c784 --- /dev/null +++ b/tests/testthat/_snaps/plotly-symbol/plotly-symbol-scatterplot-symbol.svg @@ -0,0 +1 @@ +35404550556013141516171819202122AdelieChinstrapGentoobill_length_mmbill_depth_mm diff --git a/tests/testthat/_snaps/plotly-symbol/plotly-symbol-scatterplot-symbol2.svg b/tests/testthat/_snaps/plotly-symbol/plotly-symbol-scatterplot-symbol2.svg new file mode 100644 index 0000000000..5c09ebdd39 --- /dev/null +++ b/tests/testthat/_snaps/plotly-symbol/plotly-symbol-scatterplot-symbol2.svg @@ -0,0 +1 @@ +35404550556013141516171819202122AdelieChinstrapGentoobill_length_mmbill_depth_mm diff --git a/tests/testthat/_snaps/plotly-symbol/plotly-symbol-symbol-manual.svg b/tests/testthat/_snaps/plotly-symbol/plotly-symbol-symbol-manual.svg new file mode 100644 index 0000000000..73c4a7d35c --- /dev/null +++ b/tests/testthat/_snaps/plotly-symbol/plotly-symbol-symbol-manual.svg @@ -0,0 +1 @@ +1015202530355010015020025030035040045001mpgdisp diff --git a/tests/testthat/_snaps/plotly-treemaps/advanced.svg b/tests/testthat/_snaps/plotly-treemaps/advanced.svg new file mode 100644 index 0000000000..c6875531e2 --- /dev/null +++ b/tests/testthat/_snaps/plotly-treemaps/advanced.svg @@ -0,0 +1 @@ +EveSethCain1422% of parent22% of entryAwanAbel69% of parent9% of entryAzura46% of parent6% of entryEnos1042% of parent15% of entryNoam28% of parent3% of entryEnoch114% of parent2% of entryEveCain1422% of parent22% of entrySethAbel69% of parent9% of entryAwanAzura46% of parent6% of entryEnos1083% of parent15% of entryNoam217% of parent3% of entryEnoch117% of parent2% of entrybranchvalues = remainderbranchvalues = total diff --git a/tests/testthat/_snaps/plotly-treemaps/basic.svg b/tests/testthat/_snaps/plotly-treemaps/basic.svg new file mode 100644 index 0000000000..897c28e74c --- /dev/null +++ b/tests/testthat/_snaps/plotly-treemaps/basic.svg @@ -0,0 +1 @@ +EveSethCainAbelAwanAzuraEnosNoamEnoch diff --git a/tests/testthat/_snaps/plotly-waterfall/waterfall-simple.svg b/tests/testthat/_snaps/plotly-waterfall/waterfall-simple.svg new file mode 100644 index 0000000000..ed86ad9dac --- /dev/null +++ b/tests/testthat/_snaps/plotly-waterfall/waterfall-simple.svg @@ -0,0 +1 @@ +01234500.511.52 diff --git a/tests/testthat/_snaps/plotly/errorbar-width.svg b/tests/testthat/_snaps/plotly/errorbar-width.svg new file mode 100644 index 0000000000..c785eba027 --- /dev/null +++ b/tests/testthat/_snaps/plotly/errorbar-width.svg @@ -0,0 +1 @@ +246810246810 diff --git a/tests/testthat/_snaps/plotly/layout-grid.svg b/tests/testthat/_snaps/plotly/layout-grid.svg new file mode 100644 index 0000000000..917e224d16 --- /dev/null +++ b/tests/testthat/_snaps/plotly/layout-grid.svg @@ -0,0 +1 @@ +00.511.521234500.511.521234500.511.521234500.511.521234500.511.521234500.511.5212345trace 0trace 1trace 2trace 3trace 4trace 5 diff --git a/tests/testthat/_snaps/plotly/plotly-alpha-blending.svg b/tests/testthat/_snaps/plotly/plotly-alpha-blending.svg new file mode 100644 index 0000000000..6e036c7ad0 --- /dev/null +++ b/tests/testthat/_snaps/plotly/plotly-alpha-blending.svg @@ -0,0 +1 @@ +−3−2−1012−2−10123trace 0trace 1−202rnorm(100) diff --git a/tests/testthat/_snaps/plotly/plotly-alpha-no-color.svg b/tests/testthat/_snaps/plotly/plotly-alpha-no-color.svg new file mode 100644 index 0000000000..051aec014a --- /dev/null +++ b/tests/testthat/_snaps/plotly/plotly-alpha-no-color.svg @@ -0,0 +1 @@ +10152025303550100150200250300350400450mpgdisp diff --git a/tests/testthat/_snaps/plotly/plotly-bar-inference.svg b/tests/testthat/_snaps/plotly/plotly-bar-inference.svg new file mode 100644 index 0000000000..bdbecef7d6 --- /dev/null +++ b/tests/testthat/_snaps/plotly/plotly-bar-inference.svg @@ -0,0 +1 @@ +AdelieChinstrapGentoo020406080100120140160trace 0trace 1species diff --git a/tests/testthat/_snaps/plotly/plotly-box-data-array.svg b/tests/testthat/_snaps/plotly/plotly-box-data-array.svg new file mode 100644 index 0000000000..69a6fdf0ec --- /dev/null +++ b/tests/testthat/_snaps/plotly/plotly-box-data-array.svg @@ -0,0 +1 @@ + diff --git a/tests/testthat/_snaps/plotly/plotly-character-axis.svg b/tests/testthat/_snaps/plotly/plotly-character-axis.svg new file mode 100644 index 0000000000..c2e41b572c --- /dev/null +++ b/tests/testthat/_snaps/plotly/plotly-character-axis.svg @@ -0,0 +1 @@ +ABCDEFGHIJKLMNOPQRSTUVWXYZ0510152025a1a2 diff --git a/tests/testthat/_snaps/plotly/plotly-factor-axis.svg b/tests/testthat/_snaps/plotly/plotly-factor-axis.svg new file mode 100644 index 0000000000..563ba31c11 --- /dev/null +++ b/tests/testthat/_snaps/plotly/plotly-factor-axis.svg @@ -0,0 +1 @@ +12481632123456 diff --git a/tests/testthat/_snaps/plotly/plotly-group-within-trace.svg b/tests/testthat/_snaps/plotly/plotly-group-within-trace.svg new file mode 100644 index 0000000000..be317e5034 --- /dev/null +++ b/tests/testthat/_snaps/plotly/plotly-group-within-trace.svg @@ -0,0 +1 @@ +11.21.41.61.82−1.5−1−0.500.511.52ABvisitresponse diff --git a/tests/testthat/_snaps/plotly/plotly-histogram-vert.svg b/tests/testthat/_snaps/plotly/plotly-histogram-vert.svg new file mode 100644 index 0000000000..7441067fa7 --- /dev/null +++ b/tests/testthat/_snaps/plotly/plotly-histogram-vert.svg @@ -0,0 +1 @@ +05101520−3−2−1012 diff --git a/tests/testthat/_snaps/plotly/plotly-histogram.svg b/tests/testthat/_snaps/plotly/plotly-histogram.svg new file mode 100644 index 0000000000..28100caa15 --- /dev/null +++ b/tests/testthat/_snaps/plotly/plotly-histogram.svg @@ -0,0 +1 @@ +−3−2−101205101520 diff --git a/tests/testthat/_snaps/plotly/plotly-inherit-false.svg b/tests/testthat/_snaps/plotly/plotly-inherit-false.svg new file mode 100644 index 0000000000..9bfdd84a28 --- /dev/null +++ b/tests/testthat/_snaps/plotly/plotly-inherit-false.svg @@ -0,0 +1 @@ +01024681012141618factor(vs) diff --git a/tests/testthat/_snaps/plotly/plotly-scatterplot.svg b/tests/testthat/_snaps/plotly/plotly-scatterplot.svg new file mode 100644 index 0000000000..2691f82954 --- /dev/null +++ b/tests/testthat/_snaps/plotly/plotly-scatterplot.svg @@ -0,0 +1 @@ +35404550556013141516171819202122bill_length_mmbill_depth_mm diff --git a/tests/testthat/_snaps/plotly/plotly-time-series-summary.svg b/tests/testthat/_snaps/plotly/plotly-time-series-summary.svg new file mode 100644 index 0000000000..764ee2bfc1 --- /dev/null +++ b/tests/testthat/_snaps/plotly/plotly-time-series-summary.svg @@ -0,0 +1 @@ +200020052010201550k100k150k200k250k300kTexan CitiesmedianIQRdatemedian diff --git a/tests/testthat/_snaps/ticktext-linebreaks/ticktext-linebreaks-no-linebreaks.svg b/tests/testthat/_snaps/ticktext-linebreaks/ticktext-linebreaks-no-linebreaks.svg new file mode 100644 index 0000000000..6c59908c99 --- /dev/null +++ b/tests/testthat/_snaps/ticktext-linebreaks/ticktext-linebreaks-no-linebreaks.svg @@ -0,0 +1 @@ +012345ticktextticktext long_ticktext ticktextxy diff --git a/tests/testthat/_snaps/ticktext-linebreaks/ticktext-linebreaks-one-cat.svg b/tests/testthat/_snaps/ticktext-linebreaks/ticktext-linebreaks-one-cat.svg new file mode 100644 index 0000000000..3de56f6760 --- /dev/null +++ b/tests/testthat/_snaps/ticktext-linebreaks/ticktext-linebreaks-one-cat.svg @@ -0,0 +1 @@ +0.000.250.500.751.00ticktextlong_ticktextticktextxy diff --git a/tests/testthat/_snaps/ticktext-linebreaks/ticktext-linebreaks.svg b/tests/testthat/_snaps/ticktext-linebreaks/ticktext-linebreaks.svg new file mode 100644 index 0000000000..856177ad49 --- /dev/null +++ b/tests/testthat/_snaps/ticktext-linebreaks/ticktext-linebreaks.svg @@ -0,0 +1 @@ +012345ticktextticktextlong_ticktextticktextxy diff --git a/tests/testthat/test-plotly-area.R b/tests/testthat/test-plotly-area.R new file mode 100644 index 0000000000..94a52a5585 --- /dev/null +++ b/tests/testthat/test-plotly-area.R @@ -0,0 +1,12 @@ +test_that("add_area() works", { + data(wind) + p <- plot_ly(wind, r = ~r, theta = ~t) %>% + add_area(color = ~nms) %>% + layout( + polar = list( + radialaxis = list(ticksuffix = "%"), + angularaxis = list(rotation = 90) + ) + ) + expect_doppelganger_built(p, "add-area") +}) From 37a4ae614453273cf81327c158f48789cd5d585d Mon Sep 17 00:00:00 2001 From: Abdessabour Moutik Date: Sat, 9 Oct 2021 04:15:06 -0700 Subject: [PATCH 10/13] Use `basename(file)` instead of file as the directory has already changed. Now can be used anywhere in the project tree. --- tests/testthat/helper-vdiffr.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/testthat/helper-vdiffr.R b/tests/testthat/helper-vdiffr.R index b27435a1e8..e7b90c09a5 100644 --- a/tests/testthat/helper-vdiffr.R +++ b/tests/testthat/helper-vdiffr.R @@ -51,12 +51,12 @@ write_plotly_svg <- function(p, file) { # strip out non-deterministic fullLayout.uid # TODO: if and when plotly provides an API to pre-specify, use it! - svg_txt <- readLines(file, warn = FALSE) + svg_txt <- readLines(basename(file), warn = FALSE) strextract <- function(str, pattern) regmatches(str, regexpr(pattern, str)) def <- strextract(svg_txt, 'defs id=\\"defs-[[:alnum:]]+\\"') uid <- sub("defs-", "", strextract(def, "defs-[[:alnum:]]+")) svg_txt <- gsub(uid, "", svg_txt, fixed = TRUE) - writeLines(svg_txt, file) + writeLines(svg_txt, basename(file)) } # copied from vdiffr From 6fb00c9e8a6c117aeac1d9025b1ab631063046af Mon Sep 17 00:00:00 2001 From: Abdessabour Moutik Date: Sat, 9 Oct 2021 04:16:21 -0700 Subject: [PATCH 11/13] Added a test that showcases this functionality --- tests/testthat/_snaps/latex2exp/latex2exp-rendering.svg | 1 + tests/testthat/test-latex2exp.R | 9 +++++++++ 2 files changed, 10 insertions(+) create mode 100644 tests/testthat/_snaps/latex2exp/latex2exp-rendering.svg create mode 100644 tests/testthat/test-latex2exp.R diff --git a/tests/testthat/_snaps/latex2exp/latex2exp-rendering.svg b/tests/testthat/_snaps/latex2exp/latex2exp-rendering.svg new file mode 100644 index 0000000000..e36e940e80 --- /dev/null +++ b/tests/testthat/_snaps/latex2exp/latex2exp-rendering.svg @@ -0,0 +1 @@ +0.9500.9751.0001.0251.050A diff --git a/tests/testthat/test-latex2exp.R b/tests/testthat/test-latex2exp.R new file mode 100644 index 0000000000..9e7d936228 --- /dev/null +++ b/tests/testthat/test-latex2exp.R @@ -0,0 +1,9 @@ +library(latex2exp) + +test_that("lines are different from paths", { + p <- qplot(1, "A")+ + ylab(TeX("$\\frac{2hc^2}{\\lambda^\\beta}$"))+ + xlab(TeX("$\\alpha$")) + + expect_doppelganger(config(ggplotly(p), mathjax="cdn"), "latex2exp-rendering") +}) From 8c765f10f9e435f1ae884cc35749f7bbe17385f5 Mon Sep 17 00:00:00 2001 From: Abdessabour Moutik Date: Sat, 9 Oct 2021 04:52:37 -0700 Subject: [PATCH 12/13] Added informative test message --- tests/testthat/test-latex2exp.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/testthat/test-latex2exp.R b/tests/testthat/test-latex2exp.R index 9e7d936228..59e0fe03bc 100644 --- a/tests/testthat/test-latex2exp.R +++ b/tests/testthat/test-latex2exp.R @@ -1,6 +1,6 @@ library(latex2exp) -test_that("lines are different from paths", { +test_that("latex2exp expressions render correctly", { p <- qplot(1, "A")+ ylab(TeX("$\\frac{2hc^2}{\\lambda^\\beta}$"))+ xlab(TeX("$\\alpha$")) From 6d29badaa0ebe52fd53af6c2de9fc33af5dfac83 Mon Sep 17 00:00:00 2001 From: Abdessabour Moutik Date: Thu, 14 Oct 2021 14:10:42 -0700 Subject: [PATCH 13/13] Removing `TeX` class easily Co-authored-by: Carson Sievert --- R/ggplotly.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/ggplotly.R b/R/ggplotly.R index 2f88c76c83..1c728be0f2 100644 --- a/R/ggplotly.R +++ b/R/ggplotly.R @@ -1302,7 +1302,7 @@ italic <- function(x) paste("", x, "") # if a vector that has one unique value (ignoring missings), return that value uniq <- function(x) { - if("TeX" %in% class(x)) x <- as.character(x) + x <- remove_class(x, "TeX") u <- unique(x) if (identical(u, NA) || length(u) == 0) return(u) u <- u[!is.na(u)]