From c15bf48b9d629205b3e2342cdbc4c2ef81af963c Mon Sep 17 00:00:00 2001 From: Steve Bronder Date: Mon, 25 Sep 2023 15:55:32 -0400 Subject: [PATCH] update tests --- tests/testthat/test-model-pathfinder.R | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/tests/testthat/test-model-pathfinder.R b/tests/testthat/test-model-pathfinder.R index 532a8808..49ca399e 100644 --- a/tests/testthat/test-model-pathfinder.R +++ b/tests/testthat/test-model-pathfinder.R @@ -133,20 +133,6 @@ test_that("pathfinder() method runs when the stan file is removed", { ) }) -#test_that("pathfinder() prints informational messages depening on show_exceptions", { - mod_info_msg <- testing_model("info_message") -#TODO Pareto K? -# expect_pathfinder_output( -# expect_message( -# mod_info_msg$pathfinder(), -# "which often indicates model misspecification" -# ) -# ) -# expect_pathfinder_output( -# expect_message(mod_info_msg$pathfinder(show_exceptions = FALSE), regexp = NA) -# ) -#}) - test_that("no error when checking estimates after failure", { fit <- cmdstanr_example("schools", method = "pathfinder", seed = 123) # optim always fails for this expect_silent(fit$summary()) # no error