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

Make upgrade quieter #1595

Merged
merged 2 commits into from
Jul 25, 2023
Merged

Make upgrade quieter #1595

merged 2 commits into from
Jul 25, 2023

Conversation

hadley
Copy link
Member

@hadley hadley commented Jul 25, 2023

And use better test for version

And use better test for version
@@ -54,14 +54,15 @@ renv_upgrade_impl <- function(project, version, reload, prompt) {

reload <- reload %||% renv_project_loaded(project)

old <- renv_snapshot_description(package = "renv")
lockfile <- renv_lockfile_load(project)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know if this is correct or not, but renv_snapshot_description() returns a rather different data structure so the comparison below was always FALSE.

Copy link
Collaborator

@kevinushey kevinushey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@kevinushey kevinushey merged commit c06b9bf into main Jul 25, 2023
12 checks passed
@hadley hadley deleted the upgrade-quiet branch July 25, 2023 22:20
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

Successfully merging this pull request may close these issues.

2 participants