Nothing
testthat::test_that("bearing angle works", {
testthat::expect_equal(nnba(x = rep(1,4),
y = c(1, 2.1, 3, 4.1),
hs = rep(pi/2, 4)
),
c(0, 0, pi, pi))
testthat::expect_equal(nnba(y = rep(1,4),
x = c(1, 3, 4.1, 5),
hs = rep(pi/4, 4)
),
c(pi/4, pi/4, pi/4, -3*pi/4))
})
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.