On 03/08/2011 5:32 AM, Thomas Friedrichsmeier wrote:
On Monday 01 August 2011, Duncan Murdoch wrote:
>  I've just committed the changes to R-devel.  Let me know if there is
>  anything worse than what I described.

Well, you did not give detail on that, but I was surprised about the "topic"
field for vignettes. Here (on a Debian/Linux system), for some vignettes,
"topic" contains a file path, which - I guess - may have been used during
installation of the package, but is no longer present on my system. E.g:

   topic
   "/tmp/RtmpMQhWJi/R.INSTALL494a2adb/AnnotationDbi/inst/doc/AnnotationDbi"
   title
   "AnnotationDbi: How to use the \".db\" annotation packages"
   Package
   "AnnotationDbi"

I would expect the "topic" field to always contain a string suitable for use as
the "topic" parameter in vignette(). For some other vignettes() found by
help.search() this is is working. I did not figure out a pattern, so far.

I have fixed that one, will commit soon.
Besides that, while testing, I found that the dynamic help fails to display
the result of
   help.search ("grid")
with this message:
   Error in .HTMLsearch(query) :
   number of items to replace is not a multiple of replacement length
I note that in the matches of that query, several vignettes are listed twice.
This probably indicates a problem in my installation, but may still be worth
fixing.

I can't reproduce this. Can you get any more detail, e.g. by setting options(error=recover) or similar? Vignettes listed twice sounds as though you may have two copies of grid installed in your .libPath(), but that shouldn't happen for a base package. I'll see what happens if I do it for a contributed package.

Duncan Murdoch

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to