tests/testthat/test-loftest-output.R

test_that("output from pure error anova is as expected", {
  model <- lm(mpg ~ disp, data = mtcars)
  expect_snapshot(ols_pure_error_anova(model))
})

Try the olsrr package in your browser

Any scripts or data that you put into this service are public.

olsrr documentation built on May 29, 2024, 12:35 p.m.