desc_set_collate: Set the Collate field in DESCRIPTION

desc_set_collateR Documentation

Set the Collate field in DESCRIPTION

Description

Set the Collate field in DESCRIPTION

Usage

desc_set_collate(
  files,
  which = c("main", "windows", "unix"),
  file = ".",
  normalize = FALSE
)

Arguments

files

Collate field to set, as a character vector.

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_add_to_collate(), desc_del_collate(), desc_del_from_collate(), desc_get_collate()


r-lib/desc documentation built on Sept. 17, 2022, 5:07 p.m.