parse_authors {authoritative} | R Documentation |
Parse the Author
field from a DESCRIPTION file
Description
Parse the Author
field from a DESCRIPTION file into a person
object
Usage
parse_authors(author_string)
Arguments
author_string |
A character containing the |
Value
A character vector, or a list of character vectors of length equals
to the length of author_string
Examples
# Read from a DESCRIPTION file directly
utils_description <- system.file("DESCRIPTION", package = "utils")
utils_authors <- read.dcf(utils_description, "Author")
parse_authors(utils_authors)
# Read from a database of CRAN metadata
cran_epidemiology_packages$Author |>
parse_authors() |>
unlist() |>
unique() |>
sort()
[Package authoritative version 0.2.0 Index]