Skip to content

Commit

Permalink
Skip backtrace tests on old R versions
Browse files Browse the repository at this point in the history
  • Loading branch information
lionel- committed Sep 20, 2022
1 parent 317f7d5 commit 9d87a64
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/testthat/test-conditions.R
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ test_that("errors during dots collection are not enriched (#6178)", {
})

test_that("warnings are collected for `last_dplyr_warnings()`", {
skip_if_not_installed("base", "3.6.0")

local_options(
rlang_trace_format_srcrefs = FALSE
)
Expand Down Expand Up @@ -140,6 +142,7 @@ test_that("warnings are collected for `last_dplyr_warnings()`", {
})

test_that("complex backtraces with base and rlang warnings", {
skip_if_not_installed("base", "3.6.0")
local_options(
rlang_trace_format_srcrefs = FALSE
)
Expand Down

0 comments on commit 9d87a64

Please sign in to comment.