From ripley at stats.ox.ac.uk  Thu Aug 23 22:19:07 2012
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Thu, 23 Aug 2012 21:19:07 +0100
Subject: [Rd] Milestone: 4000 packages on CRAN
In-Reply-To: <20534.35877.77471.880193@max.nulle.part>
References: <CAFDcVCQTCfqtJP8dHS7vD+_FAz8v526wGgEWNo=3kMN2FvUQOA@mail.gmail.com>
	<20534.33988.849383.692946@max.nulle.part>
	<503687AD.3040107@stats.ox.ac.uk>
	<20534.35877.77471.880193@max.nulle.part>
Message-ID: <5036903B.6010102@stats.ox.ac.uk>

On 23/08/2012 21:01, Dirk Eddelbuettel wrote:
>
> On 23 August 2012 at 20:42, Prof Brian Ripley wrote:
> | On 23/08/2012 20:30, Dirk Eddelbuettel wrote:
> | >
> | > R-release:
> | >
> | > edd at max:~$ r -e 'AP <- available.packages(contrib.url("http://cran.r-project.org")); print(dim(AP)[1])'
> | > [1] 3988
> | > edd at max:~$
> | >
> | > R-devel (version as of a few days ago):
> | >
> | > edd at max:~$ ~/bin/Rscript-devel.sh -e 'AP <- available.packages(contrib.url("http://cran.r-project.org")); print(dim(AP)[1])'
> | > [1] 3988
> | > edd at max:~$
> | >
> | > There is a bug somewhere if another count gives 4001.
> |
> | Hint: available.packages() has filters, so you are not seeing the
> | Windows-only packages.
>
> But should I not get all via a default type of 'source' as I am on Linux?

No.  Amongst the default filters is

      ?"OS_type"? exclude packages whose OS requirement is incompatible
           with this version of R: that is exclude Windows-only packages
           on a Unix-alike platform and _vice versa_.

 > nrow(available.packages())
[1] 3988
 > nrow(available.packages(filter=list()))
[1] 4001


>
> | Note too that the number of packages on CRAN is not monotone: packages
> | get added, packages get withdrawn/archived, sometimes 10s at a time.
>
>    http://dirk.eddelbuettel.com/cranberries/cran/new/		## New pkgs
>
>    http://dirk.eddelbuettel.com/cranberries/cran/removed/	## Rm'ed pkg

You mean archived ...

>    http://dirk.eddelbuettel.com/cranberries/cran/updated/	## Updates
>
> as well as the overall
>
>    http://dirk.eddelbuettel.com/cranberries/
>
> Today was pretty entertaining with package mRMRe added as 'new' only to be
> removed a few hours later.  Fun times...

Not true: it was archived in less than 1 hour.

-- 
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] Milestone: 4000 packages on CRAN
Prof Brian Ripley