View source: R/add_github_actions_citation.R
add_github_actions_citation | R Documentation |
This function creates a configuration file (.yaml
) to setup GitHub Actions
to update the CITATION.cff
.
This workflow is derived
from https://github.com/r-lib/actions/tree/v2-branch/examples.
This file will be written as .github/workflows/update-citation-cff.yaml
.
This function also create the CITATION.cff
using the package cffr.
add_github_actions_citation(open = FALSE, overwrite = FALSE, quiet = FALSE)
open |
A logical value. If |
overwrite |
A logical value. If this file is already present and
|
quiet |
A logical value. If |
No return value.
Other development functions:
add_dependencies()
,
add_github_actions_check()
,
add_github_actions_codecov()
,
add_github_actions_document()
,
add_github_actions_pkgdown()
,
add_github_actions_render()
,
add_r_depend()
,
add_to_buildignore()
,
add_to_gitignore()
## Not run:
add_github_actions_citation()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.