Re: [R] documenting R reference class methods with roxygen2

2016-07-20 Thread Ben Tupper
Hi, Yes, it takes a lot of searching for find out how to use roxygen with Ref Classes. Thank goodness for Hadley Wickham's book ( http://r-pkgs.had.co.nz/ ). For a Ref Class methods are actually documenting NULL, and you need to add the "@name Classname_Methodname" tag. Otherwise, documentati

[R] documenting R reference class methods with roxygen2

2016-07-20 Thread Witold E Wolski
I would like to document function arguments in R reference classes and I do not know how. I know that methods description can be provided by adding a string below the function declaration. But how to document the function arguments in similar fashion like the arguments of R functions (which can be