From fb2f3b7d311493fab65b1f5ee5872f47b52ffd65 Mon Sep 17 00:00:00 2001 From: Lionel Henry Date: Mon, 28 Oct 2024 14:12:36 +0100 Subject: [PATCH] Align indirection title to tidyselect doc --- R/doc-data-masking.R | 2 +- man/args_data_masking.Rd | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/R/doc-data-masking.R b/R/doc-data-masking.R index 7fb20b197..3eccc291b 100644 --- a/R/doc-data-masking.R +++ b/R/doc-data-masking.R @@ -34,7 +34,7 @@ #' instead of `diamonds[diamonds$x == 0 & diamonds$y == 0 & diamonds$z == 0, ]`. #' #' -#' # Indirection +#' # Indirection in wrapper functions #' #' The main challenge of data masking arises when you introduce some #' indirection, i.e. instead of directly typing the name of a variable you diff --git a/man/args_data_masking.Rd b/man/args_data_masking.Rd index 1aac18108..f2aa94b80 100644 --- a/man/args_data_masking.Rd +++ b/man/args_data_masking.Rd @@ -31,7 +31,7 @@ It's what allows you to type (e.g.) \code{filter(diamonds, x == 0 & y == 0 & z = instead of \code{diamonds[diamonds$x == 0 & diamonds$y == 0 & diamonds$z == 0, ]}. } -\section{Indirection}{ +\section{Indirection in wrapper functions}{ The main challenge of data masking arises when you introduce some indirection, i.e. instead of directly typing the name of a variable you want to supply it in a function argument or character vector.