From dtenenba at fhcrc.org  Thu Mar 21 17:52:44 2013
From: dtenenba at fhcrc.org (Dan Tenenbaum)
Date: Thu, 21 Mar 2013 09:52:44 -0700
Subject: [Rd] missing space in R version specifier makes PACKAGES file
 unreadable by install.packages()
Message-ID: <CAF42j21Hm4Vp=mB9wSgUeh=Ydf1KD4mkkVsYBq2jCoJJ3dZW0w@mail.gmail.com>

Hi,

After updating to R-3.0 beta r62328, I get the following:

> install.packages("Biobase", type="source", repos="http://george2/BBS/2.12/bioc")
Error in do.call(op, list(v_c, v_t[[op]])) :
  could not find function "R (>=2.15.1)"

The problem can be fixed by adding a space after >= in the offending
package's DESCRIPTION file and re-generating the PACKAGES file with
tools:::write_PACKAGES().

However, this worked OK in r62077. I'm not sure if >=2.15.1 (without
the space) is valid syntax, but I wonder if R can be a bit more
forgiving, as this issue derailed our daily builds.

> sessionInfo()
R version 3.0.0 alpha (2013-03-18 r62312)
Platform: x86_64-apple-darwin10.8.0 (64-bit)

locale:
[1] C

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

loaded via a namespace (and not attached):
[1] tools_3.0.0


Thanks,
Dan



[Rd] missing space in R version specifier makes PACKAGES file unreadable by install.packages()
Dan Tenenbaum