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

add an eval = "tidy" optin to check_equal() #220

Open
richierocks opened this issue Dec 20, 2018 · 0 comments
Open

add an eval = "tidy" optin to check_equal() #220

richierocks opened this issue Dec 20, 2018 · 0 comments

Comments

@richierocks
Copy link
Contributor

richierocks commented Dec 20, 2018

Warning: Half formed idea.

Most of the tidyverse packages now use rlang::eval_tidy(). Currently we have to set eval = FALSE in check_equal() and resort to fairly gross things like regex matching. There ought to be a way to evaluate the arguments in the context of the parent data fraem using eval_tidy(), which would make SCTs much easier to write and more robust. Since we use dplyr/ggplot2/purrr/tidyr in 90% of our R courses, this could have a big impact.

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

No branches or pull requests

2 participants