Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Jan 30, 2025
1 parent 6e76028 commit 2123d0a
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 51 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion tests/testthat/test-plot.check_collinearity.R
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
test_that("`plot.see_check_collinearity()` works", {
m <- lm(mpg ~ wt + cyl + gear + disp, data = mtcars)
result <- performance::check_collinearity(m)
expect_s3_class(plot(result), "gg")
expect_s3_class(plot(result), c("gg", "ggplot"))

skip_if_not_installed("vdiffr")
vdiffr::expect_doppelganger(
Expand Down

0 comments on commit 2123d0a

Please sign in to comment.