R documentation with Roxygen? [closed]
Asked Answered
S

2

18

I find R documentation to be important but also time-consuming to create/maintain. Has anyone used Roxygen yet, and if so, does it help in maintaining an R package? I've used Doxygen in the past, but those projects didn't have the man structure that R packages require.

You can find the vignette here.

Safe answered 14/11, 2009 at 15:3 Comment(1)
I have followed Roxygen since the Summer of Code 2008 where it was put together but haven't switched to using it yet either,Hamfurd
E
16

Yes, I use it all the time (in five packages and counting). It's fantastic! With it I managed to create a complete R package (stringr) in about five hours.

I recently submitted a patch to get a 10-fold speed up, which makes it even nicer to use.

Eternity answered 14/11, 2009 at 18:42 Comment(1)
Thanks Hadley! I'm convinced.Safe
M
3

I'd like to start using it, but as far as I know it doesn't yet support S4 classes, which I use extensively.

Mokas answered 15/11, 2009 at 2:43 Comment(1)
As of 3.0.0., this is no longer true. Roxygen2 completely supports S4, and has budding support for RC.Eternity

© 2022 - 2024 — McMap. All rights reserved.