From 81d05039fdd43afdc74a55ecfa068f41dbb2f4b4 Mon Sep 17 00:00:00 2001 From: Davis Vaughan Date: Fri, 3 Nov 2023 16:00:12 -0400 Subject: [PATCH] Update vctrs topic name --- NEWS.md | 2 +- R/bind-cols.R | 2 +- R/case-match.R | 4 ++-- R/coalesce.R | 2 +- R/if-else.R | 2 +- R/na-if.R | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/NEWS.md b/NEWS.md index 5c6ec03ff9..8d99661225 100644 --- a/NEWS.md +++ b/NEWS.md @@ -74,7 +74,7 @@ * `pick()` now returns a 1 row, 0 column tibble when `...` evaluates to an empty selection. This makes it more compatible with [tidyverse recycling - rules](https://vctrs.r-lib.org/reference/vector_recycling_rules.html) in some + rules](https://vctrs.r-lib.org/reference/theory-faq-recycling.html) in some edge cases (#6685). * `if_else()` and `case_when()` again accept logical conditions that have diff --git a/R/bind-cols.R b/R/bind-cols.R index 9bc9e0b8a9..b2f5e7fdea 100644 --- a/R/bind-cols.R +++ b/R/bind-cols.R @@ -11,7 +11,7 @@ #' #' @param ... 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 [recycled][vctrs::vector_recycling_rules] to the same length, +#' Inputs are [recycled][vctrs::theory-faq-recycling] to the same length, #' then matched by position. #' @param .name_repair One of `"unique"`, `"universal"`, or #' `"check_unique"`. See [vctrs::vec_as_names()] for the meaning of these diff --git a/R/case-match.R b/R/case-match.R index 9afe4f1df1..d623ab7845 100644 --- a/R/case-match.R +++ b/R/case-match.R @@ -42,12 +42,12 @@ #' multiple cases, the first match is used. #' #' The RHS inputs will be coerced to their common type. Each RHS input will be -#' [recycled][vctrs::vector_recycling_rules] to the size of `.x`. +#' [recycled][vctrs::theory-faq-recycling] to the size of `.x`. #' #' @param .default The value used when values in `.x` aren't matched by any of #' the LHS inputs. If `NULL`, the default, a missing value will be used. #' -#' `.default` is [recycled][vctrs::vector_recycling_rules] to the size of +#' `.default` is [recycled][vctrs::theory-faq-recycling] to the size of #' `.x`. #' #' @param .ptype An optional prototype declaring the desired output type. If diff --git a/R/coalesce.R b/R/coalesce.R index 9da6dd6a21..dceecc395e 100644 --- a/R/coalesce.R +++ b/R/coalesce.R @@ -7,7 +7,7 @@ #' @param ... <[`dynamic-dots`][rlang::dyn-dots]> #' #' One or more vectors. These will be -#' [recycled][vctrs::vector_recycling_rules] against each other, and will be +#' [recycled][vctrs::theory-faq-recycling] against each other, and will be #' cast to their common type. #' #' @param .ptype An optional prototype declaring the desired output type. If diff --git a/R/if-else.R b/R/if-else.R index d49f939ab5..597a05b241 100644 --- a/R/if-else.R +++ b/R/if-else.R @@ -12,7 +12,7 @@ #' @param true,false Vectors to use for `TRUE` and `FALSE` values of #' `condition`. #' -#' Both `true` and `false` will be [recycled][vctrs::vector_recycling_rules] +#' Both `true` and `false` will be [recycled][vctrs::theory-faq-recycling] #' to the size of `condition`. #' #' `true`, `false`, and `missing` (if used) will be cast to their common type. diff --git a/R/na-if.R b/R/na-if.R index a355eada12..c0c4be001d 100644 --- a/R/na-if.R +++ b/R/na-if.R @@ -10,7 +10,7 @@ #' `y` is [cast][vctrs::theory-faq-coercion] to the type of `x` before #' comparison. #' -#' `y` is [recycled][vctrs::vector_recycling_rules] to the size of `x` before +#' `y` is [recycled][vctrs::theory-faq-recycling] to the size of `x` before #' comparison. This means that `y` can be a vector with the same size as `x`, #' but most of the time this will be a single value. #' @return A modified version of `x` that replaces any values that