Nothing
test_that("clock_duration", {
skip_if_not_installed("clock")
expect_snapshot({
construct(clock::duration_days(3))
construct(clock::duration_years(c(1, -2, NA)))
construct(clock::duration_nanoseconds(integer()))
# durations that don't fit in an integer fall back to "list"
construct(clock::duration_cast(clock::duration_days(1), "nanosecond"))
construct(clock::duration_days(3), opts_clock_duration("next"))
construct(clock::duration_days(3), opts_clock_duration("list"))
})
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.