Skip to content

Commit

Permalink
avoid transforming URLs when installing pak (#1991)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinushey committed Sep 23, 2024
1 parent 13cbaa2 commit 07a922e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions R/pak.R
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 07a922e

Please sign in to comment.