checkmate icon indicating copy to clipboard operation
checkmate copied to clipboard

Fast and versatile argument checks

Results 79 checkmate issues
Sort by recently updated
recently updated
newest added

I looked at the uses of `expect_set_equal` in my own code, as well as in the mlr repositories and it seems that in quite some cases where we currently use...

I want to validate a whole number of arguments, all of which should be, say `numeric`. For now, I'm doing this: ``` paperwidth

I was looking for a way to condense ``` function(x,y,z){ qassert(x='n') qassert(y='b') qassert(z='s') } ``` and came up with ``` funtion(x,y,z) { qassertm(x='n', y='b', z='s') } ``` I also like...

Hi checkmate developers, we are increasingly using checkmate for multiple packages and have been writing additional assertions etc. We are wondering whether you would be open for PRs with extensions...

I find myself doing this a lot: ```R assert_all

If I´m not mistaken checkmate is not throwing conditions with subclasses at the moment (Hadely Wickham has a great summary on this topic [here](https://adv-r.hadley.nz/conditions.html#custom-conditions)). I very much would appreciate to...

Thanks for the great package\! Two of my own packages depend on it and I use it all the time. I am wondering if this behavior is intended: ``` r...

the `assert_`-family of functions currently report the name of the function where the error occurred, like so: ``` assert_character(1) ``` ``` ## Error in assert_character(1) : ## Assertion on '1'...

Currently `lower` acts as greater than or equal (`>=`) to `lower`. Would it be possible to add an another argument that would act as `>`? Or maybe something like boolean...

enhancement