| is_artoo_checks | R Documentation |
Report whether an object is a artoo_checks control built by
artoo_checks(). Use it to guard a checks argument before threading it
into check_spec() or apply_spec().
is_artoo_checks(x)
x |
Object to test. |
A <logical(1)>: TRUE when x is a artoo_checks.
artoo_checks() to build one.
# ---- Example 1: confirm a control before reusing it ----
#
# is_artoo_checks() distinguishes a real control from a bare list of flags.
is_artoo_checks(artoo_checks())
is_artoo_checks(list(missing_variable = TRUE))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.