I am reading Section 5 and 6 of
http://cran.r-project.org/doc/contrib/Leisch-CreatingPackages.pdf

It seems that I have to do the following two steps in order to make an
R package. But when I am testing these package, these two steps will
run many times, which may take a lot of time. So when I still develop
the package, shall I always source('linmod.R') to test it. Once the
code in linmod.R is finalized, then I run the following two steps?

I'm wondering what people usually do when developing packages.


1. Run the following command in R to create the package
package.skeleton(name="linmod", code_files="linmod.R")

2. Run the following command in shell to install
R CMD INSTALL -l /path/to/library linmod

______________________________________________
R-help@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.

Reply via email to