We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e5ca1d8 commit 1d3d854Copy full SHA for 1d3d854
2 files changed
tests/testthat/_snaps/r47/run_mod.md
tests/testthat/helper.R
@@ -23,15 +23,3 @@ darwin_variant <- function() {
23
r45_variant <- function() {
24
if (getRversion() >= "4.5") "r45" else NULL
25
}
26
-
27
-# Get snapshot variant for R versions beyond 4.6
28
-#
29
-# Returns NULL for R 4.6.x (the current baseline) and a version string like
30
-# "r47" for R 4.7.x+. Used in snapshot tests that capture object structure
31
-# (e.g. attribute lists from run_mod) so that changes introduced by a new R
32
-# release produce a test failure rather than a silent mismatch.
33
-r46_variant <- function() {
34
- v <- getRversion()
35
- if (v >= "4.7") paste0("r", as.integer(v$major), as.integer(v$minor))
36
- else NULL
37
-}
0 commit comments