Skip to content

Commit

Permalink
update netlify url, #56
Browse files Browse the repository at this point in the history
  • Loading branch information
GuangchuangYu committed Jul 11, 2024
1 parent 1379555 commit 3812526
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 11 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: badger
Title: Badge for R Package
Version: 0.2.4
Version: 0.2.4.001
Authors@R: c(
person("Guangchuang", "Yu", email = "[email protected]", role = c("aut", "cre"), comment = c(ORCID = "0000-0002-6485-8781")),
person("Gregor", "de Cillia", email = "[email protected]", role = "ctb"),
Expand All @@ -26,4 +26,4 @@ ByteCompile: true
URL: https://github.com/GuangchuangYu/badger
BugReports: https://github.com/GuangchuangYu/badger/issues
Encoding: UTF-8
RoxygenNote: 7.3.1
RoxygenNote: 7.3.2
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# badger 0.2.4.001

+ update netlify url (2024-07-11, Thu, #56)

# badger 0.2.4

+ add github release badge and test (2024-06-07, Fri, #54)
Expand Down
2 changes: 1 addition & 1 deletion R/badge.R
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ badge_cran_download <- function(pkg = NULL, type = c("last-month", "last-week",
##' @author Dirk Eddelbuettel
badge_dependencies <- function(pkg = NULL) {
pkg <- currentPackageName(pkg)
badge <- paste0("https://tinyverse.netlify.com/badge/", pkg)
badge <- paste0("https://tinyverse.netlify.app/badge/", pkg)
url <- paste0("https://cran.r-project.org/package=", pkg)
placeholder <- "Dependencies"
paste0("[![", placeholder, "](", badge, ")](", url, ")")
Expand Down
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,37 +45,37 @@ devtools::install_github("GuangchuangYu/badger")
- release version (bioconductor)
- syntax: `` `r badge_bioc_release("ggtree", "green")` ``
- badge:
[![](https://img.shields.io/badge/release%20version-3.8.0-green.svg)](https://www.bioconductor.org/packages/ggtree)
[![](https://img.shields.io/badge/release%20version-3.12.0-green.svg)](https://www.bioconductor.org/packages/ggtree)
- release version (CRAN)
- syntax: `` `r badge_cran_release("badger", "orange")` ``
- badge:
[![](https://www.r-pkg.org/badges/version/badger?color=orange)](https://cran.r-project.org/package=badger)
- r-universe version
- syntax: `` `r badge_runiverse("and", "rossellhayes")` ``
- badge: [![r-universe status
badge](https://rossellhayes.r-universe.dev/badges/and)](https://rossellhayes.r-universe.dev/ui#package:and)
badge](https://rossellhayes.r-universe.dev/badges/and)](https://rossellhayes.r-universe.dev/and)
- devel version
- syntax: `` `r badge_devel("guangchuangyu/ggtree", "blue")` ``
- badge:
[![](https://img.shields.io/badge/devel%20version-0.2.3.001-blue.svg)](https://github.com/guangchuangyu/ggtree)
[![](https://img.shields.io/badge/devel%20version-0.2.4.001-blue.svg)](https://github.com/guangchuangyu/ggtree)

### Download stats for bioconductor

- Total of total :)
- syntax:
`` `r badge_bioc_download("clusterProfiler", "total", "blue", "total")` ``
- badge:
[![](https://img.shields.io/badge/download-1071097/total-blue.svg)](https://bioconductor.org/packages/stats/bioc/clusterProfiler)
[![](https://img.shields.io/badge/download-1456744/total-blue.svg)](https://bioconductor.org/packages/stats/bioc/clusterProfiler)
- Total of distinct IPs
- syntax:
`` `r badge_bioc_download("clusterProfiler", "total", "yellow")` ``
- badge:
[![](https://img.shields.io/badge/download-605737/total-yellow.svg)](https://bioconductor.org/packages/stats/bioc/clusterProfiler)
[![](https://img.shields.io/badge/download-824158/total-yellow.svg)](https://bioconductor.org/packages/stats/bioc/clusterProfiler)
- Monthly download of distinct IPs
- syntax:
`` `r badge_bioc_download("clusterProfiler", "month", "green")` ``
- badge:
[![](https://img.shields.io/badge/download-13532/month-green.svg)](https://bioconductor.org/packages/stats/bioc/clusterProfiler)
[![](https://img.shields.io/badge/download-17785/month-green.svg)](https://bioconductor.org/packages/stats/bioc/clusterProfiler)

### Download stats for CRAN

Expand Down Expand Up @@ -142,7 +142,7 @@ devtools::install_github("GuangchuangYu/badger")
- codecov code coverage
- syntax: `` `r badge_codecov("rcannood/princurve")` ``
- badge:
[![](https://codecov.io/gh/rcannood/princurve/branch/master/graph/badge.svg)](https://codecov.io/gh/rcannood/princurve)
[![](https://codecov.io/gh/rcannood/princurve/branch/master/graph/badge.svg)](https://app.codecov.io/gh/rcannood/princurve)
- code size
- syntax: `` `r badge_code_size("GuangchuangYu/badger")` ``
- badge:
Expand All @@ -154,7 +154,7 @@ devtools::install_github("GuangchuangYu/badger")
- direct and recursive dependencies (for CRAN pkgs)
- syntax: `` `r badge_dependencies("badger")` ``
- badge:
[![Dependencies](https://tinyverse.netlify.com/badge/badger)](https://cran.r-project.org/package=badger)
[![Dependencies](https://tinyverse.netlify.app/badge/badger)](https://cran.r-project.org/package=badger)
- CRAN checks results
- syntax: `` `r badge_cran_checks("badger")` ``
- badge: [![CRAN
Expand Down

0 comments on commit 3812526

Please sign in to comment.