From 07a922edb62e08d3e7a7decc305f9989fb4737d8 Mon Sep 17 00:00:00 2001 From: Kevin Ushey Date: Mon, 23 Sep 2024 10:35:00 -0700 Subject: [PATCH] avoid transforming URLs when installing pak (#1991) --- R/pak.R | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/R/pak.R b/R/pak.R index f8a45c9ff..cfc38e368 100644 --- a/R/pak.R +++ b/R/pak.R @@ -50,8 +50,11 @@ renv_pak_repos <- function(stream) { renv_pak_init_impl <- function(stream) { - repos <- c("r-lib" = renv_pak_repos(stream)) - renv_scope_options(renv.config.pak.enabled = FALSE, repos = repos) + renv_scope_options( + renv.config.pak.enabled = FALSE, + renv.config.ppm.enabled = FALSE, + repos = c("r-lib" = renv_pak_repos(stream)) + ) library <- renv_libpaths_active() install("pak", library = library)