Skip to content

Commit ea2c740

Browse files
committed
turn off aesthetics section check on older R
1 parent 5430859 commit ea2c740

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/testthat/test-utilities-help.R

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,12 @@ test_that("rd_orientation formats a section", {
44
})
55

66
test_that("rd_computed_vars formats a list", {
7+
skip_if(getRversion() < "4.2.0")
78
expect_snapshot(rd_computed_vars(x = "foo", y = "bar"))
89
})
910

1011
test_that("rd_aesthetics formats a section", {
12+
skip_if(getRversion() < "4.2.0")
1113
expect_snapshot(rd_aesthetics("geom", "point"))
1214
})
1315

0 commit comments

Comments
 (0)