tests/testthat/test-kbdate.R

context("kbdate")

test_that("kbdate works", {

  expect_equal(kbdate(), format(Sys.Date(), "%Y-%m-%d"))

})

Try the broman package in your browser

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

broman documentation built on July 8, 2022, 5:07 p.m.