Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,6 @@ export(to_sonarqube)
export(value)
export(zero_coverage)
import(methods)
importFrom(httr,RETRY)
importFrom(httr,content)
importFrom(httr,upload_file)
importFrom(stats,aggregate)
importFrom(stats,na.omit)
importFrom(stats,na.pass)
Expand Down
2 changes: 2 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# covr (development version)

* Avoid cyclic import when running coverage on httr and its dependencies (#623)

# covr 3.6.5

## New Features and improvements
Expand Down
9 changes: 8 additions & 1 deletion R/covr.R
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,16 @@
#' @import methods
#' @importFrom stats aggregate na.omit na.pass setNames
#' @importFrom utils capture.output getSrcFilename relist str head
#' @importFrom httr content RETRY upload_file
NULL

RETRY <- function(...) {
httr::RETRY(...)
}

upload_file <- function(...) {
httr::upload_file(...)
}

the <- new.env(parent = emptyenv())

the$replacements <- list()
Expand Down
Loading