I am writing an R package that is starting to grow in size, and therefore it would be very useful to use a custom structure in the pkg / R / folders and (especially) in pkg / src /.
For example, suppose I have two families of algorithms of some type A and some functions of type B and the main entry point. Ideally, R / or src / folders will be organized as follows:
- TypeA /
- algorithms1 /
- algorithms2 /
- TypeB /
- main.ext
with "ext" in {R, cpp, c, f, ...} and potentially two files with the same name.
Is it possible? If so, how can I do this?
Thanks in advance!
[2012-12-31] EDIT: the idea would be to write several scripts - perhaps inside another R package - to (un) smooth out a structured package for tests or distribution. But probably the best solution, so I'll wait a bit.
source share