Nothing
test_that("round5() works", {
expect_snapshot({
x <- seq.int(-10L, 10L, by = 1L) / 2
x <- x[x %% 1 != 0] # remove integers
round5(x) |> setNames(nm = x)
})
expect_snapshot({
x <- seq.int(-100000L, 100000L, by = 10000L) - 1L / 2L
x <- x[x %% 1 != 0] # remove integers
round5(x) |> setNames(nm = x)
})
expect_snapshot({
x <- seq.int(-100000L, 100000L, by = 10000L) + 1L / 2L
x <- x[x %% 1 != 0] # remove integers
round5(x) |> setNames(nm = x)
})
})
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.