Closed geophtwombly closed 11 years ago
I do not think it has to be 100% mature. This package is intended to save a large portion of labor work, but certainly cannot save all. Normally there has to be a little bit labor work afterwards. So I think it will be nice to incorporate your code into this package. If you want, you can fork the repository, add your code to the end of Rd2roxygen()
, and send pull requests to me. Thanks!
Just FYI, @export
is supported in Rd2roxygen 1.2 now. Not ideal, but should save you some work.
I see from
package?Rd2roxygen
that the documentation saysIt would be great to be able to parse a
NAMESPACE
file to update the@exports
,@method
,@S3methods
, etcFollowing a question that I asked on Stack Overflow, I at least got as far as replacing
##' @return something
with##' @exports\n##'@ return something
using code available as a gist. I doubt that the code is mature enough to insert into the package at present, but perhaps it is a start.