Nothing
testthat::test_that("`summary.collinear_selection()` works", {
testthat::skip_on_cran()
library(collinear)
data(
vi_smol,
vi_predictors_numeric
)
x <- collinear(
df = vi_smol,
response = "vi_numeric",
predictors = vi_predictors_numeric,
f = f_auto,
quiet = TRUE
)
testthat::expect_output(
y <- summary(object = x),
regexp = "response: "
)
testthat::expect_true(
names(y) == "vi_numeric"
)
testthat::expect_true(
all(x$vi_numeric$selection %in% y$vi_numeric)
)
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.