View source: R/add_code_of_conduct.R
| add_code_of_conduct | R Documentation | 
This function creates a CODE_OF_CONDUCT.md file adapted from the
Contributor Covenant, version 2.1 available at
https://www.contributor-covenant.org/version/2/1/code_of_conduct.html.
add_code_of_conduct(
  email = NULL,
  open = TRUE,
  overwrite = FALSE,
  quiet = FALSE
)
| email | A character of length 1. The email address of the project maintainer. | 
| open | A logical value. If  | 
| overwrite | A logical value. If files are already present and
 | 
| quiet | A logical value. If  | 
No return value.
Other create files: 
add_citation(),
add_compendium(),
add_contributing(),
add_description(),
add_dockerfile(),
add_license(),
add_makefile(),
add_package_doc(),
add_readme_rmd(),
add_renv(),
add_testthat(),
add_vignette()
## Not run: 
add_code_of_conduct()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.