test_that("test summary.cldf", {
expect_error(citation('x'), "'object' must inherit from class cldf")
df <- cldf("examples/wals_1A_cldf/StructureDataset-metadata.json")
out <- capture.output(citation(df))
expect_match(out[1], "Cite me like this!")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.