Skip to content

Commit

Permalink
Update test-check_collinearity.R
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke authored Feb 5, 2024
1 parent ed4af98 commit 0a60642
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test-check_collinearity.R
Original file line number Diff line number Diff line change
Expand Up @@ -216,5 +216,5 @@ test_that("check_collinearity, invalid data", {
skip_if(packageVersion("insight") < "0.19.8.2")
dd <- data.frame(y = as.difftime(0:5, units = "days"))
m1 <- lm(y ~ 1, data = dd)
expect_message(expect_null(check_collinearity(m1)), "Can't extract variance-covariance matrix")
expect_error(check_collinearity(m1), "Can't extract variance-covariance matrix")
})

0 comments on commit 0a60642

Please sign in to comment.