Nothing
test_that(desc = "Test `get_current_timestamp()`",
code = {
## Default parameters:
expect_equal(
object = get_current_timestamp(),
expected = get_current_timestamp(no_spaces = FALSE)
)
## Number of characters:
expect_equal(object = nchar(get_current_timestamp(no_spaces = FALSE)),
expected = 24)
expect_equal(object = nchar(get_current_timestamp(no_spaces = TRUE)),
expected = 17)
## No spaces:
expect_false(object = grepl(
pattern = " ",
x = get_current_timestamp(no_spaces = TRUE),
fixed = TRUE
))
})
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.