krlmlr / r-appveyor

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

Extra cran mirror for ncdf4 #47

Closed sckott closed 8 years ago

sckott commented 8 years ago

trying to get ncdf4 binaries to install on a build - but they're only avail. on Ripley's cranextra mirror http://www.stats.ox.ac.uk/pub/RWin

I assumed I set R_LIBS env var, but i either didn't set that right, or there's a different way to do it?

krlmlr commented 8 years ago

Sorry, missed that. Perhaps you need a call to options(repos = ...) somewhere before installing it (via Rscript -e)?

Adding that extra repo by default sounds like a good idea, too.

sckott commented 8 years ago

Thanks, I'll try a call to options(repos) -

krlmlr commented 8 years ago

Were you successful with setting R_LIBS? What would I need to do to make this the default?

sckott commented 8 years ago

Seems to be working now e.g., https://travis-ci.org/ropensci/rerddap/builds/102385912#L1167-L1235

I think they do have binaries on the main CRAN mirrors now

krlmlr commented 8 years ago

You linked to Travis, I was asking about the Windows build... But I see that ncdf4 binary is on CRAN too. Can we close this?

sckott commented 8 years ago

ah, woops, sorry, Just checked and yes the appveyor projects that use ncdf4 are working.

yes, close