\dontrun{
## Auxliary function //
.cleanTempDir <- function(x) {
if (grepl(basename(tempdir()), x)) {
unlink(x, recursive = TRUE, force = TRUE)
}
}
path <- createPackageSkeleton(id = "test.package",
path = tempdir(), overwrite = TRUE)
res <- ensureRoxygenTemplates(path = path)
res <- ensureRoxygenTemplates(path = path)
## --> take a look at file '/man_roxygen/references.r'
## Clean up //
.cleanTempDir(x = path)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.