Skip to content

Remove fields from a DESCRIPTION file

Usage

desc_del(keys, file = ".", normalize = FALSE)

Arguments

keys

Character vector of keys to remove.

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 simple queries: desc_fields(), desc_get_field(), desc_get(), desc_has_fields(), desc_set()