construct_authors {rworkflows} | R Documentation |
Construct authors
Description
Helper function to construct an author list for a DESCRIPTION file.
Returns a template when authors
is not provided (default).
Usage
construct_authors(
authors = NULL,
template = c(utils::person(given = "yourGivenName", family = "yourFamilyName", role =
c("cre"), email = "yourEmail@email.com", comment = c(ORCID = "yourOrcidId")))
)
Arguments
authors |
A list of authors who contributed to your R package,
each provided as objects of class person.
By default, if an |
template |
Default value to return when |
Value
Named list in person format.
Examples
authors <- construct_authors()
[Package rworkflows version 1.0.1 Index]