tests/testthat/test-s3-yearqtr.R

test_that("yearqtr", {
  expect_snapshot({
    x <- zoo::as.yearqtr("2001 Q2")
    construct(x)
    construct(x, opts_yearqtr("yearqtr"))
  })
})

Try the constructive package in your browser

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

constructive documentation built on April 3, 2025, 9:39 p.m.