Nothing
library(SticsRFiles)
context("Compute DOY sum")
test_that("Compute DOY", {
expect_equal(
compute_doy_cumul(c(350, 360, 10, 20, 30),
c(1990, 1990, 1991, 1991, 1991)),
c(350, 360, 375, 385, 395)
)
expect_error(
compute_doy_cumul(c(350, 370, 10, 20, 30),
c(1990, 1990, 1991, 1991, 1991))
)
})
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.