tests/testthat/test-usethis-deprecated.R

test_that("use_tidy_eval() is deprecated", {
  skip_if_not_installed("roxygen2")

  pkg <- create_local_package()
  expect_snapshot(use_tidy_eval(), error = TRUE)
})
r-lib/usethis documentation built on Nov. 28, 2024, 7:11 a.m.