how do I document the use of member functions of a reference class?
if I write a Rd file with a \usage block, how do I avoid the WARNING
Functions/methods with usage in documentation object 'XmlDoc' but not in code:
  $ new
I'd expect the \usage block to allow me write things like:
obj <- ClassName$new(par1, par2, ...)
obj$method1(oth1, ...)
and then I'd document the parameters in the \arguments block.
If I do this, R CMD check complains with
Assignments in \usage in documentation object 'ClassName':
and does not recognize the methods as code objects I need document.
as of now, I am writing Rd files without the \usage block and writing the above code in the \examples block, but then I have no place to document arguments and this way the check has very little to check actually. Since I'm not satisfied with this, I'm now asking the community about the current common practice.
 
    