Skip to content

Commit 822e590

Browse files
committed
Update form of codecov URL
Learned about this from urlchecker
1 parent 1b911ce commit 822e590

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

β€ŽR/coverage.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ use_covr_ignore <- function(files) {
4444
}
4545

4646
use_codecov_badge <- function(repo_spec) {
47-
url <- glue("https://codecov.io/gh/{repo_spec}")
47+
url <- glue("https://app.codecov.io/gh/{repo_spec}")
4848
img <- glue("https://codecov.io/gh/{repo_spec}/graph/badge.svg")
4949
use_badge("Codecov test coverage", url, img)
5050
}

β€ŽREADME.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ knitr::opts_chunk$set(
2020
[![CRAN status](https://www.r-pkg.org/badges/version/usethis)](https://CRAN.R-project.org/package=usethis)
2121
[![Lifecycle: stable](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://lifecycle.r-lib.org/articles/stages.html#stable)
2222
[![.github/workflows/R-CMD-check](https://github.com/r-lib/usethis/actions/workflows/.github/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/r-lib/usethis/actions/workflows/.github/workflows/R-CMD-check.yaml)
23-
[![Codecov test coverage](https://codecov.io/gh/r-lib/usethis/graph/badge.svg)](https://codecov.io/gh/r-lib/usethis)
23+
[![Codecov test coverage](https://codecov.io/gh/r-lib/usethis/graph/badge.svg)](https://app.codecov.io/gh/r-lib/usethis)
2424
<!-- badges: end -->
2525

2626
usethis is a workflow package: it automates repetitive tasks that arise during project setup and development, both for R packages and non-package projects.

β€ŽREADME.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ status](https://www.r-pkg.org/badges/version/usethis)](https://CRAN.R-project.or
1212
stable](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://lifecycle.r-lib.org/articles/stages.html#stable)
1313
[![.github/workflows/R-CMD-check](https://github.com/r-lib/usethis/actions/workflows/.github/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/r-lib/usethis/actions/workflows/.github/workflows/R-CMD-check.yaml)
1414
[![Codecov test
15-
coverage](https://codecov.io/gh/r-lib/usethis/graph/badge.svg)](https://codecov.io/gh/r-lib/usethis)
15+
coverage](https://codecov.io/gh/r-lib/usethis/graph/badge.svg)](https://app.codecov.io/gh/r-lib/usethis)
1616
<!-- badges: end -->
1717

1818
usethis is a workflow package: it automates repetitive tasks that arise
@@ -61,8 +61,8 @@ library(usethis)
6161
# Create a new package -------------------------------------------------
6262
path <- file.path(tempdir(), "mypkg")
6363
create_package(path)
64-
#> βœ” Creating '/tmp/RtmpMuqeSm/mypkg/'.
65-
#> βœ” Setting active project to "/private/tmp/RtmpMuqeSm/mypkg".
64+
#> βœ” Creating '/tmp/Rtmpyt1hd6/mypkg/'.
65+
#> βœ” Setting active project to "/private/tmp/Rtmpyt1hd6/mypkg".
6666
#> βœ” Creating 'R/'.
6767
#> βœ” Writing 'DESCRIPTION'.
6868
#> Package: mypkg
@@ -75,13 +75,13 @@ create_package(path)
7575
#> license
7676
#> Encoding: UTF-8
7777
#> Roxygen: list(markdown = TRUE)
78-
#> RoxygenNote: 7.3.1
78+
#> RoxygenNote: 7.3.2
7979
#> βœ” Writing 'NAMESPACE'.
8080
#> βœ” Setting active project to "<no active project>".
8181
# only needed since this session isn't interactive
8282
proj_activate(path)
83-
#> βœ” Setting active project to "/private/tmp/RtmpMuqeSm/mypkg".
84-
#> βœ” Changing working directory to '/tmp/RtmpMuqeSm/mypkg/'
83+
#> βœ” Setting active project to "/private/tmp/Rtmpyt1hd6/mypkg".
84+
#> βœ” Changing working directory to '/tmp/Rtmpyt1hd6/mypkg/'
8585

8686
# Modify the description ----------------------------------------------
8787
use_mit_license("My Name")

β€Žtests/testthat/_snaps/coverage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88
i Badge link will only be printed to screen.
99
[ ] Copy and paste the following lines into 'README':
1010
<!-- badges: start -->
11-
[![Codecov test coverage](https://codecov.io/gh/OWNER/REPO/graph/badge.svg)](https://codecov.io/gh/OWNER/REPO)
11+
[![Codecov test coverage](https://codecov.io/gh/OWNER/REPO/graph/badge.svg)](https://app.codecov.io/gh/OWNER/REPO)
1212
<!-- badges: end -->
1313

0 commit comments

Comments
Β (0)