tests/testthat/test-correlations-output.R

test_that("output from ols_correlations is as expected", {
	model <- lm(mpg ~ disp + hp + wt + qsec, data = mtcars)
	expect_snapshot(ols_correlations(model))
})
rsquaredacademy/olsrr documentation built on Nov. 8, 2024, 5:01 a.m.