Skip to content

add empty test files #1106

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 0 additions & 46 deletions tests/testthat/_snaps/poisson_reg.md

This file was deleted.

17 changes: 0 additions & 17 deletions tests/testthat/_snaps/proportional_hazards.md

This file was deleted.

51 changes: 0 additions & 51 deletions tests/testthat/_snaps/survival_reg.md

This file was deleted.

13 changes: 0 additions & 13 deletions tests/testthat/test-poisson_reg.R

This file was deleted.

6 changes: 6 additions & 0 deletions tests/testthat/test_bag_mars.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
test_that("testing", {
# Testing is done in {baguette}
# https://github.com/tidymodels/baguette

expect_true(TRUE)
})
6 changes: 6 additions & 0 deletions tests/testthat/test_bag_mlp.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
test_that("testing", {
# Testing is done in {baguette}
# https://github.com/tidymodels/baguette

expect_true(TRUE)
})
6 changes: 6 additions & 0 deletions tests/testthat/test_bag_tree.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
test_that("testing", {
# Testing is done in {baguette}
# https://github.com/tidymodels/baguette

expect_true(TRUE)
})
6 changes: 6 additions & 0 deletions tests/testthat/test_c5_rules.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
test_that("testing", {
# Testing is done in {rules}
# https://github.com/tidymodels/rules

expect_true(TRUE)
})
6 changes: 6 additions & 0 deletions tests/testthat/test_cubist_rules.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
test_that("testing", {
# Testing is done in {rules}
# https://github.com/tidymodels/rules

expect_true(TRUE)
})
6 changes: 6 additions & 0 deletions tests/testthat/test_discrim_flexible.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
test_that("testing", {
# Testing is done in {discrim}
# https://github.com/tidymodels/discrim

expect_true(TRUE)
})
6 changes: 6 additions & 0 deletions tests/testthat/test_discrim_linear.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
test_that("testing", {
# Testing is done in {discrim}
# https://github.com/tidymodels/discrim

expect_true(TRUE)
})
6 changes: 6 additions & 0 deletions tests/testthat/test_discrim_quad.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
test_that("testing", {
# Testing is done in {discrim}
# https://github.com/tidymodels/discrim

expect_true(TRUE)
})
6 changes: 6 additions & 0 deletions tests/testthat/test_discrim_regularized.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
test_that("testing", {
# Testing is done in {discrim}
# https://github.com/tidymodels/discrim

expect_true(TRUE)
})
6 changes: 6 additions & 0 deletions tests/testthat/test_naive_Bayes.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
test_that("testing", {
# Testing is done in {discrim}
# https://github.com/tidymodels/discrim

expect_true(TRUE)
})
6 changes: 6 additions & 0 deletions tests/testthat/test_pls.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
test_that("testing", {
# Testing is done in {plsmod}
# https://github.com/tidymodels/plsmod

expect_true(TRUE)
})
6 changes: 6 additions & 0 deletions tests/testthat/test_poisson_reg.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
test_that("testing", {
# Testing is done in {poissonreg}
# https://github.com/tidymodels/poissonreg

expect_true(TRUE)
})
15 changes: 5 additions & 10 deletions tests/testthat/test_proportional_hazards.R
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
test_that("updating", {
expect_snapshot(
proportional_hazards() %>%
update(penalty = tune())
)
})
test_that("testing", {
# Testing is done in {censored}
# https://github.com/tidymodels/censored


test_that("bad input", {
expect_error(proportional_hazards(mode = ", classification"))
})
expect_true(TRUE)
})
6 changes: 6 additions & 0 deletions tests/testthat/test_rule_fit.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
test_that("testing", {
# Testing is done in {rules}
# https://github.com/tidymodels/rules

expect_true(TRUE)
})
36 changes: 5 additions & 31 deletions tests/testthat/test_survival_reg.R
Original file line number Diff line number Diff line change
@@ -1,32 +1,6 @@
test_that("testing", {
# Testing is done in {censored}
# https://github.com/tidymodels/censored

test_that("primary argument", {

normal <- survival_reg(dist = "lnorm")

expect_snapshot(normal)

expect_equal(
normal$args,
list(dist = rlang::quo("lnorm"))
)

dist_v <- survival_reg(dist = tune())

expect_snapshot(dist_v)

expect_equal(
dist_v$args,
list(dist = rlang::quo(tune()))
)
})

test_that("updating", {
expect_snapshot(
survival_reg() %>%
update(dist = "lnorm")
)
})

test_that("bad input", {
expect_error(survival_reg(mode = ", classification"))
})
expect_true(TRUE)
})