Add one or more files to the Collate field, in DESCRIPTION
Source:R/non-oo-api.R
desc_add_to_collate.Rd
Add one or more files to the Collate field, in DESCRIPTION
Usage
desc_add_to_collate(
files,
which = c("default", "all", "main", "windows", "unix"),
file = ".",
normalize = FALSE
)
Arguments
- files
Character vector, files to add.
- which
Which collate field to use. Collate fields can be operating system type specific.
- 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 Collate field:
desc_del_collate()
,
desc_del_from_collate()
,
desc_get_collate()
,
desc_set_collate()