data("raman_hdpe")
test_that("spec_res() gives correct output", {
spec_res(raman_hdpe$wavenumber) |> round(2) |> expect_equal(3.01)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.