desc_add_to_collate: Add one or more files to the Collate field, in DESCRIPTION

desc_add_to_collateR Documentation

Add one or more files to the Collate field, in DESCRIPTION

Description

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()


desc documentation built on May 29, 2024, 8:54 a.m.