Is there a way to automatically update the documentation in an R package?

前端 未结 3 432
忘掉有多难
忘掉有多难 2021-01-18 07:05

I used \'package.skeleton()\' to generate .Rd help files a few months ago. I have edited these files, and I have also changed the functions, removed some functions, added ot

相关标签:
3条回答
  • 2021-01-18 07:47

    No, I don't think so.

    But you could try re-running package.skeleton() for new or changed functions and then merge this by hand.

    0 讨论(0)
  • 2021-01-18 07:51

    Rd2roxygen was designed to help package developers who have been "stuck" in the raw Rd files but want to switch to roxygen -- it can process Rd files and update the R scripts with roxygen comments. From then on, you can begin to enjoy the power of roxygen. So Rd2roxygen is not a direct answer, but it might help you with the transition.

    0 讨论(0)
  • 2021-01-18 08:04

    This doesn't specifically answer your question, but you may be interested in Roxygen.

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