Closed wlandau-lilly closed 6 years ago
An easy workaround might be to tell Appveyor to install packages from the source when it thinks the binaries lag behind. How do I do that?
The CRAN mirrors might lag a bit, AppVeyor doesn't do any caching itself. Set the CRAN
env var to the main website to eliminate these lags.
Installing from source might needs Rtools, please check the USE_RTOOLS
and PKGTYPE
environment variables in the README. This also might mean that all packages are installed from source.
Thanks, Kirill. So I could try some of these options?
environment:
global:
CRAN: https://ftp.ussg.iu.edu/CRAN/ # Pick a CRAN mirror that updates more quickly.
USE_RTOOLS: true # For building packages with low-level code from the source.
PKG_TYPE: "source" # install.packages(..., type = "source")
Looks good, but installation from source will be way slower than from binary.
Yes, that is a tradeoff I may need to make. Hopefully at some point there will be a way to automatically install from the source when the binaries are out of date, hopefully without any prompt. Maybe INSTALL_opts
in install.packages()
already covers this. Maybe it belongs in @HenrikBengtsson's wishlist for R.
This check originally failed because Appveyor could not get the R-release Windows build of
listenv
from CRAN.At the time,
listenv
0.7.0 was already built for R-release.In my experience, this is not the first time Appveyor/r-appeyor was slow to react.