View source: R/add_description.R
add_description | R Documentation |
This function creates a DESCRIPTION
file at the root of the project. This
file contains metadata of the project. Some information (title, description,
version, etc.) must be edited by hand. For more information:
https://r-pkgs.org/description.html.
User credentials can be passed as arguments but it is recommended to store
them in the .Rprofile
file with set_credentials()
.
add_description(
given = NULL,
family = NULL,
email = NULL,
orcid = NULL,
organisation = NULL,
open = TRUE,
overwrite = FALSE,
quiet = FALSE
)
given |
A character of length 1. The given name of the project maintainer. |
family |
A character of length 1. The family name of the project maintainer. |
email |
A character of length 1. The email address of the project maintainer. |
orcid |
A character of length 1. The ORCID of the project maintainer. |
organisation |
A character of length 1. The name of the GitHub
organisation to host the package. If |
open |
A logical value. If |
overwrite |
A logical value. If a |
quiet |
A logical value. If |
No return value.
Other create files:
add_citation()
,
add_code_of_conduct()
,
add_compendium()
,
add_contributing()
,
add_dockerfile()
,
add_license()
,
add_makefile()
,
add_package_doc()
,
add_readme_rmd()
,
add_renv()
,
add_testthat()
,
add_vignette()
## Not run:
add_description(organisation = "MySociety")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.