diff options
Diffstat (limited to 'tests/testthat/test_IDS.R')
-rw-r--r-- | tests/testthat/test_IDS.R | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/testthat/test_IDS.R b/tests/testthat/test_IDS.R index 61d348d..7565b25 100644 --- a/tests/testthat/test_IDS.R +++ b/tests/testthat/test_IDS.R @@ -72,6 +72,9 @@ test_that("IDS can fit models with covariates", { unitsOut="kmsq") expect_equal(length(coef(mod_sim)), 4) expect_equal(length(coef(mod_sep)), 5) + + # Doesn't support random effects + expect_error(update(mod_sep, lambdaformula = ~elev + (1|group))) }) test_that("IDS can fit models with occupancy data", { |