Nothing
test_that("neighbors works", {
# example
# x: 1, 2, 3, 4
# left neighbors: 4, 1, 2, 3
# right neighbors: 2, 3, 4, 1
#
# neighbors combined in correct order:
# neighbors: 4, 2, 1, 3, 2, 4, 3, 1
expect_equal(
neighbors(seq_len(4)),
c(4, 2, 1, 3, 2, 4, 3, 1)
)
})
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.