Using source subdirectories within R packages with roxygen2

前端 未结 1 1431
甜味超标
甜味超标 2020-12-31 06:00

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

1条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2020-12-31 06:54

    Writing R Extensions has this to say (in Section 1.1.5) about subdirectories under the R directory:

    The R and man subdirectories may contain OS-specific subdirectories named unix or windows.

    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.

    0 讨论(0)
提交回复
热议问题