Skip to content
Prev 3688 / 63424 Next

00Index of data

:-)
Correction: R CMD build will try to build/update the documentation index
(`INDEX') as well as the data index (`data/00Index').  The latter, as I
think Paul expected, happens by taking the names of all Rd files that
contain the keyword `datasets' (which again shows how important it is to
eliminate all warnings about Rd files without keywords etc).

The problem is that package developers might register more (or less)
information in their INDEX than obtained via this procedure.  E.g., if
an Rd file documents more than one object, the alias mechanism ensures
that documentation for all objects is found, but it is not smart enough
to ensure that all objects documented get a corresponding index entry.

The solution would be to introduce something like

	\index{NAME}{DESCRIPTION}

lines in the Rd files, and in fact have the index built from these lines
exclusively rather than the names.  But first we must know what `NAME'
exactly should be here, e.g. whether we only want to list *OBJECTS* in
the index or *ALL* topics being documented.

-k
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._