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 pak upgrade option configurable #1330

Closed
Fuco1 opened this issue May 24, 2023 · 1 comment
Closed

Make pak upgrade option configurable #1330

Fuco1 opened this issue May 24, 2023 · 1 comment

Comments

@Fuco1
Copy link

Fuco1 commented May 24, 2023

Currently, it seems renv calls pak with this code

  pak$pkg_install(
    pkg     = packages,
    lib     = lib,
    upgrade = TRUE
  )

I think having to always upgrade is a bit too "agressive". In some cases I would like to only add packages and not upgrade what is not necessary.

Would it be possible to expose this as an option, either to renv::install (maybe through ... or as some .parameter) or as option for config?

@Fuco1 Fuco1 changed the title Make pak upgrade configurable Make pak upgrade option configurable May 24, 2023
@hadley
Copy link
Member

hadley commented May 24, 2023

Part of #1210

@hadley hadley closed this as completed May 24, 2023
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