Skip to content
Prev 16844 / 398503 Next

R-ex directory in a R package; large software in R

On Fri, 1 Feb 2002 jonathan_li at agilent.com wrote:

            
No. R-ex/ contains examples automatically extracted from the help pages.
You can put tests in tests/ and other stuff you want installed in inst/
Presumably it wouldn't be too hard to allow the src/ and R/ subdirectories
to have further subdirectories.

On the other hand, if the source code really does break into nice modular
subdirectories it probably should be a bundle of packages rather than a
single package. Paul Gilbert has taken this approach with his time-series
software, and in a sense R-base does this too.

Also, there's no reason why the structure of a package has to reflect the
structure of your development tree. You might have a huge set of
subdirectories and a make target that produces an R package or bundle of
packages.


	-thomas

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._