desc_change_maintainer: Change maintainer of the package, in DESCRIPTION

desc_change_maintainerR Documentation

Change maintainer of the package, in DESCRIPTION

Description

Only works with the Authors@R field.

Usage

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

Arguments

given

Given name.

family

Family name.

email

Email address.

comment

Comment.

orcid

ORCID.

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().

Details

The current maintainer is kept if they have at least another role.

See Also

Other Authors@R: desc_add_author_gh(), desc_add_author(), desc_add_me(), desc_add_orcid(), desc_add_role(), desc_coerce_authors_at_r(), desc_del_author(), desc_del_role(), desc_get_authors(), desc_get_author(), desc_get_maintainer(), desc_set_authors()


r-lib/desc documentation built on Aug. 29, 2024, 5:23 p.m.