Learn R Programming

manifesto (version 0.0.2)

manifest_to_description: Convert a TOML manifest to a DESCRIPTION file

Description

Generates a valid DESCRIPTION file from a manifest. Required fields like Title, Description, License, and Authors@R are inserted as TODOs if not present.

Usage

manifest_to_description(path = "rproject.toml", out = "DESCRIPTION")

Value

Invisibly returns the path to the written DESCRIPTION file.

Arguments

path

Path to the TOML manifest file.

out

Path to the DESCRIPTION file to write. Defaults to 'DESCRIPTION'.

Examples

Run this code
out <- tempfile(pattern = 'DESCRIPTION')
manifest_to_description(
  path = system.file('minimal.toml', package = 'manifesto'),
  out = out
)

Run the code above in your browser using DataLab