Skip to content

Commit

Permalink
Drop obsolete references to R3.5 (#1881)
Browse files Browse the repository at this point in the history
* Drop skip for unsupported R3.5

* Remove conditional eval in vignette too

* trailing comma
  • Loading branch information
MichaelChirico authored Nov 29, 2023
1 parent 11b62e0 commit f51a592
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 0 additions & 2 deletions tests/testthat/test-expect-known.R
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ test_that("equal_to_ref does not overwrite existing", {
})

test_that("serializes to version 2 by default", {
skip_if(getRversion() < "3.5")
tmp_rds <- tempfile(fileext = ".rds")
on.exit(unlink(tmp_rds))

Expand All @@ -118,7 +117,6 @@ test_that("serializes to version 2 by default", {
})

test_that("version 3 is possible", {
skip_if(getRversion() < "3.5")
tmp_rds <- tempfile(fileext = ".rds")
on.exit(unlink(tmp_rds))

Expand Down
4 changes: 1 addition & 3 deletions vignettes/test-fixtures.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@ vignette: >
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
# Since after is not available prior to 3.5
eval = getRversion() >= "3.5"
comment = "#>"
)
```

Expand Down

0 comments on commit f51a592

Please sign in to comment.