Description Usage Arguments Examples
View source: R/pkg_description_yml.R
Parse Description YAML
1 2 3 4 5 6 7 8 | pkg_description_yml(
input_file = NULL,
fields = c("Package", "Given", "Family", "Email", "ORCID", "Version", "Title",
"Description", "License", "Github", "Encoding", "Language", "LazyData",
"VignetteBuilder", "Roxygen"),
required = TRUE,
dependencies = TRUE
)
|
input_file |
Character string.
|
fields |
Character vector.
Fields from |
required |
Logical. Check required fields. |
dependencies |
Logical.
Extract dependencies
( |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | ## Not run:
pkg_description_yml(
input_file = "DESCRIPTION.yml",
fields = c(
"Package",
"Given",
"Family",
"Email",
"ORCID",
"Version",
"Title",
"Description",
"License",
"Github",
"Encoding",
"Language",
"LazyData",
"VignetteBuilder",
"Roxygen"
),
required = TRUE,
dependencies = TRUE
)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.