tests/testthat/test-engines.R

test_that("set_engine() errors with no engine set", {
  expect_snapshot(
    error = TRUE,
    set_engine(k_means())
  )
})

Try the tidyclust package in your browser

Any scripts or data that you put into this service are public.

tidyclust documentation built on July 3, 2024, 1:06 a.m.