Including msising word (#1384)

This commit is contained in:
alberto-agudo 2023-03-22 20:43:41 +01:00 committed by GitHub
parent d3a0a5a327
commit c2eb96fa11
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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: