badger: Badge for R Package
Query information and generate badge for using in README and GitHub Pages.
Guangchuang YU https://guangchuangyu.github.io
School of Public Health, The University of Hong Kong
Get the released version from CRAN:
install.packages("badger")
Or the development version from github:
## install.packages("devtools")
devtools::install_github("GuangchuangYu/badger")
- release version
- syntax:
`r badge_bioc_release("ggtree", "green")`
- badge:
- devel version
- syntax:
`r badge_devel("guangchuangyu/ggtree", "blue")`
- badge:
- Total of total :)
- syntax:
`r badge_bioc_download("clusterProfiler", "total", "blue", "total")`
- badge:
- Total of distinct IPs
- syntax:
`r badge_bioc_download("clusterProfiler", "total", "yellow")`
- badge:
- Monthly download of distinct IPs
- syntax:
`r badge_bioc_download("clusterProfiler", "month", "green")`
- badge:
- Altmetric score
- syntax:
`r badge_altmetric("10533079", "green")`
- badge:
- DOI
- syntax:
`r badge_doi("10.1111/2041-210X.12628", "yellow")`
- badge:
- syntax:
`r badge_custom("2nd most cited paper", "in OMICS", "blue", "http://online.liebertpub.com/action/showMostCitedArticles?journalCode=omi")`
- badge: