From 6bfa6bfc39662adfc0fb54abdbe83fb14c01e2ce Mon Sep 17 00:00:00 2001 From: Lionel Henry Date: Tue, 20 Sep 2022 17:58:53 +0200 Subject: [PATCH] Skip backtrace tests on old R versions --- tests/testthat/test-conditions.R | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/testthat/test-conditions.R b/tests/testthat/test-conditions.R index 50cc758488..a27d04ef97 100644 --- a/tests/testthat/test-conditions.R +++ b/tests/testthat/test-conditions.R @@ -140,6 +140,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 )