Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

renv fails to install pak when renv.config.pak.enabled = TRUE #2043

Open
dgkf opened this issue Nov 22, 2024 · 2 comments
Open

renv fails to install pak when renv.config.pak.enabled = TRUE #2043

dgkf opened this issue Nov 22, 2024 · 2 comments

Comments

@dgkf
Copy link

dgkf commented Nov 22, 2024

Filing this for awareness of r-lib/r-lib.github.io#5

The r-lib.github.io page used as the default installation source for pak is currently down, causing the installation to fail.

@dgkf
Copy link
Author

dgkf commented Nov 22, 2024

Note that this failure mode can't be avoided by pre-installing pak because renv_pak_stream() attempts to search for available packages on the r-lib.github.io page before checking renv_pak_available()

renv/R/pak.R

Lines 7 to 9 in bf27fd9

stream <- stream %||% renv_pak_stream()
if (force || !renv_pak_available())
renv_pak_init_impl(stream)

kevinushey added a commit that referenced this issue Nov 22, 2024
@kevinushey
Copy link
Collaborator

Thanks; I've added a fix for the failure mode here in 4dd39fd. For now, I suspect you'll need to set options(renv.config.pak.enabled = FALSE).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants