public inbox for gentoo-science@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-science] G-CRAN weekly report #6
@ 2010-07-05 19:50 Auke Booij
  2010-07-05 22:15 ` Neil Shephard
  0 siblings, 1 reply; 2+ messages in thread
From: Auke Booij @ 2010-07-05 19:50 UTC (permalink / raw
  To: gentoo-soc, gentoo-science

Last week I promised:
"Soon to come is proper parsing of the License field, proper
translation of dependencies (the current code assumes a dependency on
foo means a dependency on dev-R/foo) and installing /usr/share/doc
files correctly."

Well, I have very good news. The License field gets parsed almost
properly, documentation files get installed almost correctly, and
dependencies are almost translated properly.

No, it's not perfect yet. If the license is really a reference to a
LICENSE file (instead of just the name of the license), it does not
get installed, nor displayed correctly. If the documentation isn't
just HTML documentation, it doesn't get installed. If a dependency is
really already part of the default R install, it's not discarded and
the package will depend on a nonexistent package, and this is
something I'd like to hear your thoughts on (see below).

Unfortunately, g-common isn't really getting anywhere yet. I hope some
more emailing will get us started, but else I'll be developing my own
system. If I will, then a big advantage would be that I can simply
implement it the way I'd like to, instead of having to convince the
other two GSoC devs first ;-)

Alright, discarding dependencies. Some (a lot of) CRAN-style packages
depend on libraries which already get installed as part of the R
program. These dependencies should, for our purposes anyway, simply be
discarded, but to do this I do need to know what libraries are part of
the default R install, which means listing R's files, and I'd like you
guys to tell me how to do this. As far as I can see, the following are
the options and I'd like to hear which you would prefer:
-use "qlist" or "equery files"
-read it from the vdb
-hardcode the list of builtin R libraries
-read it from the filesystem directly (note: this would mean that some
correct dependencies are discarded as well, but it is a very
lightweight and independent solution)
Pros, cons? Opinions wanted!

Up for next week is, first of all, finishing the dependency stuff, and
if I'm lucky some initial development on g-common. The week after that
I will still be working on g-common, and perhaps do some initial
QA.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-07-05 22:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-05 19:50 [gentoo-science] G-CRAN weekly report #6 Auke Booij
2010-07-05 22:15 ` Neil Shephard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox