Skip to content

Argument checks #25

@nevrome

Description

@nevrome

R is a dynamically typed language and there are no default input checks for functions. Stephans interface criticism some weeks ago was a wake-up call and made me aware how wonky R code often feels just because of that: Functions sometimes fail and produce the weirdest output if used with the wrong input. Of course this design choice also has big advantages and allows for really crazy dynamic code, but for many interfaces it's harmful.

I just took a look at the multitude of packages available to compensate for this and came to the conclusion, that checkmate might be worth a try.

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