Arguments
- x
an object to check.
- null.ok
(
flag
)
whetherx
may also containNULL
, meaning that a user choice is possible where no summary function should be applied.
See also
assertions
for more details.
Examples
assert_summary_funs(list(mean = colMeans, raw = NULL), null.ok = TRUE)