# A CITATION file anywhere except in `inst/CITATION` is an R CMD check note
local_citation_activate <- function(path, envir = caller_env()) {
old <- path(path, "inst", "temp-citation")
new <- path(path, "inst", "CITATION")
file_move(old, new)
withr::defer(file_move(new, old), envir = envir)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.