Skip to content

adding / modifiying functions in a site-library package ????

2 messages · David Lubbers, Uwe Ligges

#
I want to add just one more function to an already installed, locally
developed site-library package.  Is there a good tutorial on this laying
about?  From what I see the new function would touch several files and
directories in the existing package.  Tools to automate that ?
#
On 27.01.2010 03:40, David Lubbers wrote:
Yes:

1. change in the source package, let's call it "pkg"
2. R CMD build pkg
3. R CMD INSTALL --library=yourLibrary pkg_version.tar.gz

you might want to check the package in step 2a.

Best wishes,
Uwe Ligges