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

Option to accept evaluated arguments #295

Closed
lionel- opened this issue Nov 21, 2017 · 1 comment
Closed

Option to accept evaluated arguments #295

lionel- opened this issue Nov 21, 2017 · 1 comment
Labels

Comments

@lionel-
Copy link
Member

@lionel- lionel- commented Nov 21, 2017

When switched on, this:

f <- function(x) {
  force(x)
  enexpr(x)
}
f(foo)

Would be equivalent to this:

f <- function(x) {
  enexpr(x)
}
f(!! foo)
@lionel- lionel- added the tidyeval label Nov 21, 2017
@lionel-
Copy link
Member Author

@lionel- lionel- commented Nov 21, 2017

Useful for this sort of situation:

lapply(1:2, tibble::tibble)
@lionel- lionel- changed the title Option to accept unevaluated arguments Option to accept evaluated arguments Nov 27, 2017
@lionel- lionel- closed this in 80f52f2 Nov 28, 2017
lionel- added a commit to lionel-/rlang that referenced this issue Nov 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant