I would like to use a directory structure within the R folder for the source code of a package. For example, within my R folder I have an alg
Writing R Extensions has this to say (in Section 1.1.5) about subdirectories under the R directory:
The
Randmansubdirectories may contain OS-specific subdirectories namedunixorwindows.
Implied in this is that they can't have other subdirectories other than those two. This is confirmed in an r-devel thread and again later in another r-devel thread.