It uses the Authors@R field. The author(s) to be removed
can be specified via any field(s). All authors matching all
specifications will be removed. E.g. if only given = "Joe"
is supplied, then all authors whole given name matches Joe
will
be removed. The specifications can be (PCRE) regular expressions.
Usage
desc_del_author(
given = NULL,
family = NULL,
email = NULL,
role = NULL,
comment = NULL,
orcid = NULL,
file = ".",
normalize = FALSE
)
Arguments
- given
Given name to filter on. Regular expression.
- family
Family name to filter on. Regular expression.
Email address to filter on. Regular expression.
- role
Role to filter on. Regular expression.
- comment
Comment field to filter on. Regular expression.
- orcid
ORCID 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()
.
See also
Other Authors@R:
desc_add_author_gh()
,
desc_add_author()
,
desc_add_me()
,
desc_add_orcid()
,
desc_add_role()
,
desc_change_maintainer()
,
desc_coerce_authors_at_r()
,
desc_del_role()
,
desc_get_authors()
,
desc_get_author()
,
desc_get_maintainer()
,
desc_set_authors()