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

code_feedback() gives misleading message when an infix operator is replaced with a comma #272

Open
rossellhayes opened this issue Nov 24, 2021 · 0 comments
Labels
bug Something isn't working grade code Related to automatic code grading

Comments

@rossellhayes
Copy link
Contributor

library(gradethis)

.solution_code <- 'select(starts_with("a") | ends_with("b"))'
.user_code     <- 'select(starts_with("a"),  ends_with("b"))'
code_feedback()
#> I did not expect your call to `select()` to include `ends_with()`. You may have included an unnecessary argument, or you may have left out or misspelled an important argument name.

Created on 2021-11-24 by the reprex package (v2.0.1)

@rossellhayes rossellhayes added the bug Something isn't working label Nov 24, 2021
@gadenbuie gadenbuie added the grade code Related to automatic code grading label Feb 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working grade code Related to automatic code grading
Projects
None yet
Development

No branches or pull requests

2 participants