From a116a27d1fda79b6e82ea761a59900b5d0bf1b80 Mon Sep 17 00:00:00 2001
From: Oliver Boix <95433070+0liver0815@users.noreply.github.com>
Date: Fri, 15 Sep 2023 13:57:40 +0200
Subject: [PATCH] Remove rng_state assignment.

---
 R/Design-methods.R | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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)