Skip to content

Testing for the negation of check_function() or check_code() #224

Description

@terhorst

I am using this package to for an intro data science class. In one exercise the students need to compute the entry-wise maximum of two columns of data. One correct way to do this is using pmax(), and a common beginner mistake is to use max() instead. In testing their solution, I would like to provide some feedback based on if they are calling max(). Is there a way to do this? It's sort of the negation of a check_function() or check_code() call.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions