[R] R 3.2.0 for Windows: error installing local zip packages using repos=NULL
Duncan Murdoch
murdoch.duncan at gmail.com
Tue Apr 28 13:11:10 CEST 2015
On 28/04/2015 7:04 AM, Jose Claudio Faria wrote:
> Hello list,
>
> I update from R 3.1.3 to R 3.2.0patched today.
>
> For all packages I'm getting error message below
>
>> install.packages('bpca_1.2-2.zip', repos=NULL)
> Error in install.packages("bpca_1.2-2.zip", repos = NULL) :
> type == "both" cannot be used with 'repos = NULL'
>
> Is it a bug?
The default for "type" has changed to "both", but it doesn't work with
repos=NULL. You need to specify type="binary".
It would make sense for the repos=NULL case to guess the type based on
the filename. I'll make that change.
Duncan Murdoch
More information about the R-help
mailing list