Rev 12976 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
\name{undoc}\alias{undoc}\title{Find Undocumented Objects}\usage{undoc(package, dir, lib.loc = .lib.loc)}\description{Finds the objects in a package which are undocumented, in the sensethat they are visible to the user (or data objects provided by thepackage), but no documentation entry exists.}\arguments{\item{package}{a character string naming an installed package.}\item{dir}{a character string specifying the path to a package's rootsource directory. This must contain the subdirectory \file{man}with \R documentation sources (in Rd format), and at least one ofthe \file{R} or \file{data} subdirectories with \R code or dataobjects, respectively.}\item{lib.loc}{a character vector describing the location of \Rlibrary trees to search for \code{package}.}}\details{This function is useful for package maintainers mostly. In principle,\emph{all} user level \R objects should be documented; note howeverthat the precise rules for documenting methods of generic functionsare still under discussion.}\value{A character vector containing the names of the undocumented objects.}\examples{undoc("eda") # Undocumented objects in `eda'}\keyword{documentation}