Re: [Roxygen-devel] Roxygen2 3.0.0

2014-01-21 Thread Hadley Wickham
> If I just do: > > #' @rdname c-codeDefinition > setMethod("c", signature("codeDefinition"), function(x, ...) > new("ListOfcodeDefinition", list(x, ...))) > > Then check complains about missing \name and \title for the method. I meant @rdname class-codeDefinition - but you'll need to chec

Re: [Roxygen-devel] Roxygen2 3.0.0

2014-01-21 Thread Carl Boettiger
Hadley, Thanks for the quick reply. I'm afraid I'm still a bit over my head on this one. Since concatenate ("c") is neither a complex method nor my own generic, I gather I need your middle option. If I just do: #' @rdname c-codeDefinition setMethod("c", signature("codeDefinition"), fu

Re: [Roxygen-devel] Roxygen2 3.0.0

2014-01-21 Thread Hadley Wickham
> Um, I'm still unclear on what information I do need to properly document the > S4 methods. Without adding any roxygen documentation, check is unhappy, > e.g. > > Undocumented S4 methods: > generic 'c' and siglist 'codeDefinition' > > What should I be doing here? Adding some documentat

Re: [Roxygen-devel] Roxygen2 3.0.0

2014-01-21 Thread Carl Boettiger
Hi Hadley, That's great news! Um, I'm still unclear on what information I do need to properly document the S4 methods. Without adding any roxygen documentation, check is unhappy, e.g. Undocumented S4 methods: generic 'c' and siglist 'codeDefinition' What should I be doing here? On

Re: [Roxygen-devel] Roxygen2 3.0.0

2014-01-21 Thread Hadley Wickham
Hi Carl, That advice is totally out of date. You shouldn't need to do anything special for S4 methods. Hadley On Mon, Jan 20, 2014 at 11:03 PM, Carl Boettiger wrote: > Hi roxygen-list, > > I'm having difficulty implementing S4 roxygen documentation. I have no idea > what the correct way to go