Skip to content

Commit e6d2d68

Browse files
committed
Remove rlang remote and skip failing tests
1 parent 4d256f5 commit e6d2d68

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

DESCRIPTION

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Imports:
3838
processx,
3939
ps (>= 1.3.4),
4040
R6 (>= 2.2.0),
41-
rlang (>= 0.4.9),
41+
rlang (>= 1.0.1),
4242
utils,
4343
waldo (>= 0.3.1),
4444
withr (>= 2.4.3)
@@ -56,8 +56,6 @@ Suggests:
5656
xml2
5757
VignetteBuilder:
5858
knitr
59-
Remotes:
60-
r-lib/rlang
6159
Config/testthat/edition: 3
6260
Config/testthat/start-first: watcher, parallel*
6361
Config/Needs/website: tidyverse/tidytemplate

tests/testthat/test-parallel-crash.R

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
21
test_that("crash", {
2+
# https://github.com/r-lib/rlang/commit/c84d52b6
3+
skip_if_not_installed("rlang", "1.0.1.9000")
4+
35
skip_on_cran()
46
skip_on_covr()
57
withr::local_envvar(TESTTHAT_PARALLEL = "TRUE")

tests/testthat/test-reporter-progress.R

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
test_that("captures error before first test", {
22
# Backtrace srcrefs failure
33
skip_on_covr()
4+
skip_if(is.null(attr(rlang::eval_bare, "srcref")))
45

56
local_output_override()
67

@@ -48,6 +49,7 @@ test_that("can fully suppress incremental updates", {
4849
test_that("reports backtraces", {
4950
# Avoid failures because of different srcrefs in backtraces
5051
skip_on_covr()
52+
skip_if(is.null(attr(rlang::eval_bare, "srcref")))
5153

5254
expect_snapshot_reporter(
5355
ProgressReporter$new(update_interval = 0, min_time = Inf),

0 commit comments

Comments
 (0)