test_that("nocite_references works", {
citekeys <- cite_packages(output = "citekeys", out.dir = tempdir(), pkgs = "grateful")
out <- nocite_references(citekeys)
expect_equal(out,
structure("---\nnocite: |\n\t @grateful \n...",
class = "knit_asis",
knit_cacheable = NA))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.