Nothing
test_that('closest_to_target works', {
expect_equal(closest_to_target(c(0.1, 0.2, 0.3), 0.05), 1)
expect_equal(closest_to_target(c(0.1, 0.2, 0.3), 0.22), 2)
expect_equal(closest_to_target(c(0.1, 0.2, 0.3), -0.05), 1)
expect_equal(closest_to_target(c(0.1, 0.2, 0.3), 8), 3)
})
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.