Skip to content

Commit

Permalink
skip on old R
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelChirico committed Feb 26, 2025
1 parent 37f461e commit 0192120
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/testthat/test-pipe_consistency_linter.R
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,8 @@ test_that("pipe_consistency_linter works with %>% argument", {
})

test_that("simply enforcing a consistent style is supported", {
skip_if_not_r_version("4.1.0")

linter <- pipe_consistency_linter("auto")
lint_message <- rex::rex("Stick to one pipe operator; found 1 instances of %>% and 1 instances of |>.")

Expand Down

0 comments on commit 0192120

Please sign in to comment.