Skip to content

Understand setReplaceMethod() #266

@thomasp85

Description

@thomasp85

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

best

Thomas

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions