Nothing
context("test-savitzkyGolay")
test_that("savitzkyGolay works", {
nirdata <- data("NIRsoil")
X_savitzkyGolay <- savitzkyGolay(NIRsoil$spc, m = 1, p = 1, w = 3)
expect_is(X_savitzkyGolay, "matrix")
expect_true(round(max(abs(X_savitzkyGolay[1, ])), 5) == 0.00528)
})
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.