Skip to content
Prev 40523 / 63424 Next

CRAN package with dependencies on Bioconductor

On 06/10/2011 04:04 PM, Kornelius Rohmeyer wrote:
I don't understand what you are asking; a previously installed but then 
uninstalled package will not influence the ability of R to reinstall it.
Usually, if you

   setRepositories()

and choose BioCsoft, then you will have chosen the correct (i.e., 'same 
as biocLite') bioc repository for your version of R (this can be 
scripted by inspecting

   read.table(file.path(R.home("etc"), "repositories"),
              header=TRUE, sep="\t")

and using appropriate row indexes as the 'ind' argument to setRepositories).
biocLite is returning the correct package -- graph 1.28.0. graph 1.30 
did not come in to existence until the most recent release, 2011-04-13, 
approximately when R-2.13 became the current release version.

CRAN is building packages with the current release, R-2.13, for which 
biocLite and install.packages both (correctly) return graph 1.30.
Use the current version of R.

FWIW, part of the motivation for hosting graph only on Bioconductor 
(previously it was dual-hosted) is to simplify version problems -- prior 
to the change, the CRAN version was several releases out of date!

Martin