From c2eb96fa11ba850dbbc76ca80f7fa48b90033438 Mon Sep 17 00:00:00 2001 From: alberto-agudo <91462184+alberto-agudo@users.noreply.github.com> Date: Wed, 22 Mar 2023 20:43:41 +0100 Subject: [PATCH] Including msising word (#1384) --- iteration.qmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iteration.qmd b/iteration.qmd index bd98ac7..205de62 100644 --- a/iteration.qmd +++ b/iteration.qmd @@ -118,7 +118,7 @@ In simple cases, as above, this will be a single existing function. This is a pretty special feature of R: we're passing one function (`median`, `mean`, `str_flatten`, ...) to another function (`across`). This is one of the features that makes R a functional programming language. -It's important to note that we're passing this function to `across()`, so `across()` can call it; we're calling it ourselves. +It's important to note that we're passing this function to `across()`, so `across()` can call it; we're not calling it ourselves. That means the function name should never be followed by `()`. If you forget, you'll get an error: