tests/testthat/_snaps/s3-clock_weekday.md

clock_weekday

Code
  construct(clock::weekday(1))
Output
  clock::weekday(1)
Code
  construct(clock::weekday(c(1, 7, NA)))
Output
  clock::weekday(c(1, 7, NA))
Code
  construct(clock::weekday(integer()))
Output
  clock::weekday(numeric(0))
Code
  construct(clock::weekday(1:2), opts_clock_weekday("next"))
Output
  vctrs::new_vctr(1:2, class = "clock_weekday")
Code
  construct(clock::weekday(1:2), opts_clock_weekday("integer"))
Output
  1:2 |>
    structure(class = c("clock_weekday", "vctrs_vctr"))


Try the constructive package in your browser

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

constructive documentation built on Oct. 22, 2026, 5:07 p.m.