Skip to content
Prev 42072 / 63435 Next

Undocumented functions

One easy way is to list the undocumented files in pkg-internal.Rd. From 
the Writing R Extensions manual:

Note that all user-level objects in a package should be documented; if a 
package pkg contains user-level objects which are for ?internal? use 
only, it should provide a file pkg-internal.Rd which documents all such 
objects, and clearly states that these are not meant to be called by the 
user. See e.g. the sources for package *grid* in the R distribution for 
an example.

Probably a perverse use of this facility, but it works, and will even 
allow the package to pass check.

David Scott
On 16/12/2011 1:01 a.m., Nicola Sturaro Sommacal wrote: