From 34b8106f56205b8e5c9a980285a4a15b3fa19f18 Mon Sep 17 00:00:00 2001 From: Davis Vaughan Date: Thu, 2 Nov 2023 16:53:48 -0400 Subject: [PATCH] Redocument with CRAN vctrs --- DESCRIPTION | 10 +++++----- man/bind_cols.Rd | 2 +- man/case_match.Rd | 4 ++-- man/coalesce.Rd | 2 +- man/if_else.Rd | 2 +- man/na_if.Rd | 2 +- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 3a7d281bf8..cf3907e3f0 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -19,9 +19,9 @@ Description: A fast, consistent tool for working with data frame like License: MIT + file LICENSE URL: https://dplyr.tidyverse.org, https://github.com/tidyverse/dplyr BugReports: https://github.com/tidyverse/dplyr/issues -Depends: +Depends: R (>= 3.5.0) -Imports: +Imports: cli (>= 3.4.0), generics, glue (>= 1.3.2), @@ -34,8 +34,8 @@ Imports: tibble (>= 3.2.0), tidyselect (>= 1.2.0), utils, - vctrs (>= 0.6.0) -Suggests: + vctrs (>= 0.6.4) +Suggests: bench, broom, callr, @@ -57,7 +57,7 @@ Suggests: testthat (>= 3.1.5), tidyr (>= 1.3.0), withr -VignetteBuilder: +VignetteBuilder: knitr Config/Needs/website: tidyverse, shiny, pkgdown, tidyverse/tidytemplate Config/testthat/edition: 3 diff --git a/man/bind_cols.Rd b/man/bind_cols.Rd index 6461e9b72b..b922fde8f2 100644 --- a/man/bind_cols.Rd +++ b/man/bind_cols.Rd @@ -12,7 +12,7 @@ bind_cols( \arguments{ \item{...}{Data frames to combine. Each argument can either be a data frame, a list that could be a data frame, or a list of data frames. -Inputs are \link[vctrs:vector_recycling_rules]{recycled} to the same length, +Inputs are \link[vctrs:theory-faq-recycling]{recycled} to the same length, then matched by position.} \item{.name_repair}{One of \code{"unique"}, \code{"universal"}, or diff --git a/man/case_match.Rd b/man/case_match.Rd index b5a4b0a277..2036c26337 100644 --- a/man/case_match.Rd +++ b/man/case_match.Rd @@ -20,12 +20,12 @@ If a value is repeated in the LHS, i.e. a value in \code{.x} matches to multiple cases, the first match is used. The RHS inputs will be coerced to their common type. Each RHS input will be -\link[vctrs:vector_recycling_rules]{recycled} to the size of \code{.x}.} +\link[vctrs:theory-faq-recycling]{recycled} to the size of \code{.x}.} \item{.default}{The value used when values in \code{.x} aren't matched by any of the LHS inputs. If \code{NULL}, the default, a missing value will be used. -\code{.default} is \link[vctrs:vector_recycling_rules]{recycled} to the size of +\code{.default} is \link[vctrs:theory-faq-recycling]{recycled} to the size of \code{.x}.} \item{.ptype}{An optional prototype declaring the desired output type. If diff --git a/man/coalesce.Rd b/man/coalesce.Rd index 1db1e7f4ad..e5a18ea79e 100644 --- a/man/coalesce.Rd +++ b/man/coalesce.Rd @@ -10,7 +10,7 @@ coalesce(..., .ptype = NULL, .size = NULL) \item{...}{<\code{\link[rlang:dyn-dots]{dynamic-dots}}> One or more vectors. These will be -\link[vctrs:vector_recycling_rules]{recycled} against each other, and will be +\link[vctrs:theory-faq-recycling]{recycled} against each other, and will be cast to their common type.} \item{.ptype}{An optional prototype declaring the desired output type. If diff --git a/man/if_else.Rd b/man/if_else.Rd index 1aebfcd3ec..5def71e37c 100644 --- a/man/if_else.Rd +++ b/man/if_else.Rd @@ -12,7 +12,7 @@ if_else(condition, true, false, missing = NULL, ..., ptype = NULL, size = NULL) \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} +Both \code{true} and \code{false} will be \link[vctrs:theory-faq-recycling]{recycled} to the size of \code{condition}. \code{true}, \code{false}, and \code{missing} (if used) will be cast to their common type.} diff --git a/man/na_if.Rd b/man/na_if.Rd index 50f5ac132c..b98a1c396c 100644 --- a/man/na_if.Rd +++ b/man/na_if.Rd @@ -14,7 +14,7 @@ value in \code{x} will be replaced with \code{NA}. \code{y} is cast to the type of \code{x} before comparison. -\code{y} is \link[vctrs:vector_recycling_rules]{recycled} to the size of \code{x} before +\code{y} is \link[vctrs:theory-faq-recycling]{recycled} to the size of \code{x} before comparison. This means that \code{y} can be a vector with the same size as \code{x}, but most of the time this will be a single value.} }