Skip to content

Commit cc6d6da

Browse files
add placeholder to namespace for mocking
1 parent fe531a8 commit cc6d6da

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

R/expect-self-test.R

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,8 @@ local_rng_version <- function(version, .local_envir = parent.frame()) {
134134
suppressWarnings(RNGversion(version))
135135
}
136136

137+
getRversion <- NULL # for mocking
138+
137139
# Use specifically for testthat tests in order to override the
138140
# defaults found when starting the reporter
139141
local_output_override <- function(width = 80, crayon = TRUE, unicode = TRUE,

0 commit comments

Comments
 (0)