Skip to content

Commit

Permalink
Skip quosure infloop test on CRAN
Browse files Browse the repository at this point in the history
  • Loading branch information
lionel- committed May 31, 2024
1 parent 1b24d95 commit ed330cc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/testthat/test-eval-tidy.R
Original file line number Diff line number Diff line change
Expand Up @@ -454,6 +454,9 @@ test_that("can't take the names() and length() of the `.data` pronoun", {
})

test_that("eval_tidy() does not infloop when the quosure inherits from the mask", {
# New r-devel error: cycles in parent chains are not allowed
skip_on_cran()

mask <- as_data_mask(list(foo = 1))
quo <- new_quosure(quote(foo), mask)
expect_identical(eval_tidy(quo, mask), 1)
Expand Down

0 comments on commit ed330cc

Please sign in to comment.