assertthat icon indicating copy to clipboard operation
assertthat copied to clipboard

Is this still the best tool for this purpose?

Open jzadra opened this issue 1 year ago • 2 comments

I see that the last commit was 4 years ago. Has the functionality of this package been superseded by something else? I've used testthat for similar functionality outside of package dev, but it clearly isn't intended to be used that way.

jzadra avatar Apr 03 '23 21:04 jzadra

One partial alternative I recently came across is vctrs::vec_assert which works well with for type checking against any prototype.

orgadish avatar Nov 22 '23 06:11 orgadish

And I just found that rlang has an entire set of functions for type checking in R/standalone-type-chrck.R such as check_number_whole

orgadish avatar Nov 22 '23 06:11 orgadish