context("Baseline Correction")
test_that("Baseline correction works", {
data(ca_flux)
corrected <- correct_baseline(ca_flux$Mean1)
expect_equal(corrected[1], 0.998)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.