Skip to content

Commit abf23f3

Browse files
committed
conditional test
1 parent c95dd03 commit abf23f3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/testthat/test-guide-legend.R

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,8 @@ test_that("legends can be forced to display unrelated geoms", {
137137
})
138138

139139
test_that("unresolved, modified expressions throw a warning (#6264)", {
140+
# Snapshot is unstable in lesser R versions
141+
skip_if_not(getRversion() >= "4.3.0")
140142
p <- ggplot(mpg, aes(drv)) +
141143
geom_bar(
142144
aes(fill = stage(drv, after_scale = alpha(fill, prop)))

0 commit comments

Comments
 (0)