View source: R/set_description_default.R
set_description_default | R Documentation |
DESCRIPTION
fileSet default Values for the DESCRIPTION
file. The values
are saved as the option usethis.description
.
set_description_default(
pkg = stringi::stri_extract_last_words(usethis::proj_path()),
license_keyword = "BSD_3_clause"
)
pkg |
[ |
license_keyword |
[ |
These options are used when creating the package skeleton using
create_NVIpkg_skeleton
.
The following standard values are given:
"Petter Hopp" with role c("aut", "cre")
"Norwegian Veterinary Institute" with role = "cph"
registertype (categories for locations and addresses)
URL: "https://github.com/NorwegianVeterinaryInstitute/NVIpkg"
BugReports: "https://github.com/NorwegianVeterinaryInstitute/NVIpkg/issues"
License: license_keyword "+ file LICENSE",
Language: "en-GB",
Depends:= "R (>= 4.0.0)"
The function accepts a short list of the listed license keywords accepted at Cran in "./share/license/license.db" in R home. If you need any other license than in the short list, submit an issue.
None. Writes the options to the option usethis.description
.
Petter Hopp Petter.Hopp@vetinst.no
## Not run:
library(NVIpackager)
set_description_default()
## End(Not run)
# set up standards for DESCRIPTION file ----
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.