Nothing
test_that("make_models correctly generates models with intercepts", {
skip_on_cran()
vars <- c("A", "B", "C", "D")
result <- make_models(vars = vars, ncores = 1, k = NULL, verbose = FALSE)
expect_true(any(grepl("Distance ~ 1", result$form)))
})
test_that("make_models generates unique models", {
skip_on_cran()
vars <- c("A", "B", "C", "D")
result <- make_models(vars = vars, ncores = 1, k = NULL, verbose = FALSE)
expect_equal(nrow(result), nrow(unique(result)))
})
test_that("make_models verbose flag works as expected", {
skip_on_cran()
vars <- c("A", "B", "C", "D")
result <- make_models(vars = vars, ncores = 1, k = 2, verbose = TRUE)
expect_equal(nrow(result), 11)
expect_equal(ncol(result), 1)
})
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.