On Thu, 2011-11-03 at 08:39 +0100, Johannes Lips wrote:
We were discussing about this yesterday with spot.
The question was related to this:
o All packages must have a namespace, and one is created on
installation if not supplied in the sources. This means that any
package without a namespace must be re-installed under this
version of R (but previously-installed data-only packages without
R code can still be used).
So we have 64 (-1 false positive) R packages in Fedora and all the one
1) are not data-only packages
2) do not already contain a namespace
have to be rebuilt.
By first look, I think we have 6 data-only packages:
R-affydata, R-BSgenome.Celegans.UCSC.ce2, R-fibroEset, R-hgu133acdf,
So 57 packages would be affected by condition one.
By simple grep, 42 packages have a namespace from this 42 I can see that
R-BSgenome.Celegans.UCSC.ce2 is in.
So we would have to rebuild: 63 - 6 - 41 = 16 packages, sounds duable.
I might have done an error or miss something but that gives us a first
Hope this helps,
What I did:
1) list of R packages:
$ pkgdb-cli list R-\*
Total: 64 packages
2) Clone all of them:
$ for pkg in `pkgdb-cli list R-\* --nameonly`; do fedpkg clone $pkg;
3) Get all the packages with namespace:
$ grep namespace -iR ./R-* |wc -l