desc_set {desc} | R Documentation |
Set one or more fields in a DESCRIPTION file
desc_set(..., file = ".", normalize = FALSE)
... |
Values to set, see details below. |
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 the write when writing back
the result. See |
desc_set
supports two forms, the first is two unnamed
arguments: the key and its value to set.
The second form requires named arguments: names are used as keys and values as values to set.
Other simple queries:
desc_del()
,
desc_fields()
,
desc_get_field()
,
desc_get()
,
desc_has_fields()