diff --git a/R/Design-methods.R b/R/Design-methods.R index a7d677331..03e9b5be1 100644 --- a/R/Design-methods.R +++ b/R/Design-methods.R @@ -36,7 +36,7 @@ set_seed <- function(seed = NULL) { runif(1) } - rng_state <- if (is.null(seed)) { + if (is.null(seed)) { get(".Random.seed", envir = .GlobalEnv) } else { seed <- as.integer(seed)