From ripley at stats.ox.ac.uk  Thu Jun  7 14:14:07 2012
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Thu, 7 Jun 2012 13:14:07 +0100
Subject: [Rd] 7 arguments passed to .Internal(identical) which requires 6
In-Reply-To: <1c8ba941835fdf12b34e1b1064a5dc68.squirrel@webmail.plus.net>
References: <CAF42j20RBW9SGRCA1t-uOTB330RoyRN43Yjv5GBR4580ugOxVw@mail.gmail.com>
	<loom.20120606T194231-377@post.gmane.org>
	<alpine.DEB.2.02.1206061329380.2432@luke-Latitude>
	<87AF97BC-EF06-4017-887C-49A5EA800A81@gmail.com>
	<4FD06D17.8060206@stats.ox.ac.uk>
	<8da1022c21af242215c3ed864819ff82.squirrel@webmail.plus.net>
	<4FD08072.7000107@stats.ox.ac.uk>
	<fb9978ad8c003f6a3bdfa90224389518.squirrel@webmail.plus.net>
	<4FD088B8.7080100@stats.ox.ac.uk>
	<1c8ba941835fdf12b34e1b1064a5dc68.squirrel@webmail.plus.net>
Message-ID: <4FD09B0F.3010309@stats.ox.ac.uk>

On 07/06/2012 12:49, Matthew Dowle wrote:
>> On 07/06/2012 11:40, Matthew Dowle wrote:
>>>
>>> Prof Ripley wrote :
>>>> That Depends line is about source installs.
>>>
>>> I can't see that documented in either Writing R Extensions or
>>> ?install.packages. Is it somewhere else? I thought Depends applied to
>>> binaries from CRAN too, which is the default method on Windows and Mac.
>>
>> That field is documented under the description of a *source* package
>> (see the first line of section 1.1, and it is in that section) and is
>> simply copied from the source package for binary installs.  It is the
>> extra line added to the DESCRIPTION file, e.g.
>>
>> Built: R 2.15.0; x86_64-pc-mingw32; 2012-04-02 09:27:07 UTC; windows
>>
>> that tells you the version a binary package was built under
>> (approximately for R-patched and R-devel), and library() checks.
>
> I'm fairly sure I understand all that. I'm still missing something more
> basic probably. Consider the follow workflow :
>
> I look on CRAN at package boot. Its webpage states "Depends R (>=
> 2.14.0)". I'm a user running R and I know I use 2.14.1, so I think great I
> can use it. I install it as follows.
>
>> version
> version.string R version 2.14.1 (2011-12-22)
>> install.packages("boot")
> trying URL
> 'http://cran.ma.imperial.ac.uk/bin/windows/contrib/2.14/boot_1.3-4.zip'
> Content type 'application/zip' length 469615 bytes (458 Kb)
> opened URL
> downloaded 458 Kb
>
> package ?boot? successfully unpacked and MD5 sums checked
>
>> require(boot)
> Loading required package: boot
> Warning message:
> package ?boot? was built under R version 2.14.2
>>
>
> Does this mean that CRAN maintainers expect me to run the latest version
> of the major release I'm using (R 2.14.2 in this case), not the current
> release of R (R 2.15.0 currently) as you wrote earlier?   If that's the
> case I never realised it before, but that seems very reasonable.  When I
> ran the above just now I expected it to say "package 'boot' was built
> under R version 2.15.0".  But it didn't, it said 2.14.2.  So it seems to
> be my misunderstanding.

2.15.x and 2.14.x are different series, with different binary repos.

>
> Matthew
>
>
>


-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



[Rd] 7 arguments passed to .Internal(identical) which requires 6
Prof Brian Ripley