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
The idea is that the script has a self-contained library and is portable across machines without interfering with the user library (analagous to uv tool run). However, I note that renv::use() always installs the packages, even if they are already in the library. This is fast when using the renv package cache, but still adds startup overhead. Would it be possible for use() to skip installation if the correct package version exists in the library directory already?
The text was updated successfully, but these errors were encountered:
I have been starting to use
renv::use()
for utility scripts so they self-install dependencies, like soThe idea is that the script has a self-contained library and is portable across machines without interfering with the user library (analagous to
uv tool run
). However, I note thatrenv::use()
always installs the packages, even if they are already in the library. This is fast when using therenv
package cache, but still adds startup overhead. Would it be possible foruse()
to skip installation if the correct package version exists in the library directory already?The text was updated successfully, but these errors were encountered: