test_that("`vif()` works", {
data(plant_richness_df)
out <- vif(plant_richness_df[, 5:21])
expect_s3_class(out, "data.frame")
expect_named(out, c("variable", "vif"))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.