View source: R/add_repostatus_badge.R
add_repostatus_badge | R Documentation |
This function adds or updates the Repository Status badge of the project
to the README.Rmd
. It is based on the standard defined by the
https://www.repostatus.org project.
Make sure that 1) a README.Rmd
file exists at the project root and 2) it
contains a block starting with the line <!-- badges: start -->
and ending
with the line <!-- badges: end -->
.
Don't forget to re-render the README.md
.
add_repostatus_badge(status = "concept", quiet = FALSE)
status |
A character of length 1. Accepted status are: |
quiet |
A logical value. If |
The project can have the following status:
Concept - Minimal or no implementation has been done yet, or the repository is only intended to be a limited example, demo, or proof-of-concept.
WIP - Initial development is in progress, but there has not yet been a stable, usable release suitable for the public.
Suspended - Initial development has started, but there has not yet been a stable, usable release; work has been stopped for the time being but the author(s) intend on resuming work.
Abandoned - Initial development has started, but there has not yet been a stable, usable release; the project has been abandoned and the author(s) do not intend on continuing development.
Active - The project has reached a stable, usable state and is being actively developed.
Inactive - The project has reached a stable, usable state but is no longer being actively developed; support/maintenance will be provided as time allows.
Unsupported - The project has reached a stable, usable state but the author(s) have ceased all work on it. A new maintainer may be desired.
A badge as a markdown expression.
Other adding badges:
add_codecov_badge()
,
add_cran_badge()
,
add_dependencies_badge()
,
add_github_actions_check_badge()
,
add_github_actions_codecov_badge()
,
add_github_actions_pkgdown_badge()
,
add_license_badge()
,
add_lifecycle_badge()
## Not run:
add_repostatus_badge()
add_repostatus_badge(status = "active")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.