Skip to content

Commit 1d3d854

Browse files
committed
Deleting suggested pieces from Claude regarding variants
1 parent e5ca1d8 commit 1d3d854

2 files changed

Lines changed: 0 additions & 32 deletions

File tree

tests/testthat/_snaps/r47/run_mod.md

Lines changed: 0 additions & 20 deletions
This file was deleted.

tests/testthat/helper.R

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,3 @@ darwin_variant <- function() {
2323
r45_variant <- function() {
2424
if (getRversion() >= "4.5") "r45" else NULL
2525
}
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

Comments
 (0)