Skip to content

remove duplicated authors in aliases #1269

@DanChaltiel

Description

@DanChaltiel

Whenever you use a single page for multiple functions (using @rdname), the authors automatically stack.

However, especially with aliases, it seems quite unlikely that there are different authors using the same documentation page.

Shouldn't duplicates be removed from this field?

I'm not sure how multi-author statements can be managed though (last example).

Here is a reproducible example:

#' foobar
#' @export
#' @author Agent Smith
foobar = function() print('foobar')

#' @rdname foobar
#' @export
#' @author Agent Smith
foo = function() print('foo')

#' @rdname foobar
#' @export
#' @author Dan Onino
bar = foo

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    featurea feature request or enhancementrd ✍️

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions