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 May 29, 2024, 8:54 a.m.