Closed jeroen closed 4 years ago
Still not quite ideal when $version
is devel
, but still an improvement on the current situation.
@gaborcsardi what is the problem? That it uses C:\Rlibrary\dev
? Or that it caches R-devel at all?
Yeah. Maybe we just should not cache dev? Although when dev is built from source, caching it does help a lot.
Anyway, it definitely improves all other cases, and it does not make the dev case worse, either.
Indeed, r-appveyor uses R-patched by default, so this solves the problem for all those users.
There is no easy solution for cache invalidation in R-devel because we can't detect when the ABI has broken. However in practice, I think the users that are using appveyor with R-devel probably also know how to flush the cache.
Thanks!
A lot of people are currently seeing this (example here)
The problem is that they have cached the package library, but it is outdated. The solution is to flush the cache but many people don't know this.
The following versions the package library using the major part of the version, in the same way as R itself does when we do not set R_LIB_USER.