R/checkmate.R
assert_summary_funs.Rd
Check whether x is a list of summary functions.
x
assert_summary_funs(x, null.ok = FALSE)
an object to check.
(flag) whether x may also contain NULL, meaning that a user choice is possible where no summary function should be applied.
flag
NULL
assertions for more details.
assertions
assert_summary_funs(list(mean = colMeans, raw = NULL), null.ok = TRUE)