library(geoSpectral)
library(testthat)
sptest = spc.example_spectra()
sptest@header = SpcHeaderAdd(sptest@header, sptest@ShortName, 10)
test_that("SpcHeaderAdd adds headers correctly", {
expect_equal(sptest@header$a_nap, 10)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.