Nothing
test_that("deg2rad converts degrees to radians", {
expect_equal(deg2rad(0), 0)
expect_equal(deg2rad(180), pi)
expect_equal(deg2rad(90), pi / 2)
expect_equal(deg2rad(360), 2 * pi)
expect_equal(deg2rad(-90), -pi / 2)
})
test_that("deg2rad is vectorized", {
expect_equal(deg2rad(c(0, 180, 360)), c(0, pi, 2 * pi))
})
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.