krlmlr / r-appveyor

Tools for using R with AppVeyor (https://appveyor.com)
132 stars 60 forks source link

cannot remove prior installation of package 'curl' #163

Closed IndrajeetPatil closed 5 years ago

IndrajeetPatil commented 5 years ago

My builds are failing with the following error: https://ci.appveyor.com/project/IndrajeetPatil/ggstatsplot/builds/26897246/job/ig46eho74h8222qb

package 'curl' successfully unpacked and MD5 sums checked
Error: (converted from warning) cannot remove prior installation of package 'curl'
Execution halted
Command exited with code 1
7z a failure.zip *.Rcheck\*
krlmlr commented 5 years ago

Can you please try turning off the cache? Installation of binary packages is very fast.

IndrajeetPatil commented 5 years ago

Thanks for the suggestion.

This is what I should specify in yaml, right? https://www.appveyor.com/docs/build-cache/

image

pat-s commented 5 years ago

Alternatively, setting R_REMOTES_STANDALONE=true should help, see https://github.com/krlmlr/r-appveyor/issues/135