Skip to content

Commit

Permalink
Fix R CMD check issues
Browse files Browse the repository at this point in the history
  • Loading branch information
jimhester committed Mar 6, 2020
1 parent c64055b commit 96985a9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions R/codecov.R
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ codecov <- function(...,
branch = branch %||% Sys.getenv("GIT_BRANCH"),
commit = commit %||% Sys.getenv("GIT_COMMIT"),
build = Sys.getenv("BUILD_NUMBER"),
build_url = URLencode(Sys.getenv("BUILD_URL")))
build_url = utils::URLencode(Sys.getenv("BUILD_URL")))
# ---------
# Travis CI
# ---------
Expand All @@ -78,7 +78,7 @@ codecov <- function(...,
codecov_query <- list(service = "codeship",
branch = branch %||% Sys.getenv("CI_BRANCH"),
build = Sys.getenv("CI_BUILD_NUMBER"),
build_url = URLencode(Sys.getenv("CI_BUILD_URL")),
build_url = utils::URLencode(Sys.getenv("CI_BUILD_URL")),
commit = commit %||% Sys.getenv("CI_COMMIT_ID"))
# ---------
# Circle CI
Expand Down Expand Up @@ -115,7 +115,7 @@ codecov <- function(...,
codecov_query <- list(service = "drone.io",
branch = branch %||% Sys.getenv("DRONE_BRANCH"),
build = Sys.getenv("DRONE_BUILD_NUMBER"),
build_url = URLencode(Sys.getenv("DRONE_BUILD_URL")),
build_url = utils::URLencode(Sys.getenv("DRONE_BUILD_URL")),
pr = pr %||% Sys.getenv("DRONE_PULL_REQUEST"),
commit = commit %||% Sys.getenv("DRONE_COMMIT"))
# --------
Expand Down Expand Up @@ -178,7 +178,7 @@ codecov <- function(...,
codecov_query <- list(service = "github-actions",
branch = branch,
build = github_run_id,
build_url = URLencode(sprintf("http://github.com/%s/actions/runs/%s", slug, github_run_id)),
build_url = utils::URLencode(sprintf("http://github.com/%s/actions/runs/%s", slug, github_run_id)),
pr = pr,
slug = slug,
commit = commit %||% Sys.getenv("GITHUB_SHA"))
Expand Down
2 changes: 1 addition & 1 deletion vignettes/how_it_works.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ They both have JSON-based APIs to submit and report on coverage. The functions `
## Overview ##

Prior to writing **covr**, there were a handful of coverage tools for R code.
[**R-coverage**](http://r2d2.quartzbio.com/posts/r-coverage-docker.html) by Karl Forner and
[**R-coverage**](https://web.archive.org/web/20160611114452/http://r2d2.quartzbio.com/posts/r-coverage-docker.html) by Karl Forner and
[**testCoverage**](https://github.com/MangoTheCat/testCoverage) by Tom Taverner, Chris Campbell & Suchen Jin.

## R-coverage ##
Expand Down

0 comments on commit 96985a9

Please sign in to comment.