Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Oct 1, 2024
1 parent b8db5ed commit 92d14ab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/testthat/test-check_prior.R
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ test_that("check_prior - brms (linux)", {
skip_if_not_or_load_if_installed("RcppEigen")
skip_if_not_or_load_if_installed("brms")

data(inhaler, package = "brms")
# all `brms` examples in circus have uniform prior distribution, so
# need to use a custom example here
set.seed(333)
Expand All @@ -92,7 +93,7 @@ test_that("check_prior - brms (linux)", {
expect_warning(expect_identical(
check_prior(model2, method = "lakeland")$Prior_Quality,
c(
"informative", "misinformative", "informative", "informative",
"informative", "informative", "informative", "informative",
"informative", "not determinable", "not determinable", "not determinable"
)
))
Expand Down

0 comments on commit 92d14ab

Please sign in to comment.