Skip to content

The author(s) can be specified by a combination of the given, family, email, comment and role fields. If multiple filters are specified, then all must match to identify the author(s).

Usage

desc_add_orcid(
  orcid,
  given = NULL,
  family = NULL,
  email = NULL,
  comment = NULL,
  role = NULL,
  file = ".",
  normalize = FALSE
)

Arguments

orcid

orcid to add.

given

Given name to filter on. Regular expression.

family

Family name to filter on. Regular expression.

email

Email address to filter on. Regular expression.

comment

Comment field to filter on. Regular expression.

role

Role field to filter on.

file

DESCRIPTION file to use. By default the DESCRIPTION file of the current package (i.e. the package the working directory is part of) is used.

normalize

Whether to "normalize" (reorder and reformat) the fields when writing back the result. See desc_normalize().