@@ -190,21 +190,21 @@ assert_sufficient_f_args <- function(f, ..., n_mandatory_f_args = 2L) {
190190# ' This powers the lambda syntax in packages like purrr.
191191# '
192192# ' This is an extension of `rlang::as_function` that can create functions that
193- # ' take three arguments. The arugments can be accessed via the idiomatic
193+ # ' take three arguments. The arguments can be accessed via the idiomatic
194194# ' `.x`, `.y`, etc, positional references (`..1`, `..2`, etc), and also by
195195# ' `slide`-specific names.
196196# '
197197# ' @param x A function or formula.
198198# '
199199# ' If a **function**, it is used as is.
200200# '
201- # ' If a **formula**, e.g. `~ .x + 2 `, it is converted to a function with up
201+ # ' If a **formula**, e.g. `~ mean(.x$cases) `, it is converted to a function with up
202202# ' to three arguments: `.x` (single argument), or `.x` and `.y`
203203# ' (two arguments), or `.x`, `.y`, and `.z` (three arguments). The `.`
204204# ' placeholder can be used instead of `.x`, `.group_key` can be used in
205205# ' place of `.y`, and `.ref_time_value` can be used in place of `.z`. This
206206# ' allows you to create very compact anonymous functions (lambdas) with up
207- # ' to two inputs. Functions created from formulas have a special class. Use
207+ # ' to three inputs. Functions created from formulas have a special class. Use
208208# ' `rlang::is_lambda()` to test for it.
209209# '
210210# ' If a **string**, the function is looked up in `env`. Note that
0 commit comments