Skip to content

Commit b01b623

Browse files
Merge pull request #1106 from tidymodels/rediction-test-files
add empty test files
2 parents fd5124c + e6ae95c commit b01b623

19 files changed

+88
-168
lines changed

tests/testthat/_snaps/poisson_reg.md

Lines changed: 0 additions & 46 deletions
This file was deleted.

tests/testthat/_snaps/proportional_hazards.md

Lines changed: 0 additions & 17 deletions
This file was deleted.

tests/testthat/_snaps/survival_reg.md

Lines changed: 0 additions & 51 deletions
This file was deleted.

tests/testthat/test-poisson_reg.R

Lines changed: 0 additions & 13 deletions
This file was deleted.

tests/testthat/test_bag_mars.R

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
test_that("testing", {
2+
# Testing is done in {baguette}
3+
# https://github.com/tidymodels/baguette
4+
5+
expect_true(TRUE)
6+
})

tests/testthat/test_bag_mlp.R

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
test_that("testing", {
2+
# Testing is done in {baguette}
3+
# https://github.com/tidymodels/baguette
4+
5+
expect_true(TRUE)
6+
})

tests/testthat/test_bag_tree.R

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
test_that("testing", {
2+
# Testing is done in {baguette}
3+
# https://github.com/tidymodels/baguette
4+
5+
expect_true(TRUE)
6+
})

tests/testthat/test_c5_rules.R

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
test_that("testing", {
2+
# Testing is done in {rules}
3+
# https://github.com/tidymodels/rules
4+
5+
expect_true(TRUE)
6+
})

tests/testthat/test_cubist_rules.R

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
test_that("testing", {
2+
# Testing is done in {rules}
3+
# https://github.com/tidymodels/rules
4+
5+
expect_true(TRUE)
6+
})
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
test_that("testing", {
2+
# Testing is done in {discrim}
3+
# https://github.com/tidymodels/discrim
4+
5+
expect_true(TRUE)
6+
})

tests/testthat/test_discrim_linear.R

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
test_that("testing", {
2+
# Testing is done in {discrim}
3+
# https://github.com/tidymodels/discrim
4+
5+
expect_true(TRUE)
6+
})

tests/testthat/test_discrim_quad.R

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
test_that("testing", {
2+
# Testing is done in {discrim}
3+
# https://github.com/tidymodels/discrim
4+
5+
expect_true(TRUE)
6+
})
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
test_that("testing", {
2+
# Testing is done in {discrim}
3+
# https://github.com/tidymodels/discrim
4+
5+
expect_true(TRUE)
6+
})

tests/testthat/test_naive_Bayes.R

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
test_that("testing", {
2+
# Testing is done in {discrim}
3+
# https://github.com/tidymodels/discrim
4+
5+
expect_true(TRUE)
6+
})

tests/testthat/test_pls.R

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
test_that("testing", {
2+
# Testing is done in {plsmod}
3+
# https://github.com/tidymodels/plsmod
4+
5+
expect_true(TRUE)
6+
})

tests/testthat/test_poisson_reg.R

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
test_that("testing", {
2+
# Testing is done in {poissonreg}
3+
# https://github.com/tidymodels/poissonreg
4+
5+
expect_true(TRUE)
6+
})
Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
1-
test_that("updating", {
2-
expect_snapshot(
3-
proportional_hazards() %>%
4-
update(penalty = tune())
5-
)
6-
})
1+
test_that("testing", {
2+
# Testing is done in {censored}
3+
# https://github.com/tidymodels/censored
74

8-
9-
test_that("bad input", {
10-
expect_error(proportional_hazards(mode = ", classification"))
11-
})
5+
expect_true(TRUE)
6+
})

tests/testthat/test_rule_fit.R

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
test_that("testing", {
2+
# Testing is done in {rules}
3+
# https://github.com/tidymodels/rules
4+
5+
expect_true(TRUE)
6+
})

tests/testthat/test_survival_reg.R

Lines changed: 5 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,6 @@
1+
test_that("testing", {
2+
# Testing is done in {censored}
3+
# https://github.com/tidymodels/censored
14

2-
test_that("primary argument", {
3-
4-
normal <- survival_reg(dist = "lnorm")
5-
6-
expect_snapshot(normal)
7-
8-
expect_equal(
9-
normal$args,
10-
list(dist = rlang::quo("lnorm"))
11-
)
12-
13-
dist_v <- survival_reg(dist = tune())
14-
15-
expect_snapshot(dist_v)
16-
17-
expect_equal(
18-
dist_v$args,
19-
list(dist = rlang::quo(tune()))
20-
)
21-
})
22-
23-
test_that("updating", {
24-
expect_snapshot(
25-
survival_reg() %>%
26-
update(dist = "lnorm")
27-
)
28-
})
29-
30-
test_that("bad input", {
31-
expect_error(survival_reg(mode = ", classification"))
32-
})
5+
expect_true(TRUE)
6+
})

0 commit comments

Comments
 (0)