Skip to content

Commit 7a434e3

Browse files
committed
Actually skip on oldrel
1 parent d6bd41b commit 7a434e3

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/R-CMD-check.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ jobs:
2929
env:
3030
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
3131
R_KEEP_PKG_SOURCE: yes
32+
R_VERSION_TYPE: ${{ matrix.config.r }}
3233

3334
steps:
3435
- uses: actions/checkout@v6

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Imports:
3737
lifecycle,
3838
posterior,
3939
reshape2,
40-
rlang (>= 0.3.0),
40+
rlang (>= 1.0.0),
4141
stats,
4242
tibble (>= 2.0.0),
4343
tidyr,

tests/testthat/helper.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on_r_devel <- function() {
77
isTRUE(Sys.getenv("R_VERSION_TYPE") == "devel")
88
}
99
on_r_oldrel <- function() {
10-
isTRUE(Sys.getenv("R_VERSION_TYPE") == "oldrel")
10+
startsWith(Sys.getenv("R_VERSION_TYPE"), "oldrel")
1111
}
1212

1313
skip_on_r_devel <- function() {

0 commit comments

Comments
 (0)