add_contributing: Add contribution guidelines

View source: R/add_contributing.R

add_contributingR Documentation

Add contribution guidelines

Description

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

email

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) the CONTRIBUTING.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 is FALSE.

quiet

A logical value. If TRUE messages are deleted. Default is FALSE.

Value

No return value.

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()

Examples

## Not run: 
add_contributing()

## End(Not run)

FRBCesab/rcompendium documentation built on Nov. 15, 2024, 9:38 p.m.