It seems in my use case that roxygen behaves inconsistently when documenting S4 methods. As advised in Advanced R Programming I usually document the generic and will then reference this documentation in the methods. This works fine for setMethod(), but fails with setReplaceMethod. In the latter roxygen fails to create any of the needed aliases, and furthermore need a @name declarative for roxygen to not throw an error.
Documentation of these two cases should be equal IMHO
The text was updated successfully, but these errors were encountered: