diff --git a/python/renv.lock b/python/renv.lock index 3cfca696..f2081630 100644 --- a/python/renv.lock +++ b/python/renv.lock @@ -1717,13 +1717,13 @@ }, "renv": { "Package": "renv", - "Version": "1.0.10", + "Version": "1.0.11", "Source": "Repository", - "Repository": "RSPM", + "Repository": "BioC.CRAN", "Requirements": [ "utils" ], - "Hash": "d0387d5687ec933dd7587efd4cfa2d85" + "Hash": "47623f66b4e80b3b0587bc5d7b309888" }, "reticulate": { "Package": "reticulate", diff --git a/python/renv/activate.R b/python/renv/activate.R index c19fc3ea..0eb51088 100644 --- a/python/renv/activate.R +++ b/python/renv/activate.R @@ -2,7 +2,7 @@ local({ # the requested version of renv - version <- "1.0.10" + version <- "1.0.11" attr(version, "sha") <- NULL # the project directory @@ -368,8 +368,7 @@ local({ quiet = TRUE ) - if ("headers" %in% names(formals(utils::download.file))) - { + if ("headers" %in% names(formals(utils::download.file))) { headers <- renv_bootstrap_download_custom_headers(url) if (length(headers) && is.character(headers)) args$headers <- headers @@ -457,9 +456,8 @@ local({ # add custom headers if available -- note that # utils::available.packages() will pass this to download.file() - if ("headers" %in% names(formals(utils::download.file))) - { - headers <- renv_bootstrap_download_custom_headers(url) + if ("headers" %in% names(formals(utils::download.file))) { + headers <- renv_bootstrap_download_custom_headers(repos) if (length(headers) && is.character(headers)) args$headers <- headers }