Skip to content

Commit

Permalink
More officially support the ggiraph::dsvg graphics device (#112)
Browse files Browse the repository at this point in the history
  • Loading branch information
cpsievert authored Oct 20, 2021
1 parent 9858628 commit 98b5102
Show file tree
Hide file tree
Showing 107 changed files with 8,445 additions and 8,439 deletions.
3 changes: 2 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: thematic
Title: Unified and Automatic 'Theming' of 'ggplot2', 'lattice', and 'base' R Graphics
Version: 0.1.2.1
Version: 0.1.2.9000
Authors@R: c(
person("Carson", "Sievert", role = c("aut", "cre"), email = "[email protected]", comment = c(ORCID = "0000-0002-4958-2844")),
person("Barret", "Schloerke", email = "[email protected]", role = "aut", comment = c(ORCID = "0000-0001-9986-114X")),
Expand Down Expand Up @@ -40,6 +40,7 @@ Suggests:
bslib,
testthat,
gganimate,
ggiraph,
vdiffr (>= 1.0.0),
svglite,
jsonlite,
Expand Down
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# thematic 0.1.2.9000

* Closed #111: `{thematic}` no longer throws an error when used with `ggiraph::dsvg()`. (#112)

# thematic 0.1.2.1

Patch release for vdiffr 1.0
Expand Down
1 change: 1 addition & 0 deletions R/hooks.R
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,7 @@ get_device_function <- function(name = infer_device()) {
agg_jpeg = ragg::agg_jpeg,
Cairo = Cairo::Cairo,
devSVG = svglite::svglite,
dsvg_device = ggiraph::dsvg,
# TODO: support cairoDevices? tikz?
stop(
"thematic doesn't (yet) support the '", name, "' graphics device. ",
Expand Down
50 changes: 25 additions & 25 deletions tests/testthat/_snaps/base/barplot-accent.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
50 changes: 25 additions & 25 deletions tests/testthat/_snaps/base/barplot.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
110 changes: 55 additions & 55 deletions tests/testthat/_snaps/base/hist.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
40 changes: 20 additions & 20 deletions tests/testthat/_snaps/base/lines-accent.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
40 changes: 20 additions & 20 deletions tests/testthat/_snaps/base/lines-cols.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
40 changes: 20 additions & 20 deletions tests/testthat/_snaps/base/lines.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
366 changes: 183 additions & 183 deletions tests/testthat/_snaps/base/pairs.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
60 changes: 30 additions & 30 deletions tests/testthat/_snaps/base/pies.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
136 changes: 68 additions & 68 deletions tests/testthat/_snaps/base/qq.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
42 changes: 21 additions & 21 deletions tests/testthat/_snaps/base/scatter-cols.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
42 changes: 21 additions & 21 deletions tests/testthat/_snaps/base/scatter.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
120 changes: 60 additions & 60 deletions tests/testthat/_snaps/base/smooth-accent.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
42 changes: 21 additions & 21 deletions tests/testthat/_snaps/base/stripchart-cols.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
42 changes: 21 additions & 21 deletions tests/testthat/_snaps/base/stripchart.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
116 changes: 58 additions & 58 deletions tests/testthat/_snaps/ggplot/geomabline.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
142 changes: 71 additions & 71 deletions tests/testthat/_snaps/ggplot/geombar.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
92 changes: 46 additions & 46 deletions tests/testthat/_snaps/ggplot/geombin2d.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
136 changes: 68 additions & 68 deletions tests/testthat/_snaps/ggplot/geombox.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
74 changes: 37 additions & 37 deletions tests/testthat/_snaps/ggplot/geomcount.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
96 changes: 48 additions & 48 deletions tests/testthat/_snaps/ggplot/geomcurve.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
82 changes: 41 additions & 41 deletions tests/testthat/_snaps/ggplot/geomdensity.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
158 changes: 79 additions & 79 deletions tests/testthat/_snaps/ggplot/geomdensitycolor.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
102 changes: 51 additions & 51 deletions tests/testthat/_snaps/ggplot/geomdotplot.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
60 changes: 30 additions & 30 deletions tests/testthat/_snaps/ggplot/geomerror.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
62 changes: 31 additions & 31 deletions tests/testthat/_snaps/ggplot/geomerrorbar.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
184 changes: 92 additions & 92 deletions tests/testthat/_snaps/ggplot/geomhistogram.svg

Large diffs are not rendered by default.

54 changes: 27 additions & 27 deletions tests/testthat/_snaps/ggplot/geomjitter.svg

Large diffs are not rendered by default.

754 changes: 377 additions & 377 deletions tests/testthat/_snaps/ggplot/geomlabel.svg

Large diffs are not rendered by default.

118 changes: 59 additions & 59 deletions tests/testthat/_snaps/ggplot/geomline.svg

Large diffs are not rendered by default.

192 changes: 96 additions & 96 deletions tests/testthat/_snaps/ggplot/geomline2.svg

Large diffs are not rendered by default.

74 changes: 37 additions & 37 deletions tests/testthat/_snaps/ggplot/geompoint.svg

Large diffs are not rendered by default.

90 changes: 45 additions & 45 deletions tests/testthat/_snaps/ggplot/geompoint2.svg

Large diffs are not rendered by default.

86 changes: 43 additions & 43 deletions tests/testthat/_snaps/ggplot/geompointcolor.svg

Large diffs are not rendered by default.

40 changes: 20 additions & 20 deletions tests/testthat/_snaps/ggplot/geompolygon.svg

Large diffs are not rendered by default.

88 changes: 44 additions & 44 deletions tests/testthat/_snaps/ggplot/geompolygon2.svg

Large diffs are not rendered by default.

118 changes: 59 additions & 59 deletions tests/testthat/_snaps/ggplot/geomribbon.svg

Large diffs are not rendered by default.

56 changes: 28 additions & 28 deletions tests/testthat/_snaps/ggplot/geomrug.svg

Large diffs are not rendered by default.

58 changes: 29 additions & 29 deletions tests/testthat/_snaps/ggplot/geomrug2.svg

Large diffs are not rendered by default.

164 changes: 82 additions & 82 deletions tests/testthat/_snaps/ggplot/geomsf.svg

Large diffs are not rendered by default.

224 changes: 112 additions & 112 deletions tests/testthat/_snaps/ggplot/geomsmooth.svg

Large diffs are not rendered by default.

166 changes: 83 additions & 83 deletions tests/testthat/_snaps/ggplot/geomsmooth2.svg

Large diffs are not rendered by default.

74 changes: 37 additions & 37 deletions tests/testthat/_snaps/ggplot/geomspoke.svg

Large diffs are not rendered by default.

752 changes: 376 additions & 376 deletions tests/testthat/_snaps/ggplot/geomtext.svg

Large diffs are not rendered by default.

70 changes: 35 additions & 35 deletions tests/testthat/_snaps/ggplot/geomtile.svg

Large diffs are not rendered by default.

78 changes: 39 additions & 39 deletions tests/testthat/_snaps/ggplot/geomviolin.svg

Large diffs are not rendered by default.

408 changes: 204 additions & 204 deletions tests/testthat/_snaps/ggplot/grid-arrange.svg

Large diffs are not rendered by default.

60 changes: 30 additions & 30 deletions tests/testthat/_snaps/ggplot/no-y-text.svg

Large diffs are not rendered by default.

222 changes: 111 additions & 111 deletions tests/testthat/_snaps/ggplot/patchwork.svg

Large diffs are not rendered by default.

208 changes: 104 additions & 104 deletions tests/testthat/_snaps/ggplot/qualitative-color.svg

Large diffs are not rendered by default.

150 changes: 75 additions & 75 deletions tests/testthat/_snaps/ggplot/qualitative-fill.svg

Large diffs are not rendered by default.

90 changes: 45 additions & 45 deletions tests/testthat/_snaps/ggplot/sequential-color.svg

Large diffs are not rendered by default.

132 changes: 66 additions & 66 deletions tests/testthat/_snaps/ggplot/sequential-fill.svg

Large diffs are not rendered by default.

122 changes: 61 additions & 61 deletions tests/testthat/_snaps/ggthemes/axis-interitance-distant.svg

Large diffs are not rendered by default.

122 changes: 61 additions & 61 deletions tests/testthat/_snaps/ggthemes/axis-interitance-distant2.svg

Large diffs are not rendered by default.

106 changes: 53 additions & 53 deletions tests/testthat/_snaps/ggthemes/axis-interitance.svg

Large diffs are not rendered by default.

154 changes: 77 additions & 77 deletions tests/testthat/_snaps/ggthemes/base.svg

Large diffs are not rendered by default.

154 changes: 77 additions & 77 deletions tests/testthat/_snaps/ggthemes/bw.svg

Large diffs are not rendered by default.

154 changes: 77 additions & 77 deletions tests/testthat/_snaps/ggthemes/calc.svg

Large diffs are not rendered by default.

154 changes: 77 additions & 77 deletions tests/testthat/_snaps/ggthemes/classic.svg

Large diffs are not rendered by default.

154 changes: 77 additions & 77 deletions tests/testthat/_snaps/ggthemes/clean.svg

Large diffs are not rendered by default.

154 changes: 77 additions & 77 deletions tests/testthat/_snaps/ggthemes/dark.svg

Large diffs are not rendered by default.

500 changes: 250 additions & 250 deletions tests/testthat/_snaps/ggthemes/economist-white.svg

Large diffs are not rendered by default.

500 changes: 250 additions & 250 deletions tests/testthat/_snaps/ggthemes/economist.svg

Large diffs are not rendered by default.

94 changes: 47 additions & 47 deletions tests/testthat/_snaps/ggthemes/excel-new.svg

Large diffs are not rendered by default.

154 changes: 77 additions & 77 deletions tests/testthat/_snaps/ggthemes/excel.svg

Large diffs are not rendered by default.

154 changes: 77 additions & 77 deletions tests/testthat/_snaps/ggthemes/few.svg

Large diffs are not rendered by default.

108 changes: 54 additions & 54 deletions tests/testthat/_snaps/ggthemes/fivethirtyeight.svg

Large diffs are not rendered by default.

154 changes: 77 additions & 77 deletions tests/testthat/_snaps/ggthemes/foundation.svg

Large diffs are not rendered by default.

154 changes: 77 additions & 77 deletions tests/testthat/_snaps/ggthemes/gdocs.svg

Large diffs are not rendered by default.

104 changes: 52 additions & 52 deletions tests/testthat/_snaps/ggthemes/ggtheme-minimal.svg

Large diffs are not rendered by default.

98 changes: 49 additions & 49 deletions tests/testthat/_snaps/ggthemes/ggtheme-void.svg

Large diffs are not rendered by default.

154 changes: 77 additions & 77 deletions tests/testthat/_snaps/ggthemes/hc.svg

Large diffs are not rendered by default.

154 changes: 77 additions & 77 deletions tests/testthat/_snaps/ggthemes/igray.svg

Large diffs are not rendered by default.

154 changes: 77 additions & 77 deletions tests/testthat/_snaps/ggthemes/light.svg

Large diffs are not rendered by default.

154 changes: 77 additions & 77 deletions tests/testthat/_snaps/ggthemes/linedraw.svg

Large diffs are not rendered by default.

64 changes: 32 additions & 32 deletions tests/testthat/_snaps/ggthemes/map.svg

Large diffs are not rendered by default.

154 changes: 77 additions & 77 deletions tests/testthat/_snaps/ggthemes/minimal.svg

Large diffs are not rendered by default.

154 changes: 77 additions & 77 deletions tests/testthat/_snaps/ggthemes/pander.svg

Large diffs are not rendered by default.

154 changes: 77 additions & 77 deletions tests/testthat/_snaps/ggthemes/par.svg

Large diffs are not rendered by default.

88 changes: 44 additions & 44 deletions tests/testthat/_snaps/ggthemes/purple-strip.svg

Large diffs are not rendered by default.

154 changes: 77 additions & 77 deletions tests/testthat/_snaps/ggthemes/solarized-2.svg

Large diffs are not rendered by default.

154 changes: 77 additions & 77 deletions tests/testthat/_snaps/ggthemes/solarized.svg

Large diffs are not rendered by default.

154 changes: 77 additions & 77 deletions tests/testthat/_snaps/ggthemes/stata.svg

Large diffs are not rendered by default.

154 changes: 77 additions & 77 deletions tests/testthat/_snaps/ggthemes/tufte.svg

Large diffs are not rendered by default.

64 changes: 32 additions & 32 deletions tests/testthat/_snaps/ggthemes/void.svg

Large diffs are not rendered by default.

108 changes: 54 additions & 54 deletions tests/testthat/_snaps/ggthemes/wsj.svg

Large diffs are not rendered by default.

100 changes: 50 additions & 50 deletions tests/testthat/_snaps/lattice/bwplot.svg

Large diffs are not rendered by default.

200 changes: 100 additions & 100 deletions tests/testthat/_snaps/lattice/cleveland.svg

Large diffs are not rendered by default.

306 changes: 153 additions & 153 deletions tests/testthat/_snaps/lattice/density-plot.svg

Large diffs are not rendered by default.

1,254 changes: 627 additions & 627 deletions tests/testthat/_snaps/lattice/dot-plot.svg

Large diffs are not rendered by default.

78 changes: 39 additions & 39 deletions tests/testthat/_snaps/lattice/interaction-plot.svg

Large diffs are not rendered by default.

172 changes: 86 additions & 86 deletions tests/testthat/_snaps/lattice/level-plot.svg

Large diffs are not rendered by default.

512 changes: 256 additions & 256 deletions tests/testthat/_snaps/lattice/settings.svg

Large diffs are not rendered by default.

512 changes: 256 additions & 256 deletions tests/testthat/_snaps/lattice/settings2.svg

Large diffs are not rendered by default.

410 changes: 205 additions & 205 deletions tests/testthat/_snaps/lattice/xyplot.svg

Large diffs are not rendered by default.

120 changes: 60 additions & 60 deletions tests/testthat/_snaps/sequential-gradient/accent-bg.svg

Large diffs are not rendered by default.

120 changes: 60 additions & 60 deletions tests/testthat/_snaps/sequential-gradient/fg-accent.svg

Large diffs are not rendered by default.

138 changes: 69 additions & 69 deletions tests/testthat/_snaps/sequential-gradient/half-half-reversed.svg

Large diffs are not rendered by default.

120 changes: 60 additions & 60 deletions tests/testthat/_snaps/sequential-gradient/half-half.svg

Large diffs are not rendered by default.

112 changes: 56 additions & 56 deletions tests/testthat/_snaps/state/green.svg

Large diffs are not rendered by default.

114 changes: 57 additions & 57 deletions tests/testthat/_snaps/state/purple.svg

Large diffs are not rendered by default.

42 changes: 21 additions & 21 deletions tests/testthat/_snaps/state/scatter-with-theme.svg

Large diffs are not rendered by default.

124 changes: 62 additions & 62 deletions tests/testthat/_snaps/state/white-green.svg

Large diffs are not rendered by default.

120 changes: 60 additions & 60 deletions tests/testthat/_snaps/state/white-red.svg

Large diffs are not rendered by default.

0 comments on commit 98b5102

Please sign in to comment.