Skip to content

Commit cedb363

Browse files
authored
tidymodels (#139)
Test that tidymodels is properly installed, and that one of its package works as expected. http://b/174050294
1 parent da62ffc commit cedb363

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

tests/test_tidymodels.R

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
context("tidymodels")
2+
3+
test_that("tidymodels exists", {
4+
library(tidymodels)
5+
})
6+
7+
test_that("broom", {
8+
library(broom)
9+
fit <- lm(mpg ~ wt, mtcars)
10+
expect_equal(ncol(tidy(fit)), 5)
11+
})

0 commit comments

Comments
 (0)