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.