tests/testthat/test-validation.R

test_that("validation is not implemented", {

  desc <- description$new("!new")
  expect_warning(
    desc$validate(),
    "not implemented"
  )
})

Try the desc package in your browser

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

desc documentation built on Sept. 8, 2022, 5:06 p.m.