tests/testthat/manual_tests/print_methods.R

x <- data.frame(
  date = c(Sys.Date(), Sys.Date(), Sys.Date())
)

x$ym <- as_date_ym(x$date)
x$yq <- as_date_yq(x$date)


x


x$ym
x$yq

Try the dint package in your browser

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

dint documentation built on April 3, 2025, 6:06 p.m.