Generates a standard DESCRIPTION
file as used in R packages. Also sets
a series of global options inside golem-config.yml
that will be reused
inside {golem}
(see set_options
and set_golem_options()
for details).
fill_desc(
pkg_name,
pkg_title,
pkg_description,
authors = person(given = NULL, family = NULL, email = NULL, role = NULL, comment =
NULL),
repo_url = NULL,
pkg_version = "0.0.0.9000",
pkg = get_golem_wd(),
author_first_name = NULL,
author_last_name = NULL,
author_email = NULL,
author_orcid = NULL,
set_options = TRUE
)
The name of the package
The title of the package
Description of the package
a character string (or vector) of class person
(see person()
for details)
URL (if needed)
The version of the package. Default is 0.0.0.9000
Path to look for the DESCRIPTION. Default is get_golem_wd()
.
to be deprecated: use character for first name via
authors = person(given = "authors_first_name")
instead
to be deprecated: use character for last name via
authors = person(given = "authors_last_name")
instead
to be deprecated: use character for first name via
authors = person(email = "author_email")
instead
to be deprecated
logical; the default TRUE
sets all recommended
options but this can be suppressed with FALSE
. For details on the
exact behaviour see the help set_golem_options()
.
The {desc}
object, invisibly.