David Lubbers
2010-Jan-27 02:40 UTC
[R] adding / modifiying functions in a site-library package ????
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 ?
Uwe Ligges
2010-Jan-27 12:24 UTC
[R] adding / modifiying functions in a site-library package ????
On 27.01.2010 03:40, David Lubbers wrote:> 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 ?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> ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.