[R] updating contents of a package

Dieter Menne dieter.menne at menne-biomed.de
Sun Feb 8 11:26:33 CET 2009


Markus Loecher <markus.loecher <at> gmail.com> writes:

> I read through the "Writing R Extensions" document and am able to now create
> my own packages/libraries which so far are just well documented collections
> of my own R functions. I use package.skeleton() and the tools package to
> build these packages.
> However, it is not clear to me how to modify and update a package after its
> initial creation. How do you elegantly update e.g. the old help file when
> one added an argument to a function ? How do you keep most of the existing
> package structure when implementing incremental changes ?

In detail, Tobias is right. In summary: incremental changes must be made
by manual updating the files. When I did it the first time, I had no 
latex background and it reminded me of r(un)off times. After you did
it once, it's not that complex though, so bite the bullet.

Dieter




More information about the R-help mailing list