tests/testthat/test_update_description.R

options(usethis.quiet = TRUE)
test_that("DESCRIPTION file is updated", {
  create_local_package()
  rlang::local_interactive(FALSE)
  washr::update_description()
  expect_true(file.exists("DESCRIPTION"))
})

Try the washr package in your browser

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

washr documentation built on April 4, 2025, 1:10 a.m.