Most (all?) of the work can be accomplished using ``` Rd2roxygen::Rd2roxygen("path/to/source/pkg") ``` see yihui.org/rd2roxygen