| check_picks | R Documentation |
Check whether a picks object contains at least one element of the given
class ("datasets", "variables", or "values").
check_picks(x, datasets = TRUE, variables = FALSE, values = FALSE)
assert_picks(
x,
datasets = TRUE,
variables = FALSE,
values = FALSE,
.var.name = checkmate::vname(x),
add = NULL
)
x |
|
datasets |
( |
variables |
( |
values |
( |
.var.name |
[ |
add |
[ |
For check_picks a logical value or a string.
For assert_picks invisibly the object checked or an error.
p <- picks(datasets(), variables(), values())
assert_picks(p, datasets = TRUE)
assert_picks(p, variables = TRUE)
assert_picks(p, values = TRUE)
p <- picks(datasets(), variables())
check_picks(p, values = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.