Michel Lang

Results 218 comments of Michel Lang

This actually was in `checkmate` some years ago. I've removed it once base R started to introduce custom error classes and I wanted to wait for them to settle. For...

Unsure about where to put the option (i.e., you can only set it globally for all packages, not for a specific one). Will look into it.

Yes, that is possible. However, I am currently busy with other projects, so it will take a while.

Here is an example how to turn check functions into test functions: No C required. A "need function" constructor would look something like this (w/o the third case which I...

The third case would cover situations where the `check*` function fails because you've passed invalid arguments, like in ```r checkNames(letters, type = "notype") ``` Thus, the template should look like...

Thanks for the PR. I'll first try to release a new version of checkmate in 2-3 weeks, then review and merge this one.

So you want this helper function to be exported? ```r "%and%" = function(lhs, rhs) { if (isTRUE(lhs)) rhs else lhs } ```

Sure, PR would be welcome.

Seems like a good addition. And yes, the code would look quite similar to the tibble stuff w.r.t. loading the `bit64` package on-demand.

You are totally right. I have documented this behavior until I find some time to fix this (pairlists are strangely implemented in C).