In addition to purrr-based checkers such as vld_scalar_logical(), we should also include checkers based on the most useful predicates from base R (as a user convenience), e.g., vld_matrix() which would enforce a check based on the predicate is.matrix().
The method for implementing and documenting these functions should be highly automatic.
In addition to purrr-based checkers such as
vld_scalar_logical()
, we should also include checkers based on the most useful predicates from base R (as a user convenience), e.g.,vld_matrix()
which would enforce a check based on the predicateis.matrix()
.The method for implementing and documenting these functions should be highly automatic.