Skip to content

Commit ee641dd

Browse files
committed
accept snapshot
1 parent c21d39f commit ee641dd

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

tests/testthat/_snaps/theme.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,3 +103,22 @@
103103
The `options('ggplot2.discrete.colour')` setting is incompatible with the `palette.colour.discrete` theme setting.
104104
i You can set `options(ggplot2.discrete.colour = NULL)`.
105105

106+
# theme elements are covered in `theme_sub_*()` functions
107+
108+
Code
109+
extra_elements
110+
Output
111+
[1] "..." "line"
112+
[3] "rect" "text"
113+
[5] "title" "point"
114+
[7] "polygon" "geom"
115+
[9] "spacing" "margins"
116+
[11] "aspect.ratio" "axis.text.theta"
117+
[13] "axis.text.r" "axis.ticks.theta"
118+
[15] "axis.ticks.r" "axis.minor.ticks.theta"
119+
[17] "axis.minor.ticks.r" "axis.ticks.length.theta"
120+
[19] "axis.ticks.length.r" "axis.minor.ticks.length.theta"
121+
[21] "axis.minor.ticks.length.r" "axis.line.theta"
122+
[23] "axis.line.r" "complete"
123+
[25] "validate"
124+

tests/testthat/test-theme.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -748,7 +748,7 @@ test_that("theme elements are covered in `theme_sub_*()` functions", {
748748
fmls <- c(fmls, paste0("axis.", fn_fmls_names(theme_sub_axis_top), ".x.top"))
749749
fmls <- c(fmls, paste0("axis.", fn_fmls_names(theme_sub_axis_bottom), ".x.bottom"))
750750
fmls <- c(fmls, paste0("axis.", fn_fmls_names(theme_sub_axis_left), ".y.left"))
751-
fmls <- c(fmls, paste0("axis.", fn_fmls_names(theme_sub_axis_right), ".y.right") )
751+
fmls <- c(fmls, paste0("axis.", fn_fmls_names(theme_sub_axis_right), ".y.right"))
752752
fmls <- c(fmls, paste0("legend.", fn_fmls_names(theme_sub_legend)))
753753
fmls <- c(fmls, paste0("plot.", fn_fmls_names(theme_sub_plot)))
754754
fmls <- c(fmls, paste0("panel.", fn_fmls_names(theme_sub_panel)))

0 commit comments

Comments
 (0)