Closed ramiromagno closed 5 years ago
Thanks. Can you please point me to the relevant logs? Please link to the relevant line by clicking the line number in the console output before copying the URL.
Yes indeed, the download location for R itself is hard-coded, but the packages still should be picked up from the right place. Are there any downsides in respecting the CRAN
env var here? Would you like to submit a pull request?
Are there any downsides in respecting the CRAN env var here?
Not really, I think it's fine, except for this one case: last week CRAN's official mirror was down and I tried for the first time changing the env variable to RStudio's mirror and the appveyor builds were still failing because they could not retrieve R itself.
Would you like to submit a pull request?
I would like to help but I have never looked into this package code so I am not sure how much work is involved...
Thanks, done. Let's see if it works ;-)
hi
Disclaimer: I am not entirely sure I am setting up my
appveyor.yml
file correctly, but I've tried setting theCRAN
variable, like this:but
https://cloud.r-project.org
is still being used instead.I do have this piece of code at the beginning:
and it seems that http://raw.github.com/krlmlr/r-appveyor/master/scripts/appveyor-tool.ps1 has
CRAN
hardcoded tohttps://cloud.r-project.org
, is that right?Thanks.