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