test_that("output from ftest is as expected", {
model <- lm(mpg ~ disp + hp + wt + qsec, data = mtcars)
expect_snapshot(ols_test_f(model))
expect_snapshot(ols_test_f(model, rhs = TRUE))
expect_snapshot(ols_test_f(model, vars = c("disp", "hp")))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.