Skip to content

Package overview document?

5 messages · Paul Gilbert, Kurt Hornik, Brian Ripley

#
This came from deep in my unresolved pile:
...
...
Is there yet any prescribed approach. If not, I would like to suggest
00General.Description.xxx  where xxx is replaced by the package name.
The 00 is to put it near the beginning of the index, but there may be a
better way.

Paul Gilbert

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
Currently, library(help = PKG) shows the contents of the files TITLE,
DESCRIPTION and INDEX in that order.  For the time being, I would
recommend adding to INDEX, or maybe have something in INDEX pointing to
another file (e.g. contained in inst/doc so that it will be installed to
the doc subdir of the package).

More long term, we will have a better demo mechanism and better markup
for documentation ...

Best,
-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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
On Wed, 9 May 2001, Paul Gilbert wrote:

            
Lot so unattributed quotes there ....

Note, things have changed since 2000 and functions.html is no longer built
(as from the next release).  So name clashes are less unimportant, and the
only place these names matter are in your own package unless you want

?00General.Description.dse1

to work.  (I really don't like the long name: what's wrong with
00Description or even 00Intro, the latter being the Unix man-pages
convention?)

However, for

library(help=mypackage)

the information should be in INDEX.  This is already done in several
packages, e.g. boot.
#
Brian
00Intro would be fine with me, but should that have the package name appended or not?

If not, what will happen to name clashes within a bundle?

When you say functions.html will not be built, does that mean there won't be an
overall index? That is the feature of the help system that I use the most.

Paul Gilbert

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
On Thu, 10 May 2001, Paul Gilbert wrote:

            
Yes, that has been the decision.  It's too hard to maintain: there is a
list of packages and a search facility (for all loaded packages, or
all packages in all currently specified libraries).

Note that the functions.html only worked on one platform (Unix) and
one browser (Netscape).  (Slight exaggeration.)