Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feedback Chapter 17 and Introduction to Metaprogramming #1738

Open
Rengervn opened this issue Sep 6, 2022 · 0 comments
Open

Feedback Chapter 17 and Introduction to Metaprogramming #1738

Rengervn opened this issue Sep 6, 2022 · 0 comments

Comments

@Rengervn
Copy link

Rengervn commented Sep 6, 2022

Hi
"I recommend the tidy evaluation book at https://tidyeval.tidyverse.org/85": This is not a valid link and should probably be replaced by "
this.

Chapter 17.2:

It would be helpful to give a few reasons why one would like to manipulate expressions. Is this helpful for writing functions, packages and in what way?

The example following "You need a different tool to capture code passed to a function because doesn’t work:":

capture_it <- function(x) {
  [expr](https://rlang.r-lib.org/reference/nse-defuse.html)(x)
}
capture_it(a + b + c)
#> x

This example just confuses me and it would be helpful if it the reason why this is not working is explained.

Cheers
Renger

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant