From 38125266d4241cceba4e3fcc4bb8c64364766483 Mon Sep 17 00:00:00 2001 From: Guangchuang Yu Date: Thu, 11 Jul 2024 18:06:53 +0800 Subject: [PATCH] update netlify url, #56 --- DESCRIPTION | 4 ++-- NEWS.md | 4 ++++ R/badge.R | 2 +- README.md | 16 ++++++++-------- 4 files changed, 15 insertions(+), 11 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 07c76ba..6281363 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -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 = "guangchuangyu@gmail.com", role = c("aut", "cre"), comment = c(ORCID = "0000-0002-6485-8781")), person("Gregor", "de Cillia", email = "de.cillia.gregor@gmail.com", role = "ctb"), @@ -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 diff --git a/NEWS.md b/NEWS.md index fd2ff1b..91701dd 100644 --- a/NEWS.md +++ b/NEWS.md @@ -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) diff --git a/R/badge.R b/R/badge.R index 83adeb5..e536522 100644 --- a/R/badge.R +++ b/R/badge.R @@ -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, ")") diff --git a/README.md b/README.md index f18467d..4e5290b 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ 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: @@ -53,11 +53,11 @@ devtools::install_github("GuangchuangYu/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 @@ -65,17 +65,17 @@ devtools::install_github("GuangchuangYu/badger") - 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 @@ -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: @@ -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