Closed jamieo-ms closed 8 years ago
Tried the fix. This happens:
> source("WebService.R")
Created new folder: /var/folders/3g/mz5j2txd7r55dkhj0hm0np300000gr/T//RtmpBYn4DC/dir160197cca7ad4/packages/bin/windows/contrib/3.1
Error in read.dcf(file = tmpf) : cannot open the connection
In addition: Warning message:
In read.dcf(file = tmpf) :
cannot open compressed file '//Users/roffe/Library/R/miniCRAN/bin/windows/contrib/3.3/PACKAGES', probable reason 'No such file or directory'
Only version 3.1 binary packages should be uploaded?
You'll still need to use packages compiled for 3.1 and there's a separate bug(#109) that causes this to not actually copy the packages from local repositories.
I think the problem here is that I'm running on R 3.3, because the miniCRAN repository definitely has binary packages for 3.1
I'm thinking there's a second bug here, since it looks like the dependencies were being pulled from the "source" which is limited to the current version, but with this change to use "win.binary" we can add in the specific version. I'll update this to include that fix also.
I merged this fix into local dev branch.
Will do some testing and report back.
Using "win.binary" for all repository operations allows AzureML to work with a purely binary repository, simplifying things for custom R packages or manually updating package versions.