| maintainer | R Documentation |
Extracts maintainer name and email from DESCRIPTION.
maintainer(path = ".")
path |
Path to package root directory. |
A list with elements 'name' and 'email'.
# Scaffold a throwaway package in tempdir() and read its maintainer.
pkg <- file.path(tempdir(), "mxpkg")
dir.create(pkg, showWarnings = FALSE)
writeLines(c(
"Package: mxpkg",
"Title: Example",
"Version: 0.0.1",
"Authors@R: person('Jane', 'Doe', email = 'jane@example.com',",
" role = c('aut','cre'))",
"Description: Example.",
"License: GPL-3"
), file.path(pkg, "DESCRIPTION"))
maintainer(pkg)
unlink(pkg, recursive = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.