You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
devtools::install() hook (CMD + SHIFT + B) should not try and update your packages #1732
I really think we should set devtools::install(upgrade = "never") when running the build and install hook.
Right now it defaults to "ask", which in a non-interactive session is "always", and I don't think this is correct.
If I'm debugging some joint bug between, say, dev vctrs and dev cli at the same time and I have a specific commit of cli installed, then I don't want installing vctrs to upgrade cli out from under me.
I also wouldn't want a failure in the upgrade process to bring the whole installation process down if it wasn't necessary.
This is also the RStudio default, and I haven't found it prohibitive. If installation fails due to me not having a specific package, I can just run pak::pak() interactively to fix it first, and this gives me finer control over what to install. I think making that choice to upgrade is important from a package dev perspective.
Activity
DavisVaughan commentedon Oct 31, 2023
Dup of #1631