This function creates several files to help the user to learn how to contribute to the project:
CONTRIBUTING.md
: general guidelines outlining the best way to contribute to the project (can be modified);.github/ISSUE_TEMPLATE/bug_report.md
: an issue template to report a bug (can be modified);.github/ISSUE_TEMPLATE/feature_request.md
: an issue template to suggest a new feature (can be modified);.github/ISSUE_TEMPLATE/other_issue.md
: an issue template for all other types of issue (can be modified).
Usage
add_contributing(
email = NULL,
organisation = NULL,
open = TRUE,
overwrite = FALSE,
quiet = FALSE
)
Arguments
A character of length 1. The email address of the project maintainer.
- organisation
A character of length 1. The name of the GitHub organisation to host the package. If
NULL
(default) the GitHub account will be used. This argument is used to set the URL of the package (hosted on GitHub).- open
A logical value. If
TRUE
(default) theCONTRIBUTING.md
file is opened in the editor.- overwrite
A logical value. If files are already present and
overwrite = TRUE
, they will be erased and replaced. Default isFALSE
.- quiet
A logical value. If
TRUE
messages are deleted. Default isFALSE
.
See also
Other create files:
add_citation()
,
add_code_of_conduct()
,
add_compendium()
,
add_description()
,
add_dockerfile()
,
add_license()
,
add_makefile()
,
add_package_doc()
,
add_readme_rmd()
,
add_renv()
,
add_testthat()
,
add_vignette()