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

______________________________________________
[email protected] mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to