Skip to content

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