From f1b3e56384d04d62f581f5ad6932d871bb1a6dc4 Mon Sep 17 00:00:00 2001 From: egillax Date: Tue, 17 Dec 2024 16:46:17 +0100 Subject: [PATCH] fix typo in test --- tests/testthat/test-cyclopsModels.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/testthat/test-cyclopsModels.R b/tests/testthat/test-cyclopsModels.R index 8d2ef806..81e41124 100644 --- a/tests/testthat/test-cyclopsModels.R +++ b/tests/testthat/test-cyclopsModels.R @@ -146,7 +146,7 @@ test_that("set cox regression inputs", { maxIterations <- sample(100, 1) modelSet <- setCoxModel(maxIterations = maxIterations) - expect_equal(attr(model_set$param, "settings")$maxIterations, maxIterations) + expect_equal(attr(modelSet$param, "settings")$maxIterations, maxIterations) })