test_that("datetimes and seconds work", {
start <- ISOdate(1970, 1, 1, 0)
expect_identical(datetime2seconds(seconds2datetime(datetime2seconds(start))), 0)
expect_identical(datetime2seconds(seconds2datetime(datetime2seconds(dttr2::dtt_add_seconds(start, 3L)))), 3)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.