From 6e468872de3c36aff7ad8b34800aa60e3e2ebacb Mon Sep 17 00:00:00 2001 From: Josh Yamamoto Date: Thu, 21 Dec 2023 16:10:24 -0800 Subject: [PATCH] remove snapshot --- tests/testthat/_snaps/unit_zi.md | 29 ----------------------------- tests/testthat/test-unit_zi.R | 4 ---- 2 files changed, 33 deletions(-) delete mode 100644 tests/testthat/_snaps/unit_zi.md diff --git a/tests/testthat/_snaps/unit_zi.md b/tests/testthat/_snaps/unit_zi.md deleted file mode 100644 index dfa960f..0000000 --- a/tests/testthat/_snaps/unit_zi.md +++ /dev/null @@ -1,29 +0,0 @@ -# printed result is as expected - - Code - result - Output - - Call: - unit_zi(samp_dat = samp, pop_dat = pop, lin_formula = lin_formula, domain_level = "COUNTYFIPS", B = 5, mse_est = TRUE, parallel = FALSE) - - Linear Model: - - Fixed effects: - (Intercept) tcc16 elev - 17.787586797 1.238840297 -0.004047397 - - - Random effects: - Groups Name Std.Dev. - COUNTYFIPS (Intercept) 25.494 - Residual 68.230 - - Logistic Model: - - Fixed effects: - (Intercept) tcc16 elev - -4.381130205 0.104867536 0.001734101 - - - Random effects: - Groups Name Std.Dev. - COUNTYFIPS (Intercept) 0.87583 - - diff --git a/tests/testthat/test-unit_zi.R b/tests/testthat/test-unit_zi.R index cedda55..7f7ad1f 100644 --- a/tests/testthat/test-unit_zi.R +++ b/tests/testthat/test-unit_zi.R @@ -12,10 +12,6 @@ result <- unit_zi(samp, B = 5, parallel = FALSE) -test_that("printed result is as expected", { - expect_snapshot(result) -}) - test_that("result is as expected", { expect_equal(result$res$mse[2], 80.5, tolerance = 0.01) expect_equal(result$res$mse[12], 144.4, tolerance = 0.01)