[R] DESCRIPTION FILE in R Manuals

Duncan Murdoch murdoch.duncan at gmail.com
Fri Apr 6 15:41:34 CEST 2012


On 12-04-06 8:03 AM, Axel Urbiz wrote:
> Dear List,
>
> In building a package on a Mac, all the steps performed (build, check,
> install) seem to be working fine (no warning messages or errors). The
> manual for the package is created and everything looks good except for the
> fact that the header of the document is not showing the info on the
> DESCRIPTION file. It shows "R Documentation" and the path
> "Users/name/..etc". Is there something I might be missing for the data in
> the DESCRIPTION file not getting into the manual?

Currently the information in the DESCRIPTION file is inserted by the 
author, not automatically.  (Often the author uses package.skeleton() 
for the initial version, so it may appear to be automatic, but it will 
have to be updated manually later.)

To do the editing manually, find the .Rd file with alias "foo-package" 
for package foo.  Typically this will be foo-package.Rd, but it doesn't 
have to be.  If you don't have such a file, promptPackage() will create one.

Duncan Murdoch



More information about the R-help mailing list