diff --git a/tests/testthat/_snaps/check_distribution.md b/tests/testthat/_snaps/check_distribution.md new file mode 100644 index 000000000..11187a23b --- /dev/null +++ b/tests/testthat/_snaps/check_distribution.md @@ -0,0 +1,21 @@ +# check_distribution + + Code + print(out) + Output + # Distribution of Model Family + + Predicted Distribution of Residuals + + Distribution Probability + cauchy 94% + lognormal 3% + weibull 3% + + Predicted Distribution of Response + + Distribution Probability + lognormal 47% + gamma 44% + beta-binomial 3% + diff --git a/tests/testthat/test-check_distribution.R b/tests/testthat/test-check_distribution.R index 9226e6102..e8ab2835f 100644 --- a/tests/testthat/test-check_distribution.R +++ b/tests/testthat/test-check_distribution.R @@ -31,4 +31,6 @@ test_that("check_distribution", { ), tolerance = 1e-4 ) + + expect_snapshot(print(out)) })