tidymodels / parsnip

A tidy unified interface to models
https://parsnip.tidymodels.org
Other
599 stars 89 forks source link

have empty test files for tests in extratests and extension packages #1097

Closed EmilHvitfeldt closed 7 months ago

EmilHvitfeldt commented 7 months ago

We don't have any tests for bag_tree() because that model only works when {baguette} is also loaded. And it makes more sense to test these functions over there.

I think it would be useful, to still have a test file test_bag_tree.R in {parsnip} with the text.

test_that("testing", {
  # Testing is done in {baguette}
  # https://github.com/tidymodels/baguette

  expect_true(TRUE)
})

expect_true(TRUE) added to stop "skipping test files with no tests" message

github-actions[bot] commented 7 months ago

This issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: https://reprex.tidyverse.org) and link to this issue.