Skip to content

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

Open

Description

@rossellhayes
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)

Activity

  1. added
    bug
    on Nov 24, 2021
  2. added
    grade code
    on Feb 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    buggrade code

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions