Skip to content

Commit

Permalink
update test after latest version embr
Browse files Browse the repository at this point in the history
  • Loading branch information
joethorley committed Jul 28, 2023
1 parent ea9ce78 commit 4683f46
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Depends:
R (>= 4.1)
Imports:
chk,
embr (>= 0.0.1.9032),
embr (>= 0.0.1.9035),
extras,
mcmcr,
nlist,
Expand Down
6 changes: 3 additions & 3 deletions tests/testthat/test-model.R
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ test_that("analyse", {
expect_identical(class(model), c("jmb_model", "mb_model"))
expect_true(is.jmb_model(model))

expect_identical(length(pars(model)), 24L)
expect_identical(length(pars(model, "fixed")), 22L)
expect_identical(length(pars(model, "primary")), 23L)
expect_identical(length(pars(model)), 9L)
expect_identical(length(pars(model, "fixed")), 7L)
expect_identical(length(pars(model, "primary")), 8L)
expect_identical(pars(model, "random"), "bSiteYear")
expect_identical(pars(model, "derived"), "eDensity")
})

0 comments on commit 4683f46

Please sign in to comment.