
Generate a TOML manifest from a DESCRIPTION file
Source:R/description.R
manifest_from_description.RdParses fields from a DESCRIPTION file and generates a corresponding
TOML manifest with [project], [environment], and dependency groups.
Details
By default, both Depends and Imports are mapped to [dependencies].
Suggests, LinkingTo, and Enhances are mapped to their own optional groups.
Examples
path <- manifest_from_description(system.file(package = 'cli', 'DESCRIPTION'))