tests/testthat/test-format_months.R

test_that("months are returned as 3 letter codes",{
  expect_equal(
    format_months("January"),
    expected="Jan"
  )
})

Try the stochLAB package in your browser

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

stochLAB documentation built on Dec. 28, 2022, 1:19 a.m.