Title: | Badge for R Package |
---|---|
Description: | Query information and generate badge for using in README and GitHub Pages. |
Authors: | Guangchuang Yu [aut, cre] , Gregor de Cillia [ctb], Dirk Eddelbuettel [ctb], Maëlle Salmon [ctb], Robrecht Cannoodt [ctb] (<https://orcid.org/0000-0003-3641-729X>, rcannood), Alexander Rossell Hayes [ctb] (<https://orcid.org/0000-0001-9412-0457>, rossellhayes), Waldir Leoncio [ctb], Matthew Schuelke [ctb] (<https://orcid.org/0000-0001-5755-1725>, the-mad-statter) |
Maintainer: | Guangchuang Yu <[email protected]> |
License: | Artistic-2.0 |
Version: | 0.2.4.001 |
Built: | 2024-11-08 04:43:40 UTC |
Source: | https://github.com/guangchuangyu/badger |
altmetric badge
badge_altmetric(id, color)
badge_altmetric(id, color)
id |
altmetric id |
color |
color of badge |
badge in markdown syntax
Guangchuang
## Not run: badge_altmetric("2788597", "blue") ## End(Not run)
## Not run: badge_altmetric("2788597", "blue") ## End(Not run)
badge of bioconductor download number
badge_bioc_download(pkg = NULL, by, color, type = "distinct")
badge_bioc_download(pkg = NULL, by, color, type = "distinct")
pkg |
package. If |
by |
one of total or month |
color |
badge color |
type |
one of distinct and total |
badge in markdown syntax
Guangchuang Yu
official Bioconductor download badge (download ranking)
badge_bioc_download_rank(pkg = NULL) badge_download_bioc(pkg = NULL)
badge_bioc_download_rank(pkg = NULL) badge_download_bioc(pkg = NULL)
pkg |
package. If |
bioc download ranking badge
guangchuang yu
badge of bioconductor release version
badge_bioc_release(pkg = NULL, color)
badge_bioc_release(pkg = NULL, color)
pkg |
package. If |
color |
badge color |
badge in markdown syntax
Guangchuang Yu
badge of GitHub code size
badge_code_size(ref = NULL)
badge_code_size(ref = NULL)
ref |
Reference for a GitHub repository. If |
badge in markdown syntax
Gregor de Cillia
badge of codecov code coverage
badge_codecov(ref = NULL, token = NULL, branch = NULL)
badge_codecov(ref = NULL, token = NULL, branch = NULL)
ref |
Reference for a GitHub repository. If |
token |
Codecov graphing token, needed for private repositories. It can be obtained at https://codecov.io/gh/USER/REPO/branch/BRANCH/graph/ |
branch |
The GitHub branch. If |
badge in markdown syntax
Gregor de Cillia
CodeFactor badge
badge_codefactor(ref = NULL)
badge_codefactor(ref = NULL)
ref |
Reference for a GitHub repository. If |
badge in markdown syntax
Alexander Rossell Hayes
badge of coveralls code coverage
badge_coveralls(ref = NULL, branch = NULL)
badge_coveralls(ref = NULL, branch = NULL)
ref |
Reference for a GitHub repository. If |
branch |
The GitHub branch. If |
badge in markdown syntax
Gregor de Cillia
CRAN checks badge
badge_cran_checks(pkg = NULL, worst = FALSE)
badge_cran_checks(pkg = NULL, worst = FALSE)
pkg |
package. If |
worst |
logical; if FALSE (default) return "summary" badge. If TRUE, return "worst" badge. |
badge in Markdown syntax
Scott Chamberlain (badges API), Maëlle Salmon (function)
badge of CRAN downloads
badge_cran_download( pkg = NULL, type = c("last-month", "last-week", "grand-total"), color = NULL )
badge_cran_download( pkg = NULL, type = c("last-month", "last-week", "grand-total"), color = NULL )
pkg |
package. If |
type |
type of stats. |
color |
color of badge |
badge in markdown syntax
Gregor de Cillia
badge of CRAN version
badge_cran_release(pkg = NULL, color = NULL)
badge_cran_release(pkg = NULL, color = NULL)
pkg |
package. If |
color |
color of badge |
badge in markdown syntax
Gregor de Cillia
custom badge
badge_custom(x, y, color, url = NULL)
badge_custom(x, y, color, url = NULL)
x |
field 1 |
y |
field 2 |
color |
color |
url |
optional url |
customize badge
Guangchuang Yu
dependency badge
badge_dependencies(pkg = NULL)
badge_dependencies(pkg = NULL)
pkg |
package. If |
badge in markdown syntax
Dirk Eddelbuettel
badge of devel version
badge_devel(pkg = NULL, color)
badge_devel(pkg = NULL, color)
pkg |
package. If |
color |
badge color |
badge in markdown syntax
doi badge
badge_doi(doi, color)
badge_doi(doi, color)
doi |
doi |
color |
color |
badge
Guangchuang
badge_doi("10.1111/2041-210X.12628", "green")
badge_doi("10.1111/2041-210X.12628", "green")
GitHub Actions badge
badge_github_actions(ref = NULL, action = "R-CMD-check")
badge_github_actions(ref = NULL, action = "R-CMD-check")
ref |
Reference for a GitHub repository. If |
action |
The name of the GitHub actions workflow. Defaults to
|
badge in markdown syntax
Alexander Rossell Hayes
GitHub Release badge
badge_github_release(ref = NULL)
badge_github_release(ref = NULL)
ref |
Reference for a GitHub repository. If |
badge in markdown syntax
Matt Schuelke
badge of devel version
badge_github_version(pkg = NULL, color)
badge_github_version(pkg = NULL, color)
pkg |
package. If |
color |
badge color |
badge in markdown syntax
Guangchuang Yu
last commit badge
badge_last_commit(ref = NULL, branch = NULL)
badge_last_commit(ref = NULL, branch = NULL)
ref |
Reference for a GitHub repository. If |
branch |
The GitHub branch. If |
badge in markdown syntax
Gregor de Cillia
License badge
badge_license(license = NULL, color = "blue", url = NULL)
badge_license(license = NULL, color = "blue", url = NULL)
license |
The license to use. If |
color |
badge color |
url |
The URL of the LICENSE text. If |
badge in markdown syntax
Alexander Rossell Hayes
lifecycle badge
badge_lifecycle(stage = "experimental", color = NULL)
badge_lifecycle(stage = "experimental", color = NULL)
stage |
lifecycle stage See https://lifecycle.r-lib.org/articles/stages.html |
color |
color of the badge. If missing, the color is determined by the stage. |
badge in markdown syntax
Gregor de Cillia, Waldir Leoncio
repostatus.org badge
badge_repostatus(status, alt = NULL)
badge_repostatus(status, alt = NULL)
status |
project status (Concept, WIP, Suspended, Abandoned, Active, Inactive, Unsupported, Moved). See https://www.repostatus.org/lifecycle for more details. |
alt |
Alternative text |
badge in markdown syntax
Waldir Leoncio
r-universe badge
badge_runiverse(pkg = NULL, user = NULL)
badge_runiverse(pkg = NULL, user = NULL)
pkg |
Package name. If |
user |
User name. If |
badge in markdown syntax
Alexander Rossell Hayes
SCI citation badge
badge_sci_citation(url, color)
badge_sci_citation(url, color)
url |
Web of Science url |
color |
color of badge |
badge in markdown syntax
Guangchuang
travis-ci badge
badge_travis(ref = NULL, is_commercial = FALSE, branch = NULL)
badge_travis(ref = NULL, is_commercial = FALSE, branch = NULL)
ref |
Reference for a GitHub repository. If |
is_commercial |
Flag to indicate whether or not to use https://travis-ci.com |
branch |
The GitHub branch. If |
badge in markdown syntax
Gregor de Cillia
git award rank
gitaward(user = "guangchuangyu", lang)
gitaward(user = "guangchuangyu", lang)
user |
user |
lang |
language |
rank
Guangchuang Yu
get devel version number of specific package
ver_devel(pkg = NULL)
ver_devel(pkg = NULL)
pkg |
package. If |
devel version
Guangchuang