rmailbox at justemail.net
2008-Nov-15 01:37 UTC
[R] Revised source to my own package; how to update?
I have written some functions that I have now collected into a package. Of course, there are revisions and additions. I started by creating a skeleton with package.skeleton. I read and deleted the read and delete me file. I edited the DESCRIPTION file appropriately. I can use the package once I run R CMD INSTALL ... But once I want to revise the package, I get lost. Since I have customized the skeleton, I certainly do not want to use package.skeleton again. But how do new functions get into the package? How do their man page skeletons get created? Am I supposed to start working on the source files in the "R" directory that was created by the package.skeleton command? I'm lost. I do have the "Writing R Extensions" document, but I cannot find the section that addresses my beginner questions. If I missed something in this (or some other) document that answers these questions, please just point me in that direction. I have to do this on Windows if that makes any difference. Many Thanks, Eric
?prompt you navigate to the directory that the package skeleton is and ... save any new R functions with the .R extension and it should work just fine. good luck Stephen On Fri, Nov 14, 2008 at 8:37 PM, <rmailbox at justemail.net> wrote:> > I have written some functions that I have now collected into a package. Of course, there are revisions and additions. > > I started by creating a skeleton with package.skeleton. I read and deleted the read and delete me file. I edited the DESCRIPTION file appropriately. I can use the package once I run R CMD INSTALL ... But once I want to revise the package, I get lost. > > Since I have customized the skeleton, I certainly do not want to use package.skeleton again. But how do new functions get into the package? How do their man page skeletons get created? Am I supposed to start working on the source files in the "R" directory that was created by the package.skeleton command? I'm lost. > > I do have the "Writing R Extensions" document, but I cannot find the section that addresses my beginner questions. If I missed something in this (or some other) document that answers these questions, please just point me in that direction. > > I have to do this on Windows if that makes any difference. > > Many Thanks, > Eric > > ______________________________________________ > 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. >-- Stephen Sefick Research Scientist Southeastern Natural Sciences Academy Let's not spend our time and resources thinking about things that are so little or so large that all they really do for us is puff us up and make us feel like gods. We are mammals, and have not exhausted the annoying little problems of being mammals. -K. Mullis