Skip to content

[Feature Request]: should verify() return a object? #368

@pawelru

Description

@pawelru

Feature description

I have a problem with understanding the following:

data <- ...
data <- verify(data)
...

For me, the verify() should be more similar to the assert like below:

data <- ...
verify(data)
...

With this, we should probably modify verify() so that it does not return if there is no error.

Ideally, we should have assert() that raises error or silently pass and check() that returns boolean. I just can't fit the current implementation of verify() that throws or pass the object. WDYT?

Code of Conduct

  • I agree to follow this project's Code of Conduct.

Contribution Guidelines

  • I agree to follow this project's Contribution Guidelines.

Security Policy

  • I agree to follow this project's Security Policy.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions