tests/testthat/test-find_response.R

test_that("find_response", {
  expect_equal(find_response(y1 + y2 ~ x, combine = FALSE), c("y1", "y2"))
  expect_equal(find_response(y1 + y2 ~ x, combine = TRUE), "y1 + y2")
})
easystats/insight documentation built on Oct. 2, 2024, 8:19 a.m.