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)
})

Try the usethis package in your browser

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

usethis documentation built on Sept. 11, 2024, 5:29 p.m.