From hpages at fhcrc.org  Tue Jan 30 00:02:41 2007
From: hpages at fhcrc.org (Herve Pages)
Date: Mon, 29 Jan 2007 15:02:41 -0800
Subject: [Rd] update.packages() doesn't pick up the highest version of
	packages
Message-ID: <45BE7D11.60108@fhcrc.org>

Hi,

Try to install limma 2.8.1 with:

  > biocRep <- "http://bioconductor.org/packages/1.9/bioc"
  > install.packages("limma", repos=biocRep)

then try to update it with

  > repos <- c(biocRep, "http://cran.fhcrc.org")
  > update.packages(repos=repos)

--> it will not get updated (even if there is a 2.9.8 version on CRAN).

This is (1) surprising by itself, (2) inconsistent with install.packages
behaviour.

When given more than 1 repository, install.packages() will go thru
all of them and pick up the higher version of each package to install.
For example, this:

  > repos <- c(biocRep, "http://cran.fhcrc.org")
  > install.packages("limma", repos=repos)

will install limma from CRAN (2.9.8) instead of limma from Bioconductor (2.8.1).

But if a new version of limma shows up on CRAN, this:

  > update.packages(repos=repos)

will not update it...

Cheers,
H.



[Rd] update.packages() doesn't pick up the highest version of packages
Herve Pages