Skip to content

@param \dots are not recognized by @inheritParams #504

@HenrikBengtsson

Description

@HenrikBengtsson

For roxygen2 5.0.1, when using

@inheritParams from
@param \dots bla bla bla.

and the from file already contains another

@param \dots yada yada yada.

then @inheritParams fails to drop duplicate \dots resulting in an R CMD check warning:

* checking Rd \usage sections ... WARNING
Duplicated \argument entries in documentation object 'foo':
  ‘...’

This is not the case if one uses @param ... instead of @param \dots. It looks like @inheritParams is not aware of the \dots alternative to ....

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugan unexpected problem or unintended behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions