Skip to content

Commit a1e94f7

Browse files
committed
rename
1 parent 30da612 commit a1e94f7

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/testthat/test-check_reliability.R renamed to tests/testthat/test-performance_reliability.R

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
test_that("check_reliability - frequentist", {
1+
test_that("performance_reliability - frequentist", {
22
skip_if_not_installed("lme4")
33
skip_if_not_installed("glmmTMB")
44

55
data <- iris
66
data$Place <- as.factor(rep(c("P1", "P2", "P3", "P4", "P5", "P6"), each = 25))
77

88
m <- lme4::lmer(Sepal.Width ~ Petal.Width + (Petal.Width | Place), data = data)
9-
out <- check_reliability(m)
9+
out <- performance_reliability(m)
1010
expect_identical(dim(out), c(2L, 5L))
1111

1212
m <- glmmTMB::glmmTMB(Sepal.Width ~ Petal.Width + (Petal.Width | Place), data = data)
13-
out <- check_reliability(m)
13+
out <- performance_reliability(m)
1414
expect_identical(dim(out), c(2L, 5L))
1515
})
1616

17-
test_that("check_reliability - Bayesian", {
17+
test_that("performance_reliability - Bayesian", {
1818
skip_if_not_installed("curl")
1919
skip_if_offline()
2020
skip_if_not_installed("httr2")
@@ -33,11 +33,11 @@ test_that("check_reliability - Bayesian", {
3333
# )
3434
m <- insight::download_model("brms_mixed_10")
3535
skip_if(is.null(m))
36-
out <- check_reliability(m)
36+
out <- performance_reliability(m)
3737
expect_identical(dim(out), c(2L, 5L))
3838

3939
m <- insight::download_model("brms_sigma_3")
4040
skip_if(is.null(m))
41-
out <- check_reliability(m)
41+
out <- performance_reliability(m)
4242
expect_identical(dim(out), c(4L, 6L))
4343
})

0 commit comments

Comments
 (0)