promptPackage(package, lib.loc = NULL, filename = NULL,
name = NULL, final = FALSE)character string with the name of an
installed or source package to be documented.NULL. The default value
of NULL corresponds to all libraries currently known. For a
source package this should specify the parent directory of the
package's sources.name followed
by ".Rd". Can also be NA (see below).filename is NA, a list-style representation of the
documentation shell. Otherwise, the name of the file written to is
returned invisibly.filename is NA, a documentation shell for
package is written to the file specified by filename, and
a message about this is given. If filename is NA, a list-style representation of the
documentation shell is created and returned. Writing the shell to a
file amounts to cat(unlist(x), file = filename, sep = "\n"),
where x is the list-style representation. If final is TRUE, the generated documentation will not
include the place-holder slots for manual editing, it will be usable
as-is. In most cases a manually edited file is preferable (but
final = TRUE is certainly less work).prompt