From 68e72f92a508bce28d08b30aae668cb22c2fdf3f Mon Sep 17 00:00:00 2001 From: merliseclyde Date: Wed, 20 Nov 2024 22:58:04 -0500 Subject: [PATCH] update test to use deterministic, so that we can check if codcov reaches setlength in lm_sampleworep.c --- tests/testthat/test-bas-lm.R | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/testthat/test-bas-lm.R b/tests/testthat/test-bas-lm.R index 9a4d305f..25405e64 100644 --- a/tests/testthat/test-bas-lm.R +++ b/tests/testthat/test-bas-lm.R @@ -217,10 +217,10 @@ test_that("force.heredity", { set.seed(1) basObj.old <- bas.lm(simpleFormula, data = d, - alpha = 0.125316, - prior = "JZS", + alpha = 0.125316, + prior = "JZS", method="deterministic", include.always = as.formula("contNormal ~ contcor1"), - modelprior = beta.binomial(), + modelprior = beta.binomial(1,1), weights = d$facFifty, force.heredity = FALSE ) basObj.old <- force.heredity.bas(basObj.old)