Gábor Csárdi
Gábor Csárdi
I think it can be simpler. E.g. - have a function that returns the hash of a package from its description (if that's all you use for hashing), and -...
> Do you have an opinion on what the right contract between pak and renv is here? IDK, I would have to experiment with this a bit. Btw. pak modifies...
To use the renv cache as a source, maybe it is better to query the root of the cache for the current platform and R version? And have some convention...
> Should there be a helper to upgrade all installed packages, equivalent to upgrade.packages()? Or maybe a lib_upgrade() to upgrade all the packages in a library? There will be a...
> would mess with all the benefits of pak (such as caching and dependency resolution), or even break things. No, it will not break anything.
Do you have write access to the package library?
Oh, right, so one of the way this can happen if there is another (frozen?) process installing the same package into the same library. The fix for that is to...
That's only possible if the lock file was created by another user, e.g. root, and your current user has no rights to open it. This would happen if you use...
@shamindras What's the output of these commands from a terminal? ``` ls -ld /Library/Frameworks/R.framework/Versions/4.1-arm64/Resources/library/_cache ls -l /Library/Frameworks/R.framework/Versions/4.1-arm64/Resources/library/_cache ```
So the issue is that when you use root user, via sudo or another way, you create lock files that are owned by root, and then when you use your...