From 10ca2d4a249319c53d867f431770e2ec13c1b603 Mon Sep 17 00:00:00 2001 From: jgabry Date: Wed, 17 Jul 2024 14:55:01 -0600 Subject: [PATCH] Add missing psis_resample=FALSE to pathfinder test closes #976 --- tests/testthat/test-fit-init.R | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/testthat/test-fit-init.R b/tests/testthat/test-fit-init.R index 509da198..02917833 100644 --- a/tests/testthat/test-fit-init.R +++ b/tests/testthat/test-fit-init.R @@ -64,7 +64,8 @@ test_that("Multi Pathfinder method works as init", { test_that("Pathfinder method with psis_resample as false works as init", { mod_logistic <- testing_model("logistic") utils::capture.output(fit_path_init <- mod_logistic$pathfinder( - seed=1234, data = data_list_logistic, refresh = 0, num_paths = 1)) + seed=1234, data = data_list_logistic, refresh = 0, num_paths = 1, + psis_resample = FALSE)) expect_no_error(test_inits(mod_logistic, fit_path_init, data_list_logistic)) })