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