Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Sep 27, 2024
1 parent baf6d3d commit 6b5b9ab
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions tests/testthat/test-spatial.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
skip_if_offline()
skip_if(getRversion() > "4.3.3")
skip_if_not(getRversion() >= "4.4.0")
suppressWarnings(skip_if_not_installed("glmmTMB"))
suppressWarnings(skip_if_not_installed("geoR"))
skip_if_not_installed("TMB")
Expand Down Expand Up @@ -146,18 +146,16 @@ test_that("get_data", {
})


test_that("get_paramaters", {
test_that("get_parameters", {
expect_identical(nrow(get_parameters(m1)), 5L)
expect_identical(
get_parameters(m1)$Parameter,
c("(Intercept)", "elevation", "region2", "region3", "(Intercept)")
c("(Intercept)", "elevation", "region2", "region3")
)
})

test_that("find_random_slopes", {
skip_on_cran()


expect_identical(
find_random_slopes(m1),
list(random = "pos")
Expand Down

0 comments on commit 6b5b9ab

Please sign in to comment.