[Rd] available.packages() not accurate?

Deepayan Sarkar deepayan.sarkar at gmail.com
Wed Dec 19 03:00:56 CET 2007


On 12/18/07, hadley wickham <h.wickham at gmail.com> wrote:
> On 12/18/07, Deepayan Sarkar <deepayan.sarkar at gmail.com> wrote:
> > On 12/18/07, hadley wickham <h.wickham at gmail.com> wrote:
> > > > pkgs <- as.data.frame(available.packages(contrib.url("http://cran.r-project.org")))
> > > > pkgs["sn", c("Package", "Version")]
> > >
> > > But looking at http://cran.r-project.org/src/contrib/ only sn_0.4-2 is
> > > available.  Any ideas?
> >
> > I see 0.4-4. Could be a caching problem on your browser.
>
> Oh sorry - I explained it the wrong way around - available.packages
> lists 0.4-2 as the latest version, but 0.4-4 is available from
> src/contrib.  The following packages also have a version mismatch
> between available.packages and CRAN:
>
> GOSim (1.0.2), GammaTest (2.1), InfNet (0.1), RcppTemplate (5.2),
> SNPassoc (1.4-8), StoppingRules (1.1), actuar (0.9-3), ape (2.0-1),
> bcp (1.7.2), dtw (0.3-1), edci (1.0-1), gstat (0.9-40), kappalab
> (0.4-0), mlegp (1.1), polycor (0.7-3), pwt (6.1-1), rcompletion
> (0.1-2), relaimpo (1.2-2), roblm (0.6), seewave (1.4.3), sfsmisc
> (0.95-13)

I see

> pkgs <- as.data.frame(available.packages(contrib.url("http://cran.r-project.org")))
> pkgs[c("sn", "GOSim", "GammaTest"), c("Package", "Version")]
      Package Version
sn         sn   0.4-4
GOSim   GOSim   1.1.2
NA       <NA>    <NA>

which match CRAN (which doesn't have GammaTest). So not sure what's going on.

-Deepayan



More information about the R-devel mailing list