desc_set_deps: Set all package dependencies in DESCRIPTION

desc_set_depsR Documentation

Set all package dependencies in DESCRIPTION

Description

Set all package dependencies in DESCRIPTION

Usage

desc_set_deps(deps, file = ".", normalize = FALSE)

Arguments

deps

Package dependency data frame, in the same format returned by desc_get_deps().

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 dependencies: desc_del_deps(), desc_del_dep(), desc_get_deps(), desc_has_dep(), desc_set_dep()


r-lib/desc documentation built on Aug. 29, 2024, 5:23 p.m.