Learn R Programming

devtools (version 1.13.3)

create_description: Create a default DESCRIPTION file for a package.

Description

Create a default DESCRIPTION file for a package.

Usage

create_description(path = ".", extra = getOption("devtools.desc"),
  quiet = FALSE)

Arguments

path

path to package root directory

extra

a named list of extra options to add to DESCRIPTION. Arguments that take a list

quiet

if TRUE, suppresses output from this function.

Details

To set the default author and licenses, set options devtools.desc.author and devtools.desc.license. I use options(devtools.desc.author = '"Hadley Wickham <h.wickham@gmail.com> [aut,cre]"', devtools.desc.license = "GPL-3").