-
Notifications
You must be signed in to change notification settings - Fork 238
Closed
Labels
bugan unexpected problem or unintended behavioran unexpected problem or unintended behaviorinherit 👨👩👧👦wipwork in progresswork in progress
Description
If @inheritDotParams and @inheritParams are both used together, one does not want to end up with two ... in the argument list. But currently
#' Foo
#'
#' @inheritParams bar
#' @inheritDotParams baz
foo <- function(x, ...) {}
#' Bar
#'
#' @param x x
#' @param ... Unused
bar <- function(x, ...) {}
#' Baz
#'
#' @param y y
#' @param z z
baz <- function(y, z) {}
produces the following argument list for foo:
\arguments{
\item{x}{x} \item{...}{unused} \item{...}{Arguments passed on
to \code{baz} \describe{ \item{y}{y} \item{z}{z} }}
}
The extra \item{...}{Unused} should not be there.
IndrajeetPatil and mjskay
Metadata
Metadata
Assignees
Labels
bugan unexpected problem or unintended behavioran unexpected problem or unintended behaviorinherit 👨👩👧👦wipwork in progresswork in progress