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

for packages with an unknown source, update remotes in repair #1574

Closed
kevinushey opened this issue Jul 20, 2023 · 0 comments · Fixed by #1575
Closed

for packages with an unknown source, update remotes in repair #1574

kevinushey opened this issue Jul 20, 2023 · 0 comments · Fixed by #1575
Labels
feature a feature request or enhancement

Comments

@kevinushey
Copy link
Collaborator

kevinushey commented Jul 20, 2023

That is, move this into renv::repair():

renv/R/lockfile.R

Lines 225 to 226 in c2f626c

# give user an opportunity to update package remotes when installed from sources
renv_snapshot_preflight_check_sources(project, libpaths[[1L]], names(records))

And update the linked code to suggest using renv::repair() if some packages with unknown sources might be repairable.

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

Successfully merging a pull request may close this issue.

1 participant