Skip to content
Prev 1451 / 21307 Next

[Bioc-devel] Wish: BioC devel on R stable for more frequent package updates

Hi Robert,
On 10/01/2008, Robert Gentleman <rgentlem at fhcrc.org> wrote:
Yes, this basically comes down to the problem of installing a
BioC-devel package on R release.  I've wrote my own hack allowing to
"fool" biocLite() et al. about the real R version, e.g. biocLite(pkg,
rver="2.7.0") can be used on R v2.6.1 but biocLite() thinks it runs R
v2.7.0.  This is of course a hack.  It is probably better to have a
biocLite(pkg, repos="auto") where 'repos' defaults to BioC release and
devel depending on R version, but can be also be specified explicitly
as biocLite(pkgm repos="devel") to force installation of a BioC-devel
package.
I agree.  I like the existing test paradigm.  The only alternative is
then to trust the developer that a package really install/pass checks
on R release if they claim so - the same problems goes with CRAN
packages where you easily can claim compatibility with R v1.0.0 but
the package is only tested against the latest version.
That update in R (and BioC) would have caused problem for installing
BioC devel on R release, but not for all packages.  Packages written
in plain R would probably show difference.
No, I meant that it installs/builds on R devel, but also R release.  I
just realized that 'affxparser' was a poor example because there is
currently an error due to a totally unrelated problem.
But there are package that build and pass checks on both R release and
R devel - correct me if the BioC check system works differently.  The
package should be tested on R devel, but may install on R stable (and
there we have to trust the developer since no nightly tests are done
for that version).

What I am suggesting that it should be possible to provide a BioC v2.2
(devel) package as:

Package: FooBar
Version: 1.2.3
Date: 2008-01-10
Title: A Package
Depends: R (>= 2.6.0), Biobase (>= 1.16.2)

and provide an easy way to install it on R v2.6.0 (release) as well.
I am not familiar with how update.packages() works and how it
identifies the repository to query.  Are you saying that if you mix
BioC devel and release packages, it is not well defined what
repository update.packages() will use?
It all comes down to the fact that people shouldn't have to install R
devel and BioC devel just because there is a single package that is
frequently updated (and still compatible with R devel).  I believe my
suggestion can be solved by updating biocLite() et al.

Hope this clarified my proposition.

Best,

Henrik