tests/testthat/test-utils.R

test_that("date_as_rfc_2822", {
  expect_equal(date_as_rfc_2822("2023-02-24"), "Fri, 24 Feb 2023 00:00:00 +0000")
})

Try the distill package in your browser

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

distill documentation built on Oct. 6, 2023, 5:06 p.m.