diff --git a/R/if-else.R b/R/if-else.R index a29c302db5..d49f939ab5 100644 --- a/R/if-else.R +++ b/R/if-else.R @@ -9,7 +9,7 @@ #' #' @param condition A logical vector #' -#' @param true,false Values to use for `TRUE` and `FALSE` values of +#' @param true,false Vectors to use for `TRUE` and `FALSE` values of #' `condition`. #' #' Both `true` and `false` will be [recycled][vctrs::vector_recycling_rules] diff --git a/man/if_else.Rd b/man/if_else.Rd index b7a9069f91..1aebfcd3ec 100644 --- a/man/if_else.Rd +++ b/man/if_else.Rd @@ -9,7 +9,7 @@ if_else(condition, true, false, missing = NULL, ..., ptype = NULL, size = NULL) \arguments{ \item{condition}{A logical vector} -\item{true, false}{Values to use for \code{TRUE} and \code{FALSE} values of +\item{true, false}{Vectors to use for \code{TRUE} and \code{FALSE} values of \code{condition}. Both \code{true} and \code{false} will be \link[vctrs:vector_recycling_rules]{recycled}